Jump to content

Parse a json with arrays inside it


netpumber

Recommended Posts

Hello.

 

Server returns this json

{"status":1,"job_status":"READY","iterations":["Contig2","Contig75"],"accessions":["NP_001061702","NP_001068174"]}

And i would like to print out in a textarea (using the above jQuery command)

$('#info').val()

something like this:

 

Contig2 : NP_001061702

Contig75 : NP_001068174

 

Any idea on how to achieve this?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/289742-parse-a-json-with-arrays-inside-it/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.