{"Entry":{"collection":"func","key":"json-value","name":"JSON_VALUE","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"16","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"17"}],"content_hash":"f7fa2840140a55c608b0f1d1f5407d332f8580cd9bd3c6af437404427b94c922","first_version":"17","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-27T17:57:28.82901+08:00","last_version":"20","name":"JSON_VALUE","name_key":"json_value","position":16025,"present_in":["17","18","19","20"],"signature":"JSON_VALUE ( context_item, path_expression [PASSING { value AS varname } [, ...]] [RETURNING data_type] [ { ERROR | NULL | DEFAULT expression } ON EMPTY] [ { ERROR | NULL | DEFAULT expression } ON ERROR]) → text","signature_count":1,"slug":"json-value","source_rev":"b7bd9cda","summary":"Returns the result of applying the SQL/JSON path_expression to the context_item.","summary_zh":""}},"Definition":{"Collection":"func","Key":"json-value","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"json-value","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the result of applying the SQL/JSON path_expression to the context_item.","description_html":"Returns the result of applying the SQL/JSON \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e to the \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-SQLJSON-QUERYING","file":"functions-json.html","slug":"18"},"group":"json","group_label":"Json Functions And Operators","lang":"en","layout":"table-new","pages":["functions-json.html"],"prose_only":false,"signatures":[{"description":"Returns the result of applying the SQL/JSON path_expression to the context_item.","description_html":"Returns the result of applying the SQL/JSON \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e to the \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eJSON_VALUE\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e, \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003ePASSING\u003c/code\u003e { \u003cem class=\"replaceable\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"literal\"\u003eAS\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003evarname\u003c/code\u003e\u003c/em\u003e } [\u003cspan class=\"optional\"\u003e, ...\u003c/span\u003e]\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003eRETURNING\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003edata_type\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e { \u003ccode class=\"literal\"\u003eERROR\u003c/code\u003e | \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e | \u003ccode class=\"literal\"\u003eDEFAULT\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003eexpression\u003c/code\u003e\u003c/em\u003e } \u003ccode class=\"literal\"\u003eON EMPTY\u003c/code\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e { \u003ccode class=\"literal\"\u003eERROR\u003c/code\u003e | \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e | \u003ccode class=\"literal\"\u003eDEFAULT\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003eexpression\u003c/code\u003e\u003c/em\u003e } \u003ccode class=\"literal\"\u003eON ERROR\u003c/code\u003e\u003c/span\u003e]) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"JSON_VALUE ( context_item, path_expression [PASSING { value AS varname } [, ...]] [RETURNING data_type] [ { ERROR | NULL | DEFAULT expression } ON EMPTY] [ { ERROR | NULL | DEFAULT expression } ON ERROR]) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-SQLJSON-QUERYING","file":"functions-json.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"json-value","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"JSON_VALUE","Summary":"返回将 SQL/JSON path_expression 应用于 context_item 的结果。","BodyHTML":"返回将 SQL/JSON \u003cem\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e 应用于 \u003cem\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e 的结果。\u003cpre\u003eJSON_VALUE ( context_item, path_expression [PASSING { value AS varname } [, ...]] [RETURNING data_type] [ { ERROR | NULL | DEFAULT expression } ON EMPTY] [ { ERROR | NULL | DEFAULT expression } ON ERROR]) → text\u003c/pre\u003e返回将 SQL/JSON \u003cem\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e 应用于 \u003cem\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e 的结果。","SourceRevision":"ca936764","ContentHash":"507e5212f8ba8f364bcd167a51f652bc4f693dca76a4448f14553c8055b5ad44","Payload":{"description_zh":"返回将 SQL/JSON path_expression 应用于 context_item 的结果。","description_zh_html":"返回将 SQL/JSON \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e 应用于 \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e 的结果。","signatures":[{"description_zh":"返回将 SQL/JSON path_expression 应用于 context_item 的结果。","description_zh_html":"返回将 SQL/JSON \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e 应用于 \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e 的结果。","returns":"text","text":"JSON_VALUE ( context_item, path_expression [PASSING { value AS varname } [, ...]] [RETURNING data_type] [ { ERROR | NULL | DEFAULT expression } ON EMPTY] [ { ERROR | NULL | DEFAULT expression } ON ERROR]) → text","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"b9a7b56ee0e51f52972fd7b58e74be37ac8662ad8b100d42b0f3e7568d40307c","Text":"JSON_VALUE ( context_item, path_expression [PASSING { value AS varname } [, ...]] [RETURNING data_type] [ { ERROR | NULL | DEFAULT expression } ON EMPTY] [ { ERROR | NULL | DEFAULT expression } ON ERROR]) → text","Returns":"text","Payload":{"description":"Returns the result of applying the SQL/JSON path_expression to the context_item.","description_html":"Returns the result of applying the SQL/JSON \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e to the \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eJSON_VALUE\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003econtext_item\u003c/code\u003e\u003c/em\u003e, \u003cem class=\"replaceable\"\u003e\u003ccode\u003epath_expression\u003c/code\u003e\u003c/em\u003e [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003ePASSING\u003c/code\u003e { \u003cem class=\"replaceable\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"literal\"\u003eAS\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003evarname\u003c/code\u003e\u003c/em\u003e } [\u003cspan class=\"optional\"\u003e, ...\u003c/span\u003e]\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e\u003ccode class=\"literal\"\u003eRETURNING\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003edata_type\u003c/code\u003e\u003c/em\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e { \u003ccode class=\"literal\"\u003eERROR\u003c/code\u003e | \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e | \u003ccode class=\"literal\"\u003eDEFAULT\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003eexpression\u003c/code\u003e\u003c/em\u003e } \u003ccode class=\"literal\"\u003eON EMPTY\u003c/code\u003e\u003c/span\u003e] [\u003cspan class=\"optional\"\u003e { \u003ccode class=\"literal\"\u003eERROR\u003c/code\u003e | \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e | \u003ccode class=\"literal\"\u003eDEFAULT\u003c/code\u003e \u003cem class=\"replaceable\"\u003e\u003ccode\u003eexpression\u003c/code\u003e\u003c/em\u003e } \u003ccode class=\"literal\"\u003eON ERROR\u003c/code\u003e\u003c/span\u003e]) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"JSON_VALUE ( context_item, path_expression [PASSING { value AS varname } [, ...]] [RETURNING data_type] [ { ERROR | NULL | DEFAULT expression } ON EMPTY] [ { ERROR | NULL | DEFAULT expression } ON ERROR]) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
