Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b5d04fd

Browse files
committed
Update README.md
1 parent 3434a7d commit b5d04fd

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,6 @@ The following is a list of `bool` options you can use to configure many popular
377377
<thead>
378378
<tr><th>Name</th><th>Alias</th></tr>
379379
</thead>
380-
<tr><td>EmitCamelCaseNames</td><td>eccn</td></tr>
381-
<tr><td>EmitLowercaseUnderscoreNames</td><td>elun</td></tr>
382380
<tr><td>IncludeNullValues</td><td>inv</td></tr>
383381
<tr><td>IncludeNullValuesInDictionaries</td><td>invid</td></tr>
384382
<tr><td>IncludeDefaultEnums</td><td>ide</td></tr>
@@ -400,6 +398,8 @@ The following is a list of `bool` options you can use to configure many popular
400398
<tr><td>AppendUtcOffset</td><td>auo</td></tr>
401399
<tr><td>EscapeHtmlChars</td><td>ehc</td></tr>
402400
<tr><td>EscapeUnicode</td><td>eu</td></tr>
401+
<tr><td>EmitCamelCaseNames</td><td>eccn</td></tr>
402+
<tr><td>EmitLowercaseUnderscoreNames</td><td>elun</td></tr>
403403
</table>
404404

405405
### DateHandler (dh)
@@ -422,6 +422,15 @@ The following is a list of `bool` options you can use to configure many popular
422422
<tr><td>StandardFormat</td><td>sf</td></tr>
423423
</table>
424424

425+
### TextCase (tc)
426+
427+
<table>
428+
<tr><td>Default</td><td>d</td></tr>
429+
<tr><td>PascalCase</td><td>pc</td></tr>
430+
<tr><td>CamelCase</td><td>cc</td></tr>
431+
<tr><td>SnakeCase</td><td>sc</td></tr>
432+
</table>
433+
425434
### PropertyConvention (pc)
426435

427436
<table>
@@ -449,7 +458,7 @@ using (JsConfig.With(new Config {
449458
You can also create a custom config scope from a string manually using `JsConfig.CreateScope()` where you can use the full config name or their aliases, e.g:
450459

451460
```csharp
452-
using (JsConfig.CreateScope("EmitLowercaseUnderscoreNames,EDV,dh:ut"))
461+
using (JsConfig.CreateScope("IncludeNullValues,EDV,dh:ut"))
453462
{
454463
var json = dto.ToJson();
455464
}

0 commit comments

Comments
 (0)