pinia-plugin-persistedstate icon indicating copy to clipboard operation
pinia-plugin-persistedstate copied to clipboard

Support serialisation of Maps

Open Jak2k opened this issue 8 months ago • 0 comments

Clear and concise description of the problem

Maps and Sets are not serialized.

Suggested solution

This should be solvable by passing a replacer to JSON.stringify.

Alternative

No response

Additional context

No response

Validations

  • [x] Follow our Code of Conduct
  • [x] Read the Contributing Guide.
  • [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Jak2k avatar Apr 29 '25 16:04 Jak2k