.NET YAML图书馆 [英] .NET YAML Library
问题描述
任何人都知道的.NET轻量级的YAML库? preferably一些带有源(C#),这样我可以直接编译成二进制的我,而不是有另一个DLL的依赖。
Anyone know of a lightweight YAML library for .NET? Preferably something that comes with source (in C#) so that I can compile it directly into my binary and not have yet another dll dependency.
推荐答案
如果你的核心要求是一个数据交换格式比XML轻,那么你可能要考虑使用的 JSON的而不是YAML。 YAML是JSON的一个超集,但你可能并不需要额外的YAML的功能。
If your core requirement is "a data-interchange format lighter than XML", then you might want to consider using JSON instead of YAML. YAML is a superset of JSON, but you may not need the extra YAML features.
两个<一href="http://yaml-net-parser.sourceforge.net/default.html">http://yaml-net-parser.sourceforge.net/default.html和 YAML用于.NET 是pretty的不成熟的项目,但有一个相当广泛的选择JSON库中。 NET提供,其中包括几个完整的源$ C $ C - 看到在JSON网站上的链接
Both http://yaml-net-parser.sourceforge.net/default.html and YAML for .NET are pretty immature projects, but there is a fairly wide selection of JSON libraries for .NET available, including several with full source code - see the links on the JSON site.
这篇关于.NET YAML图书馆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!