EHS/include/ehs/json/JsonStr.h

33 lines
502 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 JsonStr : public JsonBase
2024-02-05 22:25:30 -08:00
{
public:
Str_8 value;
JsonStr();
JsonStr(Str_8 value);
JsonStr(const Char_8* value, const UInt_64 size = 0);
JsonStr(JsonStr&& js) noexcept;
JsonStr(const JsonStr& js) = default;
JsonStr& operator=(JsonStr&& js) noexcept;
operator Str_8() const;
operator Str_8&();
Str_8 ToStr(const UInt_64 level, const bool compact) const;
};
}