probably worth an option for this

This commit is contained in:
Remi Collet
2012-12-13 11:46:04 +01:00
parent 8c847968c7
commit 32d149c8f6
3 changed files with 7 additions and 2 deletions

View File

@@ -42,6 +42,10 @@ extern "C" {
* for an example of the format.
*/
#define JSON_C_TO_STRING_PRETTY (1<<1)
/**
* A flag to drop trailing zero for float values
*/
#define JSON_C_TO_STRING_NOZERO (1<<2)
#undef FALSE
#define FALSE ((json_bool)0)