We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4f4fc commit 04c6289Copy full SHA for 04c6289
src/encoding/json/encode.go
@@ -42,6 +42,7 @@ import (
42
// Boolean values encode as JSON booleans.
43
//
44
// Floating point, integer, and Number values encode as JSON numbers.
45
+// NaN and +/-Inf values will return an [UnsupportedValueError].
46
47
// String values encode as JSON strings coerced to valid UTF-8,
48
// replacing invalid bytes with the Unicode replacement rune.
0 commit comments