View source code
Display the source code in dmd/json.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.json

Code for generating .json descriptions of the module when passing the -X flag to dmd.

Documentation

https://dlang.org/phobos/dmd_json.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/json.d

Functions

NameDescription
json_generate(modules, buf) Generate json for the modules.
tryParseJsonField(fieldName) Parse the given fieldName and return its corresponding JsonFieldFlags value.

Manifest constants

NameTypeDescription
jsonFieldNames A string listing the name of each JSON field. Useful for errors messages.

Authors

Walter Bright

License

Boost License 1.0