Commit Graph
11 Commits
Author SHA1 Message Date
Henrik Rydgård eddaf97938 Add submodules, namespace json to prepare for the addition of rapidjson (sigh) 2018-08-13 00:18:54 +02:00
Unknown W. Brackets fc8ad3b47b json: Optimize writing a bit.
This improves the responsiveness of certain APIs.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets ccea863f00 Debugger: Use fragments for long chunks.
Gets it on the wire faster.  More importantly, this allows us to usually
avoid rampant memory allocation even for large responses.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets 082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets b56249eec1 json: Avoid encoding inf/nan in JSON.
It doesn't support them.  The common workaround is to use null.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets 2e3021da0c json: Be precise by default. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets b658130924 json: Fix formatting of nested arrays/objects. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets 03cc4eab01 json: Allow formatting read json back to writer. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets fb876e78c0 json: Actually include in build. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets dfef902cdb json: Escape strings in the json writer. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00