Is there any way to serialize or deserialize an IDocument to Java objects, including attachments and repetitions, and vice versa, back from Java objects to an IDocument?
Hello @n.garryyev,
From Redirecting… I see that there is a Kernel’s API which you can use to serialize and deserialize an IDocument.
So in your case, if you want to serialize an IDocument, it would be: IDocument → IDocumentSerializer#serialize → Writer → Deserialize JSON data → Java object.
And the reverse process would be: Java object → Serialize to JSON → Reader → IDocumentSerializer#deserialize → IDocument.
Hope it helps!