Title: optBoolean isn't optional · Issue #260 · stleary/JSON-java · GitHub
Open Graph Title: optBoolean isn't optional · Issue #260 · stleary/JSON-java
X Title: optBoolean isn't optional · Issue #260 · stleary/JSON-java
Description: 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.
Open Graph Description: 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 recen...
X Description: 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 bro...
Opengraph URL: https://github.com/stleary/JSON-java/issues/260
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"optBoolean isn't optional","articleBody":"[JSONObject::optBoolean](https://github.com/stleary/JSON-java/blob/master/JSONObject.java#L944) no longer catches the exception thrown by [JSONObject::get](https://github.com/stleary/JSON-java/blob/master/JSONObject.java#L472). 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.\n","author":{"url":"https://github.com/quidryan","@type":"Person","name":"quidryan"},"datePublished":"2016-08-09T18:57:22Z","url":"https://github.com/stleary/JSON-java/issues/260"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:25795749-baae-9de1-860e-7fb16f62895e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9956:2EAC7E:77482:A0F9F:6AFD3D46 |
| html-safe-nonce | 216f2854fa4dbfbd5e5c5b7e84099e9f6f0f81a3c820ade3de42f06263462d23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTU2OjJFQUM3RTo3NzQ4MjpBMEY5Rjo2QUZEM0Q0NiIsInZpc2l0b3JfaWQiOiIzMjczMTQzNjMxMTc0NTE2MDM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 20ebc3066510e48d38d52ae5c8979101142d64993dcdbcdc9f793044de8dddb1 |
| hovercard-subject-tag | issue:170243772 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stleary/JSON-java/260/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0f1851527e5fc0c692d747eb01416e57150334ba0aa36501326f985f5e696e55/stleary/JSON-java/issues/260 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0f1851527e5fc0c692d747eb01416e57150334ba0aa36501326f985f5e696e55/stleary/JSON-java/issues/260 |
| og:image:alt | 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 recen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | quidryan |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/stleary/JSON-java git https://github.com/stleary/JSON-java.git |
| octolytics-dimension-user_id | 5107558 |
| octolytics-dimension-user_login | stleary |
| octolytics-dimension-repository_id | 1187853 |
| octolytics-dimension-repository_nwo | stleary/JSON-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1187853 |
| octolytics-dimension-repository_network_root_nwo | stleary/JSON-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width