diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-05-18 15:00:38 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-07-13 12:17:36 +0200 |
commit | 6086d896183a529d4a0b83d4862970c8f320b0aa (patch) | |
tree | aea76ff8c6f3d8a1eac48f88a3a495e43852e5cd /include | |
parent | 52d265c0d2f2638c386475e58c3ee489ccd3f06c (diff) |
linking: api: use JsonWriter
Change-Id: If5bf1897f1aef8db1672789cbee14b90cb96dc08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151959
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154378
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/json_writer.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tools/json_writer.hxx b/include/tools/json_writer.hxx index 12b3eea25a8c..a84e9660704d 100644 --- a/include/tools/json_writer.hxx +++ b/include/tools/json_writer.hxx @@ -52,6 +52,8 @@ public: [[nodiscard]] ScopedJsonWriterArray startArray(std::string_view); [[nodiscard]] ScopedJsonWriterStruct startStruct(); + void put(std::u16string_view pPropName, const OUString& rPropValue); + void put(std::string_view pPropName, const OUString& rPropValue); // Assumes utf-8 property value encoding void put(std::string_view pPropName, std::string_view rPropValue); |