Re:Show HN: SWAPI – A Star Wars API
by wise_young_man on Friday December 05, 2014 @11:21AM
(#8705247)
What if the integer exceeds the maximum allowed on 32 bit machines and you try to decode the JSON?
[ Parent
| on HN ]
Re:Show HN: SWAPI – A Star Wars API
by djtriptych on Friday December 05, 2014 @11:25AM
(#8705268)
That has nothing to do with JSON, which allows numbers of arbitrary size.
Re:Show HN: SWAPI – A Star Wars API
by paulhallett on Friday December 05, 2014 @11:25AM
(#8705269)
This is mostly just a typo in the examples I put, but I will consider using only strings for this type of stuff, to avoid issues.