-
Brad Fitzpatrick authored
Since JavaScript doesn't have [u]int64 types, some JSON APIs encode such types as strings to avoid losing precision. This adds a new struct tag option ",string" to cause fields to be wrapped in JSON strings on encoding and unwrapped from strings when decoding. R=rsc, gustavo CC=golang-dev https://golang.org/cl/4918051
596bf61d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
decode.go | ||
decode_test.go | ||
encode.go | ||
encode_test.go | ||
indent.go | ||
scanner.go | ||
scanner_test.go | ||
stream.go | ||
stream_test.go | ||
tagkey_test.go | ||
tags.go | ||
tags_test.go |