Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How can I prevent jQuery's $.getJSON from converting my ajax response keys from strings to integers?
- {"2":"aaron@mail.com","1":"bernard@mail.com"}
- $.getJSON('urlwithjsonresponse.com',function(response){
- console.log(response);
- });
- {1:"bernard@mail.com",2:"aaron@mail.com"}
Add Comment
Please, Sign In to add comment