diff --git a/README.md b/README.md index f8c2177..b127348 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ To enable Protobuf support you need to register it on `JsonSerializerOptions`: ```csharp var jsonSerializerOptions = new JsonSerializerOptions(); -jsonSerializerOptions.PropertyNamingPolicy = new JsonLowerCaseNamingPolicy(); +jsonSerializerOptions.PropertyNamingPolicy = JsonNamingPolicy.CamelCase; jsonSerializerOptions.AddProtobufSupport(); ``` @@ -73,4 +73,4 @@ Apple M1 Pro, 1 CPU, 10 logical and 10 physical cores ## License -This project uses [MIT licence](https://github.com/Havret/Protobuf.System.Text.Json/blob/main/LICENSE). Long story short - you are more than welcome to use it anywhere you like, completely free of charge and without oppressive obligations. \ No newline at end of file +This project uses [MIT licence](https://github.com/Havret/Protobuf.System.Text.Json/blob/main/LICENSE). Long story short - you are more than welcome to use it anywhere you like, completely free of charge and without oppressive obligations.