tmcguire
3 Feb 2010, 4:57 PM
When calling JsonConverter.decode(s), the JSON string s does not seem to be read correctly. Specifically, JsonConverter seems to discard the first two characters of value strings:
{"menu":[{"heading":"one","href":"one/"}]}produces a Map with the expected structure but that looks like it comes from the JSON:
{"menu":[{"heading":"e","href":"e/"}]}Looking at JsonConverter.java, it seems to be expecting some kind of type tag at the beginning of the string, but that does not conform to any JSON (http://www.json.org/) grammar (http://www.ietf.org/rfc/rfc4627.txt)I've seen.
{"menu":[{"heading":"one","href":"one/"}]}produces a Map with the expected structure but that looks like it comes from the JSON:
{"menu":[{"heading":"e","href":"e/"}]}Looking at JsonConverter.java, it seems to be expecting some kind of type tag at the beginning of the string, but that does not conform to any JSON (http://www.json.org/) grammar (http://www.ietf.org/rfc/rfc4627.txt)I've seen.