4 ms·
Show HN: Traverse JavaScript object graphs with jQuery
- brett-anderson 11y agoNeat! I hadn't thought about representing a DOM tree as a JSON object before. How do you pronounce H5ON?
- bndr 11y agoThis seems pretty similar to XML
- nrkn 11y agoIt certainly is - but with a much narrower intended scope of use. It's really not intended as a data transport mechanism for example. It's also homologous with JSON, XML is more flexible in its data representation. And finally, it makes use of HTML5 conventions, such as prefixing custom tags with a hyphen delimited string, data-* attributes etc.