I am trying to validate the smart format object against the token present in the string.
Sample:-
object obj = {"Id": "1", "RegNo": "REG123"}
Smart.Format("Your Id - {Id} for registration - {RegNo}", obj);
If I do not pass RegNo property/value in the object then smart format throws an error. Instead do we have any proper validation method to validate the tokens required against the object provided. Any help would be appreciated.