]> Cypherpunks repositories - gostls13.git/commit
encoding/json: add Number type
authorJonathan Gold <jgold.bg@gmail.com>
Mon, 25 Jun 2012 21:36:09 +0000 (17:36 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 25 Jun 2012 21:36:09 +0000 (17:36 -0400)
commitb7bb1e32d84f45794b2106daa5c908bcb390461e
treec2f074b9182e90e9550a13737926267e19abb6cc
parent910959084d01bddc07f1f976d7ba9ad138a64077
encoding/json: add Number type

Number represents the actual JSON text,
preserving the precision and
formatting of the original input.

R=rsc, iant
CC=golang-dev
https://golang.org/cl/6202068
src/pkg/encoding/json/decode.go
src/pkg/encoding/json/decode_test.go
src/pkg/encoding/json/encode.go
src/pkg/encoding/json/stream.go