JsonObject.ConvertFromJson Method (String, ErrorRecord)

 

Applies To: Windows PowerShell

Convert a Json string back into an object. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

Syntax

public static object ConvertFromJson(
    string input,
    out ErrorRecord error
)
public:
static Object^ ConvertFromJson(
    String^ input,
    [OutAttribute] ErrorRecord^% error
)
static member ConvertFromJson : 
        input:string *
        error:ErrorRecord byref -> Object
Public Shared Function ConvertFromJson (
    input As String,
    <OutAttribute> ByRef error As ErrorRecord
) As Object

Parameters

Return Value

Type: System.Object

The converted object.

See Also

JsonObject Class
Microsoft.PowerShell.Commands Namespace

Return to top