Skip to main content

fixed_json/
lib.rs

1#![no_std]
2
3#[cfg(feature = "std")]
4extern crate std;
5
6mod builder;
7mod error;
8mod model;
9mod number;
10mod parser;
11mod serializer;
12mod validator;
13
14pub use builder::ObjectBuilder;
15pub use error::{Error, Result, error_string};
16pub use model::{
17    Array, Attr, AttrKind, DefaultValue, EnumValue, JSON_ATTR_MAX, JSON_VAL_MAX, Target,
18    TargetBool, TargetChar, TargetF64, TargetI16, TargetI32, TargetU16, TargetU32,
19};
20pub use parser::{cstr, read_array, read_object};
21pub use serializer::JsonSerializer;
22pub use validator::validate_json;