Sign in Join

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

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

fpc-xon

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

XON is A Cross Platform Object Notation writen in pure object pascal. it can be used to consume & create different types of structured data like JSON, XML, HTML A simple but very fast and capable JSON parser is included. A Binary serialyzer / deserialyzer is also included

Supported data types are

Tokens (identifiers) Strings Integer Float Boolean Null Binary Date/Time GUID

Array List (Map)

creation example:

example:

var X: XVar =XVar.Null;

begin

X:=XVar.New(xtList); //Creates a new "root" list object

X.Add(xtString,AKey).SetStr('Hello');

...

Writeln(X['AKey'].AsString);

X.Free;

end;

please note that the code is in alpha stage but usefull and used in real apps!!!