how to set JSON format data in user provider env variable in cloudfoundry ??


Lingesh Mouleeshwaran
 

Hello Team ,

cf set-env is allowing only key pair value for setting any ENV variable ,
but I need to set value as JSON format.

for example ,,

cf set-env <app-name> { "KEY" : ["value1","value2"] }

but I am able to assign above json data into environment variable . even I
set with single quotes it;s not a valid json format.

Please some one help with this ??

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.