C# Class Microsoft.Azure.Commands.Automation.Common.PowerShellJsonConverter

Show file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
Deserialize ( string json ) : System.Management.Automation.PSObject
Serialize ( object inputObject ) : string

Private Methods

Method Description
InvokeScript ( string scriptName, Hashtable parameters ) : Collection

Invokes a powershell script using the same runspace as the caller.

Method Details

Deserialize() public static method

public static Deserialize ( string json ) : System.Management.Automation.PSObject
json string
return System.Management.Automation.PSObject

Serialize() public static method

public static Serialize ( object inputObject ) : string
inputObject object
return string