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
Is your feature request related to a problem? Please describe.
Currently toJSON will return json encoded string additionally wrapped in an array. That can cause troubles and you have to manually remove the array by doing substring on the string.
Describe the solution you'd like
It would be best if toJSON returned valid values;
for this code
Is your feature request related to a problem? Please describe.
Currently
toJSON
will return json encoded string additionally wrapped in an array. That can cause troubles and you have to manually remove the array by doing substring on the string.Describe the solution you'd like
It would be best if
toJSON
returned valid values;for this code
toJSON
should return[ 1, 2, 3, 4 ]
For this code
toJSON
should return{ "1": 12, "key": "value", "pi": 3.14 }
and not[ { "1": 12, "key": "value", "pi": 3.14 } ]
Describe alternatives you've considered
No response
Additional context
No response
Security Policy
The text was updated successfully, but these errors were encountered: