mxpi_dataserialize
Function |
Assembles the stream result into a JSON string for output. You can enter the element name in the configuration file to select the result to be output. |
|---|---|
Constraints |
None |
Synchronous/Asynchronous (Status) |
Asynchronous |
Plugin Base Class (Factory) |
mxpi_dataserialize |
Input/Output |
Input: buffer (data type: MxpiBuffer) and metadata (data type: MxpiClassList or MxpiObjectList) Output: buffer (data type: MxpiBuffer) |
Port Format (Caps) |
Static input: {"ANY"} Static output: {"result/json-result"} |
Property |
For details, see Table 1. |
Property Name |
Description |
Mandatory or Not |
Modifiable or Not |
|---|---|---|---|
outputDataKeys |
Indexes (usually the element name) of the data to be output, separated by commas (,). This plugin concatenates the element data into a JSON string based on the selected element names. The JSON string is used to output the assembling result based on the plugin dependency. |
Yes |
Yes |
eraseHeaderVecFlag |
Whether to delete the data header information. If the information needs to be deleted, set the value to 1 (default); otherwise, set it to 0. |
No |
Yes |