<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKGeoJSONDecoder",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKGeoJSONDecoder"
  },
  "title" : "MKGeoJSONDecoder"
}
-->

# MKGeoJSONDecoder

An object that decodes GeoJSON objects into MapKit types.

```
class MKGeoJSONDecoder
```

## Overview

The GeoJSON decoder returns objects that conform to the [`MKGeoJSONObject`](/documentation/MapKit/MKGeoJSONObject) protocol.

## Topics

### Decoding GeoJSON objects

[`decode(_:)`](/documentation/MapKit/MKGeoJSONDecoder/decode(_:))

Decodes the provided data into native MapKit types that a map can display.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)