# Annotation response

**URL:** <https://pdfjs.community/t/annotation-response/2527>\
**Category:** Technical Support\
**Created:** [April 19, 2023, 5:02am UTC](https://pdfjs.community/t/annotation-response/2527 "2023-04-19T05:02:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejshree.bang](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@tejshree.bang](https://pdfjs.community/u/tejshree.bang)\
**Post date:** [April 19, 2023, 5:02am UTC](https://pdfjs.community/t/annotation-response/2527/1 "2023-04-19T05:02:05Z")

</div>

Hi,

Can you please guide me how we can get response in JSON format instead of whole XML xfdf format?  
Also, in measurement tool, we are not getting object name or id where we are measuring distance so please guide me on that too.

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [April 19, 2023, 4:07pm UTC](https://pdfjs.community/t/annotation-response/2527/2 "2023-04-19T16:07:11Z")

</div>

Hello tejshree.bang,

The XFDF XML is a PDF standard for annotation data. Unfortunately, there is no way of doing JSON at the moment, you can read more about XFDF here: [Apryse Documentation | Documentation](https://docs.apryse.com/documentation/web/guides/xfdf/)

_ **\> Also, in measurement tool, we are not getting object name or id where we are measuring distance so please guide me on that too.** _  
Please elaborate and provide screenshots, logs, or steps to reproduce.

Best regards,  
Tyler Gordon
