|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gson.JsonElement com.google.gson.JsonLiteral
public final class JsonLiteral
The gson project use package to control access to their objects. However, this prevents us from doing valid work, like controling the json emitted on a per-object basis. This is here to afford us to do this.
Constructor Summary | |
---|---|
JsonLiteral(CharSequence literal)
|
Method Summary | |
---|---|
protected void |
toString(Appendable sb,
com.google.gson.Escaper escaper)
|
Methods inherited from class com.google.gson.JsonElement |
---|
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsCharacter, getAsDouble, getAsFloat, getAsInt, getAsJsonArray, getAsJsonNull, getAsJsonObject, getAsJsonPrimitive, getAsLong, getAsNumber, getAsShort, getAsString, isJsonArray, isJsonNull, isJsonObject, isJsonPrimitive, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsonLiteral(CharSequence literal)
Method Detail |
---|
protected void toString(Appendable sb, com.google.gson.Escaper escaper) throws IOException
toString
in class com.google.gson.JsonElement
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |