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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

filtering model.json keys without special characters

sravanthib39626
Level 1
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
Vaibhavi
Correct answer by
Community Advisor
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
Vaibhavi
Correct answer by
Community Advisor
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