Can we get a more readable cache.json? #165
BettyJJ
started this conversation in
Discussions
Replies: 1 comment 6 replies
-
You can code your own storage adapter or use a different third-party one: https://github.com/jaredwray/keyv/blob/main/packages/keyv/README.md#third-party-storage-adapters Or set your own functions for The reason it's formatted like that is because the encode/serialization process turns the data into JSON. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't change anything in the settings, so the conversations are saved in cache.json as default.
Now the content of the file is like this:
It would be a lot more readable if it was like this:
The main problem is not the newline, but the escape sequences
\"
. Because of them, I can't use auto formatters to format the file into a readable fashion.Do you think it is possible to change that? Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions