Achtung! This library is in early development state so it's unstable. It works now, but there are no guarantees for API stability (it may change during development). We are testing this library inside our projects and adopting some features to make it feel better. Please wait for version 1.0 and don't use it inside real projects.
This library is default serializer for Specificator.
Install from npm Registry:
npm install --save-dev @flaksp/specificator-serializer
The package is also available in GitHub Package Registry.
;;;;;;console.logserializedDocumentationJson; // prints your documentation in JSON
Serializer constructor accepts optional configuration object. Example:
Possible configuration parameters are listed below.
Boolean. Sort all object keys alphabetically. Defaults to