12345678910111213module juptune.data.json.serialise;
enum JsonSerialiseError : int
{
///
none = 0,
/// During deserialisation - a value of type X was expected, but a value of type Y was given instead (e.g. a string was expected but a number was found).
wrongType = 1,
/// During deserialisation - a key was defined multiple times within the same JSON object.
keyRedefined = 2,
/// During deserialisation - a key was found that wasn't recognised as valid for the current type (e.g. when parsing a struct, a key with a non-field name was found).
keyNotRecognised = 3
}
A Result error enum