News for hackers. Stuff that matters.
Re:Son: A minimal subset of JSON for machine-to-machine comm... by patrec on Sunday December 10, 2017 @04:38PM (#15893627)
> Do we really need both `0` and `-0`, stuff like that.

Well, yeah since signed zeros are a thing.

Chrome:

> JSON.parse('-0.0') -0

> JSON.parse('0.0') 0

python:

In [3]: json.loads('-0.0')

Out[3]: -0.0

In [4]: json.loads('0.0')

Out[4]: 0.0

There are no comments on this comment yet.