ILERPG DataQueue read/write of JSON content

Job ID: 32019099

Budget: $30 – $250 USD

I need a service program in ILERPG (free-format) that can be used for monitoring a keyed data queue on IBM i (AS/400) for any updates. When something is put into keyed data queue it should be processed and a return response with the same key should be put on another keyed data queue. All messages should be read and written in JSON format (UTF-8).

Queues:
ACME.LIB/DQKEYIN.DTAQ (monitor/read JSON from this)
ACME.LIB/DQKEYOUT.DTAQ (write JSON to this)
Both can have a key of up to 64 bytes and JSON message up to 16 MB

Input JSON format: (see attachment)
Output JSON format: (see attachment)

Note that you can NOT just copy the input JSON as an entire string and use it for output (even though both formats are equal). I will have to change both formats in ILERPG afterwards, so all properties/arrays/objects should be parsed from input JSON and for output JSON an entirely new object should be created and here you are allowed to insert each property/array/object as single entities, thus building up the JSON from scratch.
Related categories: JSON RPG Development