geojson(ObjectRepresentation,PairRepresentation,StringRepresentation) — Logtalk 3.100.1

object

# `geojson(ObjectRepresentation,PairRepresentation,StringRepresentation)`

- `ObjectRepresentation` - Object representation to be used when decoding embedded JSON objects. Possible values are `curly` (default) and `list`.

- `PairRepresentation` - Pair representation to be used when decoding embedded JSON objects. Possible values are `dash` (default), `equal`, and `colon`.

- `StringRepresentation` - Text representation to be used when decoding JSON strings. Possible values are `atom` (default), `chars`, and `codes`.

GeoJSON (RFC 7946) parser, generator, and validator built on top of the `json` library.

Availability:
`logtalk_load(geojson(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-08
Compilation flags:
`static, context_switching_calls`
Implements:
`public` geojson_protocol
Uses:
json(ObjectRepresentation,PairRepresentation,StringRepresentation)
list
Remarks:
(none)
Inherited public predicates:
generate/2 geojson_to_json/2 json_to_geojson/2 parse/2 validate/1 validate/2

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

json, geospatial