forked from loafle/openapi-generator-original
23 lines
455 B
C++
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_ */
|
|
|