# Anybody can show me the grammer for dict's dict in julia

**URL:** https://discourse.julialang.org/t/anybody-can-show-me-the-grammer-for-dicts-dict-in-julia/21616
**Category:** General Usage
**Tags:** question
**Created:** [March 8, 2019, 2:41am UTC](https://discourse.julialang.org/t/anybody-can-show-me-the-grammer-for-dicts-dict-in-julia/21616 "2019-03-08T02:41:04Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Olivier\_Merchiers](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/olivier_merchiers/32/4073_2.png) [@Olivier\_Merchiers](https://discourse.julialang.org/u/Olivier_Merchiers)
#### Post date: [March 8, 2019, 9:00am UTC](https://discourse.julialang.org/t/anybody-can-show-me-the-grammer-for-dicts-dict-in-julia/21616/5 "2019-03-08T09:00:09Z")

</div>

Maybe not totally related but maybe this helps

> [@Looking for a key in a nested dict](https://discourse.julialang.org/t/looking-for-a-key-in-a-nested-dict/17211/9):
>
> If it ocurs multiple times, only the first appearance of the key is returned. Here is an implementation that takes into account multiple returns function retrieve(dict, key\_of\_interest, output = []) # default value is an empty array for (key, value) in dict if key == key\_of\_interest push!(output, value) end if value isa AbstractDict retrieve(value, key\_of\_interest, output) end …

---

_[View the full topic](https://discourse.julialang.org/t/anybody-can-show-me-the-grammer-for-dicts-dict-in-julia/21616)._
