1
0 Comments

I have a file in text format called proxy.txt that includes:

84.15.160.174:4145
178.208.17.195:9999
58.253.154.117:9999
112.87.71.194:9999

I discovered a website at https://shancarter.github.io/mr-data-converter/ that can transform text into JSON format. I want to perform the same conversion in a batch process and save the result in a file named output.txt.

[{"84.15.160.174:4145":"178.208.17.195:9999"},
{"58.253.154.117:9999":"112.87.71.194:9999"}]
Askify Moderator Edited question April 24, 2023