I am an android developer but just started to play with GraphQL
as per new project requirements. I am trying to query in the prisma-lab's
graphQL-playground
.
I copied and pasted a long query which in the single line but I just want to format that in JSON
format. Is anyone have an idea how to do that? or Anyone knows more shortcuts about this prisma-lab's graphQL-playground.
Copied Query:
{ userInfo(userName:"xyz"){ id subtitle userLastName avatar } }
Formatted Query:
{
userInfo(userName: "xyz") {
id
subtitle
userLastName
avatar
}
}
Suggest if anyone knows how to format this query and if there is any other keyboard shortcuts available for GraphQL-Playground. Thanks.