This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Stucturing data
#1
Good evening. I'm reading the following data from an api. The timestamp is in UTC, and the table is not JSON.
Any ideas on how to make a table with the timestamp in localtime and date, and the data structured nicely?

Code:
   ["Value"]
    * string: [
  {
    "time": 1666717200,
    "price": 177.38
  },
  {
    "time": 1666720800,
    "price": 148.27
  },
  {
    "time": 1666724400,
    "price": 126.38
  },
  {
    "time": 1666728000,
    "price": 116.92
  },
  {
    "time": 1666731600,
    "price": 111.92
  },
  {
    "time": 1666735200,
    "price": 94.77
  },
Reply


Messages In This Thread
Stucturing data - by tomnord - 31.10.2022, 14:32
RE: Stucturing data - by admin - 31.10.2022, 14:36
RE: Stucturing data - by tomnord - 31.10.2022, 14:51
RE: Stucturing data - by admin - 31.10.2022, 14:56
RE: Stucturing data - by tomnord - 31.10.2022, 20:52
RE: Stucturing data - by admin - 01.11.2022, 08:48
RE: Stucturing data - by tomnord - 01.11.2022, 10:34
RE: Stucturing data - by tomnord - 01.11.2022, 13:23
RE: Stucturing data - by admin - 01.11.2022, 13:44
RE: Stucturing data - by tomnord - 01.11.2022, 14:02
RE: Stucturing data - by admin - 01.11.2022, 14:05

Forum Jump: