The input is a JSON document generated by the JSON Generator Snap and contains fields of various data types. The output data preview is as follows:
The dataset from the JSON Generator Snap is sent to two Type Inspector Snaps. The first Type Inspector Snap is configured as follows:
The second Type Inspector Snap is configured as follows:
The first Type Inspector Snap replaces the values with their types and the output preview is as follows:
For the second Type Inspector Snap, based on the configuration, the output contains the full class names of the data types in an aggregated form which tells the number of values in each type:
Download this pipeline.