mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-04 12:47:46 +00:00
framework update
This commit is contained in:
@@ -400,16 +400,9 @@ namespace OpenWifi::SecurityObjects {
|
||||
|
||||
bool NoteInfo::from_json(const Poco::JSON::Object::Ptr &Obj) {
|
||||
try {
|
||||
std::ostringstream OO;
|
||||
Obj->stringify(OO);
|
||||
std::cout << OO.str() << std::endl;
|
||||
std::cout << __LINE__ << std::endl;
|
||||
field_from_json(Obj,"created",created);
|
||||
std::cout << __LINE__ << std::endl;
|
||||
field_from_json(Obj,"createdBy",createdBy);
|
||||
std::cout << __LINE__ << std::endl;
|
||||
field_from_json(Obj,"note", note);
|
||||
std::cout << __LINE__ << std::endl;
|
||||
return true;
|
||||
} catch(...) {
|
||||
std::cout << "Cannot parse: NoteInfo" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user