Crates.io | atelier_json |
lib.rs | atelier_json |
version | 0.2.7 |
source | src |
created_at | 2020-06-22 02:57:56.667467 |
updated_at | 2021-07-12 14:33:07.073764 |
description | Rust native JSON format for the AWS Smithy IDL. |
homepage | |
repository | https://github.com/johnstonskj/rust-atelier.git |
max_upload_size | |
id | 256540 |
size | 104,852 |
Provides the ability to read and write Smithy models in the JSON AST representation.
The following demonstrates the JsonReader
to parse a model.
use atelier_core::io::read_model_from_string;
use atelier_json::JsonReader;
let mut reader = JsonReader::default();
let result = read_model_from_string(&mut reader, JSON);
if result.is_err() {
println!("{:?}", result);
}
assert!(result.is_ok());
println!("{:#?}", result.unwrap());
Version 0.2.7
Version 0.2.6
Version 0.2.5
Version 0.2.4
Version 0.2.3
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.