Merge pull request #9675 from Icinga/third-party/nlohmann_json

Update third-party/nlohmann_json to v3.9.1
This commit is contained in:
Julian Brost 2023-02-20 15:31:32 +01:00 committed by GitHub
commit d9767cff3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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