# How to handle nested JSON

**URL:** <https://forum.ionicframework.com/t/how-to-handle-nested-json/51056>\
**Category:** ionic-v3\
**Created:** [May 3, 2016, 11:28am UTC](https://forum.ionicframework.com/t/how-to-handle-nested-json/51056 "2016-05-03T11:28:45Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![xr0master](https://avatars.discourse-cdn.com/v4/letter/x/b4bc9f/32.png) [@xr0master](https://forum.ionicframework.com/u/xr0master)\
**Post date:** [May 21, 2016, 11:58am UTC](https://forum.ionicframework.com/t/how-to-handle-nested-json/51056/12 "2016-05-21T11:58:46Z")

</div>

> [@SyntaxError: Unexpected token \< in JSON at position 0](https://forum.ionicframework.com/t/syntaxerror-unexpected-token-in-json-at-position-0/49057/10):
>
> You can’t use ‘-’ in variable name. data[‘user-token’]

---

_[View the full topic](https://forum.ionicframework.com/t/how-to-handle-nested-json/51056)._
