public final class GsonProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
static Gson |
get()
Deprecated.
|
static Gson |
getPrettyPrinting()
Deprecated.
|
static JsonParser |
parser() |
static Gson |
prettyPrinting() |
static JsonObject |
readObject(Reader reader) |
static JsonObject |
readObject(String s) |
static Gson |
standard() |
static String |
toString(JsonElement element) |
static String |
toStringPretty(JsonElement element) |
static void |
writeElement(Appendable writer,
JsonElement element) |
static void |
writeElementPretty(Appendable writer,
JsonElement element) |
static void |
writeObject(Appendable writer,
JsonObject object) |
static void |
writeObjectPretty(Appendable writer,
JsonObject object) |
@Nonnull public static JsonParser parser()
@Nonnull public static JsonObject readObject(@Nonnull Reader reader)
@Nonnull public static JsonObject readObject(@Nonnull String s)
public static void writeObject(@Nonnull Appendable writer, @Nonnull JsonObject object)
public static void writeObjectPretty(@Nonnull Appendable writer, @Nonnull JsonObject object)
public static void writeElement(@Nonnull Appendable writer, @Nonnull JsonElement element)
public static void writeElementPretty(@Nonnull Appendable writer, @Nonnull JsonElement element)
@Nonnull public static String toString(@Nonnull JsonElement element)
@Nonnull public static String toStringPretty(@Nonnull JsonElement element)
@Nonnull @Deprecated public static Gson get()
@Nonnull @Deprecated public static Gson getPrettyPrinting()
Copyright © 2018. All rights reserved.