@Stability.Internal public class JacksonTransformers extends Object
Modifier and Type | Field and Description |
---|---|
static com.couchbase.client.core.deps.com.fasterxml.jackson.databind.ObjectMapper |
MAPPER |
Modifier and Type | Method and Description |
---|---|
static JsonArray |
bytesToJsonArray(byte[] input) |
static JsonObject |
bytesToJsonObject(byte[] input) |
static JsonArray |
stringToJsonArray(String input) |
static JsonObject |
stringToJsonObject(String input) |
public static final com.couchbase.client.core.deps.com.fasterxml.jackson.databind.ObjectMapper MAPPER
public static JsonObject stringToJsonObject(String input) throws Exception
Exception
public static JsonArray stringToJsonArray(String input) throws Exception
Exception
public static JsonArray bytesToJsonArray(byte[] input) throws Exception
Exception
public static JsonObject bytesToJsonObject(byte[] input) throws Exception
Exception
Copyright © 2021 Couchbase, Inc.. All rights reserved.