< Back
Convert-XmlToJson
Post
NAME Convert-XmlToJson
SYNOPSIS
SYNTAX
Convert-XmlToJson -XmlText <String> [-SkipRoot <SwitchParameter>] -Connection <Hashtable> [<CommonParameters>]
DESCRIPTION
The Convert-XmlToJson activity is used in a runbook to convert XML text into JSON text.
PARAMETERS
-XmlText <String>
The XML text to convert to JSON.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SkipRoot [<SwitchParameter>]
Specify to ignore the root XML node
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <Hashtable>
Specifies information used to configure the command.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.String
RELATED LINKS
SYNOPSIS
SYNTAX
Convert-XmlToJson -XmlText <String> [-SkipRoot <SwitchParameter>] -Connection <Hashtable> [<CommonParameters>]
DESCRIPTION
The Convert-XmlToJson activity is used in a runbook to convert XML text into JSON text.
PARAMETERS
-XmlText <String>
The XML text to convert to JSON.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SkipRoot [<SwitchParameter>]
Specify to ignore the root XML node
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <Hashtable>
Specifies information used to configure the command.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.String
RELATED LINKS