“Structured objects” is more precisely structured-cloneable JavaScript values: primitives, plain objects, arrays, maps, sets, dates, blobs, files, typed arrays, and more—but generally not functions, DOM nodes, symbols, or custom prototype behavior.
| Category | Technology | Accepted input / payload |
|---|---|---|
| Storage | localStorage / sessionStorage |
String keys and values. Other values are implicitly converted to strings; objects require explicit serialization such as JSON. |
| Storage | Cookies | Strings encoded using cookie syntax. |
| Storage | IndexedDB | Structured-cloneable values. Keys are restricted to numbers, dates, strings, binary values, or arrays of valid keys. |
| Storage | Cache Storage API | Request → Response pairs. Response bodies can contain text, binary data, blobs, or streams. |