Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Enums JsonSerialiseError

1
2
3
4
5
6
7
8
9
10
11
12
13
module 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
}

Documentation

A Result error enum

ON THIS PAGE