For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

JSON_EXTRACT_PATH_TEXT() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Parses the first argument as a JSON string and returns the string value of the element pointed to by the path in the second argument

Syntax​

JSON_EXTRACT_PATH_TEXT(expression, path)

Parameters​

ParameterDescriptionData TypeRequired
jsonJSON value or stringJSON or stringYes
pathJSON path to the value to extractJSON pathYes

Notes​

  • Parser aliases normalize to JSONExtractScalar → JSON_EXTRACT_SCALAR mapping.

Example​

SELECT
JSON_VALUE(json_col, '$.email')
FROM
my_table t;