fix slight typo in json_pack apiref example
authorJack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Thu, 26 Apr 2012 13:38:37 +0000 (14:38 +0100)
committerPetri Lehtinen <petri@digip.org>
Thu, 26 Apr 2012 19:10:46 +0000 (22:10 +0300)
Fixes #73.

doc/apiref.rst

index 1c3a85b..d6f451c 100644 (file)
@@ -1073,7 +1073,7 @@ More examples::
   json_pack("{s:i, s:i}", "foo", 42, "bar", 7);
 
   /* Build the JSON array [[1, 2], {"cool": true}] */
-  json_pack("[[i,i],{s:b]]", 1, 2, "cool", 1);
+  json_pack("[[i,i],{s:b}]", 1, 2, "cool", 1);
 
 
 .. _apiref-unpack: