| 793 | } |
| 794 | |
| 795 | absl::StatusOr<std::string> ValueToJsonString(const Value& value) { |
| 796 | switch (value.kind()) { |
| 797 | case ValueKind::kString: |
| 798 | return value.GetString().NativeString(); |
| 799 | default: |
| 800 | return TypeConversionError(value.GetRuntimeType(), StringType()) |
| 801 | .ToStatus(); |
| 802 | } |
| 803 | } |
| 804 | |
| 805 | template <typename Map> |
| 806 | absl::Status MapValueToJsonObject( |
nothing calls this directly
no test coverage detected