Documentation
    Preparing search index...
    BodyParserJSONConfig: BodyParserBaseConfig & {
        strict: boolean;
        convertEmptyStringsToNull: boolean;
    }

    Configuration options for parsing JSON request bodies

    Type Declaration

    • strict: boolean

      Whether to only accept arrays and objects as valid JSON

    • convertEmptyStringsToNull: boolean

      Whether to convert empty strings to null values