Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
kmrprvn
Contributor
Contributor

How to avoid double quotes for json integer/boolean datatypes fields in tWriteJsonField

Hi All,

I am able to construct json structure using tWriteJsonField but problem is i am getting double quotes for every field in json.

i don't want double quotes for int/Boolean data types. even i am passing those fields with respective data types. still tWriteJsonField not generating as expected.

 

i am seeing feature to on/off double quote option in this link https://help.talend.com/reader/WfrS1ZaBst3az8zJBGoMSQ/dNXrPF_vuwi0Smw5iIL~0g . but i did't find it not in my talend big data enterprise 6.5.1 version. 0683p000009M1GJ.jpg

 

 

can some please explain how i can get expected target.

Labels (4)
8 Replies
vapukov
Master II
Master II

it is there, Advanced tab of tWriteJsonField:

0683p000009M1LI.png

 

unchecked:

[statistics] connected
{"rootTag":{"data":{"strCol":"this a string","intCol":1,"DateCol":"2018-12-06 15:35:44","boolCol":true}}}
[statistics] disconnected

checked:

[statistics] connected
{"rootTag":{"data":{"strCol":"this a string","intCol":"1","DateCol":"2018-12-06 15:35:44","boolCol":"true"}}}
[statistics] disconnected
kmrprvn
Contributor
Contributor
Author

its not showing in my product0683p000009M10R.png

 

 


image001.png
vapukov
Master II
Master II

 what version you check in documentation and what you use?

 

as I could guess (could but not a must!!!)  it is 6.* - in this case you need upgrade

kmrprvn
Contributor
Contributor
Author

product details:

 

Talend Big Data Platform

 

Version: 6.5.1

Build id: 20180116_1512

vapukov
Master II
Master II

yes, and in documentation link from your first post - Talend 7.0

this is why it is important to provide more information if need answer. Here not a quiz night 0683p000009MA9p.png

in 6.5 - no this settings

kmrprvn
Contributor
Contributor
Author

I think you didn't read my whole question properly. i included version details in question.

btw thanks for your time. appreciate it
vapukov
Master II
Master II

you are right, sorry - skip this line with first reading

 

btw, as you can see - docs about version 7, and all there (I have 6.5 as well, this is why asking)

vapukov
Master II
Master II

for avoid wrong information, proper way to search in help:

0683p000009M1DQ.png

 

start not from google, which return unpredicted version, but on start page choose version of product