Adding Fields to the JSON Request

Add/change field values. If a field is already defined, its value is replaced.

wr.field("EMPNO", "AA010");

wr.field("GIVENAME", "John");

wr.field("SURNAME", "Smith");

wr.field("SALARY", 1000);