title: Convert JSON object to Ember data Model
body: <p>I did common modal pop-up for one of the project. 
  For that modal pop-up, I am passing data-model(say Salary model) as a parameter. 
  Sometimes we need to pass model as an object (i.e. instead of salary model we pass salary object). Based on that i am checking if parameter is an instance of ember or an object .</p>
  
  <p>My question is, can we convert object(say salary object) to ember data model (say salary model)?</p>
  
  <p>For eg:-
  I have a Model like below</p>
  
  <pre><code>App.Salary=DS.Model.extend({
  emp_name:DS.attr('string'),
  emp_salary:DS.attr('string')
  });
  
  Json object
  {salary:{id:1,emp_name:'Raju',emp_salary:'5000'}}
  </code></pre>
  
  <p>For some reasons ,
  I pass ember salary model as an parameter / salary object(JSON) as an parameter</p>
  
  <p>Both are having same data , but salary model will be ember instance . If i change some thing in node , it will reflect in associated models. But for salary object , if change some thing in node , it will not reflect in associated models . </p>
  
  <p>I know salary object is not associated with ember-data model , that's why it will not reflect with salary associated models .</p>
  
  <p>So is there any way to convert that salary object into salary model . So if i change something in the node , it will reflect associated models .</p>