Interface IParseBaseOptions

interface IParseBaseOptions {
    allowEmptyArrays?: boolean;
    allowPrototypes?: boolean;
    allowSparse?: boolean;
    arrayLimit?: number;
    charset?: "utf-8" | "iso-8859-1";
    charsetSentinel?: boolean;
    comma?: boolean;
    decoder?: ((str, defaultDecoder, charset, type) => any);
    delimiter?: string | RegExp;
    depth?: number | false;
    duplicates?: "combine" | "first" | "last";
    ignoreQueryPrefix?: boolean;
    interpretNumericEntities?: boolean;
    parameterLimit?: number;
    parseArrays?: boolean;
    plainObjects?: boolean;
    strictNullHandling?: boolean;
}

Properties

allowEmptyArrays?: boolean
allowPrototypes?: boolean
allowSparse?: boolean
arrayLimit?: number
charset?: "utf-8" | "iso-8859-1"
charsetSentinel?: boolean
comma?: boolean
decoder?: ((str, defaultDecoder, charset, type) => any)

Type declaration

    • (str, defaultDecoder, charset, type): any
    • Parameters

      • str: string
      • defaultDecoder: defaultDecoder
      • charset: string
      • type: "value" | "key"

      Returns any

delimiter?: string | RegExp
depth?: number | false
duplicates?: "combine" | "first" | "last"
ignoreQueryPrefix?: boolean
interpretNumericEntities?: boolean
parameterLimit?: number
parseArrays?: boolean
plainObjects?: boolean
strictNullHandling?: boolean

Generated using TypeDoc