office-gobmx/comphelper
Skyler Grey 3a9caad863 feat(json): Allow serializing any
Previously, as far as I can tell, there was no way to send a Size in a
.uno command (as would be needed in, say, '.uno:InsertAVMedia').

We do, however, already have a way to send an `[]any`, and we can use a
similar method to allow sending arbitrary types with `any` rather than
`[]any`.

To use this, the type you really want to send has to be wrapped in any,
so for example...

{
  type: "any",
  value: {
    type: "com.sun.star.awt.Size",
    value: {
      Width: {
        type: "long",
	value: 0,
      },
      Height: {
        type: "long",
	value: 0,
      }
    }
  }
}

Change-Id: Ic33594dee955d475d81733adb21950c0458435e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174740
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit cccbf8608f3b76651993bc8576c672367c228fa2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175982
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-11-04 09:39:27 +01:00
..
inc/pch simplify and modernise ScopedBitmapAccess 2023-12-07 09:32:14 +01:00
qa Optimize JsonToPropertyValues a bit 2024-10-21 20:28:43 +02:00
source feat(json): Allow serializing any 2024-11-04 09:39:27 +01:00
util
CppunitTest_comphelper_ifcontainer.mk gbuild: Remove MSVC 2013 legacy code 2017-04-21 18:18:44 +02:00
CppunitTest_comphelper_parallelsort_test.mk Use less boost_headers in low level libraries 2024-03-06 21:23:17 +01:00
CppunitTest_comphelper_syntaxhighlight_test.mk Use less boost_headers in low level libraries 2024-03-06 21:23:17 +01:00
CppunitTest_comphelper_test.mk comphelper: fix natural string compare function + reorganize tests 2022-05-20 01:19:41 +02:00
CppunitTest_comphelper_threadpool_test.mk Use less boost_headers in low level libraries 2024-03-06 21:23:17 +01:00
CppunitTest_comphelper_variadictemplates_test.mk Use less boost_headers in low level libraries 2024-03-06 21:23:17 +01:00
CppunitTest_comphelper_weakbag_test.mk tdf#146266 Move WeakBag test to gbuild system 2024-04-12 16:50:31 +02:00
IwyuFilter_comphelper.yaml comphelper/servicedecl.hxx is unused 2023-05-09 21:33:39 +02:00
JunitTest_comphelper_complex.mk tdf#97362 Convert comphelper SequenceOutputStreamUnitTest to Python 2023-01-31 12:18:47 +00:00
Library_comphelper.mk convert ODatabaseMetaDataResultSet to comphelper::WeakComponentImplHelper 2024-03-26 17:17:03 +01:00
Makefile
Module_comphelper.mk tdf#146266 Move WeakBag test to gbuild system 2024-04-12 16:50:31 +02:00
PythonTest_comphelper_python.mk tdf#97362 Convert comphelper SequenceOutputStreamUnitTest to Python 2023-01-31 12:18:47 +00:00
README.md
StaticLibrary_windows_process.mk

Helpers for Implementing UNO Components

Here goes anything not generic / mature enough to end up in URE's stable interface at cppuhelper, etc.