Class DefaultAsyncApiSerializerService
java.lang.Object
io.github.springwolf.asyncapi.v3.jackson.DefaultAsyncApiSerializerService
- All Implemented Interfaces:
AsyncApiSerializerService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapperGet the current JSON object mapper configuration.com.fasterxml.jackson.databind.ObjectMapperGet the current YAML object mapper configuration.toJsonString(Object object)
-
Constructor Details
-
DefaultAsyncApiSerializerService
public DefaultAsyncApiSerializerService()
-
-
Method Details
-
toJsonString
- Specified by:
toJsonStringin interfaceAsyncApiSerializerService- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
toYaml
- Specified by:
toYamlin interfaceAsyncApiSerializerService- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getJsonObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getJsonObjectMapper()Get the current JSON object mapper configuration. -
getYamlObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getYamlObjectMapper()Get the current YAML object mapper configuration.
-