# QIDO-RS: wrong serialization of empty values

**URL:** https://discourse.orthanc-server.org/t/qido-rs-wrong-serialization-of-empty-values/1191
**Category:** Google Groups archive
**Created:** [November 13, 2018, 7:59am UTC](https://discourse.orthanc-server.org/t/qido-rs-wrong-serialization-of-empty-values/1191 "2018-11-13T07:59:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Harald\_Kostinger](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/h/c77e96/32.png) [@Harald\_Kostinger](https://discourse.orthanc-server.org/u/Harald_Kostinger)
#### Post date: [November 13, 2018, 7:59am UTC](https://discourse.orthanc-server.org/t/qido-rs-wrong-serialization-of-empty-values/1191/1 "2018-11-13T07:59:14Z")

</div>

Hello

I figured out, that Orthanc QIDO-RS is not correctly serializing empty DICOM values into JSON.

Compare the following DIMSE dataset and JSON:

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [November 13, 2018, 8:01am UTC](https://discourse.orthanc-server.org/t/qido-rs-wrong-serialization-of-empty-values/1191/2 "2018-11-13T08:01:28Z")

</div>

Hello,

Thanks for reporting the issue.

Please file it to our bug tracker so that we can solve it according to our quality processes:  
[https://bitbucket.org/sjodogne/orthanc/issues?status=new&status=open](https://bitbucket.org/sjodogne/orthanc/issues?status=new&status=open)

Regards,  
Sébastien-

---

<div class="post-metadata">

### Author: ![Harald\_Kostinger](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/h/c77e96/32.png) [@Harald\_Kostinger](https://discourse.orthanc-server.org/u/Harald_Kostinger)
#### Post date: [November 13, 2018, 8:07am UTC](https://discourse.orthanc-server.org/t/qido-rs-wrong-serialization-of-empty-values/1191/3 "2018-11-13T08:07:44Z")

</div>

Filed bug: [https://bitbucket.org/sjodogne/orthanc/issues/111/qido-rs-wrong-serialization-of-empty](https://bitbucket.org/sjodogne/orthanc/issues/111/qido-rs-wrong-serialization-of-empty)
