EHS/include/ehs/json/JsonBool.h

27 lines
368 B
C
Raw Normal View History

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