summaryrefslogtreecommitdiff
path: root/ext/librethinkdbxx/src/json_p.h
blob: ebf537a99f6bbe014402cbd3cd9ed0a038fc2719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "datum.h"

namespace rapidjson {
  class CrtAllocator;
  template<typename> struct UTF8;
  template <typename, typename> class GenericValue;
  template <typename> class MemoryPoolAllocator;
  typedef GenericValue<UTF8<char>, MemoryPoolAllocator<CrtAllocator> > Value;
}

namespace RethinkDB {

Datum read_datum(const std::string&);
Datum read_datum(const rapidjson::Value &json);
std::string write_datum(const Datum&);

}