Does REXML support to_json? I keep getting "object references itself"
when I do this (simplified version):
xml = Document.new("<root><ooh fert='nerdle'>Narf!</ooh></root>")
@json = xml.to_json
Is it possible to output this xml as json.
The source xml is actually much larger, and I want to execute some
xpath on that, and return the results as json.