Attributes to customize JSON serialization

Table 1. JSON attributes
Attribute Description
JSONRequired
Specify properties that are required in a JSON schema.
JSONOneOf
Specify a record that needs to be serialized or deserialized.
JSONSelector
Specify which record member needs to be serialized or deserialized.