Saving and loading nested state to JSON and from JSON (store serialization). #2688
Unanswered
bukowa
asked this question in
Help and Questions
Replies: 1 comment
-
Maybe take a look at pinia-plugin-persistedstate. There are other plugins that provide similar functionality, if you still want to roll your own, you can at least take a look at their implementations and get some inspiration. Serializing to/from JSON should work fine for most cases. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I am looking for a simple way to save and load my store to
JSON
.I wonder what's the best way for this serialization to work out of the box?
I wonder if there is any standard for this or / my approach is wrong?
Beta Was this translation helpful? Give feedback.
All reactions