summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tonkadur/Json.elm')
-rw-r--r--src/Tonkadur/Json.elm4
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))
)
)
)