If I parse the following JSON string, the value of key "a" will be interpreted as an integer. So far, so good.
But unfortunately the value of key "b" will be interpreted as a string and NOT as a number (integer).
{ "a": 0, "b": -0 }
Is there a possibility to avoid this behaviour, or do I'm something wrong?
If I parse the following JSON string, the value of key "a" will be interpreted as an integer. So far, so good.
But unfortunately the value of key "b" will be interpreted as a string and NOT as a number (integer).
{ "a": 0, "b": -0 }Is there a possibility to avoid this behaviour, or do I'm something wrong?