I have an XML file with deeply nested elements. In order for the platform to understand how to parse it, I need to create source types. Can the platform generate source types based on an XML file?
Curl your file to the environment (likely to be in S3)
Get the curled file as a
Filetype. For example:
var myFile = S3.listFiles().at("files")
inferTypeAPI to get source types. For example:
Download the C3 type files.
How to write contents of inferred types to C3 type files?
Please read documentation of the methods before using the examples!
To be clear
inferType method takes
InferTypeSpec as input - @see
c3ShowType(InferTypeSpec) for more details