forked from microsoft/cppgraphqlgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJSONResponse.h
More file actions
23 lines (16 loc) · 701 Bytes
/
Copy pathJSONResponse.h
File metadata and controls
23 lines (16 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "GraphQLResponse.h"
#define RAPIDJSON_NAMESPACE facebook::graphql::rapidjson
#define RAPIDJSON_NAMESPACE_BEGIN namespace facebook { namespace graphql { namespace rapidjson {
#define RAPIDJSON_NAMESPACE_END } /* namespace rapidjson */ } /* namespace graphql */ } /* namespace facebook */
#include <rapidjson/document.h>
namespace facebook {
namespace graphql {
namespace rapidjson {
Document convertResponse(response::Value&& response);
response::Value convertResponse(const Document& document);
} /* namespace rapidjson */
} /* namespace graphql */
} /* namespace facebook */