create Annotation From Instant Json Async
abstract fun createAnnotationFromInstantJsonAsync(@NonNull annotationJson: String): Single<Annotation>
Creates an annotation from the Instant JSON annotation format asynchronously. The JSON must contain the type, the page number and any other required properties for that type. The created annotation will be automatically added to the document, and any registered will be notified of the creation.
Return
Single emitting annotation imported from provided Instant JSON or an error if creation of the annotation from JSON failed.
Parameters
annotation Json
Instant JSON representation of the annotation to be created.