SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming that yourObject.toString() returns "true" or "false", you can try
boolean b = Boolean.valueOf(yourObject.toString())