From ff991940f167030daec0e0342199f52a94e3e8fc Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 29 Jul 2015 09:43:32 +1000 Subject: [PATCH] doc: add json tokenizer to go1.5.html Change-Id: I45d92fed757fa1866d5b80e53ed1af6712fa6741 Reviewed-on: https://go-review.googlesource.com/12782 Reviewed-by: Russ Cox --- doc/go1.5.html | 10 ++++++++++ 1 file changed, 10 insertions(+) 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,