# Easy saving of Dict{Tuple,Number} to JSON?

**URL:** https://discourse.julialang.org/t/easy-saving-of-dict-tuple-number-to-json/27607
**Category:** General Usage
**Created:** [August 16, 2019, 9:30am UTC](https://discourse.julialang.org/t/easy-saving-of-dict-tuple-number-to-json/27607 "2019-08-16T09:30:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gobs](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@gobs](https://discourse.julialang.org/u/gobs)
#### Post date: [August 16, 2019, 9:30am UTC](https://discourse.julialang.org/t/easy-saving-of-dict-tuple-number-to-json/27607/1 "2019-08-16T09:30:44Z")

</div>

Hello,

I was wondering if there was an easy way to save a `Dict{Tuple,Number}` (see example below) to JSON.

```julia
d = Dict((1,:A) => 1, (1,:B) => 2, (2,:A) => 3, (2,:B) => 4)

```

I think JSON3 or LazyJSON might be what I’m looking for, but the documentation seems quite involved - I would just like someone to show me the 3 or 4 lines I have to write to save and load this type of Dict.
