C# Class Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions.JTokenExtensions

A helper class for converting JObject and JToken objects to PSObject classes.
Show file Open project: Azure/azure-powershell Class Usage Examples

Private Methods

Method Description
ConvertPropertyValueForPsObject ( JToken propertyValue ) : object

Converts a property value for a JObject into an object that can be used as the value of a PSNoteProperty.

ToPsObject ( this jtoken, string objectType = null ) : System.Management.Automation.PSObject

Converts a JObject to a PSObject