how to use just the property of the json object from databank

angmangm Posts: 2

Hi, would you please let me know how i can use just the property of the JSON object that i save to the databank.

Comments

  • benken_parasoftbenken_parasoft Posts: 736 ✭✭✭

    What do you mean by "just the property"? The JSON data bank extracts JSON values which would be the value of an object property or an array item.

  • angmangm Posts: 2

    I have save to the databank json object address { streetaddress: "320 Front St", city:"toronto", Province:"ontario",postalCode:""} and i just want to use the city property, how do i do that?

  • benken_parasoftbenken_parasoft Posts: 736 ✭✭✭

    In the Data Bank's Tree tab you select "city" then click Extact Element. In other words, it is fine to save the "address" object in one column and then create a second extraction to save "city" in another column.

Sign In or Register to comment.