1
1
forked from 0ad/0ad
0ad/source/third_party/jsonspirit
Stan 4942cabab5 Fix most Clang 10 Warnings
Refs: #5550, #5294

Remove dead code from f71be3c764
Fix buggy code from ff50b0b74c
Comments by: @wraitii, @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D3177
This was SVN commit r24487.
2020-12-31 14:25:37 +00:00
..
json_spirit_error_position.h Update JSON_SPIRIT from 4.06 to 4.08 2020-12-31 10:25:34 +00:00
json_spirit_reader_template.h Update JSON_SPIRIT from 4.06 to 4.08 2020-12-31 10:25:34 +00:00
json_spirit_value.h Fix most Clang 10 Warnings 2020-12-31 14:25:37 +00:00
json_spirit_writer_options.h Update JSON_SPIRIT from 4.06 to 4.08 2020-12-31 10:25:34 +00:00
json_spirit_writer_template.h Update JSON_SPIRIT from 4.06 to 4.08 2020-12-31 10:25:34 +00:00
LICENSE.txt Update JSON_SPIRIT from 4.06 to 4.08 2020-12-31 10:25:34 +00:00
README.txt Update JSON_SPIRIT from 4.06 to 4.08 2020-12-31 10:25:34 +00:00

This separate JSON library is used for Atlas to avoid the SpiderMonkey dependency.
SpiderMonkey is a fully featured JS engine and even though we already use it for the main engine, it's too heavy-weight to use it in Atlas.
The SpiderMonkey API also changes frequently and we hope that the JSON parsing code needs less changes when we use this separate library.

Get the library from here:
http://www.codeproject.com/Articles/20027/JSON-Spirit-A-C-JSON-Parser-Generator-Implemented

The currently used version was released on the 10 of May 2014.

Search for this comment in json_spirit_value.h and uncomment the lines we don't need:
// comment out the value types you don't need to reduce build times and intermediate file sizes