# `BoundedAuthorityProtocol.V1.Jcs`
[🔗](https://github.com/baselabs/bounded_authority_protocol/blob/v1.0.0/lib/bounded_authority_protocol/v1/jcs.ex#L1)

Bounded RFC 8785 serialization for the closed v1 tagged JSON algebra.

# `encode`

```elixir
@spec encode(
  BoundedAuthorityProtocol.V1.Json.value(),
  BoundedAuthorityProtocol.V1.Bounds.t() | map()
) ::
  {:ok, binary()} | {:error, :invalid}
```

Encodes one tagged JSON value as bounded RFC 8785 bytes.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
