Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Are multiline strings possible?

0
0
Hi again,

The JSON object is a JavaScript built-in. If you're using V8, it should be there by default.

JScript on the other hand implements an older JavaScript standard by default - one that doesn't include JSON. However, it also supports "Standards Mode" in which JSONis implemented. To enable it, pass WindowsScriptEngineFlags.EnableStandardsMode to the JScriptEngine constructor.

Cheers!

Viewing all articles
Browse latest Browse all 2297