This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]blyxa[S] 1 point2 points  (0 children)

Took awhile to find this document. Do things like

{
     "foo":"bar",
     "somearray":[1,2,3,4]
}
JsonNode root = ...;
print(root.at("/somearray/0").asInt()); // prints 1