Forum Discussion

karelkremel's avatar
karelkremel
Occasional Contributor
7 years ago
Solved

how to do transfer property from JSON without brackets?

in property transfer step i'm using jsonpath to extract a value from response

$.entities[-1:].id

and exporting it to the property on testcaselevel

but instead of getting a value like 123456 i'm getting [123456]

is there a way how to do the property transfer without brackets? 

sure i can remove it later, but why should i?

  • Try
    $.entities[-1:].id[0]