WidgetKit how to use JSON data to show in your widget?

WidgetKit how to use JSON data to show in your widget?
i have been trying to use JSON decoded data in widget but unable to see any JSON data in my widget. If i use that same decoded data and display on an iPhone preview its showing all the data
can someone please help me out.
You need to use appGroup container and write it there from the phone, and read it on the widget extension
WidgetKit how to use JSON data to show in your widget?
 
 
Q