Skip to content

encoding/json: doesn't deserialize json fields with underscores into struct's fields who's tag contains the underscore but the struct field name does not #40351

@andrewhodel

Description

@andrewhodel

This issue - #9841

Is true for go1.14.2

This works

Ws_Id              string.   `json:"ws_id"`

This does not work

WsId              string.   `json:"ws_id"`

Is it fixed in a later version or has all new manufacturing stopped LOL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions