Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/dmlc-core
/ Write
Method
Write
include/dmlc/json.h:455–457 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
453
template<typename T>
454
struct CommonJSONSerializer {
455
inline static void Write(JSONWriter *writer, const T &value) {
456
value.Save(writer);
457
}
458
inline static void Read(JSONReader *reader, T *value) {
459
value->Load(reader);
460
}
Callers
nothing calls this directly
Calls
1
Save
Method · 0.45
Tested by
no test coverage detected