Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18591)

Issue 6048047: code review 6048047: encoding/json: allow punctuation in tag names

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by bpowers
Modified:
11 years, 12 months ago
Reviewers:
r, rsc
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

encoding/json: allow punctuation in tag names everything except backslash and the quote chars is fair game. Fixes issue 3546.

Patch Set 1 #

Patch Set 2 : diff -r b9cbd32246e3 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r b9cbd32246e3 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 85809ed633b5 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 5 : diff -r 29665c4bae69 https://code.google.com/p/go #

Patch Set 6 : diff -r 29665c4bae69 https://code.google.com/p/go #

Patch Set 7 : diff -r 29665c4bae69 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M src/pkg/encoding/json/encode.go View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M src/pkg/encoding/json/tagkey_test.go View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10
bpowers
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years ago (2012-04-18 16:18:35 UTC) #1
bpowers
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2012-04-18 16:28:26 UTC) #2
bpowers
On 2012/04/18 16:28:26, bpowers wrote: > Hello https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=golang-dev@googlegroups.com (cc: https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=golang-dev@googlegroups.com), > > Please take another ...
11 years, 12 months ago (2012-04-24 18:27:45 UTC) #3
rsc
http://codereview.appspot.com/6048047/diff/6001/src/pkg/encoding/json/encode.go File src/pkg/encoding/json/encode.go (right): http://codereview.appspot.com/6048047/diff/6001/src/pkg/encoding/json/encode.go#newcode419 src/pkg/encoding/json/encode.go:419: case '$', '-', '_', '/', '%', '@': I don't ...
11 years, 12 months ago (2012-04-25 01:53:40 UTC) #4
bpowers
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 12 months ago (2012-04-25 03:11:14 UTC) #5
bpowers
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 12 months ago (2012-04-25 03:12:56 UTC) #6
rsc
LGTM Will submit tomorrow unless someone beats me to it.
11 years, 12 months ago (2012-04-25 03:27:35 UTC) #7
r
LGTM but please s/punction/punctuation/ in the CL description (use hg change 6048047)
11 years, 12 months ago (2012-04-25 03:30:36 UTC) #8
bpowers
Hello rsc@golang.org, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 12 months ago (2012-04-25 04:08:37 UTC) #9
r
11 years, 12 months ago (2012-04-25 04:34:07 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=233ff5d46b3d ***

encoding/json: allow punctuation in tag names

everything except backslash and the quote chars is fair game.

Fixes issue 3546.

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/6048047

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b