pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
239 stars 73 forks source link

Reading Arrays #98

Closed iamSHAN98 closed 12 months ago

iamSHAN98 commented 12 months ago

Is there a way to read arrays i.e. YAML lists ? like Range : [0., 20.]

iamSHAN98 commented 12 months ago

So this seems to be the way

double Min, Max fy_document_scanf(RootNode, "/Range/0 %lf /Range/1 %lf", &Min, &Max);