SyntaxFix
Write A Post
Hire A Developer
Questions
You need to escape the quotation marks:
String name = "\"john\"";