Interface IStringifyBaseOptions

interface IStringifyBaseOptions {
    addQueryPrefix?: boolean;
    arrayFormat?: "repeat" | "indices" | "brackets" | "comma";
    charset?: "utf-8" | "iso-8859-1";
    charsetSentinel?: boolean;
    delimiter?: string;
    encode?: boolean;
    encodeValuesOnly?: boolean;
    encoder?: ((str, defaultEncoder, charset, type) => string);
    filter?: (string | number)[] | ((prefix, value) => any);
    format?: "RFC1738" | "RFC3986";
    indices?: boolean;
    serializeDate?: ((d) => string);
    skipNulls?: boolean;
    sort?: ((a, b) => number);
    strictNullHandling?: boolean;
}

Properties

addQueryPrefix?: boolean
arrayFormat?: "repeat" | "indices" | "brackets" | "comma"
charset?: "utf-8" | "iso-8859-1"
charsetSentinel?: boolean
delimiter?: string
encode?: boolean
encodeValuesOnly?: boolean
encoder?: ((str, defaultEncoder, charset, type) => string)

Type declaration

    • (str, defaultEncoder, charset, type): string
    • Parameters

      • str: any
      • defaultEncoder: defaultEncoder
      • charset: string
      • type: "value" | "key"

      Returns string

filter?: (string | number)[] | ((prefix, value) => any)

Type declaration

    • (prefix, value): any
    • Parameters

      • prefix: string
      • value: any

      Returns any

format?: "RFC1738" | "RFC3986"
indices?: boolean
serializeDate?: ((d) => string)

Type declaration

    • (d): string
    • Parameters

      • d: Date

      Returns string

skipNulls?: boolean
sort?: ((a, b) => number)

Type declaration

    • (a, b): number
    • Parameters

      • a: string
      • b: string

      Returns number

strictNullHandling?: boolean

Generated using TypeDoc