Parse JSON column transform
Use this transform to parse a string column that contains JSON data.
To add a Parse JSON Column transform:
-
Navigate to your visual ETL job in Amazon SageMaker Unified Studio.
-
Choose the plus icon to open the Add nodes menu.
-
Under Transforms, choose Parse JSON Column.
-
Select the diagram to add the node to your visual ETL job.
-
Connect the transform node to a data source node.
-
Select the node on the diagram to view details about the transform.
-
Under JSON column, choose the column that contains JSON data
-
Enter a number to use as a ratio of samples to use for inferring schema. This must be a value between 0.1 and 1, with 1 meaning all samples are used. If your JSON strings are consistent, you can use a lower value to speed up the inference.
-
(Optional) Enter a name for the new column.