public abstract class Serializable extends Object implements Serializable
Constructor and Description |
---|
Serializable() |
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Serializer
|
protected abstract com.google.gson.JsonElement |
toJsonElement() |
String |
toString()
Creates a pretty print JSON with the content of the child class and subclasses.
|
public String toJson()
Creates a String
, which the content represents the
information in the child class and its subclasses in a JSON format.
String
with the JSON.public String toString()
protected abstract com.google.gson.JsonElement toJsonElement()
Copyright © 2022. All rights reserved.