public class JsonCodecUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static JsonNodeFactory |
JSON_NODE_FACTORY
A
JsonNodeFactory that preserves BigDecimal scales, used to generate Json
nodes. |
static GenericType<JsonNode> |
JSON_NODE_TYPE |
| Constructor and Description |
|---|
JsonCodecUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ObjectMapper |
getObjectMapper()
The object mapper to use for converting Json nodes to and from Java types in Json codecs.
|
public static final GenericType<JsonNode> JSON_NODE_TYPE
public static final JsonNodeFactory JSON_NODE_FACTORY
JsonNodeFactory that preserves BigDecimal scales, used to generate Json
nodes.public static ObjectMapper getObjectMapper()
This is not the object mapper used by the Json connector to read and write Json files.
Copyright © 2017–2021 DataStax. All rights reserved.