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
From my perspective these three are enough: array, object, string.
in each of these methods, throw an exception if the JSON string does not decode to the corresponding type
I would propose to change the default behavior, and throw an exception if source JSON is invalid when Json object is constructed. By doing this, we make sure that Json object always contains correct JSON data inside.
Firstly, thanks for the great package, I really like using it.
One question, is it possible for you to implement
toArray()
to get an array representation of the json ?The text was updated successfully, but these errors were encountered: