Package | Description |
---|---|
javax.json.bind |
Provides JSON Binding API, which enables binding Java objects from and to
JSON documents.
|
javax.json.bind.spi |
Service Provider Interface (SPI) to plug in implementations of JSON
Binding API
JsonbBuilder objects. |
Modifier and Type | Method and Description |
---|---|
static JsonbBuilder |
JsonbBuilder.newBuilder()
Create a new
JsonbBuilder instance as returned by the default
JsonbProvider.provider() method. |
static JsonbBuilder |
JsonbBuilder.newBuilder(JsonbProvider provider)
Create a new
JsonbBuilder instance as returned by
provider#create call. |
static JsonbBuilder |
JsonbBuilder.newBuilder(String providerName)
Create a new
JsonbBuilder instance as returned by
JsonbProvider.provider(String)
method. |
JsonbBuilder |
JsonbBuilder.withConfig(JsonbConfig config)
Set configuration which will be set to the newly created
Jsonb instance. |
JsonbBuilder |
JsonbBuilder.withProvider(JsonProvider jsonpProvider)
|
Modifier and Type | Method and Description |
---|---|
abstract JsonbBuilder |
JsonbProvider.create()
Returns a new instance of
JsonbBuilder class. |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.