You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ This action will convert an incoming array into a CSV file by following approach
117
117
118
118
Requirements:
119
119
120
-
* The inbound message is an JSON Object;
120
+
* The inbound message is an JSON Object, wrapped by 'inputObject' object;
121
121
* This JSON object has plain structure without nested levels (structured types `objects` and `arrays` are not supported as values). Only primitive types are supported: `strings`, `numbers`, `booleans` and `null`. Otherwise, the error message will be thrown: `Inbound message should be a plain Object. At least one of entries is not a primitive type`.
122
122
123
123
The keys of an input JSON will be published as the header in the first row. For each incoming
@@ -126,9 +126,9 @@ for that cell. All other properties will be ignored. For example, headers
126
126
`foo,bar` along with the following JSON events:
127
127
128
128
```
129
-
{"foo":"myfoo", "bar":"mybar"}
130
-
{"foo":"myfoo", "bar":[1,2]}
131
-
{"bar":"mybar", "baz":"mybaz"}
129
+
{"inputObject": {"foo":"myfoo", "bar":"mybar"}}
130
+
{"inputObject": {"foo":"myfoo", "bar":[1,2]}}
131
+
{"inputObject": {"bar":"mybar", "baz":"mybaz"}}
132
132
```
133
133
134
134
will produce the following `.csv` file:
@@ -158,7 +158,7 @@ This action will convert an incoming array into a CSV file by following approach
158
158
159
159
Requirements:
160
160
161
-
* The inbound message is an JSON Array of Objects with identical structure;
161
+
* The inbound message is an JSON Array of Objects with identical structure, wrapped by 'inputArray' object;
162
162
* Each JSON object has plain structure without nested levels (structured types `objects` and `arrays` are not supported as values). Only primitive types are supported: `strings`, `numbers`, `booleans` and `null`. Otherwise, the error message will be thrown: `Inbound message should be a plain Object. At least one of entries is not a primitive type`.
163
163
164
164
The keys of an input JSON will be published as the header in the first row. For each incoming
@@ -167,11 +167,13 @@ for that cell. All other properties will be ignored. For example, headers
0 commit comments