serde-er7 0.1.3

Serialize and deserialize ER7 (HL7® v2 pipe-hat encoding) message trees with Serde, so they can flow through JSON, YAML, or any other Serde data format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Examples

Runnable programs, one concept each. Run any of them with:

```sh
cargo run --example <name>
```

| Example | Shows |
| ------- | ----- |
| [`round_trip_via_json`]round_trip_via_json.rs | ER7 → `Message` → JSON → `Message` → ER7, byte for byte unchanged — the crate's flagship path |
| [`build_message_from_json`]build_message_from_json.rs | The reverse: hand-written JSON → `Message` → ER7, for building a message from an API request |
| [`inspect_a_segment_as_json`]inspect_a_segment_as_json.rs | Serializing one `Segment` on its own, and the exact array/object shape each tree level chooses |

See `docs/usage/index.md` for the walk-through these examples are drawn
from, and `docs/api/index.md` for the full type reference.