toUpload static method
Implementation
static toUpload(EventDataValue eventDataValue) {
return {
"dataElement": eventDataValue.dataElement,
"value": eventDataValue.value.replaceAll("\"",
'') //Replace all helps to sanitize with double quoted strings i.e '"value"' from program rules if any
};
}