ngrx-store-localstorage icon indicating copy to clipboard operation
ngrx-store-localstorage copied to clipboard

Deserialization of JSON object stored as string fails due to date format.

Open Jason-Malan opened this issue 2 years ago • 0 comments

I've got a object that has a string property that is actually just serialized json. It seems that when this object gets rehydrated the Deserializer tries to parse it into a date if a date is specified in the string with the format of 2023-03-17T10:46:56.723Z.

For now we are just storing dates without the time part but would like to be able to store it as the above and not have the deserializer treat our string as a date since its actually a JSON object, it just happens to have a date in said format within it.

Jason-Malan avatar Mar 17 '23 10:03 Jason-Malan