how can I get the elements and types of a class lazarus / 21-General ---------------------------------------------------------------------- cpalx · 2022-11-22 13:29 Hello , How can I get the elements and types of one class Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i unit Unit1; {$mode ObjFPC}{$H+} interface uses  Classes, SysUtils; implementation type  Person = Class    Name: string;    LastName: string;    BirthDay: TDate;  end; end.        i need to convert in Json ---------------------------------------------------------------------- paweld · 2022-11-22 13:46 https://wiki.lazarus.freepascal.org/Streaming_JSON