Skip to content

Commit 73d327e

Browse files
authored
Merge pull request #125877 from katriendg/patch-1
Update reference data - JSON lines format
2 parents c04b087 + 96b4b97 commit 73d327e

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,11 @@ You can enrich data by using the *contextualization datasets* function. When inc
1919

2020
To load sample data into the state store, use the [state store CLI](https://github.com/Azure-Samples/explore-iot-operations/tree/main/tools/statestore-cli).
2121

22-
For example, consider the following dataset with a few records, represented as JSON records:
22+
For example, consider the following dataset with a few records, using the [JSON lines format](https://jsonlines.org/):
2323

2424
```json
25-
{
26-
"Position": "Analyst",
27-
"BaseSalary": 70000,
28-
"WorkingHours": "Regular"
29-
},
30-
{
31-
"Position": "Receptionist",
32-
"BaseSalary": 43000,
33-
"WorkingHours": "Regular"
34-
}
25+
{ "Position": "Analyst", "BaseSalary": 70000, "WorkingHours": "Regular" }
26+
{ "Position": "Receptionist", "BaseSalary": 43000, "WorkingHours": "Regular" }
3527
```
3628

3729
The mapper accesses the reference dataset stored in the Azure IoT Operations [state store](../create-edge-apps/concept-about-state-store-protocol.md) by using a key value based on a *condition* specified in the mapping configuration. Key names in the state store correspond to a dataset in the data flow configuration.

0 commit comments

Comments
 (0)