# Minify json export

**URL:** <https://discourse.mapeditor.org/t/minify-json-export/2896>\
**Category:** Suggestions\
**Created:** [December 19, 2017, 9:42pm UTC](https://discourse.mapeditor.org/t/minify-json-export/2896 "2017-12-19T21:42:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jam](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jam](https://discourse.mapeditor.org/u/Jam)\
**Post date:** [December 19, 2017, 9:42pm UTC](https://discourse.mapeditor.org/t/minify-json-export/2896/1 "2017-12-19T21:42:08Z")

</div>

The json export has a lot of white space whitespace which adds about 2kb extra or so to the file size. Unless, do .json files need whitespace in order to function?

I did a comparison and the minified .json is only +5% bigger than it’s .tmx counterpart though when using zlib, there’s a 30% increase in file size on the json compared to the minified tmx.

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [December 20, 2017, 11:48am UTC](https://discourse.mapeditor.org/t/minify-json-export/2896/2 "2017-12-20T11:48:44Z")

</div>

Yeah, this feature should be added. There’s the following GitHub issue about it:

[https://github.com/bjorn/tiled/issues/944](https://github.com/bjorn/tiled/issues/944)
