summaryrefslogtreecommitdiff
path: root/src/mongo/db/json.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-03-25 19:17:26 -0400
committerAndrew Morrow <acm@mongodb.com>2015-03-26 10:17:08 -0400
commit06b58e9c7c349ce81504cf6ce2823082205ab0f7 (patch)
treee56a7389a28887ad11fcd80bcdf7e21cccd033ab /src/mongo/db/json.h
parent05533d52a29589f54ec9ee582e770a5fdda552a5 (diff)
downloadmongo-06b58e9c7c349ce81504cf6ce2823082205ab0f7.tar.gz
SERVER-17736 Remove obsolete C++ driver symbol export miscellanea
Diffstat (limited to 'src/mongo/db/json.h')
-rw-r--r--src/mongo/db/json.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mongo/db/json.h b/src/mongo/db/json.h
index 0d18eaee68d..34564765242 100644
--- a/src/mongo/db/json.h
+++ b/src/mongo/db/json.h
@@ -32,7 +32,6 @@
#include "mongo/bson/bsonobj.h"
#include "mongo/base/status.h"
-#include "mongo/client/export_macros.h"
namespace mongo {
@@ -49,10 +48,10 @@ namespace mongo {
* @throws MsgAssertionException if parsing fails. The message included with
* this assertion includes the character offset where parsing failed.
*/
- MONGO_CLIENT_API BSONObj fromjson(const std::string& str);
+ BSONObj fromjson(const std::string& str);
/** @param len will be size of JSON object in text chars. */
- MONGO_CLIENT_API BSONObj fromjson(const char* str, int* len=NULL);
+ BSONObj fromjson(const char* str, int* len=NULL);
/**
* Tests whether the JSON string is an Array.
@@ -68,7 +67,7 @@ namespace mongo {
*
* @param obj The JSON string to test.
*/
- MONGO_CLIENT_API bool isArray(StringData str);
+ bool isArray(StringData str);
/**
* Convert a BSONArray to a JSON string.
@@ -77,7 +76,7 @@ namespace mongo {
* @param format The JSON format (JS, TenGen, Strict).
* @param pretty Enables pretty output.
*/
- MONGO_CLIENT_API std::string tojson(
+ std::string tojson(
const BSONArray& arr,
JsonStringFormat format = Strict,
bool pretty = false
@@ -90,7 +89,7 @@ namespace mongo {
* @param format The JSON format (JS, TenGen, Strict).
* @param pretty Enables pretty output.
*/
- MONGO_CLIENT_API std::string tojson(
+ std::string tojson(
const BSONObj& obj,
JsonStringFormat format = Strict,
bool pretty = false