Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 809 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 809 Bytes

OSMJSON.Net

Nuget

.Net types for the OSM API JSON format

Desciption

OSMJSON.Net is a small .Net Standard library containing the necessary types for serializing and de-serializing of OSM JSON. Since version 1.1.0, System.Text.Json is used under the hood.

Currently de-serialization of both OpenStreetMap OSM JSON and Overpass-Api OSM JSON is supported. Serialization of OSM JSON uses the OpenStreetMap OSM JSON notation for writing the version number.

Example

Deserialization

OSMJSON.Deserialize(json);

Serialization

OSMJSON.Serialize(elementCollection);