xc-jp / purescript-protobuf

Google Protocol Buffers for PureScript

Home Page:http://pursuit.purescript.org/packages/purescript-protobuf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown field preservation

jamesdbrock opened this issue · comments

The annoying thing about supporting unknown field preservation is that the representation of the unknown fields would have to be different for Wire protobuf and JSON protobuf.

Or, maybe JSON implementations are not supposed to preserve unknown fields?

https://developers.google.com/protocol-buffers/docs/proto3#json_options

Ignore unknown fields: Proto3 JSON parser should reject unknown fields by default but may provide an option to ignore unknown fields in parsing.