Serialize V to compact JSON on OS.

Synopsis

Declared in <llvm/Support/JSON.h>

llvm::raw_ostream&
operator<<(
    llvm::raw_ostream& OS,
    Value const& V);

Description

The formatting is compact (no extra whitespace) and deterministic. For pretty‐printing, use the formatv() format_provider below.

Return Value

OS after writing compact JSON for V.

Parameters

Name

Description

OS

Stream to write JSON to.

V

Value to serialize.

Created with MrDocs