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

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