Hello,
I am having trouble creating a datasource schema model definition for the following json object returned from a service call. How do I make the specification for the phones array and nested address object?
Thank you.
I am having trouble creating a datasource schema model definition for the following json object returned from a service call. How do I make the specification for the phones array and nested address object?
Thank you.
{
"customerId":50,
"name":"Customer Name",
"website":"http://customersite.com",
"phones"
:["939-555-1212", "212-333-1200"],
"address"
: {
"address1"
:
"123 Main Street"
,
"address2"
:
"Suite 10"
,
"city"
:
"Santa Monica",
"zip":"99029",
"state_id":1,
"country_id":1
}
}