{"Entry":{"collection":"func","key":"jsonb-extract-path","name":"jsonb_extract_path","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":"f9484591042e7c3c670f41ed1b1e971cd3fa9ed3d75ac04bbde20b8f4ff529ff","first_version":"9.4","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-27T17:57:28.835631+08:00","last_version":"20","name":"jsonb_extract_path","name_key":"jsonb_extract_path","position":16033,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"jsonb_extract_path ( from_json jsonb, VARIADIC path_elems text[] ) → jsonb","signature_count":1,"slug":"jsonb-extract-path","source_rev":"b7bd9cda","summary":"Extracts JSON sub-object at the specified path.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-extract-path","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-extract-path","SourceRevision":"b7bd9cda","Facts":{"description":"Extracts JSON sub-object at the specified path. (This is functionally equivalent to the #\u003e operator, but writing the path out as a variadic list can be more convenient in some cases.)","description_html":"Extracts JSON sub-object at the specified path. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u003c/code\u003e operator, but writing the path out as a variadic list can be more convenient in some cases.)","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. (This is functionally equivalent to the #\u003e operator, but writing the path out as a variadic list can be more convenient in some cases.)","description_html":"Extracts JSON sub-object at the specified path. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u003c/code\u003e operator, but writing the path out as a variadic list can be more convenient in some cases.)","description_zh":"","description_zh_html":"","examples":[{"expr":"json_extract_path('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"\"foo\""}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path\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\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_extract_path ( from_json jsonb, VARIADIC path_elems text[] ) → jsonb","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","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"jsonb_extract_path","Summary":"在指定路径下提取JSON子对象。（这在功能上相当于#\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）","BodyHTML":"在指定路径下提取JSON子对象。（这在功能上相当于\u003ccode\u003e#\u0026gt;\u003c/code\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）\u003cpre\u003ejsonb_extract_path ( from_json jsonb, VARIADIC path_elems text[] ) → jsonb\u003c/pre\u003e在指定路径下提取JSON子对象。（这在功能上相当于\u003ccode\u003e#\u0026gt;\u003c/code\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）","SourceRevision":"ca936764","ContentHash":"5229ab18aa21c0a930d1483f9fa741ce5476858488fc535723887c55dfc6bcf6","Payload":{"description_zh":"在指定路径下提取JSON子对象。（这在功能上相当于#\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）","description_zh_html":"在指定路径下提取JSON子对象。（这在功能上相当于\u003ccode class=\"literal\"\u003e#\u0026gt;\u003c/code\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）","signatures":[{"description_zh":"在指定路径下提取JSON子对象。（这在功能上相当于#\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）","description_zh_html":"在指定路径下提取JSON子对象。（这在功能上相当于\u003ccode class=\"literal\"\u003e#\u0026gt;\u003c/code\u003e操作符，但在某些情况下，将路径写成可变参数列表会更方便。）","returns":"jsonb","text":"jsonb_extract_path ( from_json jsonb, VARIADIC path_elems text[] ) → jsonb","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":"e3b7939a9dcc9fbb6bc6599d5ccfc784b4c7af52ff5ab46f6e86ea48698b5d7e","Text":"jsonb_extract_path ( from_json jsonb, VARIADIC path_elems text[] ) → jsonb","Returns":"jsonb","Payload":{"description":"Extracts JSON sub-object at the specified path. (This is functionally equivalent to the #\u003e operator, but writing the path out as a variadic list can be more convenient in some cases.)","description_html":"Extracts JSON sub-object at the specified path. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u003c/code\u003e operator, but writing the path out as a variadic list can be more convenient in some cases.)","description_zh":"","description_zh_html":"","examples":[{"expr":"json_extract_path('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"\"foo\""}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path\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\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_extract_path ( from_json jsonb, VARIADIC path_elems text[] ) → jsonb","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
