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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -