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: extensions/standard-processors/controllers/JsonRecordSetReader.h
+5-3
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,11 @@ class JsonRecordSetReader final : public core::RecordSetReader {
32
32
~JsonRecordSetReader() override = default;
33
33
34
34
EXTENSIONAPI staticconstexprconstchar* Description = "Parses JSON into individual Record objects. "
35
-
"While the reader expects each record to be well-formed JSON, the content of a FlowFile may consist of many records, each as a well-formed JSON array or JSON object with optional whitespace between them, such as the common 'JSON-per-line' format. "
35
+
"While the reader expects each record to be well-formed JSON, the content of a FlowFile may consist of many records, "
36
+
"each as a well-formed JSON array or JSON object with optional whitespace between them, such as the common 'JSON-per-line' format. "
36
37
"If an array is encountered, each element in that array will be treated as a separate record. "
37
-
"If the schema that is configured contains a field that is not present in the JSON, a null value will be used. If the JSON contains a field that is not present in the schema, that field will be skipped.";
38
+
"If the schema that is configured contains a field that is not present in the JSON, a null value will be used. "
39
+
"If the JSON contains a field that is not present in the schema, that field will be skipped.";
.withDescription("Specifies how the writer should output the JSON records (as an array or one object per line, e.g.) Note that if 'One Line Per Object' is selected, then Pretty Print JSON must be false.")
44
+
.withDescription("Specifies how the writer should output the JSON records (as an array or one object per line, e.g.) "
45
+
"Note that if 'One Line Per Object' is selected, then Pretty Print JSON must be false.")
{"baz":3.141592653589793,"qux":[false,false,true],"is_test":true,"bar":98402134,"quux":{"Apfel":"pomme","Birne":"poire","Aprikose":"abricot"},"foo":"Lorem ipsum dolor sit amet, consectetur adipiscing elit.","when":"2022-11-01T19:52:11Z"}
0 commit comments