public final class JsonProviderFactory extends Object
JsonProvider instances for specified JSON object types.| Modifier and Type | Method and Description |
|---|---|
<T> JsonProvider<T> |
getByType(Class<T> jsonObjectType)
Returns a
JsonProvider instance for the specified JSON object class. |
static JsonProviderFactory |
instance()
Returns a single
JsonOrgJsonProvider instance. |
public static JsonProviderFactory instance()
JsonOrgJsonProvider instance.JsonOrgJsonProvider instancepublic <T> JsonProvider<T> getByType(Class<T> jsonObjectType)
JsonProvider instance for the specified JSON object class.T - the actual JSON object typejsonObjectType - the class that represents a JSON document on a supported
JsonProvider; not nullJsonProvider instance; never nullNullPointerException - if the specified jsonObjectType is nullIllegalArgumentException - if no JsonProvider found for the specified
jsonObjectTypeIllegalStateException - if unable to instantiate the target
JsonProviderCopyright © 2025. All rights reserved.