• 易思龙's avatar
    support enum · 91aee105
    易思龙 authored
    construct enum type to basic_json (proxy by int type)
    ```
        enum { t = 0 };
        json  j = json::array();
        j.push_back(t);
    
        j.push_back(json::object({
             {"game_type", t}
        }));
    ```
    91aee105
json.hpp 146 KB