java.lang.Object
dev.metaschema.databind.io.json.JsonFactoryFactory
A factory for creating and configuring
JsonFactory instances with
standard Metaschema settings.
This class provides a singleton factory instance configured for optimal use with Metaschema data binding operations. The factory is configured to not auto-close streams and includes a default codec.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureJsonFactory(com.fasterxml.jackson.core.JsonFactory factory) Apply a standard configuration to the provided JSONfactory.static com.fasterxml.jackson.core.JsonFactoryinstance()Get the cachedJsonFactoryinstance.
-
Method Details
-
instance
@NonNull public static com.fasterxml.jackson.core.JsonFactory instance()Get the cachedJsonFactoryinstance.- Returns:
- the factory
-
configureJsonFactory
public static void configureJsonFactory(@NonNull com.fasterxml.jackson.core.JsonFactory factory) Apply a standard configuration to the provided JSONfactory.- Parameters:
factory- the factory to configure
-