/string-lists-to-JSON-organized-list-converter-

this small c program converts whatever string lists to json organized files

Primary LanguageC

string-lists-to-JSON-organized-list-converter-

this small c program converts whatever string lists to json organized files

To run the app, just run the terminal in the directory: bin/Debug/ then run $ ./JSONconverter

// if it doesn't work then you may need to update it's execution rights, so you'll have to run this command in the same directory:

$ chmod +x JSONconverter

then run again this command:

$ ./JSONconverter


input/output example:

input:

ATM ATV Dealer ATV Repair Shop Abbey Abortion Clinic Abrasives Supplier Abundant Life Church Accountant Accounting School Acoustical Consultant Acupuncture Clinic Acupuncture School Acura Dealer Addiction Treatment Center Adoption Agency Adult Day Care Center Adult Education School Adult Entertainment Club Adult Entertainment Store Adult Foster Care Service Advertising Agency Aerobics Instructor

output:

{ "element_0": "ATM", "element_1": "ATV Dealer", "element_2": "ATV Repair Shop", "element_3": "Abbey", "element_4": "Abortion Clinic", "element_5": "Abrasives Supplier", "element_6": "Abundant Life Church", "element_7": "Accountant", "element_8": "Accounting School", "element_9": "Acoustical Consultant", "element_10": "Acupuncture Clinic", "element_11": "Acupuncture School", "element_12": "Acura Dealer", "element_13": "Addiction Treatment Center", "element_14": "Adoption Agency", "element_15": "Adult Day Care Center", "element_16": "Adult Education School", "element_17": "Adult Entertainment Club", "element_18": "Adult Entertainment Store", "element_19": "Adult Foster Care Service", "element_20": "Advertising Agency", "element_21": "Aerobics Instructor" }