bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
how can i read string into json output
$name = 'mike'; $age = "20"; $email = "johndeo@/test.com"; $pass = "test"; $resp = '{ "$name": $age, "$email": $pass }'; print $resp;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strings to json
by tobyink (Canon) on Jun 23, 2017 at 13:42 UTC | |
by ikegami (Patriarch) on Jun 23, 2017 at 15:06 UTC | |
by tobyink (Canon) on Jun 24, 2017 at 21:51 UTC | |
by ikegami (Patriarch) on Jun 25, 2017 at 03:35 UTC | |
by Anonymous Monk on Jun 25, 2017 at 03:44 UTC | |
| |
by bigup401 (Pilgrim) on Jun 23, 2017 at 13:57 UTC | |
|
Re: strings to json
by Corion (Patriarch) on Jun 23, 2017 at 13:44 UTC | |
|
Re: strings to json
by Eily (Monsignor) on Jun 23, 2017 at 13:42 UTC | |
by marto (Cardinal) on Jun 23, 2017 at 13:47 UTC | |
|
Re: strings to json
by marto (Cardinal) on Jun 23, 2017 at 13:53 UTC | |
|
Re: strings to json
by roboticus (Chancellor) on Jun 24, 2017 at 12:55 UTC |