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")?
Hi, is there a reason why
JSON.printfile(filename::String, dictionary_object)
does not exist? Like an analog ofJSON.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")
?