X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.data%2Fscl%2FData%2FJson.scl;h=cacffb01acc806a48d284f220afc8e874c8b8a65;hp=2190287fcf7560d9f637e20e5600c6ef9805bcff;hb=22b86b38b00d6e168a5872e70113efd5fc1d81b6;hpb=66b0fd2ee69d84d3107f109679b6fd1866f8f3fc diff --git a/bundles/org.simantics.scl.data/scl/Data/Json.scl b/bundles/org.simantics.scl.data/scl/Data/Json.scl index 2190287fc..cacffb01a 100644 --- a/bundles/org.simantics.scl.data/scl/Data/Json.scl +++ b/bundles/org.simantics.scl.data/scl/Data/Json.scl @@ -174,6 +174,7 @@ instance Json Double where readJson = getDoubleValue toJson = JsonDouble fromJson (JsonDouble value) = value + fromJson (JsonLong value) = Java.l2d value instance Json Float where writeJson = writeNumberFloat