Hello,
I’m parsing a complex json with jsenv. Under one key, two type may occur depending on wether only one or multiple entries exist.
So typically either
{ "key": "value" }
or
{ "key": ["value1", "value2", ... ]}
I can’t find a ‘isArray’ function or the like. Length function seems not to be usable because it returns either the size of the array or the number of char for a string.
Any ideas?
Thank you!