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 ==
==== 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 ===
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 ==