{ "glossary": { "title": "example glossary", "glossdiv": { "title": "s", "glosslist": { "glossentry": { "id": "sgml", "sortas": "sgml", "glossterm": "standard generalized markup language", "acronym": "sgml", "abbrev": "iso 8879:1986", "glossdef": { "para": "a meta-markup language, used create markup languages such docbook.", "glossseealso": ["gml", "xml"] }, "glosssee": "markup" } } } } }
assuming come file or maybe distant url can content $http service : content automaticaly convert in json if possible :
$http.get('/someurl').success(function(jsonvalue){ console.log(jsonvalue) });
Comments
Post a Comment