xml2json 4.2.0 copy "xml2json: ^4.2.0" to clipboard
xml2json: ^4.2.0 copied to clipboard

outdated

An XML to JSON conversion package. Supports Badgerfish, GData and Parker conversions.

xml2json #

Build Status

An XML to JSON conversion package.

This package allows the parsing of XML strings and the transformation of the resulting parse tree into the following XML JSON conventions :-

  1. Parker
  2. Badgerfish
  3. Google Data(GData).

The package uses the xml parser to peform the parsing of XML data into a parse tree.

Exact transforming rules can be found in the 'Transforming Details' document in the docs folder.

The Parker convention is a lossy but lean conversion from XML into JSON, ideal for lightweight XML parsing of collections of books, records etc. where attributes and namespace information is not needed.

Badgerfish and GData both preserve XML information such as attributes and namespaces. These are more suited to heavyweight XML parsing of say ATOM feeds where this information may be needed.

See the main Xml2Json class for usage.

105
likes
0
pub points
97%
popularity

Publisher

verified publisherdarticulate.com

An XML to JSON conversion package. Supports Badgerfish, GData and Parker conversions.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

xml

More

Packages that depend on xml2json