xtract

Library to deserialize Xml to user types.

License

License

GroupId

GroupId

com.lucidchart
ArtifactId

ArtifactId

xtract_2.11
Last Version

Last Version

2.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

xtract
Library to deserialize Xml to user types.
Project URL

Project URL

https://github.com/lucidsoftware/xtract
Project Organization

Project Organization

com.lucidchart
Source Code Management

Source Code Management

https://github.com/lucidsoftware/xtract

Download xtract_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.lucidchart/xtract_2.11/ -->
<dependency>
    <groupId>com.lucidchart</groupId>
    <artifactId>xtract_2.11</artifactId>
    <version>2.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.lucidchart/xtract_2.11/
implementation 'com.lucidchart:xtract_2.11:2.2.1'
// https://jarcasting.com/artifacts/com.lucidchart/xtract_2.11/
implementation ("com.lucidchart:xtract_2.11:2.2.1")
'com.lucidchart:xtract_2.11:jar:2.2.1'
<dependency org="com.lucidchart" name="xtract_2.11" rev="2.2.1">
  <artifact name="xtract_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.lucidchart', module='xtract_2.11', version='2.2.1')
)
libraryDependencies += "com.lucidchart" % "xtract_2.11" % "2.2.1"
[com.lucidchart/xtract_2.11 "2.2.1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
org.typelevel : cats-macros_2.11 jar [2,3)
org.typelevel : cats-kernel_2.11 jar [2,3)
org.typelevel : cats-core_2.11 jar [2,3)
org.scala-lang.modules : scala-xml_2.11 jar 1.2.0

Project Modules

There are no modules declared in this project.

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.2.1"

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.2.1" % "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.

com.lucidchart

Lucid Software, Inc

Versions

Version
2.2.1
2.0.1
1.3.1
1.2.0
1.1.1
1.0.1
v2.2.0
v2.1.0
v2.0.1