Reading C# serialized objects into Python?

Discussion in 'Python' started by Alex van der Spek, Jan 8, 2009.

  1. Is there a way to read C# serialized objects into Python?

    I know the definition and structure of the C# objects. The Python docs
    say that pickle is specific to Python, which does not give me much hope.
    There may be a library however that I haven't come across yet.

    Thanks much,
    Alex van der Spek
     
    Alex van der Spek, Jan 8, 2009
    #1
    1. Advertising

  2. Alex van der Spek wrote:

    > Is there a way to read C# serialized objects into Python?
    >
    > I know the definition and structure of the C# objects. The Python docs
    > say that pickle is specific to Python, which does not give me much hope.
    > There may be a library however that I haven't come across yet.


    IronPython might be of help here. You might try to de-serialize in
    IronPython, and then serialize again using pickle.

    Diez
     
    Diez B. Roggisch, Jan 8, 2009
    #2
    1. Advertising

  3. Alex van der Spek

    Steve Holden Guest

    Alex van der Spek wrote:
    > Is there a way to read C# serialized objects into Python?
    >
    > I know the definition and structure of the C# objects. The Python docs
    > say that pickle is specific to Python, which does not give me much hope.
    > There may be a library however that I haven't come across yet.
    >

    struct?

    regards
    Steve
    --
    Steve Holden +1 571 484 6266 +1 800 494 3119
    Holden Web LLC http://www.holdenweb.com/
     
    Steve Holden, Jan 8, 2009
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chandrashekar Tippur

    Java Serialized objects

    Chandrashekar Tippur, Apr 25, 2004, in forum: Java
    Replies:
    6
    Views:
    461
    Roedy Green
    Apr 26, 2004
  2. rohit
    Replies:
    2
    Views:
    526
    rohit
    May 2, 2005
  3. Pep
    Replies:
    1
    Views:
    340
  4. Will
    Replies:
    3
    Views:
    10,615
  5. Dave Brown
    Replies:
    7
    Views:
    589
    Roedy Green
    Mar 10, 2006
Loading...

Share This Page