JSON - Parsing quick help (object name)
Parsing some JSON and one [edit: +"of the"] names for an object is "media:content".
Say I just want to quickly console.log this by,
c开发者_StackOverflow.l(results.entry[0].media:content.property)
how must I format that object name so it doesn't throw me a syntax error?
Something like this:
results.entry[0]["media:content"].property
精彩评论