Can someone tell me what is the main difference between a JavaScript object defined by using Object Literal Notation and JSON object?
This is a bit hard for me to articulate, but in PHP you can say something like: $myArray[\'someindex\'] = \"my string\";
It seems that we only use \'\\0\'(null),\'\\a\'(bell),\'\\b\'(backspace),\'\\t\'(horizontal tab),\'\\n\'(line fee),\'\\r\'(carriage return),\'\\v\'(vertical tab),\'\\e\'(escape).