StyleEncodable

public protocol StyleEncodable

Undocumented

  • Undocumented

    Declaration

    Swift

    func jsonObject() throws -> [String : Any]
  • jsonObject() Default implementation

    Default Implementation

    Given an Encodable object return the JSON dictionary representation

    Throws

    Errors occurring during encoding, or TypeConversionError.invalidJSONObject

    Declaration

    Swift

    func jsonObject() throws -> [String : Any]

    Return Value

    A JSON dictionary representing the object.