Unfortunately I do not know JSONATA in detail yet.
Do you have a syntax example of my JSON? Please.
{
"data": {
"viewer": {
"homes": [
{
"currentSubscription": {
"priceInfo": {
"current": {
"total": 0.5391,
"energy": 0.3373,
"tax": 0.2018,
"startsAt": "2024-02-25T13:00:00.000+01:00"
},
"today": [
{
"total": 0.5845,
"energy": 0.3736,
"tax": 0.2109,
"startsAt": "2024-02-25T00:00:00.000+01:00"
},
{
"total": 0.5867,
"energy": 0.3754,
"tax": 0.2113,
"startsAt": "2024-02-25T01:00:00.000+01:00"
},
{
"total": 0.562,
"energy": 0.3556,
"tax": 0.2064,
"startsAt": "2024-02-25T02:00:00.000+01:00"
},
{
"total": 0.5554,
"energy": 0.3503,
"tax": 0.2051,
"startsAt": "2024-02-25T03:00:00.000+01:00"
},
{
"total": 0.5499,
"energy": 0.3459,
"tax": 0.204,
"startsAt": "2024-02-25T04:00:00.000+01:00"
},
{
"total": 0.5447,
"energy": 0.3418,
"tax": 0.2029,
"startsAt": "2024-02-25T05:00:00.000+01:00"
},
{
"total": 0.5477,
"energy": 0.3441,
"tax": 0.2036,
"startsAt": "2024-02-25T06:00:00.000+01:00"
},
{
"total": 0.5498,
"energy": 0.3458,
"tax": 0.204,
"startsAt": "2024-02-25T07:00:00.000+01:00"
},
{
"total": 0.5902,
"energy": 0.3782,
"tax": 0.212,
"startsAt": "2024-02-25T08:00:00.000+01:00"
},
{
"total": 0.6087,
"energy": 0.393,
"tax": 0.2157,
"startsAt": "2024-02-25T09:00:00.000+01:00"
},
{
"total": 0.6104,
"energy": 0.3943,
"tax": 0.2161,
"startsAt": "2024-02-25T10:00:00.000+01:00"
},
{
"total": 0.596,
"energy": 0.3828,
"tax": 0.2132,
"startsAt": "2024-02-25T11:00:00.000+01:00"
},
{
"total": 0.5433,
"energy": 0.3407,
"tax": 0.2026,
"startsAt": "2024-02-25T12:00:00.000+01:00"
},
{
"total": 0.5391,
"energy": 0.3373,
"tax": 0.2018,
"startsAt": "2024-02-25T13:00:00.000+01:00"
},
{
"total": 0.5379,
"energy": 0.3363,
"tax": 0.2016,
"startsAt": "2024-02-25T14:00:00.000+01:00"
},
{
"total": 0.547,
"energy": 0.3436,
"tax": 0.2034,
"startsAt": "2024-02-25T15:00:00.000+01:00"
},
{
"total": 0.7688,
"energy": 0.521,
"tax": 0.2478,
"startsAt": "2024-02-25T16:00:00.000+01:00"
},
{
"total": 1.2327,
"energy": 0.8922,
"tax": 0.3405,
"startsAt": "2024-02-25T17:00:00.000+01:00"
},
{
"total": 1.3888,
"energy": 1.0171,
"tax": 0.3717,
"startsAt": "2024-02-25T18:00:00.000+01:00"
},
{
"total": 1.1421,
"energy": 0.8197,
"tax": 0.3224,
"startsAt": "2024-02-25T19:00:00.000+01:00"
},
{
"total": 1.0088,
"energy": 0.713,
"tax": 0.2958,
"startsAt": "2024-02-25T20:00:00.000+01:00"
},
{
"total": 0.7283,
"energy": 0.4886,
"tax": 0.2397,
"startsAt": "2024-02-25T21:00:00.000+01:00"
},
{
"total": 0.666,
"energy": 0.4388,
"tax": 0.2272,
"startsAt": "2024-02-25T22:00:00.000+01:00"
},
{
"total": 0.5377,
"energy": 0.3362,
"tax": 0.2015,
"startsAt": "2024-02-25T23:00:00.000+01:00"
}
],
"tomorrow": [
{
"total": 0.489,
"energy": 0.2972,
"tax": 0.1918,
"startsAt": "2024-02-26T00:00:00.000+01:00"
},
{
"total": 0.4954,
"energy": 0.3024,
"tax": 0.193,
"startsAt": "2024-02-26T01:00:00.000+01:00"
},
{
"total": 0.5062,
"energy": 0.311,
"tax": 0.1952,
"startsAt": "2024-02-26T02:00:00.000+01:00"
},
{
"total": 0.5208,
"energy": 0.3226,
"tax": 0.1982,
"startsAt": "2024-02-26T03:00:00.000+01:00"
},
{
"total": 0.5925,
"energy": 0.38,
"tax": 0.2125,
"startsAt": "2024-02-26T04:00:00.000+01:00"
},
{
"total": 0.607,
"energy": 0.3916,
"tax": 0.2154,
"startsAt": "2024-02-26T05:00:00.000+01:00"
},
{
"total": 0.7835,
"energy": 0.5328,
"tax": 0.2507,
"startsAt": "2024-02-26T06:00:00.000+01:00"
},
{
"total": 1.0291,
"energy": 0.7293,
"tax": 0.2998,
"startsAt": "2024-02-26T07:00:00.000+01:00"
},
{
"total": 1.227,
"energy": 0.8876,
"tax": 0.3394,
"startsAt": "2024-02-26T08:00:00.000+01:00"
},
{
"total": 1.1193,
"energy": 0.8014,
"tax": 0.3179,
"startsAt": "2024-02-26T09:00:00.000+01:00"
},
{
"total": 1.022,
"energy": 0.7236,
"tax": 0.2984,
"startsAt": "2024-02-26T10:00:00.000+01:00"
},
{
"total": 0.993,
"energy": 0.7004,
"tax": 0.2926,
"startsAt": "2024-02-26T11:00:00.000+01:00"
},
{
"total": 0.9102,
"energy": 0.6342,
"tax": 0.276,
"startsAt": "2024-02-26T12:00:00.000+01:00"
},
{
"total": 0.9063,
"energy": 0.631,
"tax": 0.2753,
"startsAt": "2024-02-26T13:00:00.000+01:00"
},
{
"total": 0.9434,
"energy": 0.6607,
"tax": 0.2827,
"startsAt": "2024-02-26T14:00:00.000+01:00"
},
{
"total": 0.9486,
"energy": 0.6649,
"tax": 0.2837,
"startsAt": "2024-02-26T15:00:00.000+01:00"
},
{
"total": 0.992,
"energy": 0.6996,
"tax": 0.2924,
"startsAt": "2024-02-26T16:00:00.000+01:00"
},
{
"total": 1.1623,
"energy": 0.8358,
"tax": 0.3265,
"startsAt": "2024-02-26T17:00:00.000+01:00"
},
{
"total": 1.2751,
"energy": 0.9261,
"tax": 0.349,
"startsAt": "2024-02-26T18:00:00.000+01:00"
},
{
"total": 1.2167,
"energy": 0.8794,
"tax": 0.3373,
"startsAt": "2024-02-26T19:00:00.000+01:00"
},
{
"total": 1.0974,
"energy": 0.784,
"tax": 0.3134,
"startsAt": "2024-02-26T20:00:00.000+01:00"
},
{
"total": 1.0088,
"energy": 0.713,
"tax": 0.2958,
"startsAt": "2024-02-26T21:00:00.000+01:00"
},
{
"total": 0.957,
"energy": 0.6716,
"tax": 0.2854,
"startsAt": "2024-02-26T22:00:00.000+01:00"
},
{
"total": 0.942,
"energy": 0.6596,
"tax": 0.2824,
"startsAt": "2024-02-26T23:00:00.000+01:00"
}
]
}
}
}
]
}
}
}