KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why does JSON only allow a string to be a key of a pair? Why not other types such as null , number , bool , object , array ? Considering JSON is tightly related with JavaScript, could I conclude the reason from JavaScript specification (ECMA-262)? I'm totally a newbie to JavaScript, could you help me to point it out.
Tags (comma-separated)
Save Edits
Cancel