Skip to content

Commit 70fff27

Browse files
authored
Docs fix
1 parent 3022a99 commit 70fff27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
This library provides support for [Google.Protobuf](https://www.nuget.org/packages/Google.Protobuf) types to [System.Text.Json](https://www.nuget.org/packages/System.Text.Json/).
77

8-
By default classes generated from `*.proto` files don't work particularly well with `System.Text.Json`. You can properly serialize and deserialize only very simple contracts (only scalar value types work properly). When your schema contains some more advanced structures like repeated fields, maps, oneofs, or optional fields the results are far from acceptable.
8+
By default classes generated from *.proto files don't work particularly well with System.Text.Json. You can properly serialize and deserialize only very simple contracts (only scalar value types work properly). When your schema contains some more advanced structures like repeated fields, maps, oneofs, or optional fields the results are far from acceptable.
99

10-
You may try to write a custom JsonConverter that will utilize `Google.Protobuf.JsonFormatter` and `Google.Protobuf.JsonParser` to do all the heavy lifting. Unfortunately, this solution falls short in terms of performance. This library provides high-performance and low-allocating types that serialize `Google.Protobuf` objects to JavaScript Object Notation (JSON) text and deserialize JSON text to `Google.Protobuf` objects.
10+
You may try to write a custom JsonConverter that will utilize JsonFormatter and JsonParser from Google.Protobuf package to do all the heavy lifting. Unfortunately, this solution falls short in terms of performance. This library provides high-performance and low-allocating types that serialize Google.Protobuf objects to JavaScript Object Notation (JSON) text and deserialize JSON text to Google.Protobuf objects.
1111

1212
## Performance
1313

0 commit comments

Comments
 (0)