JSONArray function ( String arg0 ) { return toJSONArray ( new XMLTokener ( arg0 ) ) ; }
convert a well-formed but not necessarily valid xml string into a jsonarray using the jsonml transform . each xml tag is represented as a jsonarray in which the first element is the tag name . if the tag has attributes , then the second element will be jsonobject containing the name/value pairs . if the tag contains children , then strings and jsonarrays will represent the child tags . comments , prologs , dtds , and < > are ignored . concode_field_sep PlaceHolder placeHolder concode_field_sep JSONObject toJSONObject concode_elem_sep JSONObject toJSONObject concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Object parse