diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2013-02-26 21:09:10 -0600 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2013-02-26 21:09:10 -0600 |
commit | 5b36a432c8b13f3534ade4c4b5ac721b6e35287a (patch) | |
tree | 624962b6a45b3c9bfa642c773aabe5fdab8a59e3 /json_object.h | |
parent | 9b64c05ff9feb1cdb1e5ae5e134e5e6ff85dbb1b (diff) | |
parent | 32d149c8f60a5bdad4f678013a83d052ffd8ad43 (diff) |
Merge branch 'remicollet-issue-float'
Conflicts:
json_util.c
Diffstat (limited to 'json_object.h')
-rw-r--r-- | json_object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/json_object.h b/json_object.h index e18af8a..7085d0a 100644 --- a/json_object.h +++ b/json_object.h @@ -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) |