# Changes in default json format created by generate\_event\_message\_minimal

**URL:** <https://forums.developer.nvidia.com/t/changes-in-default-json-format-created-by-generate-event-message-minimal/255956>\
**Category:** DeepStream SDK\
**Created:** [June 8, 2023, 10:49am UTC](https://forums.developer.nvidia.com/t/changes-in-default-json-format-created-by-generate-event-message-minimal/255956 "2023-06-08T10:49:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![psharma3](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@psharma3](https://forums.developer.nvidia.com/u/psharma3)\
**Post date:** [June 8, 2023, 10:49am UTC](https://forums.developer.nvidia.com/t/changes-in-default-json-format-created-by-generate-event-message-minimal/255956/1 "2023-06-08T10:49:08Z")

</div>

NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0  
deepstream-6.2

{  
“version” : “4.0”,  
“id” : “2197”,  
“@timestamp” : “2023-06-08T08:29:24.927Z”,  
“sensorId” : “cam0”,  
“objects” : [  
“0|1232.87|153.384|1384.16|364.948|jet\_bridge\_disconnected”,  
“2|844.068|172.347|1094.17|535.746|airplane\_front”  
]  
}

in above format , i want to add specifically description variable by fetching from dstest5\_msgconv\_sample\_config.txt ,  
for that what changes needs to be done in generate\_event\_message\_minimal function of eventmsg\_payload.cpp

output should looks like this  
{  
“version” : “4.0”,  
“id” : “2197”,  
“@timestamp” : “2023-06-08T08:29:24.927Z”,  
“sensorId” : “cam0”,  
“Description”:‘Aisle Camera’  
‘location’:45.293701447;-75.8303914499;48.1557479338

“objects” : [  
“0|1232.87|153.384|1384.16|364.948|jet\_bridge\_disconnected”,  
“2|844.068|172.347|1094.17|535.746|airplane\_front”  
]  
}

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [June 9, 2023, 5:26am UTC](https://forums.developer.nvidia.com/t/changes-in-default-json-format-created-by-generate-event-message-minimal/255956/3 "2023-06-09T05:26:59Z")

</div>

**There is no update from you for a period, assuming this is not an issue any more.**  
**Hence we are closing this topic. If need further support, please open a new one.**  
**Thanks**

nvmsgconv plugin and low level lib are opensource, you can modify nvmsgconv.cpp in deepstream sdk, after modifying, you need to rebuild the code and replace the old lib.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [June 25, 2023, 3:24am UTC](https://forums.developer.nvidia.com/t/changes-in-default-json-format-created-by-generate-event-message-minimal/255956/4 "2023-06-25T03:24:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
