I try to fetch a JSON generated by the WP rest api.
based on an addapted version from exemple:
https://www.fusetools.com/examples/social-media-screen
my json look like this:
[
{
"Issue":"3143",
"Count":1,
"ID":16
},
{
"Issue":"3144",
"Count":9,
"ID":15
},
{
"Issue":"3145",
"Count":5,
"ID":14
}
]
and I don’t have
{ "SomeName":
at the begining like in the example JSON:
{ "responseData":
[
{
"author": "Hermione Robinson",
therefore, I didn’t find a way to access the data (as in the example) like so:
<Each Items="{data.SomeName}"> <<<-- don't have `SomName`
<Text Value="{Issue}" />
</Each>
I did check that my json is valid,
and manage to fetch with jquery on my web version with:
$.getJSON(url...
any idea?..