tough-cookie.serializedcookiejar.md

August 1, 2025 ยท View on GitHub

Home > tough-cookie > SerializedCookieJar

SerializedCookieJar interface

A JSON representation of a CookieJar.

Signature:

interface SerializedCookieJar 

Properties

Property

Modifiers

Type

Description

cookies

SerializedCookie[]

The list of Cookie values serialized as JSON objects.

rejectPublicSuffixes

boolean

The value of CreateCookieJarOptions.rejectPublicSuffixes configured on the CookieJar.

storeType

string | null

The name of the store used during serialization.

version

string

The version of tough-cookie used during serialization.