Skip to content

Instantly share code, notes, and snippets.

@kenglxn
Created January 26, 2011 15:16
Show Gist options
  • Save kenglxn/796821 to your computer and use it in GitHub Desktop.
Save kenglxn/796821 to your computer and use it in GitHub Desktop.
var bookmarks = eval({"bookmarks":[{"id":"1","sigid":"TEF-159","type":"Wormhole","comment":""},{"id":"2","sigid":"","type":"Ladar","comment":""},{"id":"3","sigid":"","type":"Wormhole","comment":""},{"id":"4","sigid":"","type":"Wormhole","comment":""},{"id":"5","sigid":"ABC-123","type":"Wormhole","comment":"S0 > S1"},{"id":"96","sigid":"XYZ-123","type":"Wormhole","comment":"S0 > S2"},{"id":"97","sigid":"BCS-123","type":"Ladar","comment":""},{"id":"98","sigid":"","type":"Ladar","comment":null},{"id":"99","sigid":"abc-123","type":"Wormhole","comment":""},{"id":"100","sigid":"bac-123","type":"Unknown","comment":""},{"id":"151","sigid":"","type":"Wormhole","comment":""},{"id":"152","sigid":"","type":"Wormhole","comment":""},{"id":"153","sigid":"","type":"Unknown","comment":""},{"id":"154","sigid":"","type":"Unknown","comment":""},{"id":"155","sigid":"","type":"Unknown","comment":""}]})['bookmarks'];
alert(bookmarks.length);
alert(bookmarks[0]['id']+'='+bookmarks[0]['type'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment