EHS/include/ehs/json/JsonBool.h

27 lines
368 B
C++

#pragma once
#include "ehs/EHS.h"
#include "ehs/Str.h"
#include "JsonBase.h"
namespace ehs
{
class EHS_LIB_IO JsonBool final : public JsonBase
{
public:
bool value;
JsonBool();
JsonBool(bool value);
JsonBool(const JsonBool& jb) = default;
operator bool() const;
operator bool&();
Str_8 ToStr(UInt_64 level, bool compact) const override;
};
}