I have the following string
    String new_value=
   {
        product_type_id: 1,
        product_cat_id: 1,
        product_type_nm: PED
    }, {
        product_type_id: 2,
        product_cat_id: 2,
        product_type_nm: MOBILE APP
    }, {
        product_type_id: 3,
        product_cat_id: 1,
        product_type_nm: MOBILE
    }, {
        product_type_id: 4,
        product_cat_id: 3,
        product_type_nm: PAYMENT
    }, {
        product_type_id: 5,
        product_cat_id: 5,
        product_type_nm: USER
    }, {
        product_type_id: 6,
        product_cat_id: 6,
        product_type_nm: SMS
    }, {
        product_type_id: 9,
        product_cat_id: 6,
        product_type_nm: EMAIL
    }, {
        product_type_id: 10,
        product_cat_id: 6,
        product_type_nm: TOPUP
    }
This String contains data related to many beans. I want to convert it into json string and then into bean in java.How can i do it? I am using
JSONObject jsonObj = new JSONObject(new_value);
Is it possible with this.
 
     
     
    