Package demo.grid.vo

Examples of demo.grid.vo.StudentVO


    return map;
  }

  
   public static void main(String[] args) throws JSONException {
    StudentVO svo=new StudentVO();
    svo.setBirthday("1982-01-01");
    svo.setDepartment(new Integer(11));
    svo.setGender("1");
    svo.setMemo("testmemo asdasd ");
    svo.setName("fins");
    svo.setNo(new Integer(11));
   
    JSONObject jo=Bean2JSONObject(svo);
    System.out.println(jo.toString(4));
   
    StudentVO svo2 = (StudentVO)JSONObject2Bean(jo,StudentVO.class);
    System.out.println(svo2);
    JSONObject jo2=Bean2JSONObject(svo2);
    System.out.println(jo2.toString(4));
  }
View Full Code Here

TOP

Related Classes of demo.grid.vo.StudentVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.