717273747576777879
validation.required(title); if(validation.hasErrors()){ badRequest(); //"Not all required fields were present." } JsonTestModel p = new JsonTestModel(title); p.insert(); throw new MyRenderJson(p, PersistenceManager.class); }