AssertJ fluent assertions for the serialization and deserialization of POJOs into JSON.
To install from Maven Central:
<dependency>
<groupId>com.github.trickl</groupId>
<artifactId>assertj-json-serialize</artifactId>
<version>0.1.0</version>
</dependency>
assertThat(account)
.deserializesAsExpected()
.serializesAsExpected()
.schemaAsExpected();
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