Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.