On 11/13/2013 01:47 AM, bearophile wrote:
Ali Çehreli:

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

Is this better/worse?

auto content = "json_file".readText;

Bye,
bearophile

That is much better.

Ali

Reply via email to