jsonpointer_flatten 0.1.3

Library to flatten a JSON object or array using JSON Pointer addressing
Documentation
# jsonpointer_flatten

![crates.io](https://img.shields.io/crates/v/jsonpointer_flatten.svg)
![docs.rs](https://docs.rs/jsonpointer_flatten/badge.svg)

Rust library to flatten a JSON object using JSON Pointer field addressing as defined in [IETF RFC 6901](https://datatracker.ietf.org/doc/html/rfc6901).

## Usage

```rust
let value = json!(
    {
        "name": "John Smith",
        "age": 24,
        "address": {
            "country": "US",
            "zip": "00000"
        },
        "phones": [ "123", "456" ]
    }
);

let actual = jsonpointer_flatten::from_json(&value);
```

Outputs
```json
{
  "": {},
  "/address": {},
  "/address/country": "US",
  "/address/zip": "00000",
  "/age": 24,
  "/name": "John Smith",
  "/phones": [],
  "/phones/0": "123",
  "/phones/1": "456"
}
```