[website] _content/blog/json: update for encoding/json/v2

1 view
Skip to first unread message

Michael Pratt (Gerrit)

unread,
Aug 11, 2026, 4:19:40 PM (11 hours ago) Aug 11
to Michael Pratt, goph...@pubsubhelper.golang.org, Joseph Tsai, Damien Neil, Jonathan Amsterdam, Austin Clements, golang-co...@googlegroups.com
Attention needed from Damien Neil and Joseph Tsai

Michael Pratt voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Damien Neil
  • Joseph Tsai
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: Ia24de4c6c8f5c5c3501d7cb35968fe2e6a6a6964
Gerrit-Change-Number: 813440
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Joseph Tsai <joe...@digital-static.net>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-CC: Austin Clements <aus...@google.com>
Gerrit-CC: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Joseph Tsai <joe...@digital-static.net>
Gerrit-Comment-Date: Tue, 11 Aug 2026 20:19:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Michael Pratt (Gerrit)

unread,
Aug 11, 2026, 4:22:10 PM (11 hours ago) Aug 11
to Michael Pratt, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Joseph Tsai, Damien Neil, Jonathan Amsterdam, Austin Clements, golang-co...@googlegroups.com
Attention needed from Damien Neil and Joseph Tsai

Michael Pratt added 1 comment

File _content/blog/json.md
Line 325, Patchset 1 (Latest): Info Level = iota
Michael Pratt . resolved

I'm not thrilled with using an enum as the example here, partially because I feel like enums should be easier, and partially because the switches make the examples a bit long.

I don't want to use the set example from CL 811741, as that introduces the complexity of looking at options for Deterministic. I want this example to be very straightforward.

I'm open to suggestions for alternative examples.

Open in Gerrit

Related details

Attention is currently required from:
  • Damien Neil
  • Joseph Tsai
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: website
Gerrit-Branch: master
Gerrit-Change-Id: Ia24de4c6c8f5c5c3501d7cb35968fe2e6a6a6964
Gerrit-Change-Number: 813440
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Joseph Tsai <joe...@digital-static.net>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-CC: Austin Clements <aus...@google.com>
Gerrit-CC: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Damien Neil <dn...@google.com>
Gerrit-Attention: Joseph Tsai <joe...@digital-static.net>
Gerrit-Comment-Date: Tue, 11 Aug 2026 20:22:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy

Michael Pratt (Gerrit)

unread,
Aug 11, 2026, 5:05:06 PM (10 hours ago) Aug 11
to Michael Pratt, goph...@pubsubhelper.golang.org, Andrew Gerrand, golang...@luci-project-accounts.iam.gserviceaccount.com, Joseph Tsai, Damien Neil, Jonathan Amsterdam, Austin Clements, golang-co...@googlegroups.com
Attention needed from Damien Neil and Joseph Tsai

Michael Pratt voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Damien Neil
  • Joseph Tsai
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: website
    Gerrit-Branch: master
    Gerrit-Change-Id: Ia24de4c6c8f5c5c3501d7cb35968fe2e6a6a6964
    Gerrit-Change-Number: 813440
    Gerrit-PatchSet: 1
    Gerrit-Owner: Michael Pratt <mpr...@google.com>
    Gerrit-Reviewer: Damien Neil <dn...@google.com>
    Gerrit-Reviewer: Joseph Tsai <joe...@digital-static.net>
    Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
    Gerrit-CC: Austin Clements <aus...@google.com>
    Gerrit-CC: Jonathan Amsterdam <j...@google.com>
    Gerrit-Attention: Damien Neil <dn...@google.com>
    Gerrit-Attention: Joseph Tsai <joe...@digital-static.net>
    Gerrit-Comment-Date: Tue, 11 Aug 2026 21:05:03 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Damien Neil (Gerrit)

    unread,
    Aug 11, 2026, 8:14:17 PM (7 hours ago) Aug 11
    to Michael Pratt, goph...@pubsubhelper.golang.org, Andrew Gerrand, golang...@luci-project-accounts.iam.gserviceaccount.com, Joseph Tsai, Jonathan Amsterdam, Austin Clements, golang-co...@googlegroups.com
    Attention needed from Joseph Tsai and Michael Pratt

    Damien Neil added 2 comments

    File _content/blog/json.md
    Line 12, Patchset 1 (Latest):## Introduction
    Damien Neil . unresolved

    Seems like we should have a note saying this was updated? The publication date is still 2011, and it seems confusing to have something talking about a package which didn't exist in that year.

    Michael Pratt . unresolved

    I'm not thrilled with using an enum as the example here, partially because I feel like enums should be easier, and partially because the switches make the examples a bit long.

    I don't want to use the set example from CL 811741, as that introduces the complexity of looking at options for Deterministic. I want this example to be very straightforward.

    I'm open to suggestions for alternative examples.

    Damien Neil

    How about a `struct Date { Year, Month, Day int }`, encodes as YYYY-MM-DD?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joseph Tsai
    • Michael Pratt
    Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: website
      Gerrit-Branch: master
      Gerrit-Change-Id: Ia24de4c6c8f5c5c3501d7cb35968fe2e6a6a6964
      Gerrit-Change-Number: 813440
      Gerrit-PatchSet: 1
      Gerrit-Owner: Michael Pratt <mpr...@google.com>
      Gerrit-Reviewer: Damien Neil <dn...@google.com>
      Gerrit-Reviewer: Joseph Tsai <joe...@digital-static.net>
      Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
      Gerrit-CC: Andrew Gerrand <a...@golang.org>
      Gerrit-CC: Austin Clements <aus...@google.com>
      Gerrit-CC: Jonathan Amsterdam <j...@google.com>
      Gerrit-Attention: Michael Pratt <mpr...@google.com>
      Gerrit-Attention: Joseph Tsai <joe...@digital-static.net>
      Gerrit-Comment-Date: Wed, 12 Aug 2026 00:14:13 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Michael Pratt <mpr...@google.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages