Skip to content

Commit c06a5e9

Browse files
authored
Link to alternative polymorphic converter (#16677)
1 parent 0f0b91b commit c06a5e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/standard/serialization/system-text-json-converters-how-to.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ The converter can deserialize JSON that was created by using the same converter
276276
]
277277
```
278278

279+
The converter code in the preceding example reads and writes each property manually. An alternative is to call `Deserialize` or `Serialize` to do some of the work. For an example, see [this StackOverflow post](https://stackoverflow.com/a/59744873/12509023).
280+
279281
## Other custom converter samples
280282

281283
The [Migrate from Newtonsoft.Json to System.Text.Json](system-text-json-migrate-from-newtonsoft-how-to.md) article contains additional samples of custom converters.

0 commit comments

Comments
 (0)