Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

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

angm
angm 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_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭

    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.

  • angm
    angm 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_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭

    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.