StyleEncodable

public protocol StyleEncodable

Undocumented

  • Undocumented

    Declaration

    Swift

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

    Default Implementation

    Given an Encodable object return the JSON dictionary representation

    Throws

    Errors occurring during encoding, or StyleEncodingError.invalidJSONObject

    Declaration

    Swift

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

    Return Value

    A JSON dictionary representing the object.