mapping-template v2.1.1
Features
-
Improved the
<K,V> V getMapValue(Map<K, V> map, K key, V defaultValue)function available in VTL template files through the$functionsvariable.It now accepts a third
defaultValueargument that will be returned ifkeyis not found inmap.
If nodefaultValueis provided thennullis returned, which is the same behaviour found in previous versions of rdf-template.
Fixes
- Fixed custom JsonPath handling.
Now works for both json files with multiple and single records. Incorrect handling of single record json files was an unintended regression.