Interface JsonSerializable

All Known Implementing Classes:
Annotation, Delta, Endpoint, Field, GreedyMicroservice, HubLikeMicroservice, JClass, Method, MethodCall, Microservice, MicroserviceSystem, NetworkGraph, RestCall, SystemChange

public interface JsonSerializable
Interface for classes that can be serialized to JSON object
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.gson.JsonArray
     
    com.google.gson.JsonObject
     
  • Method Details

    • toJsonObject

      com.google.gson.JsonObject toJsonObject()
    • toJsonArray

      static com.google.gson.JsonArray toJsonArray(Iterable<? extends JsonSerializable> list)