mxnet
|
Lightweight JSON Reader/Writer that read save into C++ data structs. This includes STL composites and structures. More...
#include <vector>
#include <iostream>
#include <sstream>
#include <cctype>
#include <string>
#include <algorithm>
#include <map>
#include <list>
#include <utility>
#include "./base.h"
#include "./logging.h"
#include "./type_traits.h"
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
Go to the source code of this file.
Classes | |
class | dmlc::JSONReader |
Lightweight JSON Reader to read any STL compositions and structs. The user need to know the schema of the. More... | |
class | dmlc::JSONWriter |
Lightweight json to write any STL compositions. More... | |
class | dmlc::JSONObjectReadHelper |
Helper class to read JSON into a class or struct object. More... | |
Namespaces | |
dmlc | |
namespace for dmlc | |
Macros | |
#define | DMLC_JSON_ENABLE_ANY_VAR_DEF(KeyName) |
#define | DMLC_JSON_ENABLE_ANY(Type, KeyName) |
Macro to enable save/load JSON of dmlc:: whose actual type is Type. Any type will be saved as json array [KeyName, content]. More... | |
Lightweight JSON Reader/Writer that read save into C++ data structs. This includes STL composites and structures.
Copyright (c) 2015 by Contributors
#define DMLC_JSON_ENABLE_ANY | ( | Type, | |
KeyName | |||
) |
Macro to enable save/load JSON of dmlc:: whose actual type is Type. Any type will be saved as json array [KeyName, content].
Type | The type to be registered. |
KeyName | The Type key assigned to the type, must be same during load. |
#define DMLC_JSON_ENABLE_ANY_VAR_DEF | ( | KeyName | ) |