JsonObject.ConvertToJson(Object, JsonObject+ConvertToJsonContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- context
- JsonObject.ConvertToJsonContext