We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Is there any plans to support the Optional type from java8 for return values of this opt methods you have? So that I could for example do this
Optional<String> streetName = obj.optJSONObject("person") .flatMap(person -> person.optJSONObject("address")) .flatMap(adr -> adr.optString("streetName"));
Instead of checking for null values after every opt method?
The text was updated successfully, but these errors were encountered:
not at this time. we are currently supporting java 7 for android support
Sorry, something went wrong.
No branches or pull requests
Hi,
Is there any plans to support the Optional type from java8 for return values of this opt methods you have?
So that I could for example do this
Instead of checking for null values after every opt method?
The text was updated successfully, but these errors were encountered: