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 content and 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
JSONArray function ( XMLTokener arg0 ) { return ( JSONArray ) parse ( arg0 , true , null ) ; }