Mercurial > hg > orthanc
diff OrthancServer/DicomInstanceToStore.cpp @ 1686:14a32b2fa63e
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 07 Oct 2015 13:57:26 +0200 |
parents | 0a2ad4a6858f |
children | a001f6226c7c |
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.cpp Wed Oct 07 10:13:42 2015 +0200 +++ b/OrthancServer/DicomInstanceToStore.cpp Wed Oct 07 13:57:26 2015 +0200 @@ -109,7 +109,8 @@ if (!json_.HasContent()) { json_.Allocate(); - FromDcmtkBridge::ToJson(json_.GetContent(), GetDataset(parsed_.GetContent())); + FromDcmtkBridge::ToJson(json_.GetContent(), GetDataset(parsed_.GetContent()), + DicomToJsonFormat_Full, 256 /* max string length */); } }