JSON query plans

I had remembered seeing the following in the release notes for 5.3.0

Return query plans in JSON (#4532)

and was interested in taking a look at it so I checked the docs on the man page for query explain but didn't see any options for returning JSON. Ok, so maybe it's just the api returns JSON and the CLI converts it to text so I checked the apiary docs and it didn't indicate anything about JSON either.

https://stardog.docs.apiary.io/#reference/core-api/executing-an-update-query-in-a-transaction/post

I would have just given a request a try with JSON type but unfortunately I don't have access to a current version that I can try right now. Am I looking in the right place?

You're looking in exactly the right place. A request to /{db}/explain with Accept: application/json will return a JSON object.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.