In default, all public properties of handler class are serialized into JSON representation. It is not always very suitable. You might want to hide some stuff from client eyes or just decrease the traffic. You can change serialization behavior by couple of attributes:
- XjPropertiesOptIn marks class, where even public properties must be explicitly published
- XjExpose makes property (or field!) visible. Using this attribute you can also expose private members
- XjHide makes property invisible for serialization
- XjTransform attribute gives you possibility to take all control over serialization