dmd.json

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

Authors

Walter Bright

Source: json.d

  • 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 fieldName and return its corresponding JsonFieldFlags value.

    Parameters

    const(char)* fieldName

    the field name to parse

    Return Value

    JsonFieldFlags.none on error, otherwise the JsonFieldFlags value corresponding to the given fieldName.