Sign in Join

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

Catalog · How the catalog works

Random project

JPJSONEncode

Library written in pure "Free Pascal" to convert a "descending DataSet" in JSONString to be used in "grids" jQuery.

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

JPJSON Encode

Library written in pure "Free Pascal" to convert a "descending DataSet" in JSONArray to be used in "grids" jQuery.

The method "DataSetToJSONArray" converts the entire DataSet.

Usage:

pascal
var
  jpjson: TJPJSONEncode;
  sJSON: String;
begin
  try
    jpjson := TJPJSONEncode.Create;
    sJSON := jpjson.DataSetToJSONArray(SQLQuery1);
  finally
    jpjson.Free;
  end;
end;