I have a chunk of JSON which looks something like:
{ 'map': [ [ 'zimbraFeatureCalendarUpsellEnabled', 'FALSE' ], [ 'zimbraPrefCalendarDayHourStart', '8' ], [ 'zimbraFeatureOptionsEnabled', 'TRUE' ], [ 'zimbraAttachmentsViewInHtmlOnly', 'FALSE' ] ] }
(and so on; there’s 200+ entries)
I need to be able to pick out individual key/value pairs from the JSON response, either with jQuery or plain old Javascript. I haven’t been able to figure out how to address a specific key, though. Any ideas?
What you’ve described is a single level object, with a whole bunch of nested arrays so accessing will be
You probably want something akin to this (unless you’re working with existing API or some such):