deserializeEntry
Deserializes the provided TomlElement. This deserialization should store the result within this deserializer (deserialize "in-place") as well as returning the result. The return has to have a fallback value.
Return
ValidationResult<T> wrapped deserialization result or a fallback value on total failure, with any applicable direct error messages stored in the result. The errorBuilder can be used for populating detail error information while providing a general alert in this error.
Author
fzzyhmstrs
Since
0.7.0
Parameters
TomlElement incoming data to deserialize. This should be deserialized both into this object and returned
String scope of the field being deserialized
deserialization flags for use with built-in deserialization methods if needed.
Deprecated
Implement the override without an errorBuilder. Scheduled for removal in 0.8.0. In 0.7.0, the provided ValidationResult should encapsulate all encountered errors, and all passed errors will be incorporated into a parent result as applicable.
Deserializes the provided TomlElement. This deserialization should store the result within this deserializer (deserialize "in-place") as well as returning the result. The return has to have a fallback value.
Return
ValidationResult<T> wrapped deserialization result or a fallback value on total failure, with any applicable direct error messages stored in the result. The errorBuilder can be used for populating detail error information while providing a general alert in this error.
Author
fzzyhmstrs
Since
0.2.0, deprecated 0.7.0 and scheduled for removal by 0.8.0
Parameters
TomlElement incoming data to deserialize. This should be deserialized both into this object and returned
List of error strings. Deserialization should fail softly, returning a fallback and reporting error messages to this builder instead of crashing
String scope of the field being deserialized
deserialization flags for use with built-in deserialization methods if needed.