JsonObjectType

class cometa.json.json_object_type.JsonObjectType(value)[source]

Bases: IntEnum

Enumerates the possible types of a JSON object.

This enumeration defines the various types a JSON object can represent.

OBJECT = 0

Represents a JSON object (key-value pairs).

ARRAY = 1

Represents a JSON array (ordered list).

STRING = 2

Represents a JSON string.

NUMBER = 3

Represents a JSON number (integer or floating-point).

BOOLEAN = 4

Represents a JSON boolean (true or false).

NULL = 5

Represents a JSON null value.