1. Jason Stonebraker
  2. JSONExclusionMarshaller


Jason Stonebraker  committed 6010638

Edited online

  • Participants
  • Parent commits 66725f2
  • Branches master

Comments (0)

Files changed (1)

File Home.md

View file
 Basically the `excludeFor*()` method creates a Named Configuration with a name of
 'excludeForWhateverYouDecideToNameIt'. The Named Configuration then registers a custom ObjectMarshaller for the TestStudent domain class. The custom object marshaller is built into the `excludesFor*` sythesized method. It removes the properties we provided to it in the list. The JSON converter then outputs the desired JSON formatted string.
-### Configure Global Exclusions
+### Configuring Global Exclusions
 You can specify a list of properties that should always be excluded by the JSON converter by adding a line like this to Config:
 `jsonExclusionMarshaller.globalExclusions = "attached, errors, properties, version, class, id"`