Provide JSON export that puts items in a list #283
Labels
area: api 🤖
area: cli 💻
function: convert 🧪
issue: planned ⌚
Assigned to a specific version's milestone
type: enhancement ✨
Something to add
Hey,
sphobjinv
has been a total lifesaver for understanding the sphinx inventory format, while working on quartodoc!(cc @pawamoy, who I think might use parts of sphobjinv for mkdocstrings, though maybe just exports to
.inv
files? :)Is your feature request related to a problem? Please describe.
Currently, exporting to JSON format puts items on the top-level object, with number keys:
This works pretty well. However, it can feel a bit tricky to grab just the items, and the number keys feel a bit surprising.
Describe the solution you'd like
I wonder if putting items into a list might help with grabbing things / removing key entries?:
Describe alternatives you've considered
Right now, I use the current format and then process it to the proposed one 😅. This works pretty well, so I could see sticking with the existing format to preserve backwards compatibility.
The text was updated successfully, but these errors were encountered: