BoolEncoding

public enum BoolEncoding

Configures how Bool parameters are encoded.

  • Encode true as 1 and false as 0. This is the default behavior.

    Declaration

    Swift

    case numeric
  • Encode true and false as string literals.

    Declaration

    Swift

    case literal