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

Method WriteAny

include/dmlc/json.h:561–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559
560 template<typename T>
561 inline static void WriteAny(JSONWriter *writer, const any &data) {
562 writer->Write(dmlc::unsafe_get<T>(data));
563 }
564 template<typename T>
565 inline static void ReadAny(JSONReader *reader, any* data) {
566 T temp;

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected