开发者

Does there exist any serialization library for c++ that is as easy as Google Gson/XStream for java?

It seems like every library I've ever seen recommended doesn't offer an api as easy as this.

MyClass* instance = (MyClass*)SerializationUtility.serialize(someString);

Has anyone heard of开发者_开发问答 something this easy for c++? In hava there are a couple of libraries that are so easy to use for converting text into objects and objects into text. This is one of those "solved problems" things, which is why it surprises me that there is no buzz around a c++ library (that I have heard of.)


Look at Boost.Serialization.

8th result when you Google "c++ serialization". =/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜