You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be the presence of characters that need to be escaped according to the json spec, for example double-quotes or tabulation.
stropitek
changed the title
getAll() fails if my localStorage contains non-valid jsons
getAll() fails if my localStorage contains non json-escaped strings
Feb 20, 2016
If any of my values in localStorage are non-valid json, I get the following error when calling
Lockr.getAll()
Shouldn't we
return missing;
here ?The text was updated successfully, but these errors were encountered: