#include <gtopt/json/json_demand_profile.hpp>
template<>
json_data_contract<DemandProfile> struct
Public types
-
using type = json_member_list<json_number<"uid", Uid>, json_string<"name", Name>, json_variant_null<"active", OptActive, jvtl_
Active>, json_variant<"demand", SingleId>, json_variant<"profile", STBRealFieldSched, jvtl_ STBRealFieldSched>, json_variant_null<"scost", OptTRealFieldSched, jvtl_ TRealFieldSched>>
Public static functions
- static auto to_json_data(DemandProfile const& demand_profile) -> auto constexpr