Skip to content

Comment on Jath - declaratively transform XML to JS objectsparent

Comments

Thanks for taking a look. Working with XML isn't that hard, true, but even just using jQuery to replace my normal XPath looping-and-plucking was really nice. This just takes things one step further by letting you express collections and recursive structures directly in JSON. Instead of writing a function per XML structure you'd like to parse, you can write a single JSON expression. This project is barely 50 lines of code I think, so it isn't really too much of an abomination yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.