# Generating structs from JSON files

**URL:** https://discourse.julialang.org/t/generating-structs-from-json-files/136360
**Category:** General Usage
**Tags:** json, json3
**Created:** [March 24, 2026, 11:56am UTC](https://discourse.julialang.org/t/generating-structs-from-json-files/136360 "2026-03-24T11:56:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![langestefan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/langestefan/32/207923_2.png) [@langestefan](https://discourse.julialang.org/u/langestefan)
#### Post date: [March 24, 2026, 11:56am UTC](https://discourse.julialang.org/t/generating-structs-from-json-files/136360/1 "2026-03-24T11:56:23Z")

</div>

I need to generate structs (and enums) from a set of JSON files.

It seems that only JSON3.jl currently supports this feature? The [migration guide](https://juliaio.github.io/JSON.jl/stable/migrate/) does state:

> If you rely heavily on this feature, continue using JSON3.jl for this specific purpose until this functionality is migrated to a separate package

Has this been realized yet anywhere?

cc @dilumaluthge since I saw your name pop up on the PRs 🙂

---

<div class="post-metadata">

### Author: ![dilumaluthge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dilumaluthge/32/29283_2.png) [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)
#### Post date: [March 24, 2026, 11:44pm UTC](https://discourse.julialang.org/t/generating-structs-from-json-files/136360/2 "2026-03-24T23:44:14Z")

</div>

Hmmm. Good question. AFAIK, it hasn’t been migrated yet, but @quinnj can give a more up-to-date answer.
