• Ingvar Stepanyan's avatar
    Simplify JSON number decoding · cc743297
    Ingvar Stepanyan authored
    Simplifiy implementation and, as a bonus, allow overflowing floating numbers to convert to +/-Infinity like they do in JSON.parse.
    
    Also update outdated comment about NaN and Infinity being encoded as `null`.
    cc743297
Name
Last commit
Last update
..
json-test.c++ Loading commit data...
json.c++ Loading commit data...
json.capnp Loading commit data...
json.capnp.c++ Loading commit data...
json.capnp.h Loading commit data...
json.h Loading commit data...