arduinoJson pop the first item

I am trying to display the weather app by hour yet my display is a small and I would like to only show the next six hours,
Just to make it more efficient
1: Fetch all the data first ( array size 48)
Loop every hour
2 Show the first six
3: Remove the first hour

Do I need to do the book keeping myself, or the JSON object has a feature of shift
I rather not to keep track of indexes and free memory as we go …

It sounds cool, how did you do that ?

I work with esp32 too but only for a few months, I started like 2,3 months ago using it (Devkit V1)

Just fetch data from a weather website.
And print it

Yeah, very clever !

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.