aboutsummaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-05-01 04:16:24 +0930
committerMark Pulford <mark@kyne.com.au>2011-05-01 04:16:24 +0930
commit2fc7477b155cdecfee3b0a47203c0706c27db73e (patch)
tree840705c2246f4f88fff11f23310648112cf9f77f /strbuf.c
parentaf1fe38223e23b2bb90f65bc6dd1b7e0dd5cb5cd (diff)
downloadlua-cjson-2fc7477b155cdecfee3b0a47203c0706c27db73e.tar.gz
lua-cjson-2fc7477b155cdecfee3b0a47203c0706c27db73e.tar.bz2
lua-cjson-2fc7477b155cdecfee3b0a47203c0706c27db73e.zip
Move static configuration into runtime userdata
Allow maximum nesting depth and sparse array ratio to be configured at runtime via the sparse_ratio() and max_depth() functions. Throw exceptions when encoding excessively nested structures.
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions