Update third-party/nlohmann_json to v3.9.1

the latest version w/o Apache 2.0 licensed code which conflicts with GPL 2.
This commit is contained in:
Alexander A. Klimov 2022-08-12 14:41:44 +02:00
parent e074e892ce
commit 34d0b942b9
3 changed files with 6164 additions and 3583 deletions

View File

@ -27,6 +27,7 @@ public:
bool number_unsigned(number_unsigned_t val) override;
bool number_float(number_float_t val, const string_t& s) override;
bool string(string_t& val) override;
bool binary(binary_t& val) override;
bool start_object(std::size_t elements) override;
bool key(string_t& val) override;
bool end_object() override;
@ -264,6 +265,14 @@ bool JsonSax::string(JsonSax::string_t& val)
return true;
}
inline
bool JsonSax::binary(JsonSax::binary_t& val)
{
FillCurrentTarget(String(val.begin(), val.end()));
return true;
}
inline
bool JsonSax::start_object(std::size_t)
{

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2013-2018 Niels Lohmann
Copyright (c) 2013-2020 Niels Lohmann
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

File diff suppressed because it is too large Load Diff