ipfs-chromium
Loading...
Searching...
No Matches
json_parser.h
1#ifndef IPFS_CHROMIUM_JSON_PARSER_H
2#define IPFS_CHROMIUM_JSON_PARSER_H
3
4#include <memory>
5#include <string_view>
6
7namespace ipfs {
8class DagJsonValue;
9}
10
11namespace ipfs::ctx {
15 public:
16 virtual ~JsonParser() noexcept {}
20 virtual std::unique_ptr<DagJsonValue> Parse(std::string_view json) = 0;
21};
22} // namespace ipfs::ctx
23
24#endif // IPFS_CHROMIUM_JSON_PARSER_H
Definition json_parser.h:14
virtual std::unique_ptr< DagJsonValue > Parse(std::string_view json)=0