Working with select Token allows us to specifiy the extractor definition on string base.
So we can define a extraction config map like (Dummy, not your case specifics)
FieldName, SToken
DIVISION, $.Division
…
Later we can dynamicly
- set up eg. datatable with the corresponding column structure
- looping over the config map rows - extracting the values and add it to the datatable
This approach gives us flexibility and we can avoid redundand implementations parts
Have a look on selecttoken here:
Let us know your further questions