MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / AsJson2

Method AsJson2

src/render_panel/database/file_transfer_record.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 std::string FileTransferRecord::AsJson2() {
37 nlohmann::json obj;
38 obj["the_file_id"] = the_file_id_;
39 obj["begin"] = begin_;
40 obj["end"] = end_;
41 obj["visitor_device"] = visitor_device_;
42 obj["target_device"] = target_device_;
43 obj["direction"] = direction_;
44 obj["file_detail"] = file_detail_;
45 return obj.dump(2);
46 }
47
48 std::string FileTransferRecord::AsUpdateJson() {
49 nlohmann::json obj;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected