OEJSONObject

class OEJSONObject

The OEJSONObject class is used to represent an arbitrary JSON object. This class provides no interpretation or validation of the JSON string. This type is primarily to allow storage of arbitrary JSON strings on OERecord objects.

See also

Constructors

OEJSONObject()

The default constructor initializes an empty (and invalid) object.

OEJSONObject(value: str)

Creates a JSON object from the provided string.

is_valid

is_valid() -> bool

Returns True if this object was initialized with a string.

get_value

get_value() -> str

Returns the string representation of the JSON object.