Partager via


JsonOutputSerializationFormatTypeConverter Class

Definition

Specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects.

public class JsonOutputSerializationFormatTypeConverter : System.Management.Automation.PSTypeConverter
type JsonOutputSerializationFormatTypeConverter = class
    inherit PSTypeConverter
Public Class JsonOutputSerializationFormatTypeConverter
Inherits PSTypeConverter
Inheritance
JsonOutputSerializationFormatTypeConverter

Constructors

JsonOutputSerializationFormatTypeConverter()

Methods

CanConvertFrom(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

CanConvertTo(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

ConvertTo(Object, Type, IFormatProvider, Boolean)

NotImplemented -- this will return null

Applies to