|
Android-cuttlefish cvd tool
|
#include <string>#include <string_view>#include <vector>#include "json/value.h"#include "cuttlefish/io/io.h"#include "cuttlefish/result/result.h"

Go to the source code of this file.
Namespaces | |
| namespace | cuttlefish |
Functions | |
| Result< Json::Value > | cuttlefish::ParseJson (std::string_view input) |
| Result< Json::Value > | cuttlefish::LoadFromFile (Reader &json_reader) |
| Result< Json::Value > | cuttlefish::LoadFromFile (const std::string &path_to_file) |
| template<typename T > | |
| Result< T > | cuttlefish::As (const Json::Value &v) |
| template<> | |
| Result< int > | cuttlefish::As (const Json::Value &v) |
| template<> | |
| Result< std::string > | cuttlefish::As (const Json::Value &v) |
| template<> | |
| Result< bool > | cuttlefish::As (const Json::Value &v) |
| template<> | |
| Result< Json::Value > | cuttlefish::As (const Json::Value &v) |
| template<typename T > | |
| Result< T > | cuttlefish::GetValue (const Json::Value &root, const std::vector< std::string > &selectors) |
| template<typename T > | |
| Result< std::vector< T > > | cuttlefish::GetArrayValues (const Json::Value &array, const std::vector< std::string > &selectors) |
| bool | cuttlefish::HasValue (const Json::Value &root, const std::vector< std::string > &selectors) |