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

# V8CpuProfileToJson Method

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

    public string ToJson()

    Public Function ToJson As String

    public:
    String^ ToJson()

    member ToJson : unit -> string

#### Return Value

String
A JSON representation of the profile in V8 Inspector format.
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