The text that I have is
"Example": "Example2",
"What": "Huh",
"Really": "yes",
The text inside the "" always changes, but everything else always stays the same. I need to put that into this format:
"Example2": {
"Name": "Example",
},
"Huh": {
"Name": "What",
},
"yes": {
"Name": "Really",
},
Here it's the same. The text inside the "" always changes but the rest stays the same. As you might have noticed, the text also gets inverted, meaning that the "Example" that was in the front is now in the back and vise versa. Do you have an idea on how to automate this process?
My OS: macOS, Kali Linux, and Win11
Notes: The quotes indicate string, as this will be used for programming they are just used to tell the computer that that is a string, they could either be transferred from the original form to the second form, or they could be in the second form the whole time, it really doesn't matter. Also, only letters, ( ), - , _ , dot, and comma can appear inside the text that's inside the "".
What have I tried so far: When I tried to google it, I found only formatting (like italics, bold etc.) not the thing that I want, meaning that I don't even know where to begin, don't know the tool I need/want to use, and haven't tried any tool except zapier formater
"
appear inside quotes? How can it be escaped then? (4) Reasonable research effort is advised. What have you tried so far? Where are you stuck?