Esc

write_json

procedureextensionsince 0.36.1Source
  • macOS: write_json works on macOS
  • Linux: write_json works on Linux
  • Windows: write_json works on Windows
  • Wasm: write_json works on Wasm

Appends the proto3 JSON of a message to a builder. On failure part of it may be written.

Signature

write_json :: (
    builder: *String_Builder,
    value: $T,
    options := Json_Options.{}
) -> Error

See also