std.json

bearophile bearophileHUGS at lycos.com
Wed Nov 13 01:47:40 PST 2013


Ali Çehreli:

>     // Assumes UTF-8 file
>     auto content = to!string(read("json_file"));

Is this better/worse?

auto content = "json_file".readText;

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list