Method ToBoolean ToBoolean() Attempts to convert JSON value to boolean Declaration public bool ToBoolean() Returns Type Description System.Boolean converted boolean value Exceptions Type Condition System.FormatException System.InvalidCastException