Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix the typo of JSON

...

Note that the weight field is missing in the resulting JSON:

Code Block
{"age":30, "heightweight":19070}

The GSON library supports a similar feature through the notion of ExclusionStrategies:

...