Ali Çehreli:

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

Is this better/worse?

auto content = "json_file".readText;

Bye,
bearophile

Reply via email to