gson - deserializing json , where is column 58? -
i trying deserialize json string using gson, keep getting error how can find wrong json object? if put object through json validator, comes valid
com.google.gson.jsonsyntaxexception: java.lang.illegalstateexception: expected begin_object number @ line 1 column 58 com.google.gson.internal.bind.reflectivetypeadapterfactory$adapter.read(reflectivetypeadapterfactory.java:176) what have find "column 58" inside json object?
column 58 should 58th character in json string.
if paste json text editor, place cursor @ beginning , press right arrow key 58 times , should end near it.
alternatively can paste json decoder such as: http://json.parser.online.fr/
and error should indicated you.
Comments
Post a Comment