Skip to main content

$camelCase

The $camelCase operator converts a string to camelCase format.

Input

  • A single string value

Output

  • The input string converted to camelCase format

Examples

Convert to CamelCase

{
  "$camelCase": [
    "hello world test"
  ]
}
Result: "helloWorldTest"

Convert with Hyphens

{
  "$camelCase": [
    "convert-this-to-camel"
  ]
}
Result: "convertThisToCamel"

Field Value

{
  "$camelCase": [
    {
      "$input": "input_text"
    }
  ]
}
Result: The input_text field converted to camelCase format