How to parse string of array in Julia 1.0

In julia 0.6, I can parse the s = "[[-8.618643,41.141412],[-8.618499,41.141376]]" like parse(s) |> eval to get

2-element Array{Array{Float64,1},1}:
 [-8.61864, 41.1414]
 [-8.6185, 41.1414] 

and what’s the equivalent way to do that in Julia 1.0?

1 Like

parse(s)Meta.parse(s)

1 Like

Thanks so much.

1 Like