QueueItem SpecificContent with subcontent

A very interesting has happened to me recently.
Some times I create Json Objects, then I serialize it and upload in a queue item like:

“jsonData”: “{“1”:“1”,“2”:“2”,“3”:“3”}”

BUT! recently I had a problem with some of this " \ " (bars) duplicated on paths.
I’ve tried to fix it editing the Json file downloaded from the queueItem.

This is the json before I fix it (Example)
{“JReport”:"{\ "1\ ":\ "1\ ",\ "2\ ":\ "2\ ",\ "3\ ":\ "3\ “}”}
This is the json fixed
{“JReport”:{“1”:“1”,“2”:“2”,“3”:“3”}}

I’ve erased all the " \ " (Bars) Letting just one for the paths. And the “jsonData” transforms into a real Object when I’ve uploaded again!
image

I want to know How can I do this from the “Add Queue Item” Activity and how can I access to that information.

Thank you :slight_smile:

1 Like

Hey @kevin.dasilva

Where you able to save the queue item data, as I’m unable to reproduce the same. It is throwing an exception when I tried to save it.

Thanks
#nK

1 Like

Hi!
Thank you for Reply!

If you have some errors saving, it could be for syntax problems. Maybe there is an extra quotation mark anywhere.

If you want, you can send a screencapture or use sublimetext to find errors on the syntax instead.

Let me know if you find something :slight_smile: Thanks!

1 Like

Hey @kevin.dasilva

Please confirm the steps to reproduce !

I edited the above item json as below & re-uploaded to override

image

Error as below, even though it shows the preview correctly

Thanks
#nK