From: Jack Mitchell Date: Thu, 26 Apr 2012 13:38:37 +0000 (+0100) Subject: fix slight typo in json_pack apiref example X-Git-Tag: v2.4-moonshot~1^2~22^2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=jansson.git;a=commitdiff_plain;h=233574e8e05b28230c115f5af34fbfeec5bf9874 fix slight typo in json_pack apiref example Fixes #73. --- diff --git a/doc/apiref.rst b/doc/apiref.rst index 1c3a85b..d6f451c 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -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: