Howto convert E4X XML Elements into JSON Notation [duplicate]
问题 This question already has answers here : Convert XML to JSON (and back) using Javascript (10 answers) Closed 5 years ago . I have a server Implementation of ECMA Script including the ability to use E4X. Because this is pretty elegant for people don't know JavaScript and JSON Notation and we want to make an API which is most easy to learn i want to use this for my API. I'm currently evaluating if i can use this in my environment. One Showstopping feature that i must use is to convert those XML