android - Library to translate a java bean to a map -


it android, know beanutils can doesn't work on android.

assume have java bean

class { private int a; public int geta() { return a; } public int seta(int a) { this.a = a; } } 

what want is:

a a= new a(); a.seta(1);  map<string, object> m = somelibrary.translate(a); 

and i'd m contains 1 key-value pair {"a", 1}


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -