Fixed com.google.gson.functional.VersioningTest.testIgnoreLaterVersionClassDeserialization by changing Gson behavior incompatibly (but more consistent).
GSON 1.x applies different rules for versioning for classes vs fields. So, if you deserialize a
   JSON into a field that is supposed to be skipped, the field is set to null (or default value). 
   However, if you deserialize it to a top-level class, a default instance is returned.
GSON 2.x returns null for the top-level class. 
2 files changed
tree: 2257f99baff8bce8202a65f677739362967f5d07
  1. examples/
  2. extras/
  3. gson/
  4. lib/
  5. metrics/
  6. proto/