Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.51 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.51 KB

xtract

Build Status

Xtract is a scala library for deserializing XML. It is heavily inspired by the combinators in the Play JSON library, in particular the Reads[T] class.

See the introductory blog post.

Usage

To use Xtract in your sbt project add the following dependency:

"com.lucidchart" %% "xtract" % "2.0.0"

There is also an xtract-testing artifact which provides helpful matchers and other functions for use with specs2. To use in your test you can add the following sbt dependency:

"com.lucidchart" %% "xtract-testing" % "2.0.0" % "test"

Documentation

The scaladoc API for the core functionality is available at http://lucidsoftware.github.io/xtract/core/api/com/lucidchart/open/xtract/index.html.

Scaladocs for the specs2 extensions is available at http://lucidsoftware.github.io/xtract/testing/api/com/lucidchart/open/xtract/index.html.

Example

An example project using xtract can be found at http://github.com/lucidsoftware/xtract-example.