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

Allow specifying a value to use when parsing null #289

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Conversation

ararslan
Copy link
Member

Currently both nothing and missing are written to JSON files as null, but parsing such files results in nothing. Now the user can pass a null= keyword argument to parse and parsefile to specify the Julia value that results from parsing JSON's null.

Currently both `nothing` and `missing` are written to JSON files as
`null`, but parsing such files results in `nothing`. Now the user can
pass a `null=` keyword argument to `parse` and `parsefile` to specify
the Julia value that results from parsing JSON's `null`.
Copy link
Contributor

@kmsquire kmsquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ararslan ararslan merged commit 1383399 into master Jul 16, 2019
@ararslan ararslan deleted the aa/null branch July 16, 2019 15:53
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