{"Entry":{"collection":"func","key":"json-object-keys","name":"json_object_keys","aliases":[],"metadata":{"changed_in":["9.4"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.3"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":["json_object_keys ( json ) → setof text"],"removed":["json_object_keys ( json ) → SETOF text"]},"status":"changed","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"7275d53c69df08aa237d0bf31fdeeef1ad31c4164d51c831670538b6fc491f2d","derived_content_hash":"092b5ad02353dc95068788ddbfb2fe19b7504a79425e0d960ad52df0cb0fffb6","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:f214a0a43663b94453ce949e9db75df766672694d3c51c852dec5de14eeef876","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.3","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-14T21:49:48.79032+08:00","last_version":"20","name":"json_object_keys","name_key":"json_object_keys","position":16014,"present_in":["9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:6af11b57d2790758d42159075f03c7440797b75f0b1c4507f0af5a479f0a98f7","receipt_sha256":"f8fb96240bb6626cd051c3a43a6ceddd70e9a2161648a5b4c9fb3977c41fffdb","repair":"wiki-repair-20261023"},"signature":"json_object_keys ( json ) → setof text","signature_count":1,"slug":"json-object-keys","source_rev":"wiki-repair-20261023:f214a0a43663b94453ce949e9db75df766672694d3c51c852dec5de14eeef876","summary":"Returns the set of keys in the top-level JSON object.","summary_zh":""}},"Definition":{"Collection":"func","Key":"json-object-keys","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"json-object-keys","SourceRevision":"wiki-repair-20261023:f214a0a43663b94453ce949e9db75df766672694d3c51c852dec5de14eeef876","Facts":{"description":"Returns the set of keys in the top-level JSON object.","description_html":"Returns the set of keys in the top-level JSON object.","description_zh":"返回顶级 JSON 对象中的键集合。","description_zh_html":"返回顶级 JSON 对象中的键集合。","doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-json.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","version":"18.7"},{"file":"functions-json.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"31b98fa7f00387abf441728c31918bfe8b368642bceeb8bba88a73c3fbd607de","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"json","group_label":"JSON 函数和操作符","lang":"en","layout":"table-new","pages":["functions-json.html"],"prose_only":false,"signatures":[{"description":"Returns the set of keys in the top-level JSON object.","description_html":"Returns the set of keys in the top-level JSON object.","description_zh":"返回顶级 JSON 对象中的键集合。","description_zh_html":"返回顶级 JSON 对象中的键集合。","examples":[{"expr":"select * from json_object_keys('{\"f1\":\"abc\",\"f2\":{\"f3\":\"a\", \"f4\":\"b\"}}')","result":" json_object_keys\n------------------\n f1\n f2"}],"html":"\u003ccode class=\"function\"\u003ejson_object_keys\u003c/code\u003e ( \u003ccode class=\"type\"\u003ejson\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof text\u003c/code\u003e","returns":"setof text","text":"json_object_keys ( json ) → setof text","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-json.html","sha256":"a412feb14a229f1d9f14fa2d7735255aa297d5eb8f2971d744d9dfee659c7cca"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"json-object-keys","SourceDatabase":"center","Version":"18","Locale":"en","Title":"json_object_keys","Summary":"Returns the set of keys in the top-level JSON object.","BodyHTML":"Returns the set of keys in the top-level JSON object.","SourceRevision":"wiki-repair-20261023:f214a0a43663b94453ce949e9db75df766672694d3c51c852dec5de14eeef876","ContentHash":"d3dc6e52f4555ab13fe7360d7a7577774bd8e4592095bcd8964d554eb5f51539","Payload":{"description":"Returns the set of keys in the top-level JSON object.","description_html":"Returns the set of keys in the top-level JSON object.","signatures":[{"description":"Returns the set of keys in the top-level JSON object.","description_html":"Returns the set of keys in the top-level JSON object.","description_zh":"返回顶级 JSON 对象中的键集合。","description_zh_html":"返回顶级 JSON 对象中的键集合。","examples":[{"expr":"select * from json_object_keys('{\"f1\":\"abc\",\"f2\":{\"f3\":\"a\", \"f4\":\"b\"}}')","result":" json_object_keys\n------------------\n f1\n f2"}],"html":"\u003ccode class=\"function\"\u003ejson_object_keys\u003c/code\u003e ( \u003ccode class=\"type\"\u003ejson\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof text\u003c/code\u003e","returns":"setof text","text":"json_object_keys ( json ) → setof text","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"c377bf5cd330d818e44e0a1ab1ce10a83d59d06b38a29363b02381aa681bbf03","Text":"json_object_keys ( json ) → setof text","Returns":"setof text","Payload":{"description":"Returns the set of keys in the top-level JSON object.","description_html":"Returns the set of keys in the top-level JSON object.","description_zh":"返回顶级 JSON 对象中的键集合。","description_zh_html":"返回顶级 JSON 对象中的键集合。","examples":[{"expr":"select * from json_object_keys('{\"f1\":\"abc\",\"f2\":{\"f3\":\"a\", \"f4\":\"b\"}}')","result":" json_object_keys\n------------------\n f1\n f2"}],"html":"\u003ccode class=\"function\"\u003ejson_object_keys\u003c/code\u003e ( \u003ccode class=\"type\"\u003ejson\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof text\u003c/code\u003e","returns":"setof text","text":"json_object_keys ( json ) → setof text","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
