Settings

Theme

Show HN: Traverse JavaScript object graphs with jQuery

github.com

10 points by nrkn 11 years ago · 5 comments

Reader

brett-anderson 11 years ago

Neat! I hadn't thought about representing a DOM tree as a JSON object before. How do you pronounce H5ON?

  • nrknOP 11 years ago

    I've been awkwardly saying "Aitch Five Oh En" in my head, but my work colleague says "Aitch Son", which even though it's a 5 and not an S sort of makes sense given the relationship to JSON :)

    • nrknOP 11 years ago

      You know what, could be "Aitch Fon" as well (the 5 starts with F, right?)

bndr 11 years ago

This seems pretty similar to XML

  • nrknOP 11 years ago

    It 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection