IResource.withSerializedAnnotation
Method
interface IResource { // ... omitted for brevity withSerializedAnnotation( annotationId: string, json: string): IResource;}Signature
method
withSerializedAnnotation Stores a serialized ATS annotation payload on a resource, replacing any existing annotation with the same ID.
withSerializedAnnotation( annotationId: string, json: string): IResourceParameters
annotationId stringThe stable annotation identifier.jsonstringThe serialized JSON payload.Returns
IResource Defined on
This method is defined on the following type: