Package io.inugami.api.models.data.basic
Interface JsonObject
-
- All Superinterfaces:
ClonableObject<JsonObject>,JsonObjectToJson,Serializable
- All Known Subinterfaces:
GenericMonitoringModel,GraphiteNumber
- All Known Implementing Classes:
AlertingResult,DataPoint,EventCompositeResult,FloatNumber,Json,JsonMap,JsonObjects,JsonStringArray,LongNumber,ProviderFutureResult,RawJsonObject,SseProviderResult,StringJson
public interface JsonObject extends JsonObjectToJson, ClonableObject<JsonObject>
In Inugami all information should be able to be converted to the JSON format. The JsonObject interface can track all serializable objects and offers a generic solution for marshalling the current object.- Since:
- 12 janv. 2017
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JsonObjectcloneObj()default <T extends JsonObject>
TconvertToObject(byte[] data, Charset encoding)-
Methods inherited from interface io.inugami.api.models.data.JsonObjectToJson
convertToJson
-
-
-
-
Method Detail
-
convertToObject
default <T extends JsonObject> T convertToObject(byte[] data, Charset encoding)
-
cloneObj
default JsonObject cloneObj()
- Specified by:
cloneObjin interfaceClonableObject<JsonObject>
-
-