Help on asdf json module

9il ilyayaroshenko at gmail.com
Sun Oct 25 08:22:06 UTC 2020


On Sunday, 25 October 2020 at 06:05:27 UTC, Vino wrote:
> Hi All,
>
>    Currently we are testing various json module such as 
> "std.json, std_data_json, vibe.data.json and asdf", the below 
> code works perfectely while use  "std_data_json or 
> vibe.data.json" but not working as expected when we use "asdf" 
> and throwing the below error, hence request your help on the 
> same.
>
> [...]

Hi Vino,

byElement should be used here for ASDF.

foreach(j; jv["items"].byElement)

http://asdf.libmir.org/asdf_asdf.html#.Asdf.byElement


More information about the Digitalmars-d-learn mailing list