# Reference for JSON files wanted

**URL:** <https://discourse.cataclysmdda.org/t/reference-for-json-files-wanted/5393>\
**Category:** The Garage\
**Created:** [March 12, 2014, 3:50pm UTC](https://discourse.cataclysmdda.org/t/reference-for-json-files-wanted/5393 "2014-03-12T15:50:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wuzzy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wuzzy/32/41_2.png) [@Wuzzy](https://discourse.cataclysmdda.org/u/Wuzzy)\
**Post date:** [March 12, 2014, 3:50pm UTC](https://discourse.cataclysmdda.org/t/reference-for-json-files-wanted/5393/1 "2014-03-12T15:50:38Z")

</div>

I know a lot of content has been moved to JSON.  
I want to know where I find some kind of reference so I know how to structure these files.  
I don’t mean the JSON format itself, I mean how the game interprets the content of the JSON files.  
At the moment, I can only guess how file structure works, which is suboptimal in my opinion.

Remember I don’t want a tutorial, just a reference to look up stuff.

---

<div class="post-metadata">

**Author:** ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)\
**Post date:** [March 12, 2014, 5:05pm UTC](https://discourse.cataclysmdda.org/t/reference-for-json-files-wanted/5393/2 "2014-03-12T17:05:30Z")

</div>

The starting place would be about halfway down the item\_factory.cpp file (line ~645). Other then that for the actual JSON implementation you would want to take a look at json.cpp and json.h. (And maybe savegame\_json.cpp for save game transliteration).

---

<div class="post-metadata">

**Author:** ![Wuzzy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wuzzy/32/41_2.png) [@Wuzzy](https://discourse.cataclysmdda.org/u/Wuzzy)\
**Post date:** [March 13, 2014, 8:15pm UTC](https://discourse.cataclysmdda.org/t/reference-for-json-files-wanted/5393/3 "2014-03-13T20:15:49Z")

</div>

Thanks.  
Someone in IRC pointed me towards a more complete documentation.

It’s right in the game files itself:  
The files doc/JSON\_FLAGS.md, doc/JSON\_INFO.md and MODDING.txt
