snake_case to camelCase
snake_case is common for Python variables, Ruby, database columns and many REST APIs; camelCase is used for JavaScript / TypeScript / Java variables and JSON keys in many web APIs. Moving data between languages, databases and APIs often means converting between the two.
Examples
| snake_case | camelCase |
|---|---|
| user_id | userId |
| first_name | firstName |
| created_at | createdAt |
| order_item_id | orderItemId |
| is_active | isActive |