> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
>
--
Guillaume Bort
> To post to this group, send email to play-framework@googlegroups.com.
> To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
--
Guillaume Bort
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/NBw_PA3Vc4IJ.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
{
"name": "My name",
"name": "My name"
}
Hello Guys, i have already solve this problem just like this.List<ExtjsDevObjects> obj = Ebean.find(ExtjsDevObjects.class).select("application,version,instance").findList();JSONSerializer postDetailsSerializer = new JSONSerializer().include("application","version","instance.instance").exclude("*");return ok(postDetailsSerializer.serialize(obj));verry awesome, its so simple...i am using flexjson:
you can add jar file with add this code to file Build.scalaval appDependencies = Seq(// Add your project dependencies here,// "mysql" % "mysql-connector-java" % "5.1.21","net.sf.flexjson" % "flexjson" % "2.1" )
Good Luck :)
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/ThVyb9lvWjoJ.
Hello Guys, i have already solve this problem just like this.List<ExtjsDevObjects> obj = Ebean.find(ExtjsDevObjects.class).select("application,version,instance").findList();JSONSerializer postDetailsSerializer = new JSONSerializer().include("application","version","instance.instance").exclude("*");return ok(postDetailsSerializer.serialize(obj));verry awesome, its so simple...i am using flexjson:you can add jar file with add this code to file Build.scalaval appDependencies = Seq(// Add your project dependencies here,// "mysql" % "mysql-connector-java" % "5.1.21","net.sf.flexjson" % "flexjson" % "2.1" )Good Luck :)
On Sunday, April 1, 2012 5:50:59 PM UTC+7, drakkan wrote: