View Source argo_value_printer (argo v1.0.4)

Summary

Types

-type options() :: #{strict => boolean()}.
-type t() ::
    #argo_value_printer{depth :: non_neg_integer(),
                        output :: iolist() | io:device(),
                        strict :: boolean()}.

Functions

-spec finalize(Printer) -> ok | iolist() when Printer :: t().
Link to this function

new_io_device(IoDevice, Options)

View Source
-spec new_io_device(IoDevice, Options) -> Printer
                 when IoDevice :: io:device(), Options :: options(), Printer :: t().
-spec new_string(Options) -> Printer when Options :: options(), Printer :: t().