From: Rob Pike Date: Tue, 28 Jul 2015 23:43:32 +0000 (+1000) Subject: doc: add json tokenizer to go1.5.html X-Git-Tag: go1.5beta3~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ff991940f167030daec0e0342199f52a94e3e8fc;p=gostls13.git doc: add json tokenizer to go1.5.html Change-Id: I45d92fed757fa1866d5b80e53ed1af6712fa6741 Reviewed-on: https://go-review.googlesource.com/12782 Reviewed-by: Russ Cox --- diff --git a/doc/go1.5.html b/doc/go1.5.html index 9dc289e639..4e173d130a 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -931,6 +931,16 @@ if a JSON value is not appropriate for the target variable or component to which it is being unmarshaled. +
  • +The encoding/json's +Decoder +type has a new method that provides a streaming interface for decoding +a JSON document: +Token. +It also interoperates with the existing functionality of Decode, +which will continue a decode operation already started with Decoder.Token. +
  • +
  • The flag package has a new function, UnquoteUsage,