Skip to main content

Module ser

Module ser 

Source
Expand description

Minimal JSON serialization helpers used by the ConstJson derive macro.

Functionsยง

begin_array
Write the beginning [ of an array.
begin_object
Write the beginning { of an object.
end_array
Write the closing ] of an array.
end_object
Write the closing } of an object.
field_separator
Insert a field separator ,.
write_bool
Write a boolean JSON value.
write_key
Write a quoted JSON key followed by a colon.
write_signed
Write a signed integer as decimal digits.
write_string
Write a JSON string value (including surrounding quotes).
write_unsigned
Write an unsigned integer as decimal digits.