You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test 1
string
string
test 2
string
number
test 3
string
object
Should they not all return string? Is the auto-parsing is the desired behavior? Where is this documented? I couldn't find it here.
The text was updated successfully, but these errors were encountered:
Gbox4
changed the title
.get() is automatically running JSON.parse() on the result without telling you
.set() is automatically running JSON.parse() on the result without telling you
Jun 27, 2023
Hi @Gbox4, thanks for the report. The documentation should be clearer here. Automatic deserialization is enabled for the default client (kv) but if you want to disable it, you can create a separate client with automaticDeserialization: false via the createClient method. That looks like:
If you run:
you get:
Should they not all return
string
? Is the auto-parsing is the desired behavior? Where is this documented? I couldn't find it here.The text was updated successfully, but these errors were encountered: