This is my json string to an object
{ "connectionString" : "MyConnectionString", "value" :"MyVal" }This is my class
struct SettingsAnd this is what I am doing:
std::ifstream ifs("Settings.json");Any suggestion on what I might be doing wrong here ? The exception I get is at
document.h
MemberIterator MemberEnd() { CEREAL_RAPIDJSON_ASSERT(IsObject()); return MemberIterator(GetMembersPointer() + data_.o.size); }
Any suggestions on what I might be doing wrong ?
--
You received this message because you are subscribed to the Google Groups "cereal serialization library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerealcpp+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerealcpp/226f7a20-e7d4-4ec5-bd4d-b10eec04c144n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "cereal serialization library" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cerealcpp/8RWincRaG18/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cerealcpp+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerealcpp/75cbc978-eb06-4947-8851-4e5cdc7420f1n%40googlegroups.com.