public class Json extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Json.ObjectReader
DatumReader for arbitrary Json data using the object model described
in JsonProperties . |
static class |
Json.ObjectWriter
DatumWriter for arbitrary Json data using the object model described
in JsonProperties . |
static class |
Json.Reader
Deprecated.
|
static class |
Json.Writer
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static Schema |
SCHEMA
The schema for Json data.
|
Modifier and Type | Method and Description |
---|---|
static Object |
parseJson(String s)
Parses a JSON string and converts it to the object model described in
JsonProperties . |
static org.codehaus.jackson.JsonNode |
read(Decoder in)
Deprecated.
internal method
|
static String |
toString(Object datum)
Converts an instance of the object model described in
JsonProperties to a JSON string. |
static void |
write(org.codehaus.jackson.JsonNode node,
Encoder out)
Deprecated.
internal method
|
public static final Schema SCHEMA
public static Object parseJson(String s)
JsonProperties
.public static String toString(Object datum)
JsonProperties
to a JSON string.@Deprecated public static void write(org.codehaus.jackson.JsonNode node, Encoder out) throws IOException
IOException
@Deprecated public static org.codehaus.jackson.JsonNode read(Decoder in) throws IOException
IOException
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.