# Struct json::SignedJson

> A signed object as it travels in JSON: the canonical bytes `B` and the composite signature, both base64url. Receivers verify `sig` over `bytes` with the context of the object type 

`zaun_community_protocol::json::SignedJson` · Struct

```rust
pub struct SignedJson { … }
```

A signed object as it travels in JSON: the canonical bytes `B` and the
composite signature, both base64url. Receivers verify `sig` over `bytes` with the context of
the object type they expect before decoding `bytes`.

## Fields

### `bytes: Vec<u8>`

Canonical encoding `B` of the object.

### `sig: Vec<u8>`

Encoded `Signature`.

## Trait implementations

`Clone`, `Debug`, `Deserialize<'de>`, `Eq`, `From<Signed<T>>`, `PartialEq`, `Serialize`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/json/struct.SignedJson.html)
