diff options
author | Karel Zak | 2018-04-03 15:08:40 +0200 |
---|---|---|
committer | Karel Zak | 2018-04-03 15:10:10 +0200 |
commit | b2c871f97844f6be248a417c2482d0665edc0cfe (patch) | |
tree | 86f6d6b077f460664bb8c377adccbadf52bf8e4c /libsmartcols/src/libsmartcols.sym | |
parent | docs: add choom to TODO (diff) | |
download | kernel-qcow2-util-linux-b2c871f97844f6be248a417c2482d0665edc0cfe.tar.gz kernel-qcow2-util-linux-b2c871f97844f6be248a417c2482d0665edc0cfe.tar.xz kernel-qcow2-util-linux-b2c871f97844f6be248a417c2482d0665edc0cfe.zip |
libsmartcols: improve JSON support (add types)
This commit add SCOLS_JSON_{NUMBER,STRING,BOOLEAN} to specify column
type for JSON output formatting.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.sym')
-rw-r--r-- | libsmartcols/src/libsmartcols.sym | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.sym b/libsmartcols/src/libsmartcols.sym index a4ac39cc9..331a55554 100644 --- a/libsmartcols/src/libsmartcols.sym +++ b/libsmartcols/src/libsmartcols.sym @@ -176,3 +176,9 @@ SMARTCOLS_2.31 { scols_table_enable_noencoding; scols_table_is_noencoding; } SMARTCOLS_2.30; + + +SMARTCOLS_2.33 { + scols_column_set_json_type; + scols_column_get_json_type; +} SMARTCOLS_2.31; |