In object oriented programming, an "object" isĀ a fundamental building block that represents a real-world entity with specific properties (data) and behaviors (functions/methods).

A GeoJSON object may represent a region of space (a Geometry), a spatially bounded entity (a Feature), or a list of Features (a FeatureCollection).

image.png

Object literals in JSON are always wrapped in { } (curly brackets).

JSON object literals contains key/value pairs.

Each key/value pair is separated by a comma.

Keys and values are separated by a colon.

Keys must be strings, and values must be a valid JSON data type:

Key/Value Pairs

A key-value pair is a fundamental concept in programming and data storage, especially in dictionaries, maps, JSON, and databases.

Basic Idea:

A key-value pair consists of: