create Annotation From Instant Json
Creates an annotation from the Instant JSON annotation format. 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
Annotation created from the provided Instant JSON. If creation of the annotation from JSON failed, this method throws an exception.
Parameters
annotation Json
Instant JSON representation of the annotation to be created.