Integration Man

Test a JSON field map.

Write down the path, choose the output type, and check more than one record before handing the mapping over.

Open the field mapper

Point to the actual value

A JSON Pointer uses a slash to move into each part of a document. In {"order":{"id":"B-1842"}}, the value lives at /order/id. In {"lines":[{"qty":2}]}, the first quantity is /lines/0/qty.

A slash inside a property name becomes ~1, and a tilde becomes ~0. The destination pointer creates nested objects. To preserve an array, map the whole array into a destination field.

Convert values deliberately

If one integration sends "2" and the destination expects an integer, choose Parse number and set the type to Integer. Try a record with a nonnumeric quantity. A failed conversion should give you a row to investigate.

Keep identifiers in text when leading zeroes or long ID strings matter. The mapper rejects unsafe JSON integers so a large identifier cannot silently change on import.

Missing and null behave differently

If an optional source field is absent, its destination is omitted. If the field is present with null, it still needs to satisfy the type and conversion you chose. A required field reports an error on any record where its path is absent.

The example maps an order ID and quantity into a shipment. The last order lacks an ID, and its quantity contains a word. Run the example and inspect record 3 to find the exact rules those values break.

Send the map without the source data

Download the rule file and tell your teammate what the source and destination tools are. They can import it, paste their own samples, and rerun the checks. Review a passing output by record before you use it elsewhere. A failing record displays the fields that made it through and keeps the copy control disabled.

Use the destination system’s own validation before going live. A sample can catch mistakes in a mapping, and an integration can still encounter inputs outside your sample.