dmd.json
Code for generating .json
descriptions of the module when passing the -X
flag to dmd.
License
Source: json.d
Documentation: https://dlang.org/phobos/dmd_json.html
-
Declaration
enum string
jsonFieldNames
;A string listing the name of each JSON field. Useful for errors messages.
-
Declaration
JsonFieldFlags
tryParseJsonField
(const(char)*fieldName
);Parse the given
and return its corresponding JsonFieldFlags value.fieldName
Parameters
const(char)*
fieldName
the field name to parse
Return Value
JsonFieldFlags.none on error, otherwise the JsonFieldFlags value corresponding to the given
fieldName
.