• Post Reply Bookmark Topic Watch Topic
  • New Topic

Represent an Array of values in my Model  RSS feed

 
Geane Norm
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!