diff --git a/JString.h b/JString.h index cf36dc5..5974162 100644 --- a/JString.h +++ b/JString.h @@ -75,6 +75,10 @@ namespace coreutils { return Proxy(*this, key); } +// JString & operator=(coreutils:: ZString value) { + +// } + }; } diff --git a/testing/jstring_test.cpp b/testing/jstring_test.cpp index ac4fc64..5640f7a 100644 --- a/testing/jstring_test.cpp +++ b/testing/jstring_test.cpp @@ -31,8 +31,10 @@ int main(int argc, char **argv) { // std::cout << "--------" << std::endl; // std::cout << "key2: " << test2["key2"] << std::endl; + coreutils::MString test0("{\"Number:\"0\",\"id\":\"XXXXX\"}"); coreutils::JString test1; coreutils::MString test2; + test1 = test0; test1["name"] = "Cohen"; test1["health"] = "100"; test1["comment"] = "this is a comment";