pub fn valueMaxDepth(self: *Serializer, val: anytype, options: ValueOptions, depth: usize) DepthError!void self: *Serializervaloptions: ValueOptionsdepth: usize119
120
121
122pub fn valueMaxDepth(self: *Serializer, val: anytype, options: ValueOptions, depth: usize) DepthError!void {
try checkValueDepth(val, depth);
return self.valueArbitraryDepth(val, options);
}
Serialize a value, similar to
serializeMaxDepth. Can returnerror.ExceededMaxDepth.