Skip to content

Latest commit

 

History

History
109 lines (82 loc) · 3.65 KB

tutorial_json.rst

File metadata and controls

109 lines (82 loc) · 3.65 KB

Generators

Using Generator instances to parse JSON schemas

The Generator class is used to parse conduit JSON schemas into a Node.

../../tests/docs/t_conduit_docs_tutorial_examples.cpp

t_conduit_docs_tutorial_examples_out.txt

The Generator can also parse pure json. For leaf nodes: wide types such as int64, uint64, and float64 are inferred.

../../tests/docs/t_conduit_docs_tutorial_examples.cpp

t_conduit_docs_tutorial_examples_out.txt

Schemas can easily be bound to in-core data.

../../tests/docs/t_conduit_docs_tutorial_examples.cpp

t_conduit_docs_tutorial_examples_out.txt

Compacting Nodes

Nodes can be compacted to transform sparse data.

../../tests/docs/t_conduit_docs_tutorial_examples.cpp

t_conduit_docs_tutorial_examples_out.txt