Skip to content

Conversation

@exjesper
Copy link

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.

@Tieske
Copy link

Tieske commented Sep 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants