17 #ifndef AWALI_JSON_AST_HH
18 #define AWALI_JSON_AST_HH
auto map(const std::tuple< Ts... > &ts, Fun f) -> decltype(map_tuple_(f, ts, make_index_sequence< sizeof...(Ts)>()))
Map a function on a tuple, return tuple of the results.
Definition: tuple.hh:134
json_ast_t metadata_ast(std::istream &i)
json_ast_t from_file(std::string const &filename)
Reads json_tree from given file.
json_ast_t from_string_map(std::map< std::string, std::string > const &map)
This function serves to build metadata extra informations.
json_ast_t empty()
Builds an empty json_ast_t.
Definition: json_ast.hh:33
json_ast_t from(std::istream &i)
Builds a json_ast_t from an input stream.
Main namespace of Awali.
Definition: ato.hh:22
std::shared_ptr< json::object_t > json_ast_t
Definition: json_ast.hh:27
std::ostream & put(json_ast_t tree, std::ostream &out)