depzip-lib
v0.4.3
Package archiver
Loading...
Searching...
No Matches
json_io.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
depzip/manifest.hpp
"
3
#include "djson/json.hpp"
4
5
namespace
depzip
{
7
void
from_json
(dj::Json
const
& json,
PackageInfo
& package);
8
void
to_json
(dj::Json& json,
PackageInfo
const
& package);
9
11
void
from_json
(dj::Json
const
& json,
Manifest
& manifest);
12
void
to_json
(dj::Json& json,
Manifest
const
& manifest);
13
}
// namespace depzip
manifest.hpp
depzip
Definition
config.hpp:4
depzip::from_json
void from_json(dj::Json const &json, PackageInfo &package)
json must outlive all string views in package.
depzip::to_json
void to_json(dj::Json &json, PackageInfo const &package)
depzip::Manifest
Manifest description.
Definition
manifest.hpp:7
depzip::PackageInfo
Package description.
Definition
package_info.hpp:7
lib
include
depzip
json_io.hpp
Generated by
1.15.0