Open GoogleCodeExporter opened 8 years ago
This is similar to the TextFormat spec. I think that the assumption was, at
least with the TextFormat spec was that its better to error on bad fields when
people are typing things, then when machines are making things into bytes. This
way mistyping something does not cause unexpected behavior. This makes the
TextFormat a little more brittle for future compatibility, but still should
work for backwards compatibility. Maybe there should be some option for
JsonFormat to not act like TextFormat, and to be less brittle and allow unknown
fields?
Original comment by came...@indeed.com
on 9 Aug 2013 at 3:14
Original issue reported on code.google.com by
bmwchic...@gmail.com
on 12 Sep 2012 at 8:44