You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that the dicttype keyword argument allows one to specify the general dictionary in which the JSON object is stored when it is read/parsed. However, I think a outtype argument could be specified so that not all JSON reads as Dict{T, Any}. For example:
julia> s =raw"""{"a", {"b", ["c", "d", "e"]}}""";
julia> JSON.parse(s, outtype=Dict{String, Dict{String, Vector{String}}})
Dict{String, Dict{String, Vector{String}}} with 1 entry:"a"=>Dict("b"=>["c", "d", "e"])
The text was updated successfully, but these errors were encountered:
I understand that the
dicttype
keyword argument allows one to specify the general dictionary in which the JSON object is stored when it is read/parsed. However, I think aouttype
argument could be specified so that not all JSON reads asDict{T, Any}
. For example:The text was updated successfully, but these errors were encountered: