diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-05-01 04:16:24 +0930 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-05-01 04:16:24 +0930 |
commit | 2fc7477b155cdecfee3b0a47203c0706c27db73e (patch) | |
tree | 840705c2246f4f88fff11f23310648112cf9f77f /strbuf.c | |
parent | af1fe38223e23b2bb90f65bc6dd1b7e0dd5cb5cd (diff) | |
download | lua-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