Skip to content

encoding/json: marshal result of string type struct field with ",string" option change in go1.14 [1.14 backport] #38178

@gopherbot

Description

@gopherbot

@mvdan requested issue #38173 to be considered for backport to the next 1.14 minor release.

@gopherbot, please open a backport issue for 1.14.

I think this is a regression - https://go-review.googlesource.com/c/go/+/193604 was a good change, but we didn't properly think of all the edge cases. I have a fix nearly ready. CC @breml @dsnet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions