Jackson enum Serializing and DeSerializer

I’m using JAVA 1.6 and Jackson 1.9.9 I’ve got an enum public enum Event { FORGOT_PASSWORD(“forgot password”); private final String value; private Event(final String description) { this.value = description; } @JsonValue final String value() { return this.value; } } I’ve added a @JsonValue, this seems to do the job it serializes the object into: {“event”:”forgot … Read more

Cannot find JavaScriptSerializer in .Net 4.0

I cannot seem to find the JavaScriptSerializer object nor the the System.Web.Script.Serialization namespace within Visual Studio 2010. I need to serialize something to JSON what am I supposed to use? And yes, I already included the System.Web.Extensions (in System.Web.Extensions.dll) within the project. Which is why I am shocked? I do know System.Web.Extensions was marked as … Read more