1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Core data types for JASN and JAML serialization formats.
//!
//! This crate provides the shared data model used by both JASN (JSON5-like) and JAML (YAML-like)
//! serialization formats. Both formats share the same type system and in-memory representation.
//!
//! # Data Model
//!
//! ```rust
//! use std::collections::BTreeMap;
//! use jasn_core::Value;
//!
//! # fn main() {
//! let mut map = BTreeMap::new();
//! map.insert("name".to_string(), Value::String("Alice".to_string()));
//! map.insert("age".to_string(), Value::Int(30));
//!
//! let value = Value::Map(map);
//! # }
//! ```
//!
//! # Features
//!
//! - `serde` (default): Enable serde serialization/deserialization support
pub use ;