JSON parsing of large numbers #156

wants to merge 1 commit into

1 participant


Hey guys, hitting issues with the Facebook JSON API, and downloading identifiers that are larger than Flash's double format. The fix is to decode these very large numbers as strings, so that we don't lose data.


We hit this issue with Facebook JSON API's on a current project we're working on. Both AS3 and Javascript (ECMA) suffer from this problem. Ideally, the JSON would return the ID's as Strings to play nice, but there's nothing 'wrong' with large numbers in JSON - Just ECMA's support for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment