Android.Util.JsonReader.Lenient Property
Returns true if this parser is liberal in what it accepts.

Syntax

[get: Android.Runtime.Register("isLenient", "()Z", "GetIsLenientHandler")]
[set: Android.Runtime.Register("setLenient", "(Z)V", "GetSetLenient_ZHandler")]
public bool Lenient { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns true if this parser is liberal in what it accepts.

Set method documentation [Android Documentation]

Configure this parser to be be liberal in what it accepts. By default, this parser is strict and only accepts JSON as specified by . Setting the parser to lenient causes it to ignore the following syntax errors:

  • End of line comments starting with // or # and ending with a newline character.
  • C-style comments starting with /* and ending with */. Such comments may not be nested.
  • Names that are unquoted or 'single quoted'.
  • Strings that are unquoted or 'single quoted'.
  • Array elements separated by ; instead of ,.
  • Unnecessary array separators. These are interpreted as if null was the omitted value.
  • Names and values separated by = or => instead of :.
  • Name/value pairs separated by ; instead of ,.

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11