Table of Contents

Enum XapiReadMode

Namespace
Xapi.Json
Assembly
Xapi.Core.dll

How strictly XapiJson reads JSON.

public enum XapiReadMode

Fields

Lenient = 1

For reading LRS responses: ignores unknown properties, nulls and duplicate keys, accepts properties of any supported version, and skips validation. Wrong JSON types and missing required properties still fail.

Strict = 0

For input an LRS must judge: rejects unknown properties, explicit nulls, duplicate keys, case-mismatched names and properties from a later xAPI version, then runs StatementValidator.