2022.2

Table Of Contents
"last": "Parker"
}
A JSON string with references to local variables and a Job Info variable (see "About variables" on
page238):
{
"first":"%{first}",
"last":"%{last}",
"email":"%2"
}
A JSON string containing a local variable and various Data Repository selections (see "Data Repos-
itory lookups" on page51):
{
"jobid":"%{jobid}",
"account":"lookup(OLCS_jobs, account, jobid, '%{jobid}')",
"datafile_name":"lookup(OLCS_jobs, datafile_name, jobid, '%{jobid}')",
"pages":"lookup(OLCS_jobs, pages, jobid, '%{jobid}')",
"documents":"lookup(OLCS_jobs, documents, jobid, '%{jobid}')",
"recordsetid":"lookup(OLCS_jobs, recordsetid, jobid, '%{jobid}')"
}
An example where the entire JSON string is provided in a Job Info variable:
%1
A JSON string constructed with information retrieved from an XML job data file (see "XML data selec-
tions" on page53):
{
"first":"xmlget('/request[1]/values[1]/first[1]',Value,KeepCase,NoTrim)",
"last":"xmlget('/request[1]/values[1]/last[1]',Value,KeepCase,NoTrim)",
"email":"xmlget('/request[1]/values[1]/email[1]',Value,KeepCase,NoTrim)"
}
A JSON string that contains nested data:
{
"name":"Peter Parker",
"email":"parkerp@localhostcom",
"ExtraData":"foobar",
"detail": [{"id":"inv123","ExtraData":"hello"},
Page 78