fix slight typo in json_pack apiref example

Fixes #73.
This commit is contained in:
Jack Mitchell 2012-04-26 14:38:37 +01:00 committed by Petri Lehtinen
parent ff6e6ee293
commit 233574e8e0

View 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: