The following post is tested under Julia v1.6.1, DataFrames.jl v1.2.0, JSON.jl v0.21.1, and JSONTables.jl v1.0.1.
To export data frames as JSON files in Julia, you need JSON.jl , or JSONTables.jl . The key difference between the two packages is that JSON.jl transforms a dictionary, a vector of dictionaries, or a vector of …