diff options
Diffstat (limited to 'json.h')
| -rw-r--r-- | json.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -82,7 +82,11 @@ struct JSON size_t length; } string; - /* JSON_NUMBER */ + /* + * JSON_NUMBER + * + * Numbers are encoded as strings to avoid unnecessary precision loss. + */ char *number; /* JSON_ARRAY or JSON_OBJECT (children) */ |
