Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
elelik
Contributor
Contributor

tExtractJSON; Extract data from variables having "@" as first character of their name

Hi,

in my job, I receive data in JSON format from my tRestClient. here is an example:

200 || {"@code": "WAL0404", "@type": "ServerReturnedNOK", "Message": "Replacement item 1987P12555 already exists WAL0404"}

In a tExtractJSON, I want to extract the data from Message, @code and @type variables.

How to extract data from @code & @type in tExtracJSON ?

Labels (3)
1 Reply
Anonymous
Not applicable

Try to read by 'Xpath' model.

 

Regards

Shong