Hello, it's the first time I create an issue under an opensource.
We use jsoncpp 0.5.0 version as a third lib. Recently I realize json to struct function base on jsoncpp's Json::Value.
Here is my serializer.h.
it bases on c++14.
I provide Json::ToJson() and Json::FromJson() two interface for serialization and deserialization.
But It just support some basic type, std::vector\<std::string>, std::vector\<int>, and customized struct or class.
for example, InnerS2 has tuple type member named properties. It can be serialized.
Hello, it's the first time I create an issue under an opensource. We use jsoncpp 0.5.0 version as a third lib. Recently I realize json to struct function base on jsoncpp's
Json::Value
. Here is myserializer.h
.it bases on c++14. I provide
Json::ToJson()
andJson::FromJson()
two interface for serialization and deserialization. But It just support some basic type, std::vector\<std::string>, std::vector\<int>, and customized struct or class.for example, InnerS2 has tuple type member named
properties
. It can be serialized.What about your ideas ? I will seriously refer to your suggestions. thx.