CodeGenSerializationAttribute
Gets or sets the method name to use when serializing the property value (property name excluded)
The signature of the serialization hook method must be or compatible with when invoking:
private void SerializeHook(StringBuilder builder);
Gets or sets the method name to use when deserializing the property value from the JSON
private static void DeserializationHook(JsonProperty property, ref TypeOfTheProperty propertyValue); // if the property is required
private static void DeserializationHook(JsonProperty property, ref Optional<TypeOfTheProperty> propertyValue); // if the property is optional
Gets or sets the property name which these hooks should apply to
Gets or sets the serialization path of the property in the JSON
Gets or sets the method name to use when serializing the property value (property name excluded)
The signature of the serialization hook method must be or compatible with when invoking:
private void SerializeHook(Utf8JsonWriter writer);