Data Converter
Actions49
- Base64 Actions
- Binary Actions
- Encoding Actions
- Format Actions
- HTML Actions
- String Actions
Overview
This node performs various string transformations and text formatting operations under the "String" resource, specifically including a "Camel Case" operation. It converts input text into camelCase format, which is commonly used in programming for variable and function names (e.g., "firstName"). This node is useful when you need to standardize or format strings for code generation, data normalization, or UI display.
For example, if you have user input like "First Name" or "first_name", this node can convert it to "firstName" to maintain consistent naming conventions.
Properties
| Name | Meaning |
|---|---|
| Input Data | The text string to be converted or transformed. |
| Binary Property Name | (Optional) Name of the binary property for output if binary output is enabled. |
The node supports many other string operations, but focusing on the "Camel Case" operation, the key input is the "Input Data" string that will be converted to camelCase.
Output
- The output JSON contains a field named
resultwith the transformed string in camelCase. - If the transformation produces an object (some operations may), those fields are merged into the output JSON as well.
- This node does not produce binary output for the "Camel Case" operation.
Example output JSON for input "First Name":
{
"result": "firstName"
}
Dependencies
- No external services or API keys are required.
- The node uses internal utility functions for string manipulation bundled within the node's codebase.
Troubleshooting
- Empty Input: Providing empty or non-string input may result in an empty string output or no change.
- Unsupported Characters: Special characters or unusual whitespace might affect the conversion; consider using "Normalize Whitespace" or "Remove Special Characters" operations before camel casing.
- Error Handling: If an error occurs during processing, the node returns an error message in the output JSON under the
errorfield if "Continue On Fail" is enabled.