# Path Map To JSON ?

This wildcard is substituted with the JSON representation, ensuring that any backslashes in a provided Windows (UNC) input path are properly escaped. It is designed for pointing to media files that necessitate escaped paths. UNIX paths will remain unchanged when processed through this wildcard. This process requires matching path mappings defined in Helmut preferences to ensure mapping across different platforms.

The wildcard is used in the following way:

* {path.map.to.json.?}
* For the following input (?) --> R:\Users\Administrator
* The output is going to be --> R:\\\Users\\\Administrator<br>
* For the following input (?) --> /Volumes/Users/Administrator
* The output is going to be --> /Volumes/Users/Administrator

### **Usage Restriction**

The usage of this wildcard depends on the input path that the client host (macOS or Windows) uses for streaming:

Path mapping: \\\test-filer\Helmut <--> /Volumes/Helmut

**Windows:**

* {path.map.to.json.\\\test-filer\Helmut}
  * Resolves to: \\\\\\\test-filer\\\Helmut
*

```
{path.map.to.json./Volumes/Helmut}
```

```
* Resolves to: \\\test-filer\Helmut
```

**macOS:**

* {path.map.to.json.\\\test-filer\Helmut}
  * Resolves to: \\\\\\\test-filer\\\Helmut
*

```
{path.map.to.json./Volumes/Helmut}
```

```
* Resolves to: /Volumes/Helmut
```

{% hint style="warning" %}
No additional path mapping is applied when using this wildcard, so it’s important to carefully check the input, especially when a variable is used as the input.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/wildcards/path-related-wildcards-9/path-map-to-json.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
