Closed amirwesthoff closed 1 year ago
@amirwesthoff I transfered your issue to be more findable later on:
The problem is that JSONPath has a specific way of dealing with dots in the key, which YARRRML must take into account because we make use of JSONPath :).
Using something like - [ex:streetAddress, '$(["address.street"])']
should result into rml:reference "[\"address.street\"]" ;
which will give the correct results.
My (example) data in JSON has dots in its keys, which I would like to keep that way. As shown below, I am able to work with the other data fields, but the data with dots in its keys, does not get transformed.
How can I adjust my RML (and YARRRML) mapping, to make this work? In case it's important: in my actual data the keys consist of numbers and dots. I have tried things like double quotes around the field name, but that doesn't seem to work.
I am using RMLmapper 6.0.0.-r363
Example data:
Mapping (YARRRML):
Mapping (RML, as converted using yarrrml-parser):
Result:
Expected/Desired result: