Data Parsing

A parser is software that programmatically access, interpret and edit the content of a data stream.

List of Data Parsing Tools

Data parsing tools:

  • DOM
  • SAX
  • StAX
  • JAXP
  • GSON
  • Jackson

DOM

DOM (Document Object Model) is a Java library.

It is tree-based.

SAX

Streaming API for XML (SAX) is a Java library

It is event-based.

StAX

Streaming API for XML (StAX) is a Java library that allows XML views of non-XML data.

It is tree-based.

StAX uses pull parsing, that means that the client has the control over how and when XML events are processed. The client “pulls” the data flow events while reading XML, requesting the next event when needed.

It is considered superior to DOM and SAX.

JAXP

JAXP (Java API for XML Processing)

GSON

GSON is a JSON parser.

Jackson

Jackson is a XML and JSON parser.

You might also be interested in…

Leave a Reply

Your email address will not be published. Required fields are marked *