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

8/22/2022 - Mon
leakim971

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
leakim971

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)
ASKER
Isaac

>>please note recent browser don't need it (IE8+ for example)<<
What do you mean?
I just need to use it within my code.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
leakim971

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
ASKER
Isaac

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
leakim971

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Isaac

Thanks!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.