Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDunn committed Dec 2, 2024
1 parent 79ac109 commit 65e3da9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/site/Writerside/topics/tutorials/Using-with-JSON.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,13 @@ var json = JsonSerializer.Serialize(weather, ctx.Weather);
Weather w2 = JsonSerializer.Deserialize(json, ctx.Weather)!;
```
<note>
The namespace used to generate the factory is based on the project name. If the project name contains illegal characters, such as commas, hyphens, or dots, they are replaced with underscores.
</note>
The STJ converter factory is generated automatically if referencing the new STJ types in the `System.Text.Json.Serialization` namespace.
You can turn this off via the `SystemTextJsonConverterFactoryGeneration` flag in config (either globally, or per value object)
You can turn this off via the `SystemTextJsonConverterFactoryGeneration` flag in config (either globally or per value object)
## Summary
Expand Down

0 comments on commit 65e3da9

Please sign in to comment.