Skip to content

fromJSON: Manually set how null is handled (like jsonlite) #9

Description

@ChingChuan-Chen

Can you include an option to setup what null is parsed in JSON file?
I would prefer to convert null to NA rather than NULL.

Ex:

fromJSON("[123,null]", null = NA) 
# [1] 123 NA

rather than

[[1]]
123
[[2]]
NULL

ref: jeroen/jsonlite#70

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions