JsonReader and JsonTreeReader do not have the same behavior while reading a long (or an int) when the next token is a double. JsonReader will fail. JsonTreeReader will cast, it should fail also.
gdx/src/com/badlogic/gdx/utils/JsonSkimmer.java Outdated Show resolved Hide resolved gdx/src/com/badlogic/gdx/utils/JsonSkimmer.java Show resolved Hide resolved gdx ...
Bob has been designing hardware and coding software for decades. He likes to draw and write. He’s a web cadet wannabe. Bob has been designing hardware and coding software for decades. He likes to draw ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Andres Almiray, a serial open-source ...
26 February, 2008. It was a Tuesday. I was playing around with Json.NET while trying to move some data back and forth between .NET and Flex. I found that I needed to deserialize a string that looks ...