ccls/serializer.h

9 lines
294 B
C
Raw Normal View History

#include <rapidjson/document.h>
#include <rapidjson/prettywriter.h>
struct IndexedFile;
using Writer = rapidjson::PrettyWriter<rapidjson::StringBuffer>;
2017-02-24 08:39:25 +00:00
using Reader = rapidjson::Document;
2017-02-28 08:37:20 +00:00
void Serialize(Writer& writer, IndexedFile* file);
void Deserialize(Reader& reader, IndexedFile* file);