카멜 케이스로 인코딩

는 해당 표준에 따라 “카멜 케이스로 인코딩”로 입력을 인코딩합니다.

입력: 텍스트결과: 텍스트

텍스트 입력

도구 옵션

예제

Map a JSON API field to a JavaScript property

A snake_case API field becomes lower camel case.

입력

first_name

Expected answer

firstName
문맥 인식 시도
Off
Keep a mixed acronym boundary readable

XML becomes xml; the following capitalized words remain boundaries.

입력

XMLHttpRequest

Expected answer

xmlHttpRequest
문맥 인식 시도
Off
Remove the accent when naming a café menu property

Lodash removes the accent as part of word normalization.

입력

café menu price

Expected answer

cafeMenuPrice
문맥 인식 시도
Off
Rename bare keys while retaining a double-quoted value

Context mode preserves this double-quoted string; it is a token heuristic, not a language-aware refactor.

입력

user_name = "display_name"; retry_count = 3;

Expected answer

userName = "display_name"; retryCount = 3;
문맥 인식 시도
On
Turn a versioned heading into a property name

The numeric suffix is retained.

입력

HTTP response code 404

Expected answer

httpResponseCode404
문맥 인식 시도
Off
To Camel case (dumb)

입력

hello world

Expected answer

helloWorld
문맥 인식 시도
Off
To Camel case (smart)

입력

test='hello'
echo $test
a_camel_case_function
$a_camel_case_variable;
function function_name() {
  console.log('things inside quotes do not get broken');
  console.log("things inside quotes do not get broken");
}

Expected answer

test='hello'
echo $test
aCamelCaseFunction
$aCamelCaseVariable;
function functionName() {
  console.log('things inside quotes do not get broken');
  console.log("things inside quotes do not get broken");
}
문맥 인식 시도
On

매개변수

매개변수기본값입력 및 선택 항목
문맥 인식 시도false켜짐 또는 꺼짐

관련 도구

코드 정리

작업 참고 자료

원본 기술 문서 보기 (English)