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?

3 points · 7 comments · view on lemmy.world

7 Comments

SpaceNoodle@lemmy.world · 9 pts · 1y (1 reply)

JSON is text.

kljafgg9r0@lemmy.world · 2 pts · 1y

You're right. I mean, in a way that it retains the format, like when I copy/paste the text into microsoft word

remotelove@lemmy.ca · 3 pts · 1y

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.

VioneT@lemmy.world · 2 pts · 1y (3 replies)

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 ?

kljafgg9r0@lemmy.world · 2 pts · 1y (2 replies)

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

VioneT@lemmy.world · 3 pts · 1y
Sk1ll_Issue@feddit.nl · 1 pts · 1y

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?