JSON merge 015(AB)

Joining map and JSON string with conflict in keys, explicit strategy reject.

Test ab-json-merge-015.xml is expected to fail with error code err:XC0106.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:json-merge key="'key1'" duplicates="reject">
            <p:with-input expand-text="false">
               <p:inline content-type="application/json">{"key1" : "value"}</p:inline>
               <p:inline content-type="application/json">"one"</p:inline>
            </p:with-input>
         </p:json-merge>         
         
      </p:declare-step>
   
MorganaXProc passing XML Calabash failing

Revision history

13 Oct 2019, Achim Berndzen

Added tests for p:json-merge