Skip to content

Accept both JSON name and original field name when deserializing json to proto message #160

@jkobejs

Description

@jkobejs

scalapb-json4s parser accepts both JSON name and original field name when deserializing JSON to proto message.
scalapb-circe doesn't have support for that, you can by using preservingProtoFieldNames flag pick if you want to parse using original field or JSON name, but you cannot do both.

scalapb-json4s introduced a change in this commit scalapb/scalapb-json4s@9d81da5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions