As discussed here the conversion between JSKOS and CSV is partly implemented in jskos-cli and jskos-tools. This should be moved to jskos-tools. Current state:
Converting concepts in mono-hierarchies requires a "stack" variable so a plain function is not enough. Either use transformer or a pass stack to calls of the conversion function (what name for the reverse of flatten?). I'd prefer to not use transformers in jskos-tools but simple functions to be used in jskos-cli. @stefan does jskos-server use streaming transformation?
As discussed here the conversion between JSKOS and CSV is partly implemented in jskos-cli and jskos-tools. This should be moved to jskos-tools. Current state:
jskos-tools:
jskos-cli
flattenMapping
)flattenConcept
)Converting concepts in mono-hierarchies requires a "stack" variable so a plain function is not enough. Either use transformer or a pass stack to calls of the conversion function (what name for the reverse of flatten?). I'd prefer to not use transformers in jskos-tools but simple functions to be used in jskos-cli. @stefan does jskos-server use streaming transformation?