JsonOutput

public protocol JsonOutput

Protocol that defines objects that can return a JSON String representation of themselves.

  • Computed variable to access the JSON String representation of the current object.

    Declaration

    Swift

    var json: String { get }