Delphi的Bson库? [英] Bson library for Delphi?
问题描述
我试图使用 http:// code来自 http://bsonspec.org的.google.com / p / pebongo / source / browse / trunk / _bson.pas / a>,但有一些不支持的结构。
或者也许我没有正确使用它,像这个类没有文档,我找不到正确的用法。
我想创建一个项目列表,这个项目是我的可序列化的对象。
但是如何创建列表并将项放在列表上?
在Delphi之前创建了一个BSON实现,大量基于Delphi中现有的Variant类型(及其TVarType)。它也支持一些变体数组。
请参阅bsonDoc.pas:
https://github.com/stijnsanders/TMongoWire
Can someone suggest a complete Bson library for Delphi ? I'm trying to use http://code.google.com/p/pebongo/source/browse/trunk/_bson.pas from http://bsonspec.org, but there are some structures that aren't supported.
Or maybe I'm not using it correctly, like this class doesn't have documentation I can not find the correct usage for it.
I want to create a list of items, this items are my serializable objects.
But how to create a list and put item on a "list" ?
I've created a BSON implementation for Delphi before, heavily based on the existing Variant type in Delphi (and its TVarType). It also supports variant-arrays to some point.
see bsonDoc.pas: https://github.com/stijnsanders/TMongoWire
这篇关于Delphi的Bson库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!