Skip to content

kxMaxx/kxBSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kxBSON

Class for reading and writing a stream in BSON format

  • Delphi (Pascal)
  • BSON: Binary-JSON
  • Specification: bsonspec.org
  • Compiler: Embarcadero Delphi

History

  • Version 1 from 12/2020

Usage

uses 
  kxBSON;

procedure BSON_New();
var
  FBSONDoc: TBSONDocument;
begin
  FBSONDoc:=TBSONDocument.Create();
  FBSONDoc.Values.Add( TBSONItemInt32.Create('Item1', MAXInt) );
  FBSONDoc.Values.Add( TBSONItemDouble.Create('Item2', Pi) );
  FBSONDoc.SaveToFile( ExtractFilePath( Application.ExeName ) + 'hello.bson' );
  FBSONDoc.Free;
end;

About

Binary-JSON stream handler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages