Skip to content

optBoolean isn't optional #260

Closed
Closed
@quidryan

Description

@quidryan

JSONObject::optBoolean no longer catches the exception thrown by JSONObject::get. This means that while it's called "opt" (optional), it throws an exception if not found. It's broken in a few recent versions of org.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions