Skip to main content

default_json_encode_limits

Function default_json_encode_limits 

Source
pub fn default_json_encode_limits() -> JsonEncodeLimits
Expand description

Creates the default metadata JSON encoding profile.

The profile applies the protocol’s complete-output byte limit together with the shared metadata JSON value limits.

§Returns

An encoding profile configured with the protocol defaults.