{"id":1501,"date":"2018-04-01T20:40:06","date_gmt":"2018-04-01T18:40:06","guid":{"rendered":"http:\/\/yarogniew.net\/arduino\/?p=1501"},"modified":"2018-04-04T00:15:05","modified_gmt":"2018-04-03T22:15:05","slug":"json-i-p5js-czyli-obrabiamy-dane","status":"publish","type":"post","link":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/","title":{"rendered":"JSON i p5*js czyli obrabiamy dane"},"content":{"rendered":"<p>JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak:<\/p>\n<pre class=\"brush: plain; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\n{\r\n  &quot;meta&quot;: {\r\n    &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;,\r\n    &quot;aktualizacja&quot;: &quot;dzienna&quot;,\r\n    &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot;\r\n  },\r\n  &quot;data&quot;: &#x5B;\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2801,\r\n      &quot;liczba_ludnosci&quot;: 8289,\r\n      &quot;powierzchnia&quot;: 2.96,\r\n      &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1110,\r\n      &quot;liczba_ludnosci&quot;: 12757,\r\n      &quot;powierzchnia&quot;: 11.49,\r\n      &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 732,\r\n      &quot;liczba_ludnosci&quot;: 11002,\r\n      &quot;powierzchnia&quot;: 15.03,\r\n      &quot;dzielnica&quot;: &quot;Wielki Kack&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2585,\r\n      &quot;liczba_ludnosci&quot;: 8471,\r\n      &quot;powierzchnia&quot;: 3.28,\r\n      &quot;dzielnica&quot;: &quot;Witomino Le\u015bnicz\u00f3wka&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1883,\r\n      &quot;liczba_ludnosci&quot;: 9841,\r\n      &quot;powierzchnia&quot;: 5.23,\r\n      &quot;dzielnica&quot;: &quot;Witomino Radiostacja&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5954,\r\n      &quot;liczba_ludnosci&quot;: 11639,\r\n      &quot;powierzchnia&quot;: 1.95,\r\n      &quot;dzielnica&quot;: &quot;Wzg\u00f3rze \u015aw. Maksymiliana&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 952,\r\n      &quot;liczba_ludnosci&quot;: 2108,\r\n      &quot;powierzchnia&quot;: 2.21,\r\n      &quot;dzielnica&quot;: &quot;Babie Do\u0142y&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 418,\r\n      &quot;liczba_ludnosci&quot;: 10674,\r\n      &quot;powierzchnia&quot;: 25.53,\r\n      &quot;dzielnica&quot;: &quot;Chwarzno-Wiczlino&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 6071,\r\n      &quot;liczba_ludnosci&quot;: 23298,\r\n      &quot;powierzchnia&quot;: 3.84,\r\n      &quot;dzielnica&quot;: &quot;Chylonia&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2088,\r\n      &quot;liczba_ludnosci&quot;: 12074,\r\n      &quot;powierzchnia&quot;: 5.78,\r\n      &quot;dzielnica&quot;: &quot;Cisowa&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2291,\r\n      &quot;liczba_ludnosci&quot;: 14258,\r\n      &quot;powierzchnia&quot;: 6.22,\r\n      &quot;dzielnica&quot;: &quot;D\u0105browa&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 4037,\r\n      &quot;liczba_ludnosci&quot;: 7858,\r\n      &quot;powierzchnia&quot;: 1.95,\r\n      &quot;dzielnica&quot;: &quot;Dzia\u0142ki Le\u015bne&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2144,\r\n      &quot;liczba_ludnosci&quot;: 9392,\r\n      &quot;powierzchnia&quot;: 4.38,\r\n      &quot;dzielnica&quot;: &quot;Grab\u00f3wek&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 6313,\r\n      &quot;liczba_ludnosci&quot;: 4075,\r\n      &quot;powierzchnia&quot;: 0.65,\r\n      &quot;dzielnica&quot;: &quot;Kamienna G\u00f3ra&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3080,\r\n      &quot;liczba_ludnosci&quot;: 10448,\r\n      &quot;powierzchnia&quot;: 3.39,\r\n      &quot;dzielnica&quot;: &quot;Karwiny&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3421,\r\n      &quot;liczba_ludnosci&quot;: 14940,\r\n      &quot;powierzchnia&quot;: 4.37,\r\n      &quot;dzielnica&quot;: &quot;Oksywie&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2781,\r\n      &quot;liczba_ludnosci&quot;: 8232,\r\n      &quot;powierzchnia&quot;: 2.96,\r\n      &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1085,\r\n      &quot;liczba_ludnosci&quot;: 12473,\r\n      &quot;powierzchnia&quot;: 11.49,\r\n      &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 729,\r\n      &quot;liczba_ludnosci&quot;: 10963,\r\n      &quot;powierzchnia&quot;: 15.03,\r\n      &quot;dzielnica&quot;: &quot;Wielki Kack&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 941,\r\n      &quot;liczba_ludnosci&quot;: 2079,\r\n      &quot;powierzchnia&quot;: 2.21,\r\n      &quot;dzielnica&quot;: &quot;Babie Do\u0142y&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 440,\r\n      &quot;liczba_ludnosci&quot;: 11230,\r\n      &quot;powierzchnia&quot;: 25.53,\r\n      &quot;dzielnica&quot;: &quot;Chwarzno-Wiczlino&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5934,\r\n      &quot;liczba_ludnosci&quot;: 22788,\r\n      &quot;powierzchnia&quot;: 3.84,\r\n      &quot;dzielnica&quot;: &quot;Chylonia&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2044,\r\n      &quot;liczba_ludnosci&quot;: 11813,\r\n      &quot;powierzchnia&quot;: 5.78,\r\n      &quot;dzielnica&quot;: &quot;Cisowa&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2275,\r\n      &quot;liczba_ludnosci&quot;: 14152,\r\n      &quot;powierzchnia&quot;: 6.22,\r\n      &quot;dzielnica&quot;: &quot;D\u0105browa&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 968,\r\n      &quot;liczba_ludnosci&quot;: 2145,\r\n      &quot;powierzchnia&quot;: 2.21,\r\n      &quot;dzielnica&quot;: &quot;Babie Do\u0142y&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 6173,\r\n      &quot;liczba_ludnosci&quot;: 23687,\r\n      &quot;powierzchnia&quot;: 3.84,\r\n      &quot;dzielnica&quot;: &quot;Chylonia&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2966,\r\n      &quot;liczba_ludnosci&quot;: 8157,\r\n      &quot;powierzchnia&quot;: 2.75,\r\n      &quot;dzielnica&quot;: &quot;Leszczynki&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1109,\r\n      &quot;liczba_ludnosci&quot;: 8804,\r\n      &quot;powierzchnia&quot;: 7.94,\r\n      &quot;dzielnica&quot;: &quot;Ma\u0142y Kack&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5192,\r\n      &quot;liczba_ludnosci&quot;: 18999,\r\n      &quot;powierzchnia&quot;: 3.66,\r\n      &quot;dzielnica&quot;: &quot;Ob\u0142u\u017ce&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1383,\r\n      &quot;liczba_ludnosci&quot;: 6949,\r\n      &quot;powierzchnia&quot;: 5.02,\r\n      &quot;dzielnica&quot;: &quot;Or\u0142owo&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5549,\r\n      &quot;liczba_ludnosci&quot;: 13116,\r\n      &quot;powierzchnia&quot;: 2.36,\r\n      &quot;dzielnica&quot;: &quot;Pog\u00f3rze&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 554,\r\n      &quot;liczba_ludnosci&quot;: 8409,\r\n      &quot;powierzchnia&quot;: 15.18,\r\n      &quot;dzielnica&quot;: &quot;Pustki Cisowskie-Demptowo&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 399,\r\n      &quot;liczba_ludnosci&quot;: 10197,\r\n      &quot;powierzchnia&quot;: 25.53,\r\n      &quot;dzielnica&quot;: &quot;Chwarzno-Wiczlino&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2118,\r\n      &quot;liczba_ludnosci&quot;: 12244,\r\n      &quot;powierzchnia&quot;: 5.78,\r\n      &quot;dzielnica&quot;: &quot;Cisowa&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2312,\r\n      &quot;liczba_ludnosci&quot;: 14385,\r\n      &quot;powierzchnia&quot;: 6.22,\r\n      &quot;dzielnica&quot;: &quot;D\u0105browa&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 4115,\r\n      &quot;liczba_ludnosci&quot;: 8009,\r\n      &quot;powierzchnia&quot;: 1.95,\r\n      &quot;dzielnica&quot;: &quot;Dzia\u0142ki Le\u015bne&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2181,\r\n      &quot;liczba_ludnosci&quot;: 9552,\r\n      &quot;powierzchnia&quot;: 4.38,\r\n      &quot;dzielnica&quot;: &quot;Grab\u00f3wek&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 6488,\r\n      &quot;liczba_ludnosci&quot;: 4188,\r\n      &quot;powierzchnia&quot;: 0.65,\r\n      &quot;dzielnica&quot;: &quot;Kamienna G\u00f3ra&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3951,\r\n      &quot;liczba_ludnosci&quot;: 7705,\r\n      &quot;powierzchnia&quot;: 1.95,\r\n      &quot;dzielnica&quot;: &quot;Dzia\u0142ki Le\u015bne&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2108,\r\n      &quot;liczba_ludnosci&quot;: 9231,\r\n      &quot;powierzchnia&quot;: 4.38,\r\n      &quot;dzielnica&quot;: &quot;Grab\u00f3wek&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 6137,\r\n      &quot;liczba_ludnosci&quot;: 3989,\r\n      &quot;powierzchnia&quot;: 0.65,\r\n      &quot;dzielnica&quot;: &quot;Kamienna G\u00f3ra&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3036,\r\n      &quot;liczba_ludnosci&quot;: 10292,\r\n      &quot;powierzchnia&quot;: 3.39,\r\n      &quot;dzielnica&quot;: &quot;Karwiny&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2916,\r\n      &quot;liczba_ludnosci&quot;: 8020,\r\n      &quot;powierzchnia&quot;: 2.75,\r\n      &quot;dzielnica&quot;: &quot;Leszczynki&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1142,\r\n      &quot;liczba_ludnosci&quot;: 9069,\r\n      &quot;powierzchnia&quot;: 7.94,\r\n      &quot;dzielnica&quot;: &quot;Ma\u0142y Kack&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5117,\r\n      &quot;liczba_ludnosci&quot;: 18727,\r\n      &quot;powierzchnia&quot;: 3.66,\r\n      &quot;dzielnica&quot;: &quot;Ob\u0142u\u017ce&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3416,\r\n      &quot;liczba_ludnosci&quot;: 14926,\r\n      &quot;powierzchnia&quot;: 4.37,\r\n      &quot;dzielnica&quot;: &quot;Oksywie&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1371,\r\n      &quot;liczba_ludnosci&quot;: 6882,\r\n      &quot;powierzchnia&quot;: 5.02,\r\n      &quot;dzielnica&quot;: &quot;Or\u0142owo&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5469,\r\n      &quot;liczba_ludnosci&quot;: 12908,\r\n      &quot;powierzchnia&quot;: 2.36,\r\n      &quot;dzielnica&quot;: &quot;Pog\u00f3rze&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 553,\r\n      &quot;liczba_ludnosci&quot;: 8398,\r\n      &quot;powierzchnia&quot;: 15.18,\r\n      &quot;dzielnica&quot;: &quot;Pustki Cisowskie-Demptowo&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2763,\r\n      &quot;liczba_ludnosci&quot;: 8179,\r\n      &quot;powierzchnia&quot;: 2.96,\r\n      &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1054,\r\n      &quot;liczba_ludnosci&quot;: 12113,\r\n      &quot;powierzchnia&quot;: 11.49,\r\n      &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 728,\r\n      &quot;liczba_ludnosci&quot;: 10936,\r\n      &quot;powierzchnia&quot;: 15.03,\r\n      &quot;dzielnica&quot;: &quot;Wielki Kack&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2497,\r\n      &quot;liczba_ludnosci&quot;: 8189,\r\n      &quot;powierzchnia&quot;: 3.28,\r\n      &quot;dzielnica&quot;: &quot;Witomino Le\u015bnicz\u00f3wka&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1820,\r\n      &quot;liczba_ludnosci&quot;: 9518,\r\n      &quot;powierzchnia&quot;: 5.23,\r\n      &quot;dzielnica&quot;: &quot;Witomino Radiostacja&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5785,\r\n      &quot;liczba_ludnosci&quot;: 11281,\r\n      &quot;powierzchnia&quot;: 1.95,\r\n      &quot;dzielnica&quot;: &quot;Wzg\u00f3rze \u015aw. Maksymiliana&quot;,\r\n      &quot;dzien&quot;: &quot;2017-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3126,\r\n      &quot;liczba_ludnosci&quot;: 10605,\r\n      &quot;powierzchnia&quot;: 3.39,\r\n      &quot;dzielnica&quot;: &quot;Karwiny&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2996,\r\n      &quot;liczba_ludnosci&quot;: 8240,\r\n      &quot;powierzchnia&quot;: 2.75,\r\n      &quot;dzielnica&quot;: &quot;Leszczynki&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1097,\r\n      &quot;liczba_ludnosci&quot;: 8716,\r\n      &quot;powierzchnia&quot;: 7.95,\r\n      &quot;dzielnica&quot;: &quot;Ma\u0142y Kack&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5275,\r\n      &quot;liczba_ludnosci&quot;: 19302,\r\n      &quot;powierzchnia&quot;: 3.66,\r\n      &quot;dzielnica&quot;: &quot;Ob\u0142u\u017ce&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 3408,\r\n      &quot;liczba_ludnosci&quot;: 14885,\r\n      &quot;powierzchnia&quot;: 4.37,\r\n      &quot;dzielnica&quot;: &quot;Oksywie&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1399,\r\n      &quot;liczba_ludnosci&quot;: 7027,\r\n      &quot;powierzchnia&quot;: 5.02,\r\n      &quot;dzielnica&quot;: &quot;Or\u0142owo&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5659,\r\n      &quot;liczba_ludnosci&quot;: 13378,\r\n      &quot;powierzchnia&quot;: 2.36,\r\n      &quot;dzielnica&quot;: &quot;Pog\u00f3rze&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 559,\r\n      &quot;liczba_ludnosci&quot;: 8486,\r\n      &quot;powierzchnia&quot;: 15.18,\r\n      &quot;dzielnica&quot;: &quot;Pustki Cisowskie-Demptowo&quot;,\r\n      &quot;dzien&quot;: &quot;2015-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 2551,\r\n      &quot;liczba_ludnosci&quot;: 8362,\r\n      &quot;powierzchnia&quot;: 3.28,\r\n      &quot;dzielnica&quot;: &quot;Witomino Le\u015bnicz\u00f3wka&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 1858,\r\n      &quot;liczba_ludnosci&quot;: 9712,\r\n      &quot;powierzchnia&quot;: 5.23,\r\n      &quot;dzielnica&quot;: &quot;Witomino Radiostacja&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    },\r\n    {\r\n      &quot;gestosc_zaludnienia&quot;: 5840,\r\n      &quot;liczba_ludnosci&quot;: 11397,\r\n      &quot;powierzchnia&quot;: 1.95,\r\n      &quot;dzielnica&quot;: &quot;Wzg\u00f3rze \u015aw. Maksymiliana&quot;,\r\n      &quot;dzien&quot;: &quot;2016-12-31&quot;\r\n    }\r\n  ]\r\n}\r\n\r\n<\/pre>\n<p>Kod, kt\u00f3ry umo\u017cliwia za\u0142adowanie pliku i wy\u015bwietlenie zawarto\u015bci przedstawia si\u0119 tak:<\/p>\n<pre class=\"brush: plain; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\nvar jsondata;\r\n\r\nfunction preload() {\r\n  jsondata = loadJSON(&quot;Gdynia_dzielnice.json&quot;)\r\n}\r\n\r\nfunction setup() {\r\n  noCanvas();\r\n  createElement ('h1', &quot;Gdy\u0144skie dzielnice: &quot;);\r\n  createElement('h3',  jsondata.meta.url);\r\n\r\n  for( var i = 0; i &lt; jsondata.data.length; i++){\r\n     createElement('h2', jsondata.data&#x5B;i].dzielnica);\r\n     createElement('p', &quot;g\u0119sto\u015b\u0107 zaludnienia = &quot; + jsondata.data&#x5B;i].gestosc_zaludnienia);\r\n     createElement('p', &quot;liczba ludno\u015bci = &quot; + jsondata.data&#x5B;i].liczba_ludnosci);\r\n     createElement('p', &quot;powierzchnia = &quot; + jsondata.data&#x5B;i].powierzchnia);\r\n     createElement('p', &quot;dane z dnia: &quot; + jsondata.data&#x5B;i].dzien);\r\n  }\r\n\r\n\/\/console.log(JSONdata.data.length);\r\n}\r\n<\/pre>\n<p>To samo ale dane \u015bci\u0105gam z zewn\u0105trz. Jest z tym pewien problem &#8211; zabezpieczenia. Nie wszystkie serwery daj\u0105 nieograniczony dost\u0119p. Jest spos\u00f3b.\u00a0Wystarczy doda\u0107 przed adresem tekst: <em>https:\/\/crossorigin.me\/<\/em> i wszystko dzia\u0142a \u015bwietnie. Mo\u017ce nie wszystko, ale sporo.<\/p>\n<pre class=\"brush: plain; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\nvar jsondata;\r\n\r\n\/\/function preload() {\r\n\/\/  jsondata = loadJSON(&quot;Gdynia_dzielnice.json&quot;)\r\n\/\/}\r\n\r\n\r\n\r\nfunction setup() {\r\n\r\n  var url = 'https:\/\/crossorigin.me\/http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json'\r\n  loadJSON(url, gotData);\r\n  noCanvas()\r\n  }\r\n\r\nfunction gotData(jsondata) {\r\n  \/\/print(jsondata);\r\n\r\n  createElement ('h1', &quot;Gdy\u0144skie dzielnice: &quot;);\r\n  createElement('h3',  jsondata.meta.url);\r\n  for( var i = 0; i &lt; jsondata.data.length; i++)\r\n  {\r\n    createElement('h2', jsondata.data&#x5B;i].dzielnica);\r\n    createElement('p', &quot;g\u0119sto\u015b\u0107 zaludnienia = &quot; + jsondata.data&#x5B;i].gestosc_zaludnienia);\r\n    createElement('p', &quot;liczba ludno\u015bci = &quot; + jsondata.data&#x5B;i].liczba_ludnosci);\r\n    createElement('p', &quot;powierzchnia = &quot; + jsondata.data&#x5B;i].powierzchnia);\r\n    createElement('p', &quot;dane z dnia: &quot; + jsondata.data&#x5B;i].dzien);\r\n  }\r\n}\r\n<\/pre>\n<h4>Dodatkowe informacje:<\/h4>\n<p><a href=\"https:\/\/github.com\/processing\/p5.js\/wiki\/Loading-external-files:-AJAX,-XML,-JSON\">https:\/\/github.com\/processing\/p5.js\/wiki\/Loading-external-files:-AJAX,-XML,-JSON<\/a><br \/>\n<a href=\"http:\/\/rebecca-ricks.com\/2015\/10\/27\/first-p5-js-sketch-using-the-nyt-api\/\">http:\/\/rebecca-ricks.com\/2015\/10\/27\/first-p5-js-sketch-using-the-nyt-api\/<\/a><br \/>\n<a href=\"https:\/\/github.com\/processing\/p5.js\/issues\/1535\">https:\/\/github.com\/processing\/p5.js\/issues\/1535<\/a><br \/>\n<a href=\"http:\/\/jsonviewer.stack.hu\">http:\/\/jsonviewer.stack.hu<\/a><br \/>\n<a href=\"http:\/\/api.jquery.com\/jQuery.getJSON\/\">http:\/\/api.jquery.com\/jQuery.getJSON\/<\/a><\/p>\n<p>Listy publicznych baz API JSON<br \/>\n<a href=\"https:\/\/github.com\/toddmotto\/public-apis\">https:\/\/github.com\/toddmotto\/public-apis<\/a><br \/>\nhttps:\/\/github.com\/abhishekbanthia\/Public-APIs<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: { &quot;meta&quot;: { &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;, &quot;aktualizacja&quot;: &quot;dzienna&quot;, &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot; }, &quot;data&quot;:&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[51],"tags":[53,56,52],"class_list":["post-1501","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-javascript","tag-json","tag-p5js"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { &quot;meta&quot;: { &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;, &quot;aktualizacja&quot;: &quot;dzienna&quot;, &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot; }, &quot;data&quot;: [ { &quot;gestosc_zaludnienia&quot;: 2801, &quot;liczba_ludnosci&quot;: 8289, &quot;powierzchnia&quot;: 2.96, &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot; }, { &quot;gestosc_zaludnienia&quot;: 1110, &quot;liczba_ludnosci&quot;: 12757, &quot;powierzchnia&quot;: 11.49, &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot;\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"yarogniew_anpl\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Arduino dla strasznych lamer\u00f3w - www.arduino.net.pl\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w\" \/>\n\t\t<meta property=\"og:description\" content=\"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { &quot;meta&quot;: { &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;, &quot;aktualizacja&quot;: &quot;dzienna&quot;, &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot; }, &quot;data&quot;: [ { &quot;gestosc_zaludnienia&quot;: 2801, &quot;liczba_ludnosci&quot;: 8289, &quot;powierzchnia&quot;: 2.96, &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot; }, { &quot;gestosc_zaludnienia&quot;: 1110, &quot;liczba_ludnosci&quot;: 12757, &quot;powierzchnia&quot;: 11.49, &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot;\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-04-01T18:40:06+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-04-03T22:15:05+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w\" \/>\n\t\t<meta name=\"twitter:description\" content=\"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { &quot;meta&quot;: { &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;, &quot;aktualizacja&quot;: &quot;dzienna&quot;, &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot; }, &quot;data&quot;: [ { &quot;gestosc_zaludnienia&quot;: 2801, &quot;liczba_ludnosci&quot;: 8289, &quot;powierzchnia&quot;: 2.96, &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot; }, { &quot;gestosc_zaludnienia&quot;: 1110, &quot;liczba_ludnosci&quot;: 12757, &quot;powierzchnia&quot;: 11.49, &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot;\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#blogposting\",\"name\":\"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\\u00f3w\",\"headline\":\"JSON i p5*js czyli obrabiamy dane\",\"author\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"},\"datePublished\":\"2018-04-01T20:40:06+02:00\",\"dateModified\":\"2018-04-04T00:15:05+02:00\",\"inLanguage\":\"pl-PL\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#webpage\"},\"articleSection\":\"JavaScript, JavaScript, JSON, p5js\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/arduino.net.pl\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/#listItem\",\"name\":\"PROGRAMOWANIE\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/#listItem\",\"position\":2,\"name\":\"PROGRAMOWANIE\",\"item\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/javascript\\\/#listItem\",\"name\":\"JavaScript\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/javascript\\\/#listItem\",\"position\":3,\"name\":\"JavaScript\",\"item\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/javascript\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#listItem\",\"name\":\"JSON i p5*js czyli obrabiamy dane\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/#listItem\",\"name\":\"PROGRAMOWANIE\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#listItem\",\"position\":4,\"name\":\"JSON i p5*js czyli obrabiamy dane\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/category\\\/programowanie\\\/javascript\\\/#listItem\",\"name\":\"JavaScript\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/#person\",\"name\":\"yarogniew_anpl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\",\"url\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/\",\"name\":\"yarogniew_anpl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#webpage\",\"url\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/\",\"name\":\"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\\u00f3w\",\"description\":\"JSON (JavaScript Object Notation) to spos\\u00f3b zapisywania danych \\u015bwietnie wsp\\u00f3\\u0142pracuj\\u0105cy z bibliotek\\u0105 p5*js. Typowy plik JSON wygl\\u0105da tak: [code] { \\\"meta\\\": { \\\"zasob\\\": \\\"1.2 Dzielnice\\\", \\\"aktualizacja\\\": \\\"dzienna\\\", \\\"url\\\": \\\"http:\\\/\\\/otwartedane.gdynia.pl\\\/portal\\\/data\\\/city\\\/1\\\/2\\\/data.json\\\" }, \\\"data\\\": [ { \\\"gestosc_zaludnienia\\\": 2801, \\\"liczba_ludnosci\\\": 8289, \\\"powierzchnia\\\": 2.96, \\\"dzielnica\\\": \\\"Red\\u0142owo\\\", \\\"dzien\\\": \\\"2015-12-31\\\" }, { \\\"gestosc_zaludnienia\\\": 1110, \\\"liczba_ludnosci\\\": 12757, \\\"powierzchnia\\\": 11.49, \\\"dzielnica\\\": \\\"\\u015ar\\u00f3dmie\\u015bcie\\\", \\\"dzien\\\": \\\"2015-12-31\\\"\",\"inLanguage\":\"pl-PL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/json-i-p5js-czyli-obrabiamy-dane\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"datePublished\":\"2018-04-01T20:40:06+02:00\",\"dateModified\":\"2018-04-04T00:15:05+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/#website\",\"url\":\"https:\\\/\\\/arduino.net.pl\\\/\",\"name\":\"Arduino dla strasznych lamer\\u00f3w\",\"description\":\"www.arduino.net.pl\",\"inLanguage\":\"pl-PL\",\"publisher\":{\"@id\":\"https:\\\/\\\/arduino.net.pl\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w","description":"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { \"meta\": { \"zasob\": \"1.2 Dzielnice\", \"aktualizacja\": \"dzienna\", \"url\": \"http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json\" }, \"data\": [ { \"gestosc_zaludnienia\": 2801, \"liczba_ludnosci\": 8289, \"powierzchnia\": 2.96, \"dzielnica\": \"Red\u0142owo\", \"dzien\": \"2015-12-31\" }, { \"gestosc_zaludnienia\": 1110, \"liczba_ludnosci\": 12757, \"powierzchnia\": 11.49, \"dzielnica\": \"\u015ar\u00f3dmie\u015bcie\", \"dzien\": \"2015-12-31\"","canonical_url":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#blogposting","name":"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w","headline":"JSON i p5*js czyli obrabiamy dane","author":{"@id":"https:\/\/arduino.net.pl\/index.php\/author\/yarogniew_anpl\/#author"},"publisher":{"@id":"https:\/\/arduino.net.pl\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"},"datePublished":"2018-04-01T20:40:06+02:00","dateModified":"2018-04-04T00:15:05+02:00","inLanguage":"pl-PL","mainEntityOfPage":{"@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#webpage"},"isPartOf":{"@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#webpage"},"articleSection":"JavaScript, JavaScript, JSON, p5js"},{"@type":"BreadcrumbList","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/arduino.net.pl#listItem","position":1,"name":"Home","item":"https:\/\/arduino.net.pl","nextItem":{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/#listItem","name":"PROGRAMOWANIE"}},{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/#listItem","position":2,"name":"PROGRAMOWANIE","item":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/","nextItem":{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/javascript\/#listItem","name":"JavaScript"},"previousItem":{"@type":"ListItem","@id":"https:\/\/arduino.net.pl#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/javascript\/#listItem","position":3,"name":"JavaScript","item":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/javascript\/","nextItem":{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#listItem","name":"JSON i p5*js czyli obrabiamy dane"},"previousItem":{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/#listItem","name":"PROGRAMOWANIE"}},{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#listItem","position":4,"name":"JSON i p5*js czyli obrabiamy dane","previousItem":{"@type":"ListItem","@id":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/javascript\/#listItem","name":"JavaScript"}}]},{"@type":"Person","@id":"https:\/\/arduino.net.pl\/#person","name":"yarogniew_anpl","image":{"@type":"ImageObject","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"}},{"@type":"Person","@id":"https:\/\/arduino.net.pl\/index.php\/author\/yarogniew_anpl\/#author","url":"https:\/\/arduino.net.pl\/index.php\/author\/yarogniew_anpl\/","name":"yarogniew_anpl","image":{"@type":"ImageObject","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"}},{"@type":"WebPage","@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#webpage","url":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/","name":"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w","description":"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { \"meta\": { \"zasob\": \"1.2 Dzielnice\", \"aktualizacja\": \"dzienna\", \"url\": \"http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json\" }, \"data\": [ { \"gestosc_zaludnienia\": 2801, \"liczba_ludnosci\": 8289, \"powierzchnia\": 2.96, \"dzielnica\": \"Red\u0142owo\", \"dzien\": \"2015-12-31\" }, { \"gestosc_zaludnienia\": 1110, \"liczba_ludnosci\": 12757, \"powierzchnia\": 11.49, \"dzielnica\": \"\u015ar\u00f3dmie\u015bcie\", \"dzien\": \"2015-12-31\"","inLanguage":"pl-PL","isPartOf":{"@id":"https:\/\/arduino.net.pl\/#website"},"breadcrumb":{"@id":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/#breadcrumblist"},"author":{"@id":"https:\/\/arduino.net.pl\/index.php\/author\/yarogniew_anpl\/#author"},"creator":{"@id":"https:\/\/arduino.net.pl\/index.php\/author\/yarogniew_anpl\/#author"},"datePublished":"2018-04-01T20:40:06+02:00","dateModified":"2018-04-04T00:15:05+02:00"},{"@type":"WebSite","@id":"https:\/\/arduino.net.pl\/#website","url":"https:\/\/arduino.net.pl\/","name":"Arduino dla strasznych lamer\u00f3w","description":"www.arduino.net.pl","inLanguage":"pl-PL","publisher":{"@id":"https:\/\/arduino.net.pl\/#person"}}]},"og:locale":"pl_PL","og:site_name":"Arduino dla strasznych lamer\u00f3w - www.arduino.net.pl","og:type":"article","og:title":"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w","og:description":"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { &quot;meta&quot;: { &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;, &quot;aktualizacja&quot;: &quot;dzienna&quot;, &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot; }, &quot;data&quot;: [ { &quot;gestosc_zaludnienia&quot;: 2801, &quot;liczba_ludnosci&quot;: 8289, &quot;powierzchnia&quot;: 2.96, &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot; }, { &quot;gestosc_zaludnienia&quot;: 1110, &quot;liczba_ludnosci&quot;: 12757, &quot;powierzchnia&quot;: 11.49, &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot;","og:url":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/","article:published_time":"2018-04-01T18:40:06+00:00","article:modified_time":"2018-04-03T22:15:05+00:00","twitter:card":"summary_large_image","twitter:title":"JSON i p5*js czyli obrabiamy dane - Arduino dla strasznych lamer\u00f3w","twitter:description":"JSON (JavaScript Object Notation) to spos\u00f3b zapisywania danych \u015bwietnie wsp\u00f3\u0142pracuj\u0105cy z bibliotek\u0105 p5*js. Typowy plik JSON wygl\u0105da tak: [code] { &quot;meta&quot;: { &quot;zasob&quot;: &quot;1.2 Dzielnice&quot;, &quot;aktualizacja&quot;: &quot;dzienna&quot;, &quot;url&quot;: &quot;http:\/\/otwartedane.gdynia.pl\/portal\/data\/city\/1\/2\/data.json&quot; }, &quot;data&quot;: [ { &quot;gestosc_zaludnienia&quot;: 2801, &quot;liczba_ludnosci&quot;: 8289, &quot;powierzchnia&quot;: 2.96, &quot;dzielnica&quot;: &quot;Red\u0142owo&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot; }, { &quot;gestosc_zaludnienia&quot;: 1110, &quot;liczba_ludnosci&quot;: 12757, &quot;powierzchnia&quot;: 11.49, &quot;dzielnica&quot;: &quot;\u015ar\u00f3dmie\u015bcie&quot;, &quot;dzien&quot;: &quot;2015-12-31&quot;"},"aioseo_meta_data":{"post_id":"1501","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-08-02 13:06:57","updated":"2025-06-03 22:28:06","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/arduino.net.pl\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/\" title=\"PROGRAMOWANIE\">PROGRAMOWANIE<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/javascript\/\" title=\"JavaScript\">JavaScript<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tJSON i p5*js czyli obrabiamy dane\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/arduino.net.pl"},{"label":"PROGRAMOWANIE","link":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/"},{"label":"JavaScript","link":"https:\/\/arduino.net.pl\/index.php\/category\/programowanie\/javascript\/"},{"label":"JSON i p5*js czyli obrabiamy dane","link":"https:\/\/arduino.net.pl\/index.php\/json-i-p5js-czyli-obrabiamy-dane\/"}],"_links":{"self":[{"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/posts\/1501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/comments?post=1501"}],"version-history":[{"count":10,"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/posts\/1501\/revisions"}],"predecessor-version":[{"id":4758,"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/posts\/1501\/revisions\/4758"}],"wp:attachment":[{"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/media?parent=1501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/categories?post=1501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arduino.net.pl\/index.php\/wp-json\/wp\/v2\/tags?post=1501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}