# Off By One in JSON Export?

**URL:** <https://discourse.mapeditor.org/t/off-by-one-in-json-export/1921>\
**Category:** Questions\
**Created:** [December 29, 2016, 10:38pm UTC](https://discourse.mapeditor.org/t/off-by-one-in-json-export/1921 "2016-12-29T22:38:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 5, 2017, 11:43am UTC](https://discourse.mapeditor.org/t/off-by-one-in-json-export/1921/4 "2017-01-05T11:43:34Z")

</div>

Just for future reference in case people stumble upon this thread, I assume the post you found is the following one:

> [@Array files are one number off from tile set](http://discourse.mapeditor.org/t/array-files-are-one-number-off-from-tile-set/1884):
>
> Hi there I’ve been playing around with the map editor as it’s easier than my regular tilemap editor plus I can print out the integer arrays. The problem is that when ever a export my map as a text file like .json the integers are always 1 off. For instance tile number 0 shows up as 1 and 1 shows up as 2 and so on. It’s weird because in the app and clicking on tile properties it tells you that tile number 0 should be labeled tile 0. Is there a way to fix it so it shows tile numbers in the ord…

---

_[View the full topic](https://discourse.mapeditor.org/t/off-by-one-in-json-export/1921)._
