الترميز كـ Camel case (الحروف المزدوجة الكبيرة)

يُشفّر الإدخال باستخدام “الترميز كـ Camel case (الحروف المزدوجة الكبيرة)” وفقًا للمعيار المقابل.

المدخلات: نصالنتيجة: نص

إدخال نصي

خيارات الأداة

أمثلة

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)