• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Represent an Array of values in my Model

Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my API returns the following:

     "id": 1,
     "name": "sample string 2",
     "nameKey": "sample string 3",
     "code": "sample string 4",
     "urls": [
         "rel": "sample string 1",
         "href": "sample string 2"
         "rel": "sample string 1",
         "href": "sample string 2"
         "rel": "sample string 1",
         "href": "sample string 2"

In my Model I have something like this:

How do you represent an array of values like:  

in my Model?

Thank you
    Bookmark Topic Watch Topic
  • New Topic