public class ContractVerifierObjectMapper extends Object
ObjectMapper
that won't try to parse String but will directly
return it.Constructor and Description |
---|
ContractVerifierObjectMapper() |
ContractVerifierObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
byte[] |
writeValueAsBytes(Object payload) |
String |
writeValueAsString(Object payload) |
public ContractVerifierObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ContractVerifierObjectMapper()
public String writeValueAsString(Object payload) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
public byte[] writeValueAsBytes(Object payload) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2016–2020 Spring. All rights reserved.