Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Need to override how some elements are serialized/deserialized
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John  
View profile  
 More options Sep 10 2009, 11:11 am
From: John <j...@jdiligence.com>
Date: Thu, 10 Sep 2009 08:11:26 -0700 (PDT)
Local: Thurs, Sep 10 2009 11:11 am
Subject: Need to override how some elements are serialized/deserialized
I need to override some elements and change the way they are
serialized depending on other fields within the object. Below the type
of object in the list of lists (data) depends on the column object
within the same object. How can I do this?

I could use just the low level expression stuff which I can then
traverse to build my own structure but can't find a tutorial on using
this without extras of the serializer.

Any tips?

    public class PyTable
    {
        String id;
        String name;
        List<PyColumn> columns = new List<PyColumn>();
        List<List<Object>> data = new List<List<Object>>();
    }

    public class PyColumn
    {
        const int TEXT = 0;
        const int INTEGER = 1;
        const int FLOAT = 2;
        const int DATE = 3;

        String id;
        String name;
        int typeId;
    }


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.