public class Json extends Object
| Constructor and Description |
|---|
Json() |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendChar(StringBuilder builder,
char c) |
static void |
appendChars(StringBuilder builder,
char[] obj) |
static void |
appendObject(StringBuilder builder,
Object obj) |
static void |
appendString(StringBuilder builder,
String s) |
static String |
toJson(Object obj) |
public static void appendChar(StringBuilder builder, char c)
public static void appendChars(StringBuilder builder, char[] obj)
public static void appendString(StringBuilder builder, String s)
public static void appendObject(StringBuilder builder, Object obj) throws IOException
IOExceptionpublic static String toJson(Object obj) throws IOException
IOExceptionCopyright © 2018. All rights reserved.