MCPcopy 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

453template<typename T>
454struct 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

SaveMethod · 0.45

Tested by

no test coverage detected