We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我最近在 BitBucket 上启动了一个 Delphi-YAML 项目:
https://bitbucket.org/OCTAGRAM/delphi-yaml
至少,我已经运行了一些东西,但是缺少许多测试,并且可能隐藏了许多错误。
I have recently started a Delphi-YAML project on BitBucket:
https://bitbucket.org/OCTAGRAM/delphi-yaml
At least, I've got something running, but there are many tests missing and there are probably many bugs hiding.
我不知道完整的 YAML 实现,但是 JSON (一个子集)变得非常流行,并且有甚至 JSON 站点上列出了一些 Delphi 库。 Delphi 2009 甚至在 DataSnap 中使用 JSON(稍微修改的版本?)。
http://sourceforge.net/projects/lkjson
http://www.progdigy.com/?page_id=6
http://sourceforge.net/projects/is-webstart/
I don't know about a full YAML implementation, but JSON (a subset) is getting pretty popular and there are even some Delphi libraries listed on the JSON site. Delphi 2009 is even using (a slightly modified version of?) JSON in DataSnap.
http://sourceforge.net/projects/lkjson
http://www.progdigy.com/?page_id=6
http://sourceforge.net/projects/is-webstart/
可能是时候在 Delphi 中实现 YAML 解析器了...
从 PyYAML 复制代码(但 Python 是动态类型语言)
或者看看 SnakeYAML,它是用静态类型语言(Java)编写的
May be it is high time to implement a YAML parser in Delphi...
Copy code from PyYAML (but Python is a dynamically typed language)
Or take a look at SnakeYAML which is written in a statically typed language (Java)
Free Pascal 也有一些 json 库。
我曾经用PHP接口弄乱过类似的东西。 这是代码:
http://www.stack.nl/~marcov/phpser.zip
请注意,它更多的是概念证明而不是可用的库。
Free Pascal also has some json libs.
I garbled up something like this to interface with PHP once. Here is the code:
http://www.stack.nl/~marcov/phpser.zip
Note that it is more proof of concept than an usable lib.
这个开源 C# YAML 解析器看起来可能是 Delphi 实现的起点:
YamlDotNet - 用于解析和发出 YAML 的 .NET 库
This open source C# YAML parser looks like it could be a starting point for a Delphi implementation:
YamlDotNet - A .NET library for parsing and emitting YAML