diff options
| author | Per Larsson <[email protected]> | 2022-03-23 13:45:49 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2022-03-23 13:45:49 +0100 |
| commit | e41d74d85c9d0132d864b4ac6f1a3ba10194ce99 (patch) | |
| tree | 9859ab2779abd385d77f588283ec2103262e0555 /zencore/compactbinary.cpp | |
| parent | Skip zenserver-test exec.basic test since it tries to access a non-existent f... (diff) | |
| download | zen-e41d74d85c9d0132d864b4ac6f1a3ba10194ce99.tar.xz zen-e41d74d85c9d0132d864b4ac6f1a3ba10194ce99.zip | |
Added ToJson for compact binary array.
Diffstat (limited to 'zencore/compactbinary.cpp')
| -rw-r--r-- | zencore/compactbinary.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zencore/compactbinary.cpp b/zencore/compactbinary.cpp index 808e4f39a..cb628af4b 100644 --- a/zencore/compactbinary.cpp +++ b/zencore/compactbinary.cpp @@ -1701,6 +1701,13 @@ CompactBinaryToJson(const CbObjectView& Object, StringBuilderBase& Builder) Writer.WriteField(Object.AsFieldView()); } +void +CompactBinaryToJson(const CbArrayView& Array, StringBuilderBase& Builder) +{ + CbJsonWriter Writer(Builder); + Writer.WriteField(Array.AsFieldView()); +} + ////////////////////////////////////////////////////////////////////////// #if ZEN_WITH_TESTS |