filtering model.json keys without special characters

Avatar

Avatar

sravanthib39626

Avatar

sravanthib39626

sravanthib39626

01-07-2020

Hi,

 

Is there any way to filter/sanitise the keys returned form the model.json.

Currently it is returning keys as :item :title.

Is there any way to remove special character?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vaibhavi

MVP

Avatar

Vaibhavi

MVP

Vaibhavi
MVP

01-07-2020

Hi @sravanthib39626 , 

There is no default OOTB feature to sanitise it by default. 

Any of the below option you can go with :

1. Overlay the OOTB implemention which is responsible for constructing the json. 

2. You can control the values when you are trying to display. 

Just curious to understand why we are trying to sanitise. 

Answers (0)