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

     1  ### `uppercase()` {#fn-uppercase}
     2  
     3  Function prototype: `fn uppercase(key: str)`
     4  
     5  Function description: Convert the content in the extracted key to uppercase
     6  
     7  Function parameters:
     8  
     9  - `key`: Specify the extracted field name to be converted, and convert the content of `key` to uppercase
    10  
    11  Example:
    12  
    13  ```python
    14  # Data to be processed: {"first": "hello","second":2,"third":"aBC","forth":true}
    15  
    16  # process script
    17  json(_, first) uppercase(first)
    18  
    19  # process result
    20  {
    21      "first": "HELLO"
    22  }
    23  ```