When you send an array in publish or request, it's for the subscriber not possible to decipher it because it will be considered a buffer (octet stream).
Writing array structures as json seems a valid pattern but the serializer would not allow it and limit a user of rabbot to wrap array structure in an object body.
This PR also contains tests for these changes in the subscriber.
Coverage increased (+0.005%) to 88.961% when pulling beebb865441543f74dd61cd7bd8e154b1a7907a0 on hufsm:better_content_detection into 80b63c08bdb32d04fd36502f24180e0c8e8f69ee on arobson:master.
When you send an array in publish or request, it's for the subscriber not possible to decipher it because it will be considered a buffer (octet stream). Writing array structures as json seems a valid pattern but the serializer would not allow it and limit a user of rabbot to wrap array structure in an object body.
This PR also contains tests for these changes in the subscriber.