Table of Contents

Class JsonExporter

Namespace
BenchmarkDotNet.Exporters.Json
Assembly
BenchmarkDotNet.dll
public class JsonExporter : JsonExporterBase, IExporter
Inheritance
JsonExporter
Implements
Inherited Members

Constructors

JsonExporter(string, bool, bool)

public JsonExporter(string fileNameSuffix = "", bool indentJson = false, bool excludeMeasurements = false)

Parameters

fileNameSuffix string
indentJson bool
excludeMeasurements bool

Fields

Brief

public static readonly IExporter Brief

Field Value

IExporter

BriefCompressed

public static readonly IExporter BriefCompressed

Field Value

IExporter

Default

public static readonly IExporter Default

Field Value

IExporter

Full

public static readonly IExporter Full

Field Value

IExporter

FullCompressed

public static readonly IExporter FullCompressed

Field Value

IExporter

Properties

FileNameSuffix

protected override string FileNameSuffix { get; }

Property Value

string

Methods

Custom(string, bool, bool)

public static IExporter Custom(string fileNameSuffix = "", bool indentJson = false, bool excludeMeasurements = false)

Parameters

fileNameSuffix string
indentJson bool
excludeMeasurements bool

Returns

IExporter