[CLOSED] Use Store / Model to create Json from object

  1. #1

    [CLOSED] Use Store / Model to create Json from object

    I have a gridpanel on my page with a store and a model. During a directmethod, I want to return a serialized object back to the client using the fields I defined in the model. How can I access the code you guys are doing internally to bind a store? For example, I have an User object with 10 properties. My store / model is defined with only 5 fields. I want to deserialize that User object to Json with only those 5 fields.
    Last edited by Daniil; Apr 03, 2014 at 4:09 AM. Reason: [CLOSED]
  2. #2
    You have to use ModelSerializer class which serializes a data according passed model
    Please see
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Missing JSON object
    By PeterParsonage in forum 2.x Help
    Replies: 2
    Last Post: Nov 01, 2013, 7:25 AM
  2. Replies: 7
    Last Post: Oct 15, 2013, 11:35 AM
  3. [CLOSED] JSON deserialize model fields to one nested object
    By boris in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 12, 2012, 10:51 AM
  4. JSON Object to Store
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Oct 11, 2011, 8:44 PM
  5. Replies: 4
    Last Post: Feb 02, 2010, 1:00 PM

Posting Permissions