Interface Jsonifiable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> toJsonMap()
      Returns a JSON representation of this object.
    • Method Detail

      • toJsonMap

        java.util.Map<java.lang.String,​java.lang.Object> toJsonMap()
        Returns a JSON representation of this object.

        The returned value must not return sensitive fields, so that it may be safe to return to the client via an API response.