expose a function for determining top level type of json
Issue #4
resolved
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)
-
repo owner -
repo owner Here's a start
-
repo owner - changed status to resolved
-
awesome, looks great. thank you :)
- Log in to comment
I've been meaning to add such a thing. Here is a start. Note that it required a new public "JSON Value type" enum.