Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
You just need to add the JsonExProperty attribute to it:

public class Foo {

  [JsonExProperty]
  public int ID {
    get { return _id; }
  }
}

Original comment by [email protected] on 17 Jul 2009 at 1:16

  • Changed state: FunctionsAsExpected

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
cool it works well

is there a reason why it is not done by default?

Original comment by [email protected] on 17 Jul 2009 at 2:17

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Yes, because you wouldn't be able to deserialize it without changing some 
settings, so 
I wanted it to be an explicit choice to do so.

Original comment by [email protected] on 17 Jul 2009 at 2:59

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
ok, I understand, it completely makes sense.

(I never user the deserialization :-) )

Original comment by [email protected] on 17 Jul 2009 at 3:12

from jsonexserializer.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Issue 60 has been merged into this issue.

Original comment by [email protected] on 19 Jul 2011 at 11:18

from jsonexserializer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.