diff options
| author | Joey Adams | 2010-08-10 05:10:19 +0000 |
|---|---|---|
| committer | Joey Adams | 2010-08-10 05:10:19 +0000 |
| commit | 75b17eeca0394e27759acf2f6b039851a5a28f98 (patch) | |
| tree | 9c156bf2f70a49ed781a56ebfe89caed4edbc6a0 /json.h | |
| parent | f9f677a465a5746874dc2f2c86cc444ffa28a020 (diff) | |
Added explicit NULL and '\0' checks, and documented more functions/structures.
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) */ |
