[banjo] Add support for parsing fidl IR JSON into structs.

This lands initial support for parsing fidl IR JSON. The next step will
be to take the deserialized structs and merge it into our AST
representation so that the types can be used as easily as banjo types.

The JSON schema doesn't match up entirely with the output from fidlc, so
the representations doesn't line up with the schema perfectly.

The test is not comprehensive as it is missing many variations of
structs.

Tested: fx run-host-tests banjo_host_tests
Change-Id: Id8603e829a876ddfdfa09c755fd085403b897854
8 files changed
tree: 8a2203dcdd97b7900b6579d3b825da9d1a452815
  1. .clang-format
  2. .dir-locals.el
  3. .gitattributes
  4. .gitignore
  5. .gn
  6. AUTHORS
  7. BUILD.gn
  8. CODE_OF_CONDUCT.md
  9. CONTRIBUTING.md
  10. LICENSE
  11. OWNERS
  12. PATENTS
  13. README.md
  14. boards/
  15. build/
  16. buildtools/
  17. bundles/
  18. docs/
  19. examples/
  20. garnet/
  21. peridot/
  22. products/
  23. rustfmt.toml
  24. scripts/
  25. sdk/
  26. src/
  27. third_party/
  28. tools/
  29. zircon/
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.