Is there a way to convert json files to text?
The ability to save JSON files from AI chat is awesome! I'm wondering as a backup if something happens to perchance, is there a way to convert these into text?
Syndicated from the fediverse. Read and engage on the original instance.
View original on lemmy.worldThe ability to save JSON files from AI chat is awesome! I'm wondering as a backup if something happens to perchance, is there a way to convert these into text?
7 replies
JSON is text.
You're right. I mean, in a way that it retains the format, like when I copy/paste the text into microsoft word
JSON should be text already since it is just a data structure and not a binary file format. You should be able to cut-n-paste whatever you want.
What do you aim to backup to plain text? What AI Chat are you using i.e. https://perchance.org/ai-chat or https://perchance.org/ai-character-chat ?
The first one. I want to backup it in the proper format, if you open the json its all jumbled. I want to bakc it up like if you just select all and copy paste the chat
Here's a viewer:
https://perchance.org/ac-backup-json-viewer
If you're using AI-Chat, you should be able to scroll down to the bottom of the screen and below "save chat, load, share", there'll be a button that says "Copy Chat Logs Without Summaries". This will copy your chat in plain-text into your clipboard, and you can then paste it into a blank text file to save it.
Is that what you were trying to do?