# How to read tuples with JSON3?

**URL:** <https://discourse.julialang.org/t/how-to-read-tuples-with-json3/29843>\
**Category:** New to Julia\
**Created:** [October 13, 2019, 12:35am UTC](https://discourse.julialang.org/t/how-to-read-tuples-with-json3/29843 "2019-10-13T00:35:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Elmer\_Cusipuma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elmer_cusipuma/32/11958_2.png) [@Elmer\_Cusipuma](https://discourse.julialang.org/u/Elmer_Cusipuma)\
**Post date:** [October 13, 2019, 12:35am UTC](https://discourse.julialang.org/t/how-to-read-tuples-with-json3/29843/1 "2019-10-13T00:35:18Z")

</div>

I am new to JSON3.jl and trying to do the following

```julia
julia> using JSON3

julia> tup = (:car,"Mercedes","S500",5,250.1)
(:car, "Mercedes", "S500", 5, 250.1)

julia> json = JSON3.write(tup)
"[\"car\",\"Mercedes\",\"S500\",5,250.1]"

```

I know I can do this:

```julia
d = JSON3.read(json,Tuple{Symbol,String,String,Int64,Float64})
ERROR: MethodError: Cannot `convert` an object of type String to an object of type Symbol

```

But I get an error reading the object of type symbol

---

_[View the full topic](https://discourse.julialang.org/t/how-to-read-tuples-with-json3/29843)._
