OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-storage commits / 2f583aa

Fix book value printing
2f583aa693262e21eab7904afd492d7016df86ab
by Linas Vepštas <linasvepstas@gmail.com> · 2026-01-23T19:39:35.000Z

Changed files (1) +1 -3

opencog/persist/json/EncodeJson.cc +1 -3
……@@ -148,11 +148,9 @@ std::string Json::encode_value(const ValuePtr& v, const std::string& indent)
148148 else
149149 if (nameserver().isA(typ, BOOL_VALUE))
150150 {
151 // Hack-a-licious. Use the native printer, for now.
152 // XXX FIXME later.
153151 BoolValuePtr bv(BoolValueCast(v));
154152 txt += "\"";
155 txt += bv->to_string();
153 txt += bv->hex_string();
156154 txt += "\"";
157155 }
158156