filtering model.json keys without special characters

Avatar

Avatar
Level 1
sravanthib39626
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
sravanthib39626
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile
sravanthib39626
Level 1

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
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
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)