From: Eric S. Raymond Date: Fri, 26 Sep 2014 20:16:46 +0000 (-0400) Subject: More documentation. X-Git-Tag: 1.2~4 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=cc73fda63b4b69439cf2a46347449d6174b3b738;p=microjson.git More documentation. --- cc73fda63b4b69439cf2a46347449d6174b3b738 diff --cc mjson.asc index a96e678,e8e1ab8..367cfd2 --- a/mjson.asc +++ b/mjson.asc @@@ -47,20 -48,6 +47,19 @@@ The two main functions return 0 for suc failure. The function +json_error_string()+ maps error codes to explanatory messages. +== BUGS == +A backslash escape of "\0000" in a string value will drop a NUL in the +string that is likely to confuse C code looking at the storage. In +general, the high byte of a \uxxxxx escape will be ignored and the +ASCII high-half byte named by the last two hex digits will be +inserted in the string. + +There is no way to make a parser accept the typeless special JSON +value "null", because there is nothing in C's type ontology to map it +to. + +JSON arrays are restricted to having a single homogenous element type. +However, the type mayy itself be a JSON object. - == REPORTING BUGS == Report bugs to Eric S. Raymond . The project page is at http://catb.org/~esr/microjson