This project has retired. For details please refer to its Attic page.
javax.json serialization
Polygene™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

javax.json serialization

code

docs

tests

Serialization service backed by javax.json types. See Serialization and Serialization SPI.

Table 48. Artifact

Group IDArtifact IDVersion

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

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.