Skip to main content

default_json_decode_limits

Function default_json_decode_limits 

Source
pub fn default_json_decode_limits() -> JsonDecodeLimits
Expand description

Creates the default metadata JSON decoding profile.

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

§Returns

A decoding profile configured with the protocol defaults.