public final class DefaultJsonParser extends Object implements JsonParser
JsonParser.| Constructor and Description |
|---|
DefaultJsonParser(MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
asJsonNode(Object input)
Parses the given
input into a JsonNode. |
public DefaultJsonParser(MuleContext muleContext)
public com.fasterxml.jackson.databind.JsonNode asJsonNode(Object input) throws IOException
input into a JsonNode.
This implementation is capable of handling inputs of these types:
byte[]JsonNodeinput is not of any of those types, then this parser
will try to locate a Transformer capable of transforming
it into any of the following types (in the listed order):
JsonNodeTransformer is found, then null is returned.asJsonNode in interface JsonParserinput - the input to be transformed into a JsonNodeJsonNode if the input could be parsed. null
if it's not possible to transformIOExceptionCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.