javascript - Why is JSON all uppercase -


i aware functions conventionally expressed in camel case ie

function myfunctionname(){     return false; } 

and constructors first letter capitalized ie

function person(name){   this.name = name; } 

but why json spelt in capitals in function:

json.stringify(somevalue); 

i know may bit of pointless question can't seem find answer online.

thanks

this because an acronym javascript object notation.

in general, acronym conventions js seem less-defined / less-followed other aspects. e.g., labkey guidelines classify four-letter acronym requiring regular js rules.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -