LINQ Reporting Engine - How to iterate over an object of type dynamic in outputting sequential data

Hello Team ,
I have declared a property of type dynamic or object it can be a string or List of string how to output such property in foreach if its a List of string or just a string please help me on this

<<foreach[A in ["selected"].Value]>>
<<[A]>>
<</foreach>>

here value is dynamic and also if its a list of string then i need count and all list methods to work how o achieve that

@Keerthana_K_R

Unfortunately, LINQ Reporting Engine does not support such a scenario. You may use two properties of different types for a JSON object instead of one property to work this around. This comment provides an example on this.