Tag Archives: object

Accessing Values in Javascript JSON Objects with Keys containing Hyphens (Dashes)

However, if we tried the same thing with the “message-data” key, you will note that this will fall over syntactically straight away – all because of that silly hyphen (dash). Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | View Comments