Skip to content

Add JSON.printfile function #325

Open
@stelmo

Description

@stelmo

Hi, is there a reason why JSON.printfile(filename::String, dictionary_object) does not exist? Like an analog of JSON.parsefile?

If not, would it be a simple matter of adding in a one liner in the package like JSON.printfile(fname, dict) = open(io -> JSON.print(io, dict), "$fname.json", "w")?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions