code
docs
tests
Serialization
service backed by javax.json
types.
See Serialization and Serialization SPI.
Table 48. Artifact
Group ID | Artifact ID | Version |
---|---|---|
org.apache.polygene.extensions | org.apache.polygene.extension.serialization-javaxjson | 3.0.0 |
This extension comes with Apache Johnzon as a default javax.json
provider.
You can exclude its dependency and replace it by the one of your choice.
Assembly is done using the provided Assembler:
@Override public void assemble( ModuleAssembly module ) { new JavaxJsonSerializationAssembler().assemble( module ); [...snip...] }
Note that this assembler is optional as Polygene assemble this service by default if no Serialization service is declared.