JSON stringify a value of any type, and returns an unsafe string. The string
is "unsafe" because you might not be able to restore the original object
using the serialized JSON. This is specifically used for query key generation
and is not suitable for more general uses.
Note: The given value should not contain any functions because functions
cannot be serialized and deserialized properly.
JSON stringify a value of any type, and returns an unsafe string. The string is "unsafe" because you might not be able to restore the original object using the serialized JSON. This is specifically used for query key generation and is not suitable for more general uses.
Note: The given value should not contain any functions because functions cannot be serialized and deserialized properly.