BoolEncoding

public enum BoolEncoding

Encoding to use for Bool values.

  • Encodes true as 1, false as 0.

    Declaration

    Swift

    case numeric
  • Encodes true as “true”, false as “false”. This is the default encoding.

    Declaration

    Swift

    case literal