JuliaHEP / AwkwardArray.jl

Awkward Array in Julia mirrors the Python library, enabling effortless zero-copy data exchange between Julia and Python
https://juliahep.github.io/AwkwardArray.jl/dev/
MIT License
31 stars 2 forks source link

Array nodes must support `parameters`, which implies a strict dependence on JSON.jl. #8

Closed jpivarski closed 1 year ago

Moelf commented 1 year ago

JSON3.jl is better

jpivarski commented 1 year ago

As it turns out, I don't need a JSON library yet. But when I do, what I'll need most will be to iterate over the JSON, making decisions based on what types and values we encounter in the JSON. This iteration does not need to be fast; the JSON documents are never large. (I'm thinking about parameters, which are rarely anything more than a single string, and Forms, which are only type descriptions.)

Should I still be looking at JSON3.jl for that? It looks like it has something to generate concrete types, but for my purposes, the easiest thing would be for a library to give me Dict{String,Any} and Vector{Any}.

Moelf commented 1 year ago

I guess both are well maintained, JSON3.jl's author also maintains CSV.jl, HTTP.jl, and Arrow.jl

JSON.jl is maintained by a bunch of involved Julia people as well, the package itself is older (started way before 1.0), while JSON3.jl is newer