aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-08-19 14:03:02 +0200
committerGitHub Enterprise <[email protected]>2025-08-19 14:03:02 +0200
commit6bdaf6ad6e1308aae12845b20bf06a4406ba0c03 (patch)
tree718a2bb2016d4e88084c21e2868a3efca34a5926 /src/zencore/include
parent5.6.17 (diff)
downloadzen-6bdaf6ad6e1308aae12845b20bf06a4406ba0c03.tar.xz
zen-6bdaf6ad6e1308aae12845b20bf06a4406ba0c03.zip
zen print fixes/improvements (#469)
- Improvement: `zen print` now allows output of compact binary content even if they are in non-optimal format (Unifom vs Non-Uniform arrays and objects) - Feature: `zen print` now has a `--show-type-info` option to add type information to output of compact binary content - Bugfix: Stats information for Build Store (Zen Store Cache) no longer throws exception and outputs invalid state information
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/compactbinary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zencore/include/zencore/compactbinary.h b/src/zencore/include/zencore/compactbinary.h
index 0fdb56d67..82ca055ab 100644
--- a/src/zencore/include/zencore/compactbinary.h
+++ b/src/zencore/include/zencore/compactbinary.h
@@ -996,7 +996,7 @@ private:
/**
* Serialize a compact binary object to JSON.
*/
-ZENCORE_API void CompactBinaryToJson(const CbObjectView& Object, StringBuilderBase& Builder);
+ZENCORE_API void CompactBinaryToJson(const CbObjectView& Object, StringBuilderBase& Builder, bool AddTypeComment = false);
/**
* Serialize a compact binary object to YAML.
*/
@@ -1520,7 +1520,7 @@ end(CbFieldView&)
/**
* Serialize serialized compact binary blob to JSON. It must be 0 to n fields with including type for each field
*/
-ZENCORE_API void CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder);
+ZENCORE_API void CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder, bool AddTypeComment = false);
/**
* Serialize serialized compact binary blob to YAML. It must be 0 to n fields with including type for each field