ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8CpuProfile Class
V8CpuProfile Methods
ToJson Method
WriteJson Method

# V8CpuProfileWriteJson Method

Writes a JSON representation of the profile to the given text writer.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public void WriteJson(
    	TextWriter writer
    )

    Public Sub WriteJson (
    	writer As TextWriter
    )

    public:
    void WriteJson(
    	TextWriter^ writer
    )

    member WriteJson :
            writer : TextWriter -> unit

#### Parameters

writer TextWriter
  The text writer to which to write the profile.

Remarks
See the V8 Inspector JSON Protocol for schema details.
See Also

#### Reference

V8CpuProfile Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft