Yeah you don’t have to be using JavaScript to use json. Yes I know it’s part of the name, but it’s just an object notation which is the other part of the name, and this has become widely accepted for use in nearly all popular languages and frameworks.
Before yaml, I used json with Ruby it was way nicer to read than xml config files ( but way before that I started using it with PHP and Actionscript)
Yeah you don’t have to be using JavaScript to use json. Yes I know it’s part of the name, but it’s just an object notation which is the other part of the name, and this has become widely accepted for use in nearly all popular languages and frameworks.
Are there any other languages that would also have Json.Stringify? I only read JS sometimes and never write those, so I may be wrong about that.
JSON itself is fine, yeah
Not sure but with Ruby it was JSON.generate(ruby_object).
And it returned - JSON string of your argument.