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
@sh977218 as I didn't want to limit the librarys users to only one way of serialization it's up to you.
You could use JSON.stringify() for example to create the serialized object and JSON.parse() to get it back as an object.
I can understand your request and openen a new feature request #24 to provide a default (de)serializer (using the mentioned JSON.stringify()/JSON.parse()) which will be used when omitting the (de)serializer paramter.
Is there any way I can do
this.localStorageService.set('myKey',{myValue: 1 })
?The text was updated successfully, but these errors were encountered: