Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.54 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.54 KB

Trickl AssertJ JSON Serialize

Maven Central build_status Maintainability Test Coverage License

AssertJ fluent assertions for the serialization and deserialization of POJOs into JSON.

Installation

To install from Maven Central:

<dependency>
  <groupId>com.github.trickl</groupId>
  <artifactId>assertj-json-serialize</artifactId>
  <version>0.1.0</version>
</dependency>

Example

    assertThat(account)
        .deserializesAsExpected()
        .serializesAsExpected()
        .schemaAsExpected();

Building

To download the library into a folder called "assertj-json-serialize" run

git clone https://github.com/trickl/assertj-json-serialize.git

To build the library run

mvn clean build

Acknowledgments

AssertJ - http://joel-costigliola.github.io/assertj/