gc_value 0.1.0

Generic value type, capturing the data model of common formats such as JSON, YAML and CBOR, based on Arc for cheap cloning.
Documentation
GcValue
=======

`GcValue` (for Garbage-collected Value) is a generic value type,
capturing the data model of common formats such as [JSON], [YAML], [CBOR],
and the [INFRA] API.

It uses [`Arc`] for cheap cloning,
mimicking the assumptions of garbage-collected language (such as Javascript).

It also supports serialization/deserialization via [`serde`].

## Motivation
This crate was created for implementing algorithms from W3C specifications,
many of which use [INFRA] as the underlying data model,
and are written assuming a garbage-collected language.

The corresponding value types in format-specific crates
(i.e. [`serde_json::Value`]) are not entirely suited,
as they favor mutability over cheap cloning.

[JSON]: https://www.json.org/json-en.html
[YAML]: https://yaml.org/spec/
[CBOR]: https://cbor.io/
[INFRA]: https://infra.spec.whatwg.org/
[`Arc`]: https://doc.rust-lang.org/std/sync/struct.Arc.html
[`serde`]: https://serde.rs/
[W3C]: https://www.w3.org/
[`serde_json::Value`]: https://docs.rs/serde_json/latest/serde_json/enum.Value.html