integer - JSON values 1 or 0 - int or boolean -


does json treat these same? or mix of integers , booleans?

var data = {     "zero" : 0,     "one" : 1,     "false" : 0,     "true" : 1,     "0" : false,     "1" : true } 

json format transferring data.
has no notion of equality.

json parsers treat booleans , numbers distinct types.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -