expose a function for determining top level type of json

Issue #4 resolved
Former user created an issue

For example, you have a function for parsing a json array into tokens, or parsing a json object into tokens, but (so far as I can tell) no way to determine if the input string is an array or an object. Is there one I missed? For now I made a copy of advance past whitespace which provides the type.

Comments (4)

  1. James Powell repo owner

    I've been meaning to add such a thing. Here is a start. Note that it required a new public "JSON Value type" enum.

  2. Log in to comment