github.com/GuanceCloud/cliutils@v1.1.21/pipeline/ptinput/funcs/md/uppercase.md (about)

     1  ### `uppercase()` {#fn-uppercase}
     2  
     3  函数原型:`fn uppercase(key: str)`
     4  
     5  函数说明:将已提取 key 中内容转换成大写
     6  
     7  函数参数
     8  
     9  - `key`: 指定已提取的待转换字段名,将 `key` 内容转成大写
    10  
    11  示例:
    12  
    13  ```python
    14  # 待处理数据:{"first": "hello","second":2,"third":"aBC","forth":true}
    15  
    16  # 处理脚本
    17  json(_, first) uppercase(first)
    18  
    19  # 处理结果
    20  {
    21     "first": "HELLO"
    22  }
    23  ```
    24