Parsable

Interface for converting Python objects to and from Swift types.

Declaration

protocol Parsable

Discussion

Default Supported Types

  • Int

  • Double

  • Float

  • Bool

  • String

  • Data

  • Array<Parsable>

  • Dictionary<Parsable, Parsable>

  • Exception

  • Capsule

  • Object

  • Optional<Parsable>