JsonObject.ConvertToJson(Object, JsonObject+ConvertToJsonContext) Method

Definition

Convert an object to JSON string.

public static string ConvertToJson (object objectToProcess, in Microsoft.PowerShell.Commands.JsonObject.ConvertToJsonContext context);
static member ConvertToJson : obj * ConvertToJsonContext -> string
Public Shared Function ConvertToJson (objectToProcess As Object, ByRef context As JsonObject.ConvertToJsonContext) As String

Parameters

objectToProcess
Object

Returns

Applies to