EHS/include/ehs/json/JsonBool.h

27 lines
371 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
{
2024-07-24 01:36:20 -07:00
class EHS_LIB_IO JsonBool : public JsonBase
2024-02-05 22:25:30 -08:00
{
public:
bool value;
JsonBool();
JsonBool(const bool value);
JsonBool(const JsonBool& jb) = default;
operator bool() const;
operator bool&();
Str_8 ToStr(const UInt_64 level, const bool compact) const;
};
}