# How to create a struct from a dict

**URL:** https://discourse.julialang.org/t/how-to-create-a-struct-from-a-dict/117550
**Category:** General Usage
**Tags:** question, dictionary, struct
**Created:** [July 27, 2024, 4:41pm UTC](https://discourse.julialang.org/t/how-to-create-a-struct-from-a-dict/117550 "2024-07-27T16:41:14Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![bertschi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bertschi/32/33462_2.png) [@bertschi](https://discourse.julialang.org/u/bertschi)
#### Post date: [July 27, 2024, 9:15pm UTC](https://discourse.julialang.org/t/how-to-create-a-struct-from-a-dict/117550/7 "2024-07-27T21:15:41Z")

</div>

Just curious, but what is the difference between this use case and your [previous question](https://discourse.julialang.org/t/how-to-convert-a-dict-to-a-struct/116916)?

---

_[View the full topic](https://discourse.julialang.org/t/how-to-create-a-struct-from-a-dict/117550)._
