| 
    farm-ng-core
    
   | 
 
#include "farm_ng/core/logging/expected.h"#include "farm_ng/core/logging/logger.h"#include <google/protobuf/text_format.h>#include <google/protobuf/util/json_util.h>#include <filesystem>#include <fstream>

Go to the source code of this file.
Namespaces | |
| farm_ng | |
Functions | |
| auto | farm_ng::writeProtobufToJsonFile (std::filesystem::path const &path, google::protobuf::Message const &proto) | 
| TODO: Add API docs.  More... | |
| auto | farm_ng::writeProtobufToBinaryFile (std::filesystem::path const &path, google::protobuf::Message const &proto) -> Expected< Success > | 
| auto | farm_ng::readJsonStringFromJsonFile (std::filesystem::path const &path) -> Expected< std::string > | 
| template<class TProtobufT > | |
| Expected< TProtobufT > | farm_ng::readProtobufFromJsonFile (std::filesystem::path const &path) | 
| auto | farm_ng::readBytesFromBinaryFile (std::filesystem::path const &path) -> Expected< std::string > | 
| template<class TProtobufT > | |
| Expected< TProtobufT > | farm_ng::readProtobufFromBinaryFile (std::filesystem::path const &path) |