JsonSerializerProviders Class
- java.
lang. Object - com.
azure. core. util. serializer. JsonSerializerProviders
- com.
public final class JsonSerializerProviders
This class is a proxy for using a JsonSerializerProvider loaded from the classpath.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Json |
createInstance()
Creates an instance of JsonSerializer using the first JsonSerializerProvider found in the classpath. |
static
Json |
createInstance(boolean useDefaultIfAbsent)
Creates an instance of JsonSerializer using the first JsonSerializerProvider found in the classpath. |
Methods inherited from java.lang.Object
Method Details
createInstance
public static JsonSerializer createInstance()
Creates an instance of JsonSerializer using the first JsonSerializerProvider found in the classpath.
Returns:
createInstance
public static JsonSerializer createInstance(boolean useDefaultIfAbsent)
Creates an instance of JsonSerializer using the first JsonSerializerProvider found in the classpath. If no provider is found in classpath, a default provider will be included if useDefaultIfAbsent
is set to true.
Parameters:
useDefaultIfAbsent
is set to true.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for