summaryrefslogtreecommitdiff
path: root/lib/jsonParse-persistence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jsonParse-persistence.cpp')
-rw-r--r--lib/jsonParse-persistence.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/jsonParse-persistence.cpp b/lib/jsonParse-persistence.cpp
index 5c0011a..ba61849 100644
--- a/lib/jsonParse-persistence.cpp
+++ b/lib/jsonParse-persistence.cpp
@@ -36,7 +36,7 @@ namespace Persistence {
}
void
- JsonParsePersistence::pushNumber(float value)
+ JsonParsePersistence::pushNumber(std::string_view value)
{
pushValue(value);
}
@@ -164,6 +164,12 @@ namespace Persistence {
}
void
+ JsonWritePersistence::pushValue(int value) const
+ {
+ strm << value;
+ }
+
+ void
JsonWritePersistence::pushValue(std::nullptr_t) const
{
strm << "null";