PSJsonSerializer.Serialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Serialize(Object) | |
Serialize(Object, PSJsonSerializer+SerializeContext) | |
Serialize(Object, Boolean) |
Serialize(Object)
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