You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, i stumbled upon hydrogen when i was looking for a gd json parser for unity3d
looking through the source code i can see that it support parsing to long
long is often skipped by most of the json library out there. so im glad i finally found it here.
problem is, i kind find any documentation on how to use this library.
how to parse the json string to JSONObject and retrieve the property from it?
like JSONObject obj
long bigNumber = obj["propertyname"];
EDIT
I have figured out on how to convert json string to JSONObject. and i have added my own ToLong function in JSONObject
my next problem is how to convert json array into list of JSONObject.
thx
The text was updated successfully, but these errors were encountered:
My apologies for not getting to this sooner, the JSON part is very limited in scope ... in the sense it really doesn't handle array of arrays very well inside of a json payload. I've had to create very specific cases to handle it, or I use a more flushed out JSON library.
This really was meant for quick, simple JSON (unfortunately).
hey, i stumbled upon hydrogen when i was looking for a gd json parser for unity3d
looking through the source code i can see that it support parsing to long
long is often skipped by most of the json library out there. so im glad i finally found it here.
problem is, i kind find any documentation on how to use this library.
how to parse the json string to JSONObject and retrieve the property from it?
like JSONObject obj
long bigNumber = obj["propertyname"];
EDIT
I have figured out on how to convert json string to JSONObject. and i have added my own ToLong function in JSONObject
my next problem is how to convert json array into list of JSONObject.
thx
The text was updated successfully, but these errors were encountered: