The Hierarchy Parser transformation converts hierarchical input into relational output. The transformation processes XML or JSON input from the upstream transformation and provides relational output to the downstream transformation.
You can configure a hierarchical schema that defines the expected hierarchy of the output data from a sample file or schema file. The Hierarchy Parser transformation converts hierarchical input based on the hierarchical schema that you associate with the transformation. You can use an existing hierarchical schema, or configure one.
Note: To create a JSON-based schema object use a JSON sample, not a JSON schema.
To parse complex hierarchical structures, consider using the Structure Parser transformation for a more comprehensive handling of hierarchical file inputs. For more information, see Structure Parser transformation.