Skip to content

Commit c7e4398

Browse files
committed
update docs
1 parent 7add09e commit c7e4398

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ See [demo.rs](./examples/demo.rs) and run the examples for more detailed use cas
6868

6969
See the table of crate features below for provided implementations.
7070

71-
| Feature | JSON Type | Default |
72-
| ------------ | ------------------------- | ------- |
73-
| `serde_json` | `serde_json::Value` | Yes |
74-
| `simd_json` | `simd_json::owned::Value` | No |
71+
| Feature/Dependency | JSON Type | Default |
72+
| ------------------ | ------------------------- | ------- |
73+
| `serde_json` | `serde_json::Value` | Yes |
74+
| `simd_json` | `simd_json::owned::Value` | No |
7575

7676
If you wish to use a different JSON type, see the `value` module, and disable default features in your `Cargo.toml` if you do not need the `serde_json` dependency.
7777

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
//! [`JsonTree`] can visualise any type that implements [`ToJsonTreeValue`](trait@value::ToJsonTreeValue).
6565
//! See the table of crate features below for provided implementations.
6666
//!
67-
//! | Feature | JSON Type | Default |
68-
//! | ------------ | ------------------------- | ------- |
69-
//! | `serde_json` | `serde_json::Value` | Yes |
70-
//! | `simd_json` | `simd_json::owned::Value` | No |
67+
//! | Feature/Dependency | JSON Type | Default |
68+
//! | ------------------ | ------------------------- | ------- |
69+
//! | `serde_json` | `serde_json::Value` | Yes |
70+
//! | `simd_json` | `simd_json::owned::Value` | No |
7171
//!
7272
//! If you wish to use a different JSON type, see the [`value`](mod@value) module,
7373
//! and disable default features in your `Cargo.toml` if you do not need the `serde_json` dependency.

src/value.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
//! Write your own [`ToJsonTreeValue`] implementation which converts to [`JsonTreeValue`] if you wish to visualise a custom JSON type with a [`JsonTree`](crate::JsonTree),
44
//! and disable default features in your `Cargo.toml` if you do not need the [`serde_json`] dependency.
55
//!
6-
//! See the [`impl ToJsonTreeValue for serde_json::Value `](../../src/egui_json_tree/value.rs.html#43-77) implementation for reference.
6+
//! For reference, see the provided [`ToJsonTreeValue`] implementations in [`value.rs`](../../src/egui_json_tree/value.rs.html) for the following JSON types:
7+
//! - `serde_json::Value`
8+
//! - `simd_json::owned::Value`
79
810
use std::fmt::Display;
911

0 commit comments

Comments
 (0)