Expand my Community achievements bar.

SOLVED

filtering model.json keys without special characters

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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. 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.