Camel case is a language-independent naming convention in which an identifier name will start with a lowercase letter and each additional word within the name will start uppercase, such as customerName, printInvoice, etc.
Questions tagged [camelcasing]
403 questions
0
votes
1 answer
How to read camelCase JSON request from http body?
I have following API endpoint
public class CreateSupplierCommand
{
public string Name { get; set; } = null!;
public string? Website { get; set; }
}
[ApiController]
public class SuppliersController : ControllerBase
{
// ...
…

Muflix
- 6,192
- 17
- 77
- 153
0
votes
0 answers
Using local characters in swift names for public libraries
I've made a fork of a library providing local country data for different counties.
I want to add there all countries and regions listed in ISO 3166, but there is an issue.
This standard (as wiki article) contains some country or region names using…

Alexey_BH
- 101
- 7
0
votes
1 answer
Kotlin - How to set Kotlinx.serialization Global Field Name Policy for different field cases
I'm trying to make every json key camel-case regardless of how it's formatted. Like:
ProjectName -> projectName
or
project_name -> projectName
with kotlin serialization
Things that do not work
I want to do this on a large scale so using…

otuva
- 81
- 5
0
votes
0 answers
How can I name Classes using Snake Casing?
While coding in Java, I prefer to use pascal case for my class names and camel case for objects.
For example:
TextView textView1, textView2;
But in C++, I prefer to use snake casing to name my variables. How can I do this for class names and object…

Elon Tusk
- 121
- 4
0
votes
1 answer
Converting the key variable Case to Camel Case using Jolt
I am getting data from the database sources in the following format with capital keys.
I want to convert keys in camel case using the JOLT transformation.
json which I may be getting does not contains fixed key value pairs. Key can vary case-to-case…

Prasad S Deshpande
- 1,362
- 4
- 15
- 35
0
votes
0 answers
Convert camelCase to snake_case in Excel
How can I convert (without VBA) a camelCaseString into snake_case_string in Excel?
I only find topics about the reverse :)
Thanks a lot for your help

rbaaboud
- 131
- 1
- 8
0
votes
0 answers
How to convert nested JSON payload from Kebab case into Camel Case using javascript
I need to convert the kebab case into camel case.
The depth of the JSON object can be up to 5 child elements. I tried to implement it (see here), but the output is not the expected.
Input:
{
"is-success": true,
"response-date":…

Diya
- 43
- 1
- 9
0
votes
1 answer
Why do I need to CamelCase Html Attributes in React?
Why do I need to camelcase these HTML properties in react:
Why is it autoPlay and not autoplay?
Or is this an error in my VSCode warnings?

antonwilhelm
- 5,768
- 4
- 19
- 45
0
votes
1 answer
Include django rest serializer data with Django `json_script` templatetag
I use Django Camel Case to swap from pythons snake_case in the backend to camelCase in the front end, so the keys of the data comply with conventional JavaScript syntax.
This works great for AJAX calls returning JSON.
However often I wish to embed…

run_the_race
- 1,344
- 2
- 36
- 62
0
votes
3 answers
Break Camel Case function in JavaScript
I have been attempting to solve this codewars problem for a while in JavaScript:
"Complete the solution so that the function will break up camel casing, using a space between words. Example:"
"camelCasing" => "camel Casing"
"identifier" => …

Nicolette DeVille
- 15
- 1
- 8
0
votes
1 answer
Java error about turning sentence into camelCase
I'm starting to code and trying to do a challenge of turning a sentence into camelCase. After some experimenting on my own, got to the following code:
package teste;
import java.util.Scanner;
public class Teste {
public static void…

JPCaillot
- 3
- 2
0
votes
1 answer
GET method: How to convert snake_case query string to camelCase DTO
I use snake_case DB columns and camelCase DTO.
And our team want to use snake_case when we code React component.
Because of it, I added @JsonNaming on DTO. But it works when I send Json data, as you know.
Is there any annotation or setting similar…

loveloper.dev
- 299
- 1
- 4
- 9
0
votes
1 answer
Trying to change strings in a column (Snowflake sql)
I have a column in my table in Snowflake called "A". In this column I have values such as "groceryStore", "postOffice", "nordstromRackStore" etc. The values are currently in camel case but I would like to change them so that they follow the format…

user18466310
- 51
- 7
0
votes
2 answers
Is camelCase basically deprecated or not allowed to use in Python?
I read Naming Conventions in PEP 8 – Style Guide for Python Code.
And, it says:
Function and Variable Names
......
mixedCase is allowed only in contexts where that’s already the
prevailing style (e.g. threading.py), to retain…

Super Kai - Kazuya Ito
- 22,221
- 10
- 124
- 129
0
votes
2 answers
JSONata: words to lowerCamelCase
I have a string consisting of words and punctuation, such as "Accept data protection terms / conditions (German)". I need to normalize that to camelcase, removing punctuation.
My closest attempt so far fails to camelcase the words, I only manage to…

dschulten
- 2,994
- 1
- 27
- 44