MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / Write

Method Write

include/dmlc/json.h:400–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398template<typename ValueType>
399struct NumericHandler {
400 inline static void Write(JSONWriter *writer, const ValueType &value) {
401 writer->WriteNumber<ValueType>(value);
402 }
403 inline static void Read(JSONReader *reader, ValueType *value) {
404 reader->ReadNumber<ValueType>(value);
405 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected