mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-28 12:22:37 +00:00
Fix a critical bug preventing Shadowsocks obfs-host to be read in Surge 2 subscription. Optimize codes.
14 lines
506 B
C++
14 lines
506 B
C++
#ifndef RAPIDJSON_EXTRA_H_INCLUDED
|
|
#define RAPIDJSON_EXTRA_H_INCLUDED
|
|
|
|
#include <rapidjson/document.h>
|
|
#include <string>
|
|
|
|
void operator >> (const rapidjson::Value& value, std::string& i);
|
|
void operator >> (const rapidjson::Value& value, int& i);
|
|
std::string GetMember(const rapidjson::Value& value, std::string member);
|
|
void GetMember(const rapidjson::Value& value, std::string member, std::string& target);
|
|
std::string SerializeObject(const rapidjson::Value& value);
|
|
|
|
#endif // RAPIDJSON_EXTRA_H_INCLUDED
|