Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add null encode case. #3

Open
Vurv78 opened this issue Jun 30, 2023 · 0 comments
Open

Add null encode case. #3

Vurv78 opened this issue Jun 30, 2023 · 0 comments

Comments

@Vurv78
Copy link
Owner

Vurv78 commented Jun 30, 2023

Since qjson.NULL exists now, you should be able to do this:

local json = require "qjson"

json.encode {
    xyz = json.NULL
}

and get

{"xyz":null}
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

No branches or pull requests

1 participant