Some options for libjson that are needed by this project

This commit is contained in:
King_DuckZ 2013-08-16 16:52:50 +02:00
parent 10918ac643
commit 91c95dfe38

View file

@ -11,13 +11,13 @@
* JSON_LIBRARY must be declared if libjson is compiled as a static or dynamic
* library. This exposes a C-style interface, but none of the inner workings of libjson
*/
#define JSON_LIBRARY
//#define JSON_LIBRARY
/*
* JSON_STRICT removes all of libjson's extensions. Meaning no comments, no special numbers
*/
//#define JSON_STRICT
#define JSON_STRICT
/*
@ -79,7 +79,7 @@
* means that libjson supports the full array of unicode characters, but also takes
* much more memory and processing power.
*/
//#define JSON_UNICODE
#define JSON_UNICODE
/*
@ -185,7 +185,7 @@
* read and parse json, this allows it to write back out. Changing the value of the writer
* changes how libjson compiles, and how fast it will go when writing
*/
#define JSON_WRITE_PRIORITY MED
//#define JSON_WRITE_PRIORITY MED
/*
@ -215,7 +215,7 @@
* JSON_ESCAPE_WRITES tells the libjson engine to escape special characters when it writes
* out. If this option is turned off, the json it outputs may not adhere to JSON standards
*/
#define JSON_ESCAPE_WRITES
//#define JSON_ESCAPE_WRITES
/*
@ -223,7 +223,7 @@
* parsing json that has comments in it as it simply ignores them, but with this option
* it keeps the comments and allows you to insert further comments
*/
#define JSON_COMMENTS
//#define JSON_COMMENTS
/*
@ -260,7 +260,7 @@
* JSON_CASE_INSENSITIVE_FUNCTIONS turns on funtions for finding child nodes in a case-
* insenititve way
*/
#define JSON_CASE_INSENSITIVE_FUNCTIONS
//#define JSON_CASE_INSENSITIVE_FUNCTIONS
/*
@ -290,7 +290,7 @@
* JSON_NUMBER_TYPE lets you change the number type for as_float as well as the internal storage for the
* number. If you omit this option, the default double will be used for most cases and float for JSON_LESS_MEMORY
*/
//#define JSON_NUMBER_TYPE double
#define JSON_NUMBER_TYPE float
/*
@ -321,7 +321,7 @@
* compatibility between major releases. It is highly recommended that you move your functions
* over to the new equivalents
*/
#define JSON_DEPRECATED_FUNCTIONS
//#define JSON_DEPRECATED_FUNCTIONS
/*
@ -357,4 +357,3 @@
#define JSON_SECURITY_MAX_STREAM_OBJECTS 128
#endif