discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Please add remove method to JsonObject #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add remove method to JsonObject class like that:

/**
* @param property name of the member.
*/
public void remove(String property) {
  members.remove(property);
}

Because client code needs to distinguish between null value and not defined 
property. I have to patch the library code to use in my project.

Original issue reported on code.google.com by art.or...@gmail.com on 20 Oct 2008 at 5:11

GoogleCodeExporter commented 9 years ago
Sorry for the wrong issue category, please change it to Enhancement

Original comment by art.or...@gmail.com on 20 Oct 2008 at 5:13

GoogleCodeExporter commented 9 years ago

Original comment by joel.leitch@gmail.com on 18 Nov 2008 at 11:09

GoogleCodeExporter commented 9 years ago
Fix submitted in r307.

Original comment by joel.leitch@gmail.com on 19 Nov 2008 at 1:24