Resultset of N1ql in JsonDocument

how to get the N1ql query output in java program in JsonDocument, I can just get that in String ?

Hey @vishal00921

I don’t really understand the question… Can you please go into further detail?