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"; diff --git a/testing/mstring_test b/testing/mstring_test index a38adc3..4fe5130 100755 Binary files a/testing/mstring_test and b/testing/mstring_test differ diff --git a/testing/zstring_test b/testing/zstring_test index 4fc5ae8..57e8bb9 100755 Binary files a/testing/zstring_test and b/testing/zstring_test differ