EHS
JsonBool.h
Go to the documentation of this file.
1#pragma once
2
3#include "ehs/EHS.h"
4#include "ehs/Str.h"
5
6#include "JsonBase.h"
7
8namespace ehs
9{
10 class EHS_LIB_IO JsonBool final : public JsonBase
11 {
12 public:
13 bool value;
14
15 JsonBool();
16
17 JsonBool(bool value);
18
19 JsonBool(const JsonBool& jb) = default;
20
21 operator bool() const;
22
23 operator bool&();
24
25 Str_8 ToStr(UInt_64 level, bool compact) const override;
26 };
27}
Definition: JsonBase.h:19
Definition: JsonBool.h:11
JsonBool(const JsonBool &jb)=default
bool value
Definition: JsonBool.h:13
Definition: Anchor.h:6