From 9d2fed00d3628e3f4e20fadc3d857e1a2ea546fa Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 26 Sep 2014 11:23:55 -0400 Subject: [PATCH] Documentation polishing. --- microjson.asc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/microjson.asc b/microjson.asc index 2386ae1..5fc9b12 100644 --- a/microjson.asc +++ b/microjson.asc @@ -29,7 +29,8 @@ to skip anything. All the examples are shipped in the microjson distribution. They are not synthetic toys, but stripped-down versions of working code from -GPS. Copy them freely. +GPS. Copy them freely. You may also want to look at the source for +test_microjson.c, the regression test; it exercises most cases. == An Example == @@ -174,7 +175,7 @@ The following cases do not parse JSON value atoms: ==== Skip fields ==== t_ignore: Value of this attribute is ignored. Significant because -unexpected attribute names cause the parse to trminate with error +unexpected attribute names cause the parse to terminate with error ==== Parallel arrays === @@ -388,7 +389,7 @@ object or a JSON array. JSON "float" quantities are actually stored as doubles. Note that float parsing uses +atof(3)+ and is thus locale-sensitive - this -affects whether perid or comma is used as a decimal point. If in any +affects whether period or comma is used as a decimal point. If in any doubt, set the C numeric locale explicitly to match your data source. == Advanced Usage == -- 2.43.0