William Cheng ae430a8c14
[cpp][tiny] rename generator, update samples (#9560)
* rename generator, update samples

* add doc

* update readme
2021-05-25 23:55:16 +08:00

23 lines
455 B
C++

#ifndef TINY_CPP_CLIENT_HELPERS_H_
#define TINY_CPP_CLIENT_HELPERS_H_
#include <string>
#include "bourne/json.hpp"
bool isprimitive(std::string type);
void jsonToValue(void* target, bourne::json value, std::string type);
std::string stringify(long input);
std::string stringify(int input);
std::string stringify(double input);
std::string stringify(float input);
std::string stringify(std::string input);
#endif /* TINY_CPP_CLIENT_HELPERS_H_ */