JSON Jackson parser - how to get position info of a parsed JsonNode

Viewed 122

when parsing a string into a JsonTree, is there a way to get the offset and length of the parsed JsonNodes ?

eg. final String json = "{"objects" : ["One", "Two", "Three"]}";

is there a way to know the TextNode representing "Two" is starting at position 23 ?

1 Answers

FYI, fixed by using the jackson stream api to parse the json message

Related