---
title: MKGeoJSONDecoder
framework: mapkit
role: symbol
role_heading: Class
path: mapkit/mkgeojsondecoder
---

# MKGeoJSONDecoder

An object that decodes GeoJSON objects into MapKit types.

## Declaration

```swift
class MKGeoJSONDecoder
```

## Overview

Overview The GeoJSON decoder returns objects that conform to the MKGeoJSONObject protocol.

## Topics

### Decoding GeoJSON objects

- [decode(_:)](mapkit/mkgeojsondecoder/decode(_:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Geographical features

- [Displaying an Indoor Map](mapkit/displaying-an-indoor-map.md)
- [MKGeoJSONFeature](mapkit/mkgeojsonfeature.md)
- [MKGeoJSONObject](mapkit/mkgeojsonobject.md)
