I have JSON/JS like this that populates data:
var settingDefs = [];
settingDefs.push({
name:'responses', label:'Responses', type:'aeditor',
defaultValue: Object.toJSON([
{"id":"1", "name":"Bob", "text":"Is here"},
{"id":"2", "name":"James", "text":"Online"},
])
});
How would I retrieve an entry say if I had "1" and I wanted to lookup using that "1" to retrieve the name/text for that entry (entry 1)?
Object.toJSON?