Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Interpolating variables in JSON string

by muba (Priest)
on Jan 29, 2013 at 13:52 UTC ( #1015876=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $json = quotemeta( {"auth":{"RAX-KSKEY:apiKeyCredentials":{"use
    +rname":$USERNAME, "apiKey":$API_KEY}}} );
    
  2. or download this
        my $json = quotemeta( {"auth" => {"RAX-KSKEY:apiKeyCredentials" =>
    + {"username" => $USERNAME, "apiKey" => $API_KEY}}} );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015876]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-02-25 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.