Line | Count | Source (jump to first uncovered line) |
1 | #include "source/common/json/json_loader.h" | |
2 | ||
3 | #include "source/common/json/json_internal.h" | |
4 | #include "source/common/runtime/runtime_features.h" | |
5 | ||
6 | namespace Envoy { | |
7 | namespace Json { | |
8 | ||
9 | 51.5k | ObjectSharedPtr Factory::loadFromString(const std::string& json) { |
10 | 51.5k | return Nlohmann::Factory::loadFromString(json); |
11 | 51.5k | } |
12 | ||
13 | 0 | absl::StatusOr<ObjectSharedPtr> Factory::loadFromStringNoThrow(const std::string& json) { |
14 | 0 | return Nlohmann::Factory::loadFromStringNoThrow(json); |
15 | 0 | } |
16 | ||
17 | 123 | ObjectSharedPtr Factory::loadFromProtobufStruct(const ProtobufWkt::Struct& protobuf_struct) { |
18 | 123 | return Nlohmann::Factory::loadFromProtobufStruct(protobuf_struct); |
19 | 123 | } |
20 | ||
21 | } // namespace Json | |
22 | } // namespace Envoy |