summaryrefslogtreecommitdiff
path: root/project2/json
diff options
context:
space:
mode:
Diffstat (limited to 'project2/json')
-rw-r--r--project2/json/presenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/json/presenter.cpp b/project2/json/presenter.cpp
index fe0a75d..7f20f8e 100644
--- a/project2/json/presenter.cpp
+++ b/project2/json/presenter.cpp
@@ -134,7 +134,7 @@ void
JsonPresenter::writeTo(std::ostream & o, const std::string & encoding, ExecContext * ec) const
{
if (returnObject(ec).isNull()) {
- serializeObject(object, o, encoding);
+ serializeValue(object, o, encoding);
}
else {
serializeValue(*object[returnObject(ec).as<Glib::ustring>().collate_key()], o, encoding);