[jira] [Created] (SLING-8696) Use json for serialization of messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SLING-8696) Use json for serialization of messages

Carsten Ziegeler (Jira)
Christian Schneider created SLING-8696:
------------------------------------------

             Summary: Use json for serialization of messages
                 Key: SLING-8696
                 URL: https://issues.apache.org/jira/browse/SLING-8696
             Project: Sling
          Issue Type: Improvement
          Components: Content Distribution
    Affects Versions: Content Distribution Journal Messages 0.1.4
            Reporter: Christian Schneider
            Assignee: Christian Schneider


Serialising the messages using json will allow to display them without additional tooling. Most messages can be described easily in json. 

Only the package messages are special as one attribute is the binary of the content package. 

We have to decide how to encode this.

One possible solution is to use base64 (increases size by 30%). Another solution is to serialise the binary after the json.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)