1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 19:23:54 +02:00

Fix broken number parsing in fromJSON

The call to tmp_number.append had its arguments mixed up. Also, JSON
does not allow a trailing "," after array/object members.
This commit is contained in:
Eelco Dolstra 2016-02-15 14:46:23 +01:00
parent eb62e23f14
commit e03d6e0998
2 changed files with 4 additions and 5 deletions

View file

@ -14,7 +14,7 @@ builtins.fromJSON
"Animated" : false,
"IDs": [116, 943, 234, 38793, true ,false,null, -100],
"Latitude": 37.7668,
"Longitude": -122.3959,
"Longitude": -122.3959
}
}
''