# Flipped tile in JSON format

**URL:** <https://discourse.mapeditor.org/t/flipped-tile-in-json-format/1235>\
**Category:** Questions\
**Created:** [April 3, 2016, 7:23pm UTC](https://discourse.mapeditor.org/t/flipped-tile-in-json-format/1235 "2016-04-03T19:23:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KammererTob](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@KammererTob](https://discourse.mapeditor.org/u/KammererTob)\
**Post date:** [April 3, 2016, 7:23pm UTC](https://discourse.mapeditor.org/t/flipped-tile-in-json-format/1235/1 "2016-04-03T19:23:27Z")

</div>

Hi,

not sure if this is a bug or i am just expecting something different/not understanding the output.  
How is a flipped tile represented in the JSON file format (CSV data)? Is this even possible with JSON?  
Currently it is just represented as a very big number (e.g. 2147483714). How do i know what tile got flipped?

Thanks!

---

<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:** [April 3, 2016, 7:44pm UTC](https://discourse.mapeditor.org/t/flipped-tile-in-json-format/1235/2 "2016-04-03T19:44:12Z")

</div>

It uses the same bits as used in the [TMX format](https://doc.mapeditor.org/en/stable/reference/global-tile-ids/#tile-flipping). They are the high bits of the 32-bit unsigned integer, which hence leads to very big numbers in this format.

---

<div class="post-metadata">

**Author:** ![KammererTob](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@KammererTob](https://discourse.mapeditor.org/u/KammererTob)\
**Post date:** [April 3, 2016, 7:52pm UTC](https://discourse.mapeditor.org/t/flipped-tile-in-json-format/1235/3 "2016-04-03T19:52:53Z")

</div>

Ah i see. Thanks for the quick response!
