Closed leo60228 closed 4 years ago
Currently, typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"]) is Any[], despite typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"][1]) and typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"][2]) both being Dict{String, Any}.
typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"])
Any[]
typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"][1])
typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"][2])
Dict{String, Any}
duplicate of #139
Currently,
typeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"])
isAny[]
, despitetypeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"][1])
andtypeof(JSON.parse("""{"arr": [{"a": "b"}, {"c": "d"}]}""")["arr"][2])
both beingDict{String, Any}
.