15 lines
357 B
Java
15 lines
357 B
Java
package com.luminiasoft.bitshares.interfaces;
|
|
|
|
import com.google.gson.JsonElement;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* Interface to be implemented by any entity for which makes sense to have a JSON-formatted string representation.
|
|
*/
|
|
public interface JsonSerializable extends Serializable {
|
|
|
|
String toJsonString();
|
|
|
|
JsonElement toJsonObject();
|
|
}
|