Enumerations

The following enumerations are available globally.

Consumer

  • Undocumented

    See more

    Declaration

    Swift

    public indirect enum Consumer<Label> : Equatable, Sendable where Label : Hashable, Label : Sendable
    extension Consumer: ExpressibleByStringLiteral, ExpressibleByArrayLiteral
    extension Consumer: CustomStringConvertible
  • A feature identifier identifies a Feature object.

    See more

    Declaration

    Swift

    public enum FeatureIdentifier : Hashable, Sendable
    extension FeatureIdentifier: RawRepresentable
    extension FeatureIdentifier: ExpressibleByStringLiteral
    extension FeatureIdentifier: ExpressibleByIntegerLiteral
    extension FeatureIdentifier: ExpressibleByFloatLiteral
    extension FeatureIdentifier: Codable
  • A GeoJSON object represents a Geometry, Feature, or collection of Features.

    Note

    Foreign members which may be present inside are coded only if used JSONEncoder or JSONDecoder has userInfo[.includesForeignMembers] = true.
    See more

    Declaration

    Swift

    public enum GeoJSONObject : Equatable, Sendable
    extension GeoJSONObject: Codable
    extension GeoJSONObject: GeoJSONObjectConvertible
  • A Geometry object represents points, curves, and surfaces in coordinate space. Use an instance of this enumeration whenever a value could be any kind of Geometry object.

    See more

    Declaration

    Swift

    public enum Geometry : Equatable, Sendable
    extension Geometry: GeoJSONObjectConvertible
    extension Geometry: Codable
    extension Geometry: GeometryConvertible
    extension Geometry: WKTConvertible
  • A JSON value represents an object, array, or fragment.

    This type does not represent the null value in JSON. Use Optional<JSONValue> wherever null is accepted.

    See more

    Declaration

    Swift

    public enum JSONValue : Hashable, Sendable
    extension JSONValue: RawRepresentable
    extension JSONValue: ExpressibleByStringLiteral
    extension JSONValue: ExpressibleByIntegerLiteral
    extension JSONValue: ExpressibleByFloatLiteral
    extension JSONValue: ExpressibleByBooleanLiteral
    extension JSONValue: ExpressibleByArrayLiteral
    extension JSONValue: ExpressibleByDictionaryLiteral
    extension JSONValue: Codable