LCOV - code coverage report
Current view: top level - package/demo/api - get_json.hpp (source / functions) Hit Total Coverage
Test: wfc_demo-coverage.info Lines: 0 3 0.0 %
Date: 2019-08-13 Functions: 0 3 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <demo/api/get.hpp>
       4             : #include <wfc/json.hpp>
       5             : 
       6             : namespace demo{
       7             : 
       8             : namespace request
       9             : {
      10             :   struct get_json
      11             :   {
      12           0 :     JSON_NAME(key)
      13             : 
      14             :     typedef wfc::json::object<
      15             :       get,
      16             :       wfc::json::member_list<
      17             :         wfc::json::member<n_key, get, std::string, &get::key>
      18             :       >
      19             :     > type;
      20             : 
      21             :     typedef type::target     target;
      22             :     typedef type::serializer serializer;
      23             :   };
      24             : }
      25             : 
      26             : namespace response
      27             : {
      28             :   struct get_json
      29             :   {
      30           0 :     JSON_NAME(value)
      31           0 :     JSON_NAME(status)
      32             : 
      33             :     typedef wfc::json::object<
      34             :       get,
      35             :       wfc::json::member_list<
      36             :         wfc::json::member<n_status, get, bool,        &get::status >,
      37             :         wfc::json::member<n_value,  get, std::string, &get::value >
      38             :       >
      39             :     > type;
      40             : 
      41             :     typedef type::target     target;
      42             :     typedef type::serializer serializer;
      43             :   };
      44             : }
      45             : 
      46             : }

Generated by: LCOV version 1.10