Enumerations
The following enumerations are available globally.
-
Undocumented
See moreDeclaration
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
See moreFeature
object.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 usedJSONEncoder
orJSONDecoder
hasuserInfo[.includesForeignMembers] = true
.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 moreDeclaration
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
See morenull
value in JSON. UseOptional<JSONValue>
wherevernull
is accepted.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