We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e3bf2 commit ae7cd5cCopy full SHA for ae7cd5c
doc/go1.14.html
@@ -582,6 +582,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
582
was never a documented feature. For proper escaping, see <a
583
href="/pkg/encoding/json/#HTMLEscape"><code>HTMLEscape</code></a>.
584
</p>
585
+
586
+ <p><!-- CL 195045 -->
587
+ <a href="/pkg/encoding/json/#Number"><code>Number</code></a> no longer
588
+ accepts invalid numbers, to follow the documented behavior more closely.
589
+ If a program needs to accept invalid numbers like the empty string,
590
+ consider wrapping the type with <a href="/pkg/encoding/json/#Unmarshaler"><code>Unmarshaler</code></a>.
591
+ </p>
592
</dd>
593
</dl><!-- encoding/json -->
594
0 commit comments