json11 icon indicating copy to clipboard operation
json11 copied to clipboard

A tiny JSON library for C++11.

Results 20 json11 issues
Sort by recently updated
recently updated
newest added

Parse the number according to the JSON grammar, ignoring the current locale.

bug

MSVC build was failing under Visual Studio 2017 with CMake v3.15.5 and v3.16.2 generated project files. Compiler cl.exe was failing with following error code for all GCC specific compiler flags...

bug

With `set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -fno-omit-frame-pointer -fsanitize=address,undefined")` `set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address,undefined")` I get the following report: ```usr/include/c++/8/bits/shared_ptr_base.h:735:4: runtime error: member call on address 0x603000115b40 which does not point to...

question

Please review and merge this pull request : https://github.com/random-basad/json11/commit/7a03087db4898e50d41d06e1fd7945c92a109bd4 Thanks. @artwyman ```In file included from /home/genstor/toolchain/json11-master/json/json11.cpp:22:0: /home/genstor/toolchain/json11-master/json/json11.hpp:228:25: error: 'virtual const json11::Json& json11::JsonValue::operator[](const string&) const' was hidden [-Werror=overloaded-virtual] virtual const Json...

bug
enhancement

I need it ..

enhancement

I added the following to json11.hpp ``` /// @weepy additions operator long() { return (long) int_value(); } operator int() { return int_value(); } operator float() { return (float) number_value(); }...

enhancement

Don't expose the risk of accessing objects after the end of their lifetime

enhancement

Let CMake create and install *json11Config.cmake* allowing other CMake projects to easily import json11 as a CMake-target by setting `json11_DIR` to the corresponding location.

enhancement

By adding this file, the library can be added to PlatformIO's library registry. This way, projects built with PlatformIO can depend on json11 and it will be automatically downloaded from...

enhancement

json11 uses locale-dependent functions for conversion between double and it's string representation. On Ubuntu with Russian language it prints doubles with comma like '3,1415926'. On Windows with Russian language pack...

bug