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 JsonParserError

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module juptune.data.json.parser;

enum JsonParserError : int
{
    ///
    none = 0, 
    /// Attempted to end an array or object when the depth buffer is either empty, or is for the opposite type of depth. 
    wrongDepth = 1, 
    /// Attempted to start reading an object or array, but the depth buffer has been completely used up. 
    tooDeep = 2, 
    /// Attempted to parse a negative number as an unsigned type. 
    numberIsNegative = 3, 
    /// Attempted to parse a number that cannot be represented with a specific native numeric type. 
    numberCannotBeRepresented = 4, 
    /// A string/name is unterminated. 
    unterminatedString = 5, 
    /// The final field in an array or object has a comma after it (believe it or not strict JSON parsing forbids this :/). 
    extraComma = 6, 
    /// Expected a colon between an object field name and its value. 
    missingColon = 7, 
    /// Expected a comma while reading next non-initial object name or array value. 
    missingComma = 8, 
    /// There was some sort of syntax error when parsing a numeric value. 
    invalidNumber = 9, 
    /// A keyword (unquoted text) wasn't recognised. 
    invalidKeyword = 10, 
    /// An invalid escape character was found within a string/name. 
    invalidEscapeCharacter = 11, 
    /// Could not determine what the next token should be, because the next character is not a known start-of-token character. 
    unexpectedCharacter = 12, 
    /// No more characters to consume. 
    eof = 13, 
    /// Attempted to call JsonParser.finish while still midway through parsing. 
    incomplete = 14
}

Documentation

A Resulterror enum.

ON THIS PAGE