## JSONB 1.0
JSONB 1.0 - 1.0
JavaDoc Assertion Detail

Totals | Total | Active | Deprecated | Removed
# of Assertions | 80 | 80 | 0 | 0
# of Required Assertions | 80 | 80 | 0 | 0
# of Optional Assertions | 0 | 0 | 0 | 0

ID | Return | Method/Field | Description | Required | Deprecated | Testable
JSONB:JAVADOC:1 | Object | javax.json.bind.Jsonb.fromJson ( String , Class ) | Reads in a JSON data from the specified string and return the resulting content tree. | true |  | true
JSONB:JAVADOC:2 | Object | javax.json.bind.Jsonb.fromJson ( String , Class ) throws JsonbException | If any unexpected error(s) occur(s) during deserialization. | true |  | false
JSONB:JAVADOC:3 | Object | javax.json.bind.Jsonb.fromJson ( String , Type ) | Reads in a JSON data from the specified string and return the resulting content tree. | true |  | true
JSONB:JAVADOC:4 | Object | javax.json.bind.Jsonb.fromJson ( String , Type ) throws JsonbException | If any unexpected error(s) occur(s) during deserialization. | true |  | false
JSONB:JAVADOC:5 | Object | javax.json.bind.Jsonb.fromJson ( Reader , Class ) | Reads in a JSON data from the specified Reader and return the resulting content tree. | true |  | true
JSONB:JAVADOC:6 | Object | javax.json.bind.Jsonb.fromJson ( Reader , Class ) throws JsonbException | If any unexpected error(s) occur(s) during deserialization. | true |  | false
JSONB:JAVADOC:7 | Object | javax.json.bind.Jsonb.fromJson ( Reader , Type ) | Reads in a JSON data from the specified Reader and return the resulting content tree. | true |  | true
JSONB:JAVADOC:8 | Object | javax.json.bind.Jsonb.fromJson ( Reader , Type ) throws JsonbException | If any unexpected error(s) occur(s) during deserialization. | true |  | false
JSONB:JAVADOC:9 | Object | javax.json.bind.Jsonb.fromJson ( InputStream , Class ) | Reads in a JSON data from the specified InputStream and return the resulting content tree. | true |  | true
JSONB:JAVADOC:10 | Object | javax.json.bind.Jsonb.fromJson ( InputStream , Class ) throws JsonbException | If any unexpected error(s) occur(s) during deserialization. | true |  | false
JSONB:JAVADOC:11 | Object | javax.json.bind.Jsonb.fromJson ( InputStream , Type ) | Reads in a JSON data from the specified InputStream and return the resulting content tree. | true |  | true
JSONB:JAVADOC:12 | Object | javax.json.bind.Jsonb.fromJson ( InputStream , Type ) throws JsonbException | If any unexpected error(s) occur(s) during deserialization. | true |  | false
JSONB:JAVADOC:13 | String | javax.json.bind.Jsonb.toJson ( Object ) | Writes the Java object tree with root object object to a String instance as JSON. | true |  | true
JSONB:JAVADOC:14 | String | javax.json.bind.Jsonb.toJson ( Object ) throws JsonbException | If any unexpected problem occurs during the serialization, such as I/O error. | true |  | false
JSONB:JAVADOC:15 | String | javax.json.bind.Jsonb.toJson ( Object , Type ) | Writes the Java object tree with root object object to a String instance as JSON. | true |  | true
JSONB:JAVADOC:16 | String | javax.json.bind.Jsonb.toJson ( Object , Type ) throws JsonbException | If any unexpected problem occurs during the serialization, such as I/O error. | true |  | false
JSONB:JAVADOC:17 | void | javax.json.bind.Jsonb.toJson ( Object , Writer ) | Writes the object content tree into a Writer character stream. | true |  | true
JSONB:JAVADOC:18 | void | javax.json.bind.Jsonb.toJson ( Object , Writer ) throws JsonbException | If any unexpected problem occurs during the serialization. | true |  | false
JSONB:JAVADOC:19 | void | javax.json.bind.Jsonb.toJson ( Object , Type , Writer ) | Writes the object content tree into a Writer character stream. | true |  | true
JSONB:JAVADOC:20 | void | javax.json.bind.Jsonb.toJson ( Object , Type , Writer ) throws JsonbException | If any unexpected problem occurs during the serialization. | true |  | false
JSONB:JAVADOC:21 | void | javax.json.bind.Jsonb.toJson ( Object , OutputStream ) | Writes the object content tree into output stream. | true |  | true
JSONB:JAVADOC:22 | void | javax.json.bind.Jsonb.toJson ( Object , OutputStream ) throws JsonbException | If any unexpected problem occurs during the serialization. | true |  | false
JSONB:JAVADOC:23 | void | javax.json.bind.Jsonb.toJson ( Object , Type , OutputStream ) | Writes the object content tree into output stream. | true |  | true
JSONB:JAVADOC:24 | void | javax.json.bind.Jsonb.toJson ( Object , Type , OutputStream ) throws JsonbException | If any unexpected problem occurs during the serialization. | true |  | false
JSONB:JAVADOC:25 | Jsonb | javax.json.bind.JsonbBuilder.build | Returns a new instance of javax.json.bind.Jsonb Jsonb based on the parameters and configuration specified previously in this builder. | true |  | true
JSONB:JAVADOC:26 | Jsonb | javax.json.bind.JsonbBuilder.create | Create a new javax.json.bind.Jsonb instance using the default JsonbBuilder implementation provided as returned from javax.json.bind.spi.JsonbProvider#provider() method. | true |  | true
JSONB:JAVADOC:27 | Jsonb | javax.json.bind.JsonbBuilder.create ( JsonbConfig ) | Create a new javax.json.bind.Jsonb instance using the default JsonbBuilder implementation provided as returned from javax.json.bind.spi.JsonbProvider#provider() method, configured with provided configuration. | true |  | true
JSONB:JAVADOC:28 | JsonbBuilder | javax.json.bind.JsonbBuilder.newBuilder | Create a new JsonbBuilder instance as returned by the default javax.json.bind.spi.JsonbProvider#provider() method. | true |  | true
JSONB:JAVADOC:29 | JsonbBuilder | javax.json.bind.JsonbBuilder.newBuilder ( String ) | Create a new JsonbBuilder instance as returned by javax.json.bind.spi.JsonbProvider#provider(String) method. | true |  | true
JSONB:JAVADOC:30 | JsonbBuilder | javax.json.bind.JsonbBuilder.newBuilder ( JsonbProvider ) | Create a new JsonbBuilder instance as returned by provider#create call. | true |  | true
JSONB:JAVADOC:31 | JsonbBuilder | javax.json.bind.JsonbBuilder.withConfig ( JsonbConfig ) | Set configuration which will be set to the newly created javax.json.bind.Jsonb Jsonb instance. | true |  | true
JSONB:JAVADOC:32 | JsonbBuilder | javax.json.bind.JsonbBuilder.withProvider ( JsonProvider ) | Provides a JSON-P provider to be used for all JSON-P related operations. | true |  | true
JSONB:JAVADOC:33 | Map | javax.json.bind.JsonbConfig.getAsMap | Return all configuration properties as an unmodifiable map. | true |  | true
JSONB:JAVADOC:34 | Optional | javax.json.bind.JsonbConfig.getProperty ( String ) | Return value of particular configuration property. The method can only be used to retrieve one of the standard JSON Binding properties defined in this class or a provider specific property. Attempting to get an undefined property will result in an empty Optional value. See Supported Properties. | true |  | true
JSONB:JAVADOC:35 | JsonbConfig | javax.json.bind.JsonbConfig.JsonbConfig |  | true |  | true
JSONB:JAVADOC:36 | JsonbConfig | javax.json.bind.JsonbConfig.setProperty ( String , Object ) | Set the particular configuration property to a new value. The method can only be used to set one of the standard JSON Binding properties defined in this class or a provider specific property. | true |  | true
JSONB:JAVADOC:37 | JsonbConfig | javax.json.bind.JsonbConfig.withAdapters ( JsonbAdapter[] ) | Property used to specify custom mapping adapters. Configures value of ADAPTERS property. Calling withAdapters more than once will merge the adapters with previous value. | true |  | true
JSONB:JAVADOC:38 | JsonbConfig | javax.json.bind.JsonbConfig.withBinaryDataStrategy ( String ) | Property used to specify custom binary data strategy. Configures value of BINARY_DATA_STRATEGY property. | true |  | true
JSONB:JAVADOC:39 | JsonbConfig | javax.json.bind.JsonbConfig.withDateFormat ( String , Locale ) | Property used to specify custom date format. This format will be used by default for all date classes serialization and deserialization. | true |  | true
JSONB:JAVADOC:40 | JsonbConfig | javax.json.bind.JsonbConfig.withDeserializers ( JsonbDeserializer[] ) | Property used to specify custom deserializers. Configures value of DESERIALIZERS property. Calling withDeserializers more than once will merge the deserializers with previous value. | true |  | true
JSONB:JAVADOC:41 | JsonbConfig | javax.json.bind.JsonbConfig.withEncoding ( String ) | The binding operations will default to this property for encoding of JSON data. For input data (fromJson), selected encoding is used if the encoding cannot be detected automatically. Default value is 'UTF-8'. Configures value of ENCODING property. | true |  | true
JSONB:JAVADOC:42 | JsonbConfig | javax.json.bind.JsonbConfig.withFormatting ( Boolean ) | Property used to specify whether or not the serialized JSON data is formatted with linefeeds and indentation. Configures value of FORMATTING property. | true |  | true
JSONB:JAVADOC:43 | JsonbConfig | javax.json.bind.JsonbConfig.withLocale ( Locale ) | Property used to specify custom locale. | true |  | true
JSONB:JAVADOC:44 | JsonbConfig | javax.json.bind.JsonbConfig.withNullValues ( Boolean ) | Property used to specify whether null values should be serialized to JSON document or skipped. Configures value of NULL_VALUES property. | true |  | true
JSONB:JAVADOC:45 | JsonbConfig | javax.json.bind.JsonbConfig.withPropertyNamingStrategy ( PropertyNamingStrategy ) | Property used to specify custom naming strategy. Configures value of JSONB_PROPERTY_NAMING_STRATEGY property. | true |  | true
JSONB:JAVADOC:46 | JsonbConfig | javax.json.bind.JsonbConfig.withPropertyNamingStrategy ( String ) | Property used to specify custom naming strategy. Configures value of JSONB_PROPERTY_NAMING_STRATEGY property. | true |  | true
JSONB:JAVADOC:47 | JsonbConfig | javax.json.bind.JsonbConfig.withPropertyOrderStrategy ( String ) | Property used to specify property order strategy. Configures values of JSONB_PROPERTY_ORDER_STRATEGY property. | true |  | true
JSONB:JAVADOC:48 | JsonbConfig | javax.json.bind.JsonbConfig.withPropertyVisibilityStrategy ( PropertyVisibilityStrategy ) | Property used to specify custom property visibility strategy. Configures value of PROPERTY_VISIBILITY_STRATEGY property. | true |  | true
JSONB:JAVADOC:49 | JsonbConfig | javax.json.bind.JsonbConfig.withSerializers ( JsonbSerializer[] ) | Property used to specify custom serializers. Configures value of SERIALIZERS property. Calling withSerializers more than once will merge the serializers with previous value. | true |  | true
JSONB:JAVADOC:50 | JsonbConfig | javax.json.bind.JsonbConfig.withStrictIJSON ( Boolean ) | Property used to specify whether strict I-JSON serialization compliance should be enforced. Configures value of STRICT_IJSON property. | true |  | true
JSONB:JAVADOC:51 | JsonbException | javax.json.bind.JsonbException.JsonbException ( String ) | Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause. | true |  | true
JSONB:JAVADOC:52 | JsonbException | javax.json.bind.JsonbException.JsonbException ( String , Throwable ) | Constructs a new runtime exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message. | true |  | true
JSONB:JAVADOC:53 | Object | javax.json.bind.adapter.JsonbAdapter.adaptFromJson ( Object ) | This method is used on deserialization only. It contains a conversion logic from type Adapted to type Original. | true |  | true
JSONB:JAVADOC:54 | Object | javax.json.bind.adapter.JsonbAdapter.adaptFromJson ( Object ) throws Exception | if there is an error during the conversion. | true |  | false
JSONB:JAVADOC:55 | Object | javax.json.bind.adapter.JsonbAdapter.adaptToJson ( Object ) | This method is used on serialization only. It contains a conversion logic from type Original to type Adapted. After conversion Adapted type will be mapped to JSON the standard way. | true |  | true
JSONB:JAVADOC:56 | Object | javax.json.bind.adapter.JsonbAdapter.adaptToJson ( Object ) throws Exception | if there is an error during the conversion. | true |  | false
JSONB:JAVADOC:57 | String | javax.json.bind.annotation.JsonbDateFormat.locale | Custom java.util.Locale to use. | true |  | true
JSONB:JAVADOC:58 | String | javax.json.bind.annotation.JsonbDateFormat.value | Specifies the date pattern to use. | true |  | true
JSONB:JAVADOC:59 | boolean | javax.json.bind.annotation.JsonbNillable.value | True if field with null value should be serialized as key/value pair into JSON with null value. | true |  | true
JSONB:JAVADOC:60 | String | javax.json.bind.annotation.JsonbNumberFormat.locale | Custom java.util.Locale to use. | true |  | true
JSONB:JAVADOC:61 | String | javax.json.bind.annotation.JsonbNumberFormat.value | Specifies the number pattern to use. | true |  | true
JSONB:JAVADOC:62 | boolean | javax.json.bind.annotation.JsonbProperty.nillable | True if field with null value should be serialized as key/value pair into JSON with null value. | true |  | true
JSONB:JAVADOC:63 | String | javax.json.bind.annotation.JsonbProperty.value | Customized name of the field (or JavaBean property). | true |  | true
JSONB:JAVADOC:64 | String[] | javax.json.bind.annotation.JsonbPropertyOrder.value | Order in which properties are serialized. Names must correspond to original names defined in Java class before any customization applied. | true |  | true
JSONB:JAVADOC:65 | Class | javax.json.bind.annotation.JsonbTypeAdapter.value | Custom JsonbAdapter which provides custom mapping for given field or JavaBean property. | true |  | true
JSONB:JAVADOC:66 | Class | javax.json.bind.annotation.JsonbTypeDeserializer.value | Custom JsonbDeserializer which provides custom mapping for given field or JavaBean property. | true |  | true
JSONB:JAVADOC:67 | Class | javax.json.bind.annotation.JsonbTypeSerializer.value | Custom JsonbSerializer which provides custom mapping for given field or JavaBean property. | true |  | true
JSONB:JAVADOC:68 | Class | javax.json.bind.annotation.JsonbVisibility.value | Custom property visibility strategy used to resolve visibility of the members. | true |  | true
JSONB:JAVADOC:69 | String | javax.json.bind.config.PropertyNamingStrategy.translateName ( String ) | Translates the property name into its JSON field name representation. | true |  | true
JSONB:JAVADOC:70 | boolean | javax.json.bind.config.PropertyVisibilityStrategy.isVisible ( Field ) | Responds whether the given field should be considered as the JsonbProperty. | true |  | true
JSONB:JAVADOC:71 | boolean | javax.json.bind.config.PropertyVisibilityStrategy.isVisible ( Method ) | Responds whether the given method should be considered as the JsonbProperty. | true |  | true
JSONB:JAVADOC:72 | Object | javax.json.bind.serializer.DeserializationContext.deserialize ( Class , JsonParser ) | Deserialize JSON stream into instance of provided class using javax.json.stream.JsonParser. JsonParser cursor have to be at KEY_NAME before START_OBJECT / START_ARRAY, or at START_OBJECT / START_ARRAY to call this method. After deserialization is complete JsonParser will be at END_OBJECT / END_ARRAY for deserialized JSON structure. If method is called for the same type, which is deserializer bound to, deserializer recursion is suppressed. Otherwise deserializers are reentrant during deserialization process started by this method. JsonParser instance of JSONB runtime is shared with custom deserializer. | true |  | true
JSONB:JAVADOC:73 | Object | javax.json.bind.serializer.DeserializationContext.deserialize ( Type , JsonParser ) | Deserialize JSON stream into instance of provided class using javax.json.stream.JsonParser. JsonParser cursor have to be at KEY_NAME before START_OBJECT / START_ARRAY, or at START_OBJECT / START_ARRAY to call this method. After deserialization is complete JsonParser will be at END_OBJECT / END_ARRAY for deserialized JSON structure. If method is called for the same type, which is deserializer bound to, deserializer recursion is suppressed. Otherwise deserializers are reentrant during deserialization process started by this method. JsonParser instance of JSONB runtime is shared with custom deserializer. | true |  | true
JSONB:JAVADOC:74 | Object | javax.json.bind.serializer.JsonbDeserializer.deserialize ( JsonParser , DeserializationContext , Type ) | Deserialize JSON stream into object. | true |  | true
JSONB:JAVADOC:75 | void | javax.json.bind.serializer.JsonbSerializer.serialize ( Object , JsonGenerator , SerializationContext ) | Serializes object into JSON stream. | true |  | true
JSONB:JAVADOC:76 | void | javax.json.bind.serializer.SerializationContext.serialize ( String , Object , JsonGenerator ) | Serializes arbitrary object to JSON, using current javax.json.stream.JsonGenerator instance. Serialization is ran as serialization of a root type from user JsonbSerializer. JsonGenerator instance is shared with JSONB and user serializer. | true |  | true
JSONB:JAVADOC:77 | void | javax.json.bind.serializer.SerializationContext.serialize ( Object , JsonGenerator ) | Serializes arbitrary object to JSON, using current javax.json.stream.JsonGenerator instance. Serialization is ran as serialization of a root type from user JsonbSerializer. JsonGenerator instance is shared with JSONB and user serializer. Method without key parameter is intended to serialize inside JSON_ARRAYs. | true |  | true
JSONB:JAVADOC:78 | JsonbBuilder | javax.json.bind.spi.JsonbProvider.create | Returns a new instance of javax.json.bind.JsonbBuilder JsonbBuilder class. javax.json.bind.JsonbBuilder JsonbBuilder provides necessary getter methods to access required parameters. | true |  | true
JSONB:JAVADOC:80 | JsonbProvider | javax.json.bind.spi.JsonbProvider.provider | Creates a JSON Binding provider object by using the java.util.ServiceLoader#load(Class) method. The first provider of JsonbProvider class from list of providers returned by ServiceLoader.load call is returned. If there are no available service providers, this method tries to load the default service provider using Class#forName(String) method. | true |  | true
JSONB:JAVADOC:81 | JsonbProvider | javax.json.bind.spi.JsonbProvider.provider ( String ) | Creates a JSON Binding provider object by using the java.util.ServiceLoader#load(Class) method, matching providerName. The first provider of JsonbProvider class from list of providers returned by ServiceLoader.load call, matching providerName is returned. If no such provider is found, JsonbException is thrown. | true |  | true