stdx.data.json needs a layer on top

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 24 14:50:58 PDT 2015


On 06/23/2015 04:06 PM, Sönke Ludwig wrote:
> 
> Do you, or anyone else, have further ideas for higher level
> functionality, or any concrete examples in other standard libraries?

Allowing to lazily foreach over elements would be nice.

foreach (elem; nodes.readArray)
{
    // each elem would be a bounded node stream (range)
    foreach (key, value; elem.readObject)
    {
    }
}


More information about the Digitalmars-d mailing list