public abstract class GensonBundle extends Object
Genson genson = new Genson.Builder().with(new SuperCoolExtension()).create();Extension configuration is mixed with user custom configuration (no way to distinguish them), however user custom config. has preference over bundle configuration. This means that you can override bundle configuration with custom one. This part of the API is still in beta, it could change in the future in order to make it more powerful.
| Constructor and Description |
|---|
GensonBundle() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
configure(Genson.Builder builder)
This method is called when all custom configuration has been registered.
|
public abstract void configure(Genson.Builder builder)
Copyright © 2014. All Rights Reserved.