Serialize and stringify the specified value into a JSON string
Optional
with a SerializationResult<T> & { error: string } if stringification fails
SerializationResult<T> & { error: string }
Serialize and stringify the specified value into a JSON string