Lowercases the first letter of PascalCase names: CustomerName → customerName. The classic source is a .NET backend: older ASP.NET and Newtonsoft setups serialize C# properties as PascalCase JSON (OrderId, ShippedAt), while JavaScript, TypeScript and Java code expects camelCase fields.
It is equally useful for deriving instance or variable names from class names, such as UserRepository → userRepository, when writing dependency injection or test setup code.
String.Result.{
"OrderId": 1001,
"CustomerName": "Kim",
"ShippedAt": null
}{
"orderId": 1001,
"customerName": "Kim",
"shippedAt": null
}The three PascalCase keys from a C#-style response are converted; null and the numbers are untouched, so the JSON stays valid.
ShippedAt → shippedAt.Order, Name or an all-caps JSON are skipped.OrderID → orderID).If the API cannot be switched to JsonNamingPolicy.CamelCase, paste a sample response to see the camelCase field names your client mapping will produce, or to write the interface by hand.
A list of services like PaymentService and UserRepository converts directly to the constructor parameter or field names paymentService and userRepository.
HTTPServer → httpServer, JSONPayload → jsonPayload, IOError → ioError.Id, Name, Order) need two capitals to be recognized, so they stay capitalized. Lowercase them yourself.Name not become name?The PascalCase pattern requires at least two words (two capitals) so that ordinary capitalized words in sentences are not changed. One-word keys have to be edited by hand.
Yes, every multi-word PascalCase name is converted, including class and type names. Paste only the fields when working with code.