VL
JSONDefs.h
Go to the documentation of this file.
1#pragma once
2
3//#define JSON_LOG_ON
4#ifdef JSON_LOG_ON
5#include <iostream>
6#define JSON_LOG_VERBOSE(msg) std::cout << "[JSON V] " << msg << "\n"
7#else
8#define JSON_LOG_VERBOSE(msg)
9#endif
10
11#include <functional>
12
13// CnvParams
14// Conversion parameters
15namespace vl
16{
17 struct CnvParams
18 {
19 bool pretty = false;
20 bool useProtoRefs = true;
21 bool storeTypeId = true;
22 };
23}
Definition: JSONConverter.h:9
Definition: JSONDefs.h:18
bool storeTypeId
Definition: JSONDefs.h:21
bool pretty
Definition: JSONDefs.h:19
bool useProtoRefs
Definition: JSONDefs.h:20