Niels Lohmann

Results 47 issues of Niels Lohmann

To submit the proposal, it has to be in [HTML or PDF format](https://isocpp.org/std/standing-documents/sd-7-mailing-procedures-and-how-to-write-papers. For the latter, the [repository of the C++ standard draft](https://github.com/cplusplus/draft/tree/master/source) can be used to take [a lot...

The [README](https://github.com/nlohmann/json/blob/develop/README.md) and the GIF from nlohmann/json contain a lot of small examples to motivate having a JSON datatype inside C++. They also allow to exemplify the design goals (i.e.,...

The migration guide collects all steps required to make the code future-proof for upcoming releases.

documentation
L
CI
tests
CMake

### Description I want to prepare the next release, but compiling the example file `docs/examples/operator_spaceship__const_reference.c++20.cpp` fails. ### Reproduction steps Compile file `docs/examples/operator_spaceship__const_reference.c++20.cpp`. - Delete `docs/examples/operator_spaceship__const_reference.c++20.output` - Call `make -Cdocs create_output`...

kind: bug
state: help needed

This PR replaces Artistic Style by Clang-Format as tool to indent the code. Astyle introduced a breaking change a while ago which made working with the tool very cumbersome.

documentation
L
CI
tests
CMake

### Description The `save` step of `check-amalgamation.yml` shows a deprecation warning. > The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For...

CI

### Description With Clang 16, the test suite could be compiled with C++20, see https://github.com/nlohmann/json/actions/runs/4364410245/jobs/7631709068 When switching to Clang 17, there is an error: https://github.com/nlohmann/json/actions/runs/4409390311/jobs/7725631191#step:7:68 ### Reproduction steps Compile the...

kind: bug
solution: duplicate
state: help needed

modernize-use-designated-initializers does not work with C++11

documentation
L
CI
tests
CMake

### Discussed in https://github.com/nlohmann/json/discussions/4336 Originally posted by **gino0717** April 8, 2024 hi sir, I'm studying the document of [Parser Callbacks](https://json.nlohmann.me/features/parsing/parser_callbacks/) I replace some of the values to null of the...

kind: bug
confirmed
state: please discuss

As follow up to #137, we see enormous performance issues as the number of tests that create output files grows over 100k files. Such a large number of files become...