Jackson datatype module (jar) to support JSON serialization and deserialization of PCollections data types.
Licensed under Apache License 2.0
To use module on Maven-based projects, use following dependency:
<dependency>
<groupId>tools.jackson.datatype</groupId>
<artifactId>jackson-datatype-pcollections</artifactId>
<version>3.0.3</version>
</dependency>(or whatever version is most up-to-date at the moment)
Like all standard Jackson modules (libraries that implement Module interface), registration is done as follows:
ObjectMapper mapper = JsonMapper.builder()
.addModule(new PCollectionsModule())
.build();after which functionality is available for all normal Jackson operations.
See Wiki for more information (javadocs, downloads).