lua-cjson icon indicating copy to clipboard operation
lua-cjson copied to clipboard

Add decode option to ignore JSON null values

Open exjesper opened this issue 6 years ago • 1 comments

By default JSON null values are encoded cjson.null lightuserdata. cjson.decode_json_null(false) allows disabling this behavior and instead convert JSON null to Lua nil values.

exjesper avatar Sep 26 '19 03:09 exjesper

I think it would make more sense to make the "null" value settable. That way it can also be replaced by other values.

Tieske avatar Sep 26 '24 07:09 Tieske