Dela via


JsonErrorStatus Enum

Definition

Defines errors encountered while parsing JSON data.

public enum class JsonErrorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class JsonErrorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum JsonErrorStatus
Public Enum JsonErrorStatus
Inheritance
JsonErrorStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unknown 0

An unknown error occurred.

InvalidJsonString 1

The string is invalid. It is possible the expressed value type of the JSON encapsulated data type does not match what is defined by JsonValueType.

InvalidJsonNumber 2

The number is invalid. It is possible the expressed value type of the JSON encapsulated data type does not match what is defined by JsonValueType.

JsonValueNotFound 3

The specified JsonValue cannot be found.

ImplementationLimit 4

This operation exceeds the internal limit of 1024 nested JSON objects.

Applies to

See also