* Returns the storage as JSON.
()
| 35 | * Returns the storage as JSON. |
| 36 | */ |
| 37 | function storageAsJSON() { |
| 38 | let json = {}; |
| 39 | |
| 40 | Object.entries(storage).forEach(([key, value]) => { |
| 41 | json[key] = storageDataAsString(key); |
| 42 | }); |
| 43 | |
| 44 | return json; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Converts a given storage data to its string representation. |
nothing calls this directly
no test coverage detected