Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

DelphiJsonHelper

Simplify json usage on delphi 10.1 and above

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

DelphiJsonHelper

Simplify json usage on delphi 10.1 and above

pascal
  var
  JSON := TJsonObject.Create;
  if JSON.Load('{"a":[0,1], "b":"Hello"}') then
  begin
    JSON.StrP['c.d.e'] := '...';
    JSON.BoolP['a[0].ff'] := false;
    showmessage(JSON.Dump);
  end;