mohsen1 / json-formatter

Angular directive for collapsible JSON in HTML
http://azimi.me/json-formatter/demo/demo.html
Other
372 stars 85 forks source link

Render valid JSON with an attribute #17

Closed mohsen1 closed 8 years ago

mohsen1 commented 9 years ago

When valid attribute is present, render a valid JSON that can be copied

victorbstan commented 9 years ago

xml2json library turns an element with attribute into a string { "element:attribute": "value }. Just a thought.