public final class JsonProviderUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Method |
SET_MAX_BIG_DECIMAL_SCALE |
Modifier | Constructor and Description |
---|---|
private |
JsonProviderUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
setMaxBigDecimalScale(javax.json.spi.JsonProvider provider,
int value)
Sets the max big decimal scale property on the given provider instance.
|
private static final java.lang.reflect.Method SET_MAX_BIG_DECIMAL_SCALE
public static void setMaxBigDecimalScale(javax.json.spi.JsonProvider provider, int value)
This method is intentionally not receiving the property name, so we know exactly what will be passed in and what the method is supposed to set on the provider.
If the provider is not an instance of our JohnzonProviderImpl (org.apache.johnzon.core.JsonProviderImpl), the method is a noop.
provider
- the provider to configure. Must be an instance of org.apache.johnzon.core.JsonProviderImplvalue
- the max big decimal scale to set on the providerCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.