JsonObjectLiteral

Represents a JSON OBJECT as KQLiteJsonObject literal in a KQLite query.

This class is a specialized version of JsonLiteral for representing JSON objects. It leverages the SQLite JSON1 extension and stores the data as TEXT. Using this specific type helps in distinguishing JSON objects from other JSON types (like arrays or primitives) and enables targeted operations using SQLite's JSON functions. The value should be a string representing a valid JSON object (e.g., "{ "key": "value" }").

Author

MOHAMMAD AZIM ANSARI

Parameters

value

The JSON object formatted as a String.

See also

Constructors

Link copied to clipboard
constructor(value: String)