java - Reading an Object from environment.getProperty() -
i trying read environment.getproperty(). able read pass in key , retrive, trying read object(so make code generic).
so environment values loaded json. say:
{name:"xyz",class:"12"} so when pass in environment.getproperty("name") xyz.
but want read of nature.
{student:[student1:{name:"xyz",class"12"}, student2:{name:"abc",class:"11"}]} i tried using environment.getproperty("student",list.class) didn't resolve this.
any comments?
Comments
Post a Comment