@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
Exceptionpublic static JsonArray stringToJsonArray(String input) throws Exception
Exceptionpublic static JsonArray bytesToJsonArray(byte[] input) throws Exception
Exceptionpublic static JsonObject bytesToJsonObject(byte[] input) throws Exception
ExceptionCopyright © 2020 Couchbase, Inc.. All rights reserved.