1 /** @file jsobj.h
2     BSON classes
3 */
4 
5 
6 /**
7  *    Copyright (C) 2018-present MongoDB, Inc.
8  *
9  *    This program is free software: you can redistribute it and/or modify
10  *    it under the terms of the Server Side Public License, version 1,
11  *    as published by MongoDB, Inc.
12  *
13  *    This program is distributed in the hope that it will be useful,
14  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *    Server Side Public License for more details.
17  *
18  *    You should have received a copy of the Server Side Public License
19  *    along with this program. If not, see
20  *    <http://www.mongodb.com/licensing/server-side-public-license>.
21  *
22  *    As a special exception, the copyright holders give permission to link the
23  *    code of portions of this program with the OpenSSL library under certain
24  *    conditions as described in each individual source file and distribute
25  *    linked combinations including the program with the OpenSSL library. You
26  *    must comply with the Server Side Public License in all respects for
27  *    all of the code used other than as permitted herein. If you modify file(s)
28  *    with this exception, you may extend this exception to your version of the
29  *    file(s), but you are not obligated to do so. If you do not wish to do so,
30  *    delete this exception statement from your version. If you delete this
31  *    exception statement from all source files in the program, then also delete
32  *    it in the license file.
33  */
34 
35 /**
36    BSONObj and its helpers
37 
38    "BSON" stands for "binary JSON" -- ie a binary way to represent objects that would be
39    represented in JSON (plus a few extensions useful for databases & other languages).
40 
41    http://www.bsonspec.org/
42 */
43 
44 #pragma once
45 
46 #include "mongo/platform/basic.h"
47 
48 #include "mongo/base/string_data.h"
49 #include "mongo/bson/bsonelement.h"
50 #include "mongo/bson/bsonmisc.h"
51 #include "mongo/bson/bsonobj.h"
52 #include "mongo/bson/bsonobjbuilder.h"
53 #include "mongo/bson/bsontypes.h"
54 #include "mongo/bson/oid.h"
55 #include "mongo/bson/ordering.h"
56 #include "mongo/bson/timestamp.h"
57 #include "mongo/bson/util/builder.h"
58