Changes for page Remoting

Last modified by christoph_lechleitner@iteg_at on 2022-08-08 10.40:02

From version 5.1
edited by christoph_lechleitner@iteg_at
on 2022-05-30 02.40:38
Change comment: Protocol and Client / Server Support
To version 6.1
edited by christoph_lechleitner@iteg_at
on 2022-08-08 10.40:02
Change comment: JSON Serialization and Deserialization behaviour & requirements

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Remoting Home
1 +Remoting
Content
... ... @@ -69,6 +69,14 @@
69 69  
70 70  There is no public example from clazzes.org yet, but it's basically JSON-RPC-2.0.
71 71  
72 +=== {{id name="RemotingHome-JSONSerializationandDeserializationbehaviour&requirements(ofC++backend)"/}}JSON Serialization and Deserialization behaviour & requirements (of C++ backend) ===
73 +
74 +If an object is serialized all fields are serialized. Addtionally there's a field "{{code language="none"}}serialID{{/code}}" that's basically the fully qualified class name of the Java data classe ("POJO"), like {{code language="none"}}org.clazzes.foobar.api.data.MyPojo{{/code}}. All complex fields can be {{code language="none"}}null{{/code}}, including Strings.
75 +
76 +When deserializing a complex top-level object that field "{{code language="none"}}serialID{{/code}}" is required to understand the contained type.
77 +
72 72  \\
73 73  
74 74  \\
81 +
82 +\\
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -947257360
1 +659258
URL
... ... @@ -1,1 +1,1 @@
1 -https://clazzes.atlassian.net/wiki/spaces/REM/pages/947257360/Remoting Home
1 +https://clazzes.atlassian.net/wiki/spaces/REM