Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.4
-
None
-
Ubuntu Linux 11.10 32-bit,
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10)
OpenJDK Server VM (build 20.0-b11, mixed mode)
Description
Whenever I try to deserialize a JSON Object with a String that ends with a correctly escaped backslash "
", it throws an exception:
Caught: groovy.json.JsonException: Expected a value on line: 1, column: 25.
But got an unterminated object.
groovy.json.JsonException: Expected a value on line: 1, column: 25.
But got an unterminated object.
at JsonSlurperBug.run(JsonSlurperBug.groovy:9)
I've attached a small repro.