Avatar of Isaac
IsaacFlag for United States of America

asked on 

json.stringify

Hello,

I want to download json.stringify and I came across this site (http://www.json.org/js.html) that has the minified version but it's a executable file.  Is there one I can download that's just a file?
JavaScriptjQueryScripting Languages

Avatar of undefined
Last Comment
Isaac
Avatar of leakim971
leakim971
Flag of Guadeloupe image

go on the bottom, you will found the following link : https://github.com/douglascrockford/JSON-js

Click on json2.js and on the RAW button to reach here : https://raw.github.com/douglascrockford/JSON-js/master/json2.js

download/save this file
Avatar of leakim971
leakim971
Flag of Guadeloupe image

You can found the mimified one here : https://code.google.com/p/webscan/source/browse/trunk/ui/js/third-party/json2.min.js?r=80
Or here too : https://cdnjs.cloudflare.com/ajax/libs/json2/20121008/json2.min.js

please note recent browser don't need it (IE8+ for example)
Avatar of Isaac
Isaac
Flag of United States of America image

ASKER

>>please note recent browser don't need it (IE8+ for example)<<
What do you mean?
I just need to use it within my code.
Avatar of leakim971
leakim971
Flag of Guadeloupe image

If you're using a recent browser you don't need to include json2.js

the JSON object is natively present in recent browser

check at the end :
http://msdn.microsoft.com/en-us/library/ie/cc836459(v=vs.94).aspx
https://developer.mozilla.org/en-US/docs/Using_native_JSON
Avatar of Isaac
Isaac
Flag of United States of America image

ASKER

Ok.  I'm using IE8 and so is my client.  So are you saying that I can just use "JSON.stringify()" without referencing the JSON file as a library?
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Isaac
Isaac
Flag of United States of America image

ASKER

Thanks!
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo