]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/formatter: json formattable is now also a formatter
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 23 Jul 2018 23:39:30 +0000 (16:39 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 11 Dec 2018 08:10:42 +0000 (00:10 -0800)
commite47a228a868018791eebc7d12665f5a589b62a27
tree7e2751145b412d1514a49b698e6601def52e09ea
parent19cb24acdfd1ef9032b212e56f4fe400cc9ba389
common/formatter: json formattable is now also a formatter

This way we can construct a formattable structure by encoding
objects into it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/common/Formatter.cc
src/common/Formatter.h
src/common/ceph_json.cc
src/common/ceph_json.h
src/test/common/test_json_formattable.cc