Skip to content

Commit 8d92ca8

Browse files
committed
Some typos
1 parent 6a6790a commit 8d92ca8

File tree

14 files changed

+24
-24
lines changed

14 files changed

+24
-24
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JSON for Modern C++ has been originally written by Niels Lohmann.
22
# Since 2013 over 140 contributors have helped to improve the library.
3-
# This CODEOWNERS file is only to make sure that @nlohmann is requsted
3+
# This CODEOWNERS file is only to make sure that @nlohmann is requested
44
# for a code review in case of a pull request.
55

66
* @nlohmann

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To make changes, you need to edit the following files:
5656

5757
- The C++11 support varies between different **compilers** and versions. Please note the [list of supported compilers](https://github.com/nlohmann/json/blob/master/README.md#supported-compilers). Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with `#ifdef`s or other means.
5858
- Specifically, I am aware of compilation problems with **Microsoft Visual Studio** (there even is an [issue label](https://github.com/nlohmann/json/issues?utf8=✓&q=label%3A%22visual+studio%22+) for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
59-
- Please refrain from proposing changes that would **break [JSON](http://json.org) conformance**. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
59+
- Please refrain from proposing changes that would **break [JSON](https://json.org) conformance**. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
6060
- We shall not extend the library to **support comments**. There is quite some [controversy](https://www.reddit.com/r/programming/comments/4v6chu/why_json_doesnt_support_comments_douglas_crockford/) around this topic, and there were quite some [issues](https://github.com/nlohmann/json/issues/376) on this. We believe that JSON is fine without comments.
6161
- We do not preserve the **insertion order of object elements**. The [JSON standard](https://tools.ietf.org/html/rfc7159.html) defines objects as "an unordered collection of zero or more name/value pairs". To this end, this library does not preserve insertion order of name/value pairs. (In fact, keys will be traversed in alphabetical order as `std::map` with `std::less` is used by default.) Note this behavior conforms to the standard, and we shall not change it to any other order. If you do want to preserve the insertion order, you can specialize the object type with containers like [`tsl::ordered_map`](https://github.com/Tessil/ordered-map) or [`nlohmann::fifo_map`](https://github.com/nlohmann/fifo_map).
6262

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ Read the [Contribution Guidelines](https://github.com/nlohmann/json/blob/develop
1515

1616
- The C++11 support varies between different **compilers** and versions. Please note the [list of supported compilers](https://github.com/nlohmann/json/blob/master/README.md#supported-compilers). Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with `#ifdef`s or other means.
1717
- Specifically, I am aware of compilation problems with **Microsoft Visual Studio** (there even is an [issue label](https://github.com/nlohmann/json/issues?utf8=✓&q=label%3A%22visual+studio%22+) for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
18-
- Please refrain from proposing changes that would **break [JSON](http://json.org) conformance**. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
18+
- Please refrain from proposing changes that would **break [JSON](https://json.org) conformance**. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
1919
- Please do not open pull requests that address **multiple issues**.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
## Design goals
4747

48-
There are myriads of [JSON](http://json.org) libraries out there, and each may even have its reason to exist. Our class had these design goals:
48+
There are myriads of [JSON](https://json.org) libraries out there, and each may even have its reason to exist. Our class had these design goals:
4949

5050
- **Intuitive syntax**. In languages such as Python, JSON feels like a first class data type. We used all the operator magic of modern C++ to achieve the same feeling in your code. Check out the [examples below](#examples) and you'll know what I mean.
5151

@@ -1318,7 +1318,7 @@ The library itself consists of a single header file licensed under the MIT licen
13181318
- [**AppVeyor**](https://www.appveyor.com) for [continuous integration](https://ci.appveyor.com/project/nlohmann/json) on Windows
13191319
- [**Artistic Style**](http://astyle.sourceforge.net) for automatic source code indentation
13201320
- [**CircleCI**](http://circleci.com) for [continuous integration](https://circleci.com/gh/nlohmann/json).
1321-
- [**Clang**](http://clang.llvm.org) for compilation with code sanitizers
1321+
- [**Clang**](https://clang.llvm.org) for compilation with code sanitizers
13221322
- [**CMake**](https://cmake.org) for build automation
13231323
- [**Codacity**](https://www.codacy.com) for further [code analysis](https://www.codacy.com/app/nlohmann/json)
13241324
- [**Coveralls**](https://coveralls.io) to measure [code coverage](https://coveralls.io/github/nlohmann/json)

doc/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ Note that this table only lists those exceptions thrown due to the type. For ins
8080

8181
<table>
8282
<tr>
83-
<th rowspan="2">group</td>
84-
<th rowspan="2">function</td>
83+
<th rowspan="2">group</th>
84+
<th rowspan="2">function</th>
8585
<th colspan="6">JSON value type</th>
8686
</tr>
8787
<tr>

doc/scripts/send_to_wandbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# Strips C and C++ comments from the given string.
2626
#
27-
# Copied from http://stackoverflow.com/a/241506/627587.
27+
# Copied from https://stackoverflow.com/a/241506/627587.
2828
def strip_comments(text):
2929
def replacer(match):
3030
s = match.group(0)

include/nlohmann/detail/input/binary_reader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class binary_reader
123123
124124
@return true if and only if system's byte order is little endian
125125
126-
@note from http://stackoverflow.com/a/1001328/266378
126+
@note from https://stackoverflow.com/a/1001328/266378
127127
*/
128128
static constexpr bool little_endianess(int num = 1) noexcept
129129
{

include/nlohmann/detail/input/input_adapters.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class input_adapter
387387
{
388388
#ifndef NDEBUG
389389
// assertion to check that the iterator range is indeed contiguous,
390-
// see http://stackoverflow.com/a/35008842/266378 for more discussion
390+
// see https://stackoverflow.com/a/35008842/266378 for more discussion
391391
const auto is_contiguous = std::accumulate(
392392
first, last, std::pair<bool, int>(true, 0),
393393
[&first](std::pair<bool, int> res, decltype(*first) val)

include/nlohmann/detail/meta/detected.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <nlohmann/detail/meta/void_t.hpp>
66

7-
// http://en.cppreference.com/w/cpp/experimental/is_detected
7+
// https://en.cppreference.com/w/cpp/experimental/is_detected
88
namespace nlohmann
99
{
1010
namespace detail

include/nlohmann/detail/value_t.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ enum class value_t : std::uint8_t
4848
number_integer, ///< number value (signed integer)
4949
number_unsigned, ///< number value (unsigned integer)
5050
number_float, ///< number value (floating-point)
51-
discarded ///< discarded by the the parser callback function
51+
discarded ///< discarded by the parser callback function
5252
};
5353

5454
/*!

0 commit comments

Comments
 (0)