public final class JsonUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
convertToMap(com.fasterxml.jackson.databind.node.ObjectNode node)
Converts a Json node into a Map from String to String for use in
downstream processing by
RowProcessor . |
public static Map<String,String> convertToMap(com.fasterxml.jackson.databind.node.ObjectNode node)
RowProcessor
.
This method ignores any fields which are not primitives (i.e., it ignores fields which are arrays and objects) as those are not supported by the columnar processing infrastructure.
If the node is null it returns Collections#emptyMap.
node
- The json object to convert.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.