| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2022-01-30 12:27:36 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2022-01-30 12:27:36 +0100 |
| commit | d222161a5bcce5c0f2848d9714ab509b4ba957ff (patch) | |
| tree | d1d0c4c8b19a87cf7a3b5cdd6ba17c39bb482940 /src/Tonkadur/Json.elm | |
| parent | b1d6d8af0e31123d46e102bc68fcfd02d3b51256 (diff) | |
Seems to be working.
Diffstat (limited to 'src/Tonkadur/Json.elm')
| -rw-r--r-- | src/Tonkadur/Json.elm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tonkadur/Json.elm b/src/Tonkadur/Json.elm index d7ae3b3..fbdbcfe 100644 --- a/src/Tonkadur/Json.elm +++ b/src/Tonkadur/Json.elm @@ -53,7 +53,7 @@ specific_computation_decoder name = (\from to value -> (Tonkadur.Types.Cast from to value)) (Json.Decode.field "from" (Json.Decode.string)) (Json.Decode.field "to" (Json.Decode.string)) - (Json.Decode.field "content" (computation_decoder)) + (Json.Decode.field "value" (computation_decoder)) ) "constant" -> @@ -357,7 +357,7 @@ sequences_decoder = (Json.Decode.map2 (\name line -> (name, line)) (Json.Decode.field "name" (Json.Decode.string)) - (Json.Decode.field "value" (Json.Decode.int)) + (Json.Decode.field "line" (Json.Decode.int)) ) ) ) |


