THPDFJSONValue.NewObjectMember

Creates an empty object member under a key and returns it for filling

function NewObjectMember(const Key: AnsiString): THPDFJSONValue;

The unit is HPDFDocJobs; the new object replaces any existing member with the same key and is owned by this object

Fill the returned object with the Set*Member accessors such as SetStrMember

NewArrayMember is the nested-array counterpart