summaryrefslogtreecommitdiff
path: root/test/files/run/json.scala
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-01-09 11:46:46 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-01-09 11:46:46 +0000
commit064ff0081d0025b6f065ee5e1e2dbdcb0f593cbd (patch)
tree4aea7bd71d4d6874b59d2fd6fbb48704caf58617 /test/files/run/json.scala
parent13148cc2ae9f9f875987f986d831057d8687d194 (diff)
downloadscala-064ff0081d0025b6f065ee5e1e2dbdcb0f593cbd.tar.gz
scala-064ff0081d0025b6f065ee5e1e2dbdcb0f593cbd.tar.bz2
scala-064ff0081d0025b6f065ee5e1e2dbdcb0f593cbd.zip
Applied patch from Ticket #330.
Fixed the parsing of 0 by the JSON library.
Diffstat (limited to 'test/files/run/json.scala')
-rw-r--r--test/files/run/json.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/json.scala b/test/files/run/json.scala
index f528eaf5fe..ec0bad7ebe 100644
--- a/test/files/run/json.scala
+++ b/test/files/run/json.scala
@@ -8,6 +8,7 @@ object Test extends Application {
printJSON("{\"name\": \"va1ue\"}") // ticket #136
printJSON("{\"name\": { \"name1\": \"va1ue1\", \"name2\": \"va1ue2\" } }")
printJSON("{\"name\": \"\\u0022\"}")
+ printJSON("{\"age\": 0}")
println
// from http://en.wikipedia.org/wiki/JSON