.Net types for the OSM API JSON format
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.
OSMJSON.Deserialize(json);
OSMJSON.Serialize(elementCollection);