{"Entry":{"collection":"func","key":"jsonb-extract-path-text","name":"jsonb_extract_path_text","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"18c4b6db8ba3aaa0e0d6aeacfde0b99ef3d756624f809a92f794a80fc3e66dce","first_version":"9.4","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-14T21:49:48.802407+08:00","last_version":"20","name":"jsonb_extract_path_text","name_key":"jsonb_extract_path_text","position":16034,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","signature_count":1,"slug":"jsonb-extract-path-text","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Extracts JSON sub-object at the specified path as text.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-extract-path-text","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-extract-path-text","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","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":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"","description_zh_html":"","examples":[{"expr":"json_extract_path_text('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"foo"}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path_text\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efrom_json\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003epath_elems\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-extract-path-text","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"jsonb_extract_path_text","Summary":"将指定路径上的 JSON 子对象提取为text。（这在功能上等同于#\u003e\u003e操作符。）","BodyHTML":"将指定路径上的 JSON 子对象提取为\u003ccode\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode\u003e#\u0026gt;\u0026gt;\u003c/code\u003e操作符。）\u003cpre\u003ejsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text\u003c/pre\u003e将指定路径上的 JSON 子对象提取为\u003ccode\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode\u003e#\u0026gt;\u0026gt;\u003c/code\u003e操作符。）","SourceRevision":"ca936764","ContentHash":"99307664ca06285eb296b1597e3538eb5d2cacf883cd8f76454e900a6e222b43","Payload":{"description_zh":"将指定路径上的 JSON 子对象提取为text。（这在功能上等同于#\u003e\u003e操作符。）","description_zh_html":"将指定路径上的 JSON 子对象提取为\u003ccode class=\"type\"\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e操作符。）","signatures":[{"description_zh":"将指定路径上的 JSON 子对象提取为text。（这在功能上等同于#\u003e\u003e操作符。）","description_zh_html":"将指定路径上的 JSON 子对象提取为\u003ccode class=\"type\"\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e操作符。）","returns":"text","text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"96297c9fe6e1d8b2cd0f9e82d4ed45af23b7da06140e8837b7435a4bc09e73ac","Text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","Returns":"text","Payload":{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"","description_zh_html":"","examples":[{"expr":"json_extract_path_text('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"foo"}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path_text\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efrom_json\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003epath_elems\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
