VL
JSONConverter.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include "vl.h"
5#include "JSONDefs.h"
6#include "TypeResolver.h"
7
8namespace vl
9{
11 {
12 public:
13 bool Store(Object& object, const TypeResolver& typeResolver, const std::string& filePath, const CnvParams& params = CnvParams());
14 bool JSONStr(const Object& object, const TypeResolver& typeResolver, std::string& out, const CnvParams& params = CnvParams());
15 std::string JSONStr(const Object& object, const TypeResolver& typeResolver, const CnvParams& params = CnvParams());
16 bool Load(Object& object, const std::string& filePath, const TypeResolver& typeResolver = TypeResolver());
17 };
18}
Definition: TypeResolver.h:7
Definition: JSONConverter.h:11
bool Store(Object &object, const TypeResolver &typeResolver, const std::string &filePath, const CnvParams &params=CnvParams())
Definition: JSONConverter.cpp:14
bool JSONStr(const Object &object, const TypeResolver &typeResolver, std::string &out, const CnvParams &params=CnvParams())
Definition: JSONConverter.cpp:27
bool Load(Object &object, const std::string &filePath, const TypeResolver &typeResolver=TypeResolver())
Definition: JSONConverter.cpp:59
Definition: vl.h:173
Definition: JSONConverter.h:9
Definition: JSONDefs.h:18