Cmdlets for JSON

Build 25.0.9539

EscapeXPathCharacters Parameter (Connect-JSON Cmdlet)

Whether to escape reserved XPath characters when they appear in object names.

Syntax

Connect-JSON -EscapeXPathCharacters SwitchParameter

Data Type

bool

Default Value

false

Remarks

For simplicity and backwards compatibility, this property defaults to false. When this property is set to true, characters like solidus and reverse solidus are escaped with the reverse solidus character when they appear in object names. This will affect how the JSON object key is referenced internally, and will also affect path references to the JSON object in generated schema files.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539