Skip to main content

Data Types (Primitives)

The basic types of data Flows work with

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over 2 months ago

Flow Nodes use JSON to generate GeoJSON features in your project. There are a few defined primitive data types:

In coding, a primitive is a fundamental, built-in data type that serves as a basic building block for more complex data structures. Primitives are the simplest elements of a programming language

string:

A sequence of characters enclosed in double quotes.

Example: "hello world".

number:

A numeric value, which can be an integer or a floating-point.

Example: 42 or 3.14.

object:

An unordered collection of key–value pairs enclosed in curly braces (a dictionary). Keys must be strings, and values can be any JSON data type.

Example: {"name": "Alice", "age": 30}.

array:

An ordered list of values enclosed in square brackets. Values can be any JSON data type, including other arrays or objects.

Example: [1, "two", {"three": 3}].

boolean:

A logical value that is either true or false.

Example: true.

null:

A special value that represents the intentional absence of a value.

Example: null.

Did this answer your question?