Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/querying/pages/data-types.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ No operator is allowed to alter its value.

==== Assign a `JSONOBJECT` value to a base type variable
There is no `JSONOBJECT` literal in the GSQL query language.
Therefore, to assign value to a `JSONOBJECT` base type variable in GSQL, you need to use the `parse_json_object()` function to convert a string representation of s JSON object to a `JSONOBJECT` value.
Therefore, to assign value to a `JSONOBJECT` base type variable in GSQL, you need to use the `parse_json_object()` function to convert a string representation of a JSON object to a `JSONOBJECT` value.

For example, the following line declares a variable `han` with a `JSONOBJECT` value:

Expand Down Expand Up @@ -665,4 +665,4 @@ parameterType := INT
For how to run a query, see

* xref:querying:query-operations.adoc#_query_parameters[Parameters when running a query in the GSQL CLI].
* xref:{page-component-version}@tigergraph-server:API:gsql-endpoints.adoc#_format_for_parameters_of_query_being_run[Parameters when running a query as a REST endpoint].
* xref:{page-component-version}@tigergraph-server:API:gsql-endpoints.adoc#_format_for_parameters_of_query_being_run[Parameters when running a query as a REST endpoint].