Expand description
De/serialization via the JSON format
Requires feature serde_json
Functionsยง
- load
- Load JSON-formatted cookies from
reader
, skipping any expired cookies. NB: This function is not compatible with data produced by CookieStore::save_json or CookieStore::save_incl_expired_and_nonpersistent_json. - load_
all - Load JSON-formatted cookies from
reader
, loading both expired and unexpired cookies. NB: This function is not compatible with data produced by CookieStore::save_json or CookieStore::save_incl_expired_and_nonpersistent_json. - save
- Serialize any unexpired and persistent cookies in the store to JSON format and
write them to
writer
. NB: This function does not produce data compatible with CookieStore::load_json or CookieStore::load_json_all. - save_
incl_ expired_ and_ nonpersistent - Serialize all (including expired and non-persistent) cookies in the store to JSON format and write them to
writer
. NB: This function does not produce data compatible with CookieStore::load_json or CookieStore::load_json_all.