I want to mask few fields based on "Masking_col"
from the input.
Below is the expected input:
{
"IN_num": "1",
"In_Details": "notworking",
"customer_name": "abc",
"customer_location": "Hyd",
"customer_ID": "1001",
"customer_name0": "abc",
"Masking_col": "customer_location,customer_ID"
}
Here "Masking_col" contains "customer_location,customer_ID" these two field name, so in the output these two filed will be set to blank. Expected output will be:
{
"IN_num": "1",
"In_Details": "notworking",
"customer_name": "abc",
"customer_location": "",
"customer_ID": "",
"customer_name0": "abc",
"Masking_col": "customer_location,customer_ID"
}