• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERRest embedded relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERRest embedded relationships


  • Subject: ERRest embedded relationships
  • From: Michael Kondratov <email@hidden>
  • Date: Thu, 19 Sep 2013 14:22:13 -0400

Hello,
I am working on an Ember.js connector for ERRest. Everything is working beautifully, except embedded relationships. I can't figure out how to generate this style of JSON:


{
  "post": {
    "id": 1
    "title": "Rails is omakase",
    "comments": ["1", "2"],
    "_links": {
      "user": "/people/dhh"
    },
  },

  "comments": [{
    "id": "1",
    "body": "Rails is unagi"
  }, {
    "id": "2",
    "body": "Omakase O_o"
  }]
}

Any pointers?



Michael Kondratov
Aspire Auctions, Inc.
216-231-5515

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERRest embedded relationships
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Anyone using Kepler?
  • Next by Date: Re: ERRest embedded relationships
  • Previous by thread: Re: In-memory EOQualifier evaluation and to-many relations
  • Next by thread: Re: ERRest embedded relationships
  • Index(es):
    • Date
    • Thread