Provides the ability to read and write Smithy models in the JSON AST representation.
The following demonstrates the JsonReader
to parse a model.
```rust use ateliercore::io::readmodelfromstring; use atelier_json::JsonReader;
let mut reader = JsonReader::default(); let result = readmodelfromstring(&mut reader, JSON); if result.iserr() { println!("{:?}", result); } assert!(result.is_ok()); println!("{:#?}", result.unwrap()); ```
Version 0.2.2
Version 0.2.1
HasIdentity
and HasTraits
.Version 0.2.0
Version 0.1.4
ModelReader
and ModelWriter
.
representation
methodFILE_EXTENSION
constant.Version 0.1.3
ModelReader
and ModelWriter
.Version 0.1.2
members
on structure and union shapes.Version 0.1.1
Version 0.1.0
None.