Skip to content

Commit 7d98732

Browse files
committed
edit pass: processing-and-routing-data-batch2
1 parent a568056 commit 7d98732

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/iot-operations/connect-to-cloud/concept-dataflow-mapping.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -150,27 +150,27 @@ In the previous example, the path consists of three segments: `Payload`, `Tag.10
150150

151151
* **Escape each segment separately:** If multiple segments contain dots, those segments must be enclosed in quotation marks. Other segments can also be quoted, but it doesn't affect the path interpretation:
152152

153-
```yaml
154-
- inputs:
155-
- 'Payload."Tag.10".Measurements."Vibration.$12".Value'
156-
```
157-
153+
```yaml
154+
- inputs:
155+
- 'Payload."Tag.10".Measurements."Vibration.$12".Value'
156+
```
157+
158158
* **Proper use of double quotation marks:** Double quotation marks must open and close an escaped segment. Any quotation marks in the middle of the segment are considered part of the field name:
159159

160-
```yaml
161-
- inputs:
162-
- 'Payload.He said: "Hello", and waved'
163-
```
164-
165-
This example defines two fields in `dataDestination`: `Payload` and `He said: "Hello", and waved`. When a dot appears under these circumstances, it continues to serve as a separator:
166-
167-
```yaml
168-
- inputs:
169-
- 'Payload.He said: "No. It's done"'
170-
```
171-
172-
In this case, the path is split into the segments `Payload`, `He said: "No`, and `It's done"` (starting with a space).
173-
160+
```yaml
161+
- inputs:
162+
- 'Payload.He said: "Hello", and waved'
163+
```
164+
165+
This example defines two fields in `dataDestination`: `Payload` and `He said: "Hello", and waved`. When a dot appears under these circumstances, it continues to serve as a separator:
166+
167+
```yaml
168+
- inputs:
169+
- 'Payload.He said: "No. It's done"'
170+
```
171+
172+
In this case, the path is split into the segments `Payload`, `He said: "No`, and `It's done"` (starting with a space).
173+
174174
### Segmentation algorithm
175175
176176
* If the first character of a segment is a quotation mark, the parser searches for the next quotation mark. The string enclosed between these quotation marks is considered a single segment.

0 commit comments

Comments
 (0)