JSONValue

public enum JSONValue : Codable
  • Declaration

    Swift

    case string(String)
  • Declaration

    Swift

    case int(Int)
  • Declaration

    Swift

    case double(Double)
  • Declaration

    Swift

    case bool(Bool)
  • Declaration

    Swift

    case object([String : JSONValue])
  • Declaration

    Swift

    case array([JSONValue])
  • Declaration

    Swift

    case null
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws