Cleaned up and fixed some errors in the Json Parser.

This commit is contained in:
2024-08-15 19:28:30 -07:00
parent 2e705627ac
commit c607b20bad
14 changed files with 241 additions and 253 deletions

View File

@@ -7,7 +7,7 @@
namespace ehs
{
class EHS_LIB_IO JsonStr : public JsonBase
class EHS_LIB_IO JsonStr final : public JsonBase
{
public:
Str_8 value;
@@ -16,18 +16,18 @@ namespace ehs
JsonStr(Str_8 value);
JsonStr(const Char_8* value, const UInt_64 size = 0);
JsonStr(const Char_8 *value, UInt_64 size = 0);
JsonStr(JsonStr&& js) noexcept;
JsonStr(JsonStr &&js) noexcept;
JsonStr(const JsonStr& js) = default;
JsonStr(const JsonStr &js) = default;
JsonStr& operator=(JsonStr&& js) noexcept;
JsonStr& operator=(JsonStr &&js) noexcept;
operator Str_8() const;
operator Str_8&();
operator Str_8 &();
Str_8 ToStr(const UInt_64 level, const bool compact) const;
Str_8 ToStr(UInt_64 level, bool compact) const override;
};
}