Hi
I load a json file (template) to a JSONPackage object. i was able to set the values of the objects using below.
The issue i am facung now is how to update the objects of the array for the example below the "stops" array
sorry I am inexperience with jason.
Please help
Thanks
Malek
li_Return = lnv_package.SetValueString( "commodity", "FAK" )
li_Return = lnv_package.SetValueNumber( "orderNumber", 1234 )
The file looks like this
{ "commodity":"FAK",
"orderNumber":1234,
"stops":[
{
"stopOrder":number,
"stopType":"string",
},
{
"stopOrder":number,
"stopType":"string",
}
],
"weightUOM":"LB",
"lineItems":[
{
"measures":[
{
"value":3200,
},
{
"value":3,
}
],
]
}
]
}