public final class JsonLogHelper extends Object
Modifier and Type | Method and Description |
---|---|
void |
append(StringBuilder sb,
Iterable<com.google.gson.JsonObject> objects) |
void |
append(StringBuilder sb,
com.google.gson.JsonObject object) |
static JsonLogHelper |
create(com.google.gson.GsonBuilder gsonBuilder,
boolean prettyPrinting) |
static JsonLogHelper |
get() |
com.google.gson.JsonElement |
property(com.google.gson.JsonObject parent,
String name) |
String |
toString(Iterable<com.google.gson.JsonObject> objects) |
String |
toString(com.google.gson.JsonObject object) |
public static JsonLogHelper get()
public static JsonLogHelper create(com.google.gson.GsonBuilder gsonBuilder, boolean prettyPrinting)
public String toString(com.google.gson.JsonObject object)
public void append(StringBuilder sb, com.google.gson.JsonObject object)
public void append(StringBuilder sb, Iterable<com.google.gson.JsonObject> objects)
public com.google.gson.JsonElement property(com.google.gson.JsonObject parent, String name)
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.