2 references to WriteAsString
System.Text.Json.SourceGeneration (2)
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
48
? (handling.Value & (JsonNumberHandling.
WriteAsString
| JsonNumberHandling.AllowNamedFloatingPointLiterals)) != 0
src\libraries\System.Text.Json\Common\JsonNumberHandling.cs (1)
9
/// The behavior of <see cref="
WriteAsString
"/> and <see cref="AllowNamedFloatingPointLiterals"/> is not defined by the JSON specification. Altering the default number handling can potentially produce JSON that cannot be parsed by other JSON implementations.