I am working with a RESTful API, which serves back data to my ember app in big integer format. For example:
{
"users":[
{
"id":25969533824547743811785852951
},
...
]
}
However, Handlebars will display id
s in a sort of scientific notation:
2.5969533824547745e+28
So that the link-to
route is broken, and the url user/2.5969533824547745e+28/edit
will not resolve.
How can I map big integer id
s in Ember, so that the IDs are not represented in short-hand or scientific notation?