Closed zregvart closed 7 years ago
It must use get() instead of findValue() here to avoid jumping to the deeper node https://github.com/atlasmap/atlasmap-runtime/blob/d4e7b4b69964f7285ccd66a4c1b14c61f3675982/atlas-json-parent/atlas-json-core/src/main/java/io/atlasmap/json/core/JsonFieldReader.java#L38 https://github.com/atlasmap/atlasmap-runtime/blob/d4e7b4b69964f7285ccd66a4c1b14c61f3675982/atlas-json-parent/atlas-json-core/src/main/java/io/atlasmap/json/core/JsonFieldReader.java#L59
I have a mapping that looks like:
mapping.json
When the input document looks like:
input.json
The output contains value
"string"
incompany
property, not"jack"
as expected.