Partager via


PSJsonSerializer.Serialize Method

Definition

Overloads

Serialize(Object)
Serialize(Object, PSJsonSerializer+SerializeContext)
Serialize(Object, Boolean)

Serialize(Object)

public static string Serialize (object value);
static member Serialize : obj -> string
Public Shared Function Serialize (value As Object) As String

Parameters

value
Object

Returns

Applies to

Serialize(Object, PSJsonSerializer+SerializeContext)

public static string Serialize (object value, Microsoft.Azure.Commands.ResourceManager.Cmdlets.Json.PSJsonSerializer.SerializeContext context);
static member Serialize : obj * Microsoft.Azure.Commands.ResourceManager.Cmdlets.Json.PSJsonSerializer.SerializeContext -> string
Public Shared Function Serialize (value As Object, context As PSJsonSerializer.SerializeContext) As String

Parameters

value
Object

Returns

Applies to

Serialize(Object, Boolean)

public static string Serialize (object value, bool serializeSecureString = false);
static member Serialize : obj * bool -> string
Public Shared Function Serialize (value As Object, Optional serializeSecureString As Boolean = false) As String

Parameters

value
Object
serializeSecureString
Boolean

Returns

Applies to