This application demos and tests a JSON parser that is written in RPG and runs on an IBM i Power Server. It parses JSON text and reports information about each "node", as follows:

Path Path is an index value that can be used to visually and programmatically find and retrieve node values. Path is comparable to a directory or file-system path.
Nest Level A number that indicates the nesting level within the document's hierarchical tree.
Node Type The type of node in a JSON stream (o=object, a=array, n=name, v=value, e=object-end, f=array-end).
Sequence The numerical order in which each node is encountered in the document.
Starting At The numerical position within the JSON stream where the node begins.
Length The node text length.
Value The name or value of a node, or the number of elements in an object or array.

The JSON is limited to about 32K in size, which is a limit of our web-form interface, but not the parser. In the event of JSON errors, the parser will still report all nodes that it can.