Skip to content

Commit 4e10a0e

Browse files
committed
main -> master
1 parent 2788d85 commit 4e10a0e

File tree

7 files changed

+27
-27
lines changed

7 files changed

+27
-27
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ _"really good"_ _"awesome project"_ _"very solid and very dependable"_ _"my team
6969

7070
## Get jsoncons
7171

72-
You can use the [vcpkg](https://github.com/Microsoft/vcpkg) platform library manager to install the [jsoncons package](https://github.com/microsoft/vcpkg/tree/main/ports/jsoncons).
72+
You can use the [vcpkg](https://github.com/Microsoft/vcpkg) platform library manager to install the [jsoncons package](https://github.com/microsoft/vcpkg/tree/master/ports/jsoncons).
7373

7474
Or, download the [latest release](https://github.com/danielaparker/jsoncons/releases) and unpack the zip file. Copy the directory `include/jsoncons` to your `include` directory. If you wish to use extensions, copy `include/jsoncons_ext` as well.
7575

@@ -96,9 +96,9 @@ If exceptions are disabled or if the compile time macro `JSONCONS_NO_EXCEPTIONS`
9696

9797
- [JSONTestSuite and JSON_checker test suites](https://danielaparker.github.io/json_benchmarks/)
9898

99-
- [Performance benchmarks with text and integers](https://github.com/danielaparker/json_benchmarks/blob/main/report/performance.md)
99+
- [Performance benchmarks with text and integers](https://github.com/danielaparker/json_benchmarks/blob/master/report/performance.md)
100100

101-
- [Performance benchmarks with text and doubles](https://github.com/danielaparker/json_benchmarks/blob/main/report/performance_fp.md)
101+
- [Performance benchmarks with text and doubles](https://github.com/danielaparker/json_benchmarks/blob/master/report/performance_fp.md)
102102

103103
[JSONPath Comparison](https://cburgmer.github.io/json-path-comparison/) shows how jsoncons JsonPath compares with other implementations
104104

@@ -776,7 +776,7 @@ The jsoncons implementation of the Grisu3 algorithm for printing floating-point
776776
The macro `JSONCONS_ALL_MEMBER_TRAITS` follows the approach taken by Martin York's [ThorsSerializer](https://github.com/Loki-Astari/ThorsSerializer)
777777

778778
The jsoncons implementations of BSON decimal128 to and from string,
779-
and ObjectId to and from string, are based on the Apache 2 licensed [libbson](https://github.com/mongodb/mongo-c-driver/tree/main/src/libbson).
779+
and ObjectId to and from string, are based on the Apache 2 licensed [libbson](https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson).
780780

781-
Special thanks to our [contributors](https://github.com/danielaparker/jsoncons/blob/main/acknowledgements.md)
781+
Special thanks to our [contributors](https://github.com/danielaparker/jsoncons/blob/master/acknowledgements.md)
782782

doc/Examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3107,7 +3107,7 @@ for (const auto& item : keys)
31073107
*ptr = "str";
31083108
```
31093109

3110-
Since 0.162.0, you can also accomplish this with [jsonpointer::add](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/jsonpointer/add.md):
3110+
Since 0.162.0, you can also accomplish this with [jsonpointer::add](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/jsonpointer/add.md):
31113111

31123112
```cpp
31133113
#include <iostream>

doc/Pages/index.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jsoncons is a C++, header-only library for constructing [JSON](http://www.json.o
2727
data formats such as [CBOR](http://cbor.io/). For each supported data format, it enables you
2828
to work with the data in a number of ways:
2929

30-
- As a variant-like data structure, [basic_json](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/basic_json.md)
30+
- As a variant-like data structure, [basic_json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json.md)
3131

32-
- As a strongly typed C++ data structure that implements [json_type_traits](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/json_type_traits.md)
32+
- As a strongly typed C++ data structure that implements [json_type_traits](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json_type_traits.md)
3333

3434
- With [cursor-level access](https://github.com/danielaparker/jsoncons/blob/doc/doc/ref/corelib/basic_json_cursor.md) to a stream of parse events, somewhat analogous to StAX pull parsing and push serializing
3535
in the XML world.
@@ -40,7 +40,7 @@ But it also supports efficient access to the underlying data using StAX-style pu
4040
And it supports incremental parsing into a user's preferred form, using
4141
information about user types provided by specializations of [json_type_traits](doc/ref/corelib/json_type_traits.md).
4242

43-
The [jsoncons data model](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/data-model.md) supports the familiar JSON types - nulls,
43+
The [jsoncons data model](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/data-model.md) supports the familiar JSON types - nulls,
4444
booleans, numbers, strings, arrays, objects - plus byte strings. In addition, jsoncons
4545
supports semantic tagging of datetimes, epoch times, big integers,
4646
big decimals, big floats and binary encodings. This allows it to preserve these type semantics when parsing
@@ -73,9 +73,9 @@ std::string data = R"(
7373

7474
jsoncons allows you to work with the data in a number of ways:
7575

76-
- As a variant-like data structure, [basic_json](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/basic_json.md)
76+
- As a variant-like data structure, [basic_json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json.md)
7777

78-
- As a strongly typed C++ data structure that implements [json_type_traits](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/json_type_traits.md)
78+
- As a strongly typed C++ data structure that implements [json_type_traits](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json_type_traits.md)
7979

8080
- As a stream of parse events
8181

@@ -142,10 +142,10 @@ Marilyn C, 0.9
142142
#### As a strongly typed C++ data structure
143143

144144
jsoncons supports transforming JSON texts into C++ data structures.
145-
The functions [decode_json](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/decode_json.md) and [encode_json](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/encode_json.md)
145+
The functions [decode_json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/decode_json.md) and [encode_json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/encode_json.md)
146146
convert strings or streams of JSON data to C++ data structures and back.
147147
Decode and encode work for all C++ classes that have
148-
[json_type_traits](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/json_type_traits.md)
148+
[json_type_traits](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json_type_traits.md)
149149
defined. jsoncons already supports many types in the standard library,
150150
and your own types will be supported too if you specialize `json_type_traits`
151151
in the `jsoncons` namespace.
@@ -274,7 +274,7 @@ the enum values, and the macro `JSONCONS_ALL_CTOR_GETTER_TRAITS`
274274
generates the code from the get functions and a constructor.
275275
These macro declarations must be placed outside any namespace blocks.
276276
277-
See [examples](https://github.com/danielaparker/jsoncons/blob/main/doc/Examples.md#G1) for other ways of specializing `json_type_traits`.
277+
See [examples](https://github.com/danielaparker/jsoncons/blob/master/doc/Examples.md#G1) for other ways of specializing `json_type_traits`.
278278
279279
#### With cursor-level access
280280
@@ -665,7 +665,7 @@ produces
665665
```
666666
By default, within objects, arrays of scalar values are displayed on the same line.
667667

668-
The `pretty_print` function takes an optional second parameter, [basic_json_options](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/basic_json_options.md), that allows custom formatting of output.
668+
The `pretty_print` function takes an optional second parameter, [basic_json_options](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json_options.md), that allows custom formatting of output.
669669
To display the array scalar values on a new line, set the `object_array_line_splits` property to `line_split_kind::new_line`. The code
670670
```cpp
671671
json_options options;
@@ -716,7 +716,7 @@ produces
716716
<div id="A7"/>
717717
### Filters
718718

719-
You can rename object member names with the built in filter [rename_object_key_filter](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/rename_object_key_filter.md)
719+
You can rename object member names with the built in filter [rename_object_key_filter](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/rename_object_key_filter.md)
720720

721721
```cpp
722722
#include <sstream>
@@ -755,7 +755,7 @@ Output:
755755
(1) {"first":1,"second":2,"third":3,"fourth":4}
756756
(2) {"first":1,"second":2,"third":3,"fourth":4}
757757
```
758-
Or define and use your own filters. See [basic_json_filter](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/basic_json_filter.md) for details.
758+
Or define and use your own filters. See [basic_json_filter](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/basic_json_filter.md) for details.
759759
<div id="A8"/>
760760
### JSONPath
761761

@@ -863,22 +863,22 @@ Output:
863863
<div id="A9"/>
864864
### About jsoncons::json
865865

866-
The [json](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/json.md) class is an instantiation of the `basic_json` class template that uses `char` as the character type
866+
The [json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json.md) class is an instantiation of the `basic_json` class template that uses `char` as the character type
867867
and sorts object members in alphabetically order.
868868
```cpp
869869
typedef basic_json<char,
870870
Policy = sorted_policy,
871871
Allocator = std::allocator<char>> json;
872872
```
873-
If you prefer to retain the original insertion order, use [ojson](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/ojson.md) instead.
873+
If you prefer to retain the original insertion order, use [ojson](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/ojson.md) instead.
874874

875-
The library includes an instantiation for wide characters as well, [wjson](https://github.com/danielaparker/jsoncons/blob/main/ref/doc/wjson.md)
875+
The library includes an instantiation for wide characters as well, [wjson](https://github.com/danielaparker/jsoncons/blob/master/ref/doc/wjson.md)
876876
```cpp
877877
typedef basic_json<wchar_t,
878878
Policy = sorted_policy,
879879
Allocator = std::allocator<wchar_t>> wjson;
880880
```
881-
If you prefer to retain the original insertion order, use [wojson](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/wojson.md) instead.
881+
If you prefer to retain the original insertion order, use [wojson](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/wojson.md) instead.
882882

883883
Note that the allocator type allows you to supply a custom allocator. For example, you can use the boost [fast_pool_allocator](http://www.boost.org/doc/libs/1_60_0/libs/pool/doc/html/boost/fast_pool_allocator.html):
884884
```cpp
@@ -917,7 +917,7 @@ which prints
917917
<div id="A11"/>
918918
### ojson and wojson
919919
920-
The [ojson](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/ojson.md) ([wojson](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/wojson.md)) class is an instantiation of the `basic_json` class template that uses `char` (`wchar_t`) as the character type and keeps object members in their original order.
920+
The [ojson](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/ojson.md) ([wojson](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/wojson.md)) class is an instantiation of the `basic_json` class template that uses `char` (`wchar_t`) as the character type and keeps object members in their original order.
921921
```cpp
922922
ojson o = ojson::parse(R"(
923923
{
@@ -974,5 +974,5 @@ Output:
974974
}
975975
```
976976

977-
For more information, consult the latest [examples](https://github.com/danielaparker/jsoncons/blob/main/doc/Examples.md), [documentation](https://github.com/danielaparker/jsoncons/blob/main/doc/Reference.md) and [roadmap](https://github.com/danielaparker/jsoncons/blob/main/Roadmap.md).
977+
For more information, consult the latest [examples](https://github.com/danielaparker/jsoncons/blob/master/doc/Examples.md), [documentation](https://github.com/danielaparker/jsoncons/blob/master/doc/Reference.md) and [roadmap](https://github.com/danielaparker/jsoncons/blob/master/Roadmap.md).
978978

doc/ref/bson/bson.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Output:
297297
### Acknowledgements
298298
299299
The jsoncons implementations of BSON decimal128 to and from string,
300-
and ObjectId to and from string, are based on the Apache 2 licensed [libbson](https://github.com/mongodb/mongo-c-driver/tree/main/src/libbson).
300+
and ObjectId to and from string, are based on the Apache 2 licensed [libbson](https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson).
301301
302302
The decimal128, regex, and ObjectId examples are from the libbson test cases.
303303

doc/ref/corelib/decode_json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### jsoncons::decode_json
22

33
Decodes a JSON data format to a C++ data structure. `decode_json` will
4-
work for all C++ classes that have [json_type_traits](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/json_type_traits.md) defined.
4+
work for all C++ classes that have [json_type_traits](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json_type_traits.md) defined.
55

66
```cpp
77
#include <jsoncons/decode_json.hpp>

doc/ref/corelib/encode_json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### jsoncons::encode_json
22

33
Encode a C++ data structure to a JSON formatted string or stream. `encode_json` will work for all types that
4-
have [json_type_traits](https://github.com/danielaparker/jsoncons/blob/main/doc/ref/corelib/json_type_traits.md) defined.
4+
have [json_type_traits](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/corelib/json_type_traits.md) defined.
55

66
```cpp
77
#include <jsoncons/encode_json.hpp>

doc/ref/jsonschema/jsonschema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The jsonschema extension implements the JSON Schema [Draft 7](https://json-schem
44

55
### Compliance level
66

7-
The jsoncons implementation passes all [draft 7 required tests](https://github.com/json-schema-org/JSON-Schema-Test-Suite/tree/main/tests/draft7).
7+
The jsoncons implementation passes all [draft 7 required tests](https://github.com/json-schema-org/JSON-Schema-Test-Suite/tree/master/tests/draft7).
88

99
In addition, the validator understands the following optional [format types](https://json-schema.org/understanding-json-schema/reference/string.html#format):
1010

0 commit comments

Comments
 (0)