← Standard library

JsonParseErrorKind

enum JsonParseErrorKind extends int32
import JsonParseErrorKind from Wax;

Reasons JSON parsing can fail: missing input, invalid syntax or escapes, an unterminated comment, trailing content, or a required array root that was another kind.

Json.wax:884

Members

UnexpectedEndcase

case UnexpectedEnd

Json.wax:885

UnexpectedTokencase

case UnexpectedToken

Json.wax:886

ExpectedColoncase

case ExpectedColon

Json.wax:887

ExpectedCommaOrClosecase

case ExpectedCommaOrClose

Json.wax:888

InvalidStringcase

case InvalidString

Json.wax:889

InvalidNumbercase

case InvalidNumber

Json.wax:890

UnterminatedCommentcase

case UnterminatedComment

Json.wax:891

TrailingContentcase

case TrailingContent

Json.wax:892

ExpectedArraycase

case ExpectedArray

Json.wax:893

CompareTomethod

public fn CompareTo(JsonParseErrorKind other) : int32

Provided by the compiler.

Equalsmethod

public fn Equals(JsonParseErrorKind other) : bool

Provided by the compiler.

GetHashCodemethod

public fn GetHashCode() : uint32

Provided by the compiler.

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.