Selecting and reading storage
Choosing localStorage or sessionStorage changes which browser Storage object is inspected. Every entry consists of a string key and a string value. Search narrows the displayed records. When a stored string is valid JSON, JSON formatting can expose its object or array structure for inspection. Plain text and malformed JSON remain strings rather than becoming structured data.