]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add JSONFormatterFile class
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 17 Feb 2024 15:22:29 +0000 (10:22 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 22 Mar 2024 15:38:01 +0000 (11:38 -0400)
commit422ab0a5aa46e7e15e4ff9f228e463a97c6e988c
treeea39994eeebe4f5878fee7a27bdfceb68e1b1255
parent0618afe6f9539ba040718def80a154ca444ed785
common: add JSONFormatterFile class

To stream JSON to a file for collection (for testing).  The idea here that
trying to send a very large JSON result over `ceph tell` is best to be avoided.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8928a1266fc6bc492dac34253edb36c045e491e5)
src/common/Formatter.cc
src/common/Formatter.h