github.com/GuanceCloud/cliutils@v1.1.21/pipeline/ptinput/funcs/md/drop_key.en.md (about) 1 ### `drop_key()` {#fn-drop-key} 2 3 Function prototype: `fn drop_key(key)` 4 5 Function description: Delete key 6 7 Function parameters: 8 9 - `key`: key to be deleted 10 11 Example: 12 13 ```python 14 # data = "{\"age\": 17, \"name\": \"zhangsan\", \"height\": 180}" 15 16 json(_, age,) 17 json(_, name) 18 json(_, height) 19 drop_key(height) 20 21 # result 22 # { 23 # "age": 17, 24 # "name": "zhangsan" 25 # } 26 ```