Package org.apache.iceberg
Class SingleValueParser
- java.lang.Object
-
- org.apache.iceberg.SingleValueParser
-
public class SingleValueParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
fromJson(Type type, com.fasterxml.jackson.databind.JsonNode defaultValue)
static java.lang.Object
fromJson(Type type, java.lang.String defaultValue)
static java.lang.String
toJson(Type type, java.lang.Object defaultValue)
static java.lang.String
toJson(Type type, java.lang.Object defaultValue, boolean pretty)
static void
toJson(Type type, java.lang.Object defaultValue, com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
Method Detail
-
fromJson
public static java.lang.Object fromJson(Type type, com.fasterxml.jackson.databind.JsonNode defaultValue)
-
fromJson
public static java.lang.Object fromJson(Type type, java.lang.String defaultValue)
-
toJson
public static java.lang.String toJson(Type type, java.lang.Object defaultValue)
-
toJson
public static java.lang.String toJson(Type type, java.lang.Object defaultValue, boolean pretty)
-
toJson
public static void toJson(Type type, java.lang.Object defaultValue, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
- Throws:
java.io.IOException
-
-