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


Lingesh Mouleeshwaran
 

oops ,, this is the correct format cf set-env <app-name> somekey { "KEY" :
["value1","value2"] }

On Wed, Jun 10, 2015 at 9:38 AM, Lingesh Mouleeshwaran <
lingeshmouleeshwaran(a)gmail.com> wrote:

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 ??


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 ??