Open mzember opened 2 years ago
I am running into a "Not a JSON Object" error.
My JSON is wrapped with square brackets [ ].
It would probably help to use JsonElement.getAsJsonArray() instead of JsonElement.getAsJsonObject() here:
https://github.com/PortSwigger/graphql-raider/blob/0d2a8484716f2975745f99d357b538c1aa5e4949/src/main/java/extension/gql/GqlRequestParser.java#L24
I am running into a "Not a JSON Object" error.
My JSON is wrapped with square brackets [ ].
It would probably help to use JsonElement.getAsJsonArray() instead of JsonElement.getAsJsonObject() here:
https://github.com/PortSwigger/graphql-raider/blob/0d2a8484716f2975745f99d357b538c1aa5e4949/src/main/java/extension/gql/GqlRequestParser.java#L24