# Possible to Create Menus from JSON?

**URL:** <https://discourse.gohugo.io/t/possible-to-create-menus-from-json/3259>\
**Category:** support\
**Created:** [May 2, 2016, 8:41pm UTC](https://discourse.gohugo.io/t/possible-to-create-menus-from-json/3259 "2016-05-02T20:41:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![newton](https://avatars.discourse-cdn.com/v4/letter/n/f475e1/32.png) [@newton](https://discourse.gohugo.io/u/newton)\
**Post date:** [May 2, 2016, 8:41pm UTC](https://discourse.gohugo.io/t/possible-to-create-menus-from-json/3259/1 "2016-05-02T20:41:50Z")

</div>

Hello all, I’m attempting to integrate HUGO with a headless CMS. I’m in need a more dynamic way to implement menus. Is there a way to read information from a JSON file in a template partial to create a menu section?

Thanks!

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [May 2, 2016, 9:31pm UTC](https://discourse.gohugo.io/t/possible-to-create-menus-from-json/3259/2 "2016-05-02T21:31:02Z")

</div>

Have you searched the documentation and this forum?

---

<div class="post-metadata">

**Author:** ![digitalcraftsman](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/digitalcraftsman/32/4142_2.png) [@digitalcraftsman](https://discourse.gohugo.io/u/digitalcraftsman)\
**Post date:** [May 3, 2016, 12:01pm UTC](https://discourse.gohugo.io/t/possible-to-create-menus-from-json/3259/3 "2016-05-03T12:01:08Z")

</div>

Take a look at the [`getJSON`](https://gohugo.io/extras/datadrivencontent#loading-local-files) template function to fetch your data for the menu.
