mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
add docstring to std.json.stringify (#16241)
This commit is contained in:
parent
17890f6b8a
commit
b26fa4ec4b
@ -134,6 +134,8 @@ pub fn encodeJsonStringChars(chars: []const u8, options: StringifyOptions, write
|
||||
}
|
||||
}
|
||||
|
||||
/// If `value` has a method called `jsonStringify`, this will call that method instead of the
|
||||
/// default implementation, passing it the `options` and `out_stream` parameters.
|
||||
pub fn stringify(
|
||||
value: anytype,
|
||||
options: StringifyOptions,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user