We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0b2916 commit 27efa37Copy full SHA for 27efa37
2 files changed
src/container.rs
@@ -21,9 +21,10 @@ pub struct BytesContainer {
21
#[serde(skip)]
22
pub codec: Codec,
23
/// The JSON represantation of the bytes.
24
- #[serde(skip)]
+ #[serde(flatten)]
25
pub json_value: Option<serde_json::Value>,
26
/// The human readable representation of the bytes.
27
+ #[serde(skip)]
28
pub humanized: String,
29
/// Context for encoding errors.
30
tests/integration_tests.rs
@@ -397,7 +397,7 @@ mod tests {
397
.expect("Failed waiting for output");
398
399
cmd.assert().success();
400
- cmd.assert().stdout(contains("\\\"test\\\": \\\"echo\\\""));
+ cmd.assert().stdout(contains("\"test\": \"echo\""));
401
402
Ok(())
403
}
0 commit comments