diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-01-02 16:06:31 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-01-03 15:52:14 +0000 |
commit | b2c24e2bff2873acbd39c7a513cea98962390350 (patch) | |
tree | 3840ba8c8898b3cf89fa27fae2448a56631d3236 /src/plugins/voiceagents/test/VoiceAgentsDataManagerTest.cpp | |
parent | dc5104d4254c9789a9b1ebce4543f0558e56aaac (diff) |
Fix event argument populationicefish_8.99.5icefish/8.99.58.99.5
Forwarded events from voiceagents have their argument JSON as a whole
stuck into a json-c string object which is then used as the outgoing
event argument. The effect is the whole argument JSON is quoted and
unusable until run through a JSON parser on the receiver side. This is
contrary to the vshl-core event documentation and inconvenient for
client implementors, so fix it by tokenizing the internal JSON string
into a json_object tree and passing that as the event argument.
Bug-AGL: SPEC-3084
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If6a80de68c7932742b7cb83d5b128d5458d5e049
(cherry picked from commit a10448fa4784c2f88937db2e7fe341cf8f832647)
Diffstat (limited to 'src/plugins/voiceagents/test/VoiceAgentsDataManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions