Is there any way to configure JSDoc such that the output is in JSON format instead of the usual HMTL format?
There is an option "-X" ("explain") which creates a JSON file with parsed AST.
jsdoc -X ./mylib/ > jsdoc-ast.json
To understand this JSON you can use documented schema: https://github.com/jsdoc/jsdoc/blob/master/packages/jsdoc/lib/jsdoc/schema.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With