public class JacksonUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JacksonUtils.JacksonUtilsException |
| Constructor and Description |
|---|
JacksonUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getString(com.fasterxml.jackson.databind.JsonNode node,
String name) |
static List<String> |
jsonArrayToStrings(com.fasterxml.jackson.databind.node.ArrayNode values)
net.sf.json provided this method (assuming that 'values' is an array of
JSON objects that contain Strings.
|
static com.fasterxml.jackson.databind.JsonNode |
parseJson(String json)
net.sf.json could parse a JSON string without throwing a checked
exception.
|
static String |
quote(String raw)
A "clean room" replacement for net.sf.json.util.JSONUtils.quote().
|
public static String quote(String raw)
public static com.fasterxml.jackson.databind.JsonNode parseJson(String json)
public static List<String> jsonArrayToStrings(com.fasterxml.jackson.databind.node.ArrayNode values)
Copyright © 2022. All rights reserved.