diff --git a/src/workload.jl b/src/workload.jl index 8fcb553..03e89ce 100644 --- a/src/workload.jl +++ b/src/workload.jl @@ -1,13 +1,14 @@ using PrecompileTools @compile_workload begin - str = """{"a": 1, "b": "hello, world", "c": [1, 2], "d": true, "e": null, "f": 1.92}""" + str = """{"a": 1, "b": "hello, world", "c": [1, 2], "d": true, "e": null, "f": 1.92, "g": {"a": {"a" : "b"}}}""" JSON3.read(IOBuffer(str)) json = JSON3.read(str) for i in "abcdef" json[i] end + json[:g][:a][:a] JSON3.read( str,