mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-06 04:25:03 +00:00
4942cabab5
Refs: #5550, #5294 Remove dead code fromf71be3c764Fix buggy code fromff50b0b74cComments by: @wraitii, @vladislavbelov Differential Revision: https://code.wildfiregames.com/D3177 This was SVN commit r24487.
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