C# Class Microsoft.HockeyApp.Extensibility.Implementation.JsonSerializer

显示文件 Open project: bitstadium/HockeySDK-Windows

Private Methods

Method Description
ConvertExceptionTree ( Exception exception, ExceptionDetails parentExceptionDetails, List exceptions ) : void
CreateCompressedStream ( Stream stream ) : Stream

Creates compressed if possible, otherwise returns original stream.

SeializeToStream ( IEnumerable telemetryItems, TextWriter streamWriter ) : void

Serializes telemetryItems and write the response to streamWriter.

Serialize ( IEnumerable telemetryItems, bool compress = true ) : byte[]
Serialize ( ITelemetry telemetryItem, bool compress = true ) : byte[]
SerializeAsString ( IEnumerable telemetryItems ) : string

Serializes telemetryItems into a JSON string. Each JSON object is separated by a new line.

SerializeAsString ( ITelemetry telemetry ) : string

Serializes a telemetry into a JSON string.

SerializeCrash ( CrashTelemetry telemetry, JsonWriter writer ) : void

Serializes the crash.

SerializeCrashBinaries ( IList binaries, JsonWriter writer ) : void

Serializes the crash binaries.

SerializeCrashThreadFrames ( IList frames, JsonWriter writer ) : void

Serializes the crash thread frames.

SerializeCrashThreads ( IList threads, JsonWriter writer ) : void

Serializes the crash threads.

SerializeDependencyTelemetry ( DependencyTelemetry dependencyTelemetry, JsonWriter writer ) : void
SerializeEventTelemetry ( EventTelemetry eventTelemetry, JsonWriter writer ) : void
SerializeExceptionTelemetry ( ExceptionTelemetry exceptionTelemetry, JsonWriter writer ) : void
SerializeExceptions ( IEnumerable exceptions, IJsonWriter writer ) : void
SerializeMetricTelemetry ( MetricTelemetry metricTelemetry, JsonWriter writer ) : void
SerializePageViewTelemetry ( PageViewTelemetry pageViewTelemetry, JsonWriter writer ) : void
SerializePerformanceCounter ( PerformanceCounterTelemetry performanceCounter, JsonWriter writer ) : void

Serializes this object in JSON format.

SerializeRequestTelemetry ( RequestTelemetry requestTelemetry, JsonWriter jsonWriter ) : void
SerializeSessionStateTelemetry ( SessionStateTelemetry sessionStateTelemetry, JsonWriter jsonWriter ) : void
SerializeStackFrame ( StackFrame frame, IJsonWriter writer ) : void
SerializeTelemetryItem ( ITelemetry telemetryItem, JsonWriter jsonWriter ) : void
SerializeTraceTelemetry ( TraceTelemetry traceTelemetry, JsonWriter writer ) : void