load data from txt file

aerto investotxrt at gmail.com
Tue Jan 2 22:08:52 UTC 2018


Hello and happy new year im new in d so i have a question

i have into a txt file named users.txt the bellow

["admin":"123456789"]
["test":"test345"]


im my app

string[string] data;

so i need to load users.txt content into data in order to be able 
to run


writeln(data["admin"]); // i want this to print 123456789
writeln(data["test"]); // i want this to print test345








More information about the Digitalmars-d mailing list