# Package or Function to find and access keys in a nested dicts

**URL:** https://discourse.julialang.org/t/package-or-function-to-find-and-access-keys-in-a-nested-dicts/91909
**Category:** New to Julia
**Created:** [December 20, 2022, 5:55pm UTC](https://discourse.julialang.org/t/package-or-function-to-find-and-access-keys-in-a-nested-dicts/91909 "2022-12-20T17:55:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)
#### Post date: [December 20, 2022, 6:03pm UTC](https://discourse.julialang.org/t/package-or-function-to-find-and-access-keys-in-a-nested-dicts/91909/2 "2022-12-20T18:03:35Z")

</div>

Are you sure your example is completely free of typos? It works fine for me:

```julia
julia> hydrogen_dict = Dict("TRANSPORT" => Dict("viscosity" => Dict("dilute" => Dict("molar_mass" => 2.016))))
Dict{String, Dict{String, Dict{String, Dict{String, Float64}}}} with 1 entry:
  "TRANSPORT" => Dict("viscosity"=>Dict("dilute"=>Dict("molar_mass"=>2.016)))

julia> retrieve(hydrogen_dict, "molar_mass")
2.016

```

---

_[View the full topic](https://discourse.julialang.org/t/package-or-function-to-find-and-access-keys-in-a-nested-dicts/91909)._
