Closed tseemann closed 1 year ago
json_verify
doesn't give very meaningful output, it is not because {
should be a string.
There are multiple problems with the JSON that prevent it from validating:
"VERS":"1.0.0"
in FORMATTER
"TOOLDATE":"May 27 2010"
in LOADER
"RUNDATE":"Sun May 25 2014 6:31:32 AM"
in UPDATE
This should validate:
{
"acc":"SRR060042",
"path":"https://sra-download.ncbi.nlm.nih.gov/traces/sra6/SRR/000058/SRR060042",
"size":7253676923,
"type":"Table",
"platf":"SRA_PLATFORM_ILLUMINA",
"SEQ":58925865,
"SCHEMA":"NCBI:SRA:Illumina:tbl:phred:v2#1.0.4",
"FORMATTER":{
"NAME":"internal",
"VERS":"1.0.0"
},
"LOADER":{
"NAME":"fastq-load",
"VERS":"1.0.20",
"TOOLDATE":"May 27 2010"
},
"UPDATE":{
"NAME":"vdb-copy",
"VERS":"2.3.5",
"TOOLDATE":"Mar 19 2014",
"RUNDATE":"Sun May 25 2014 6:31:32 AM"
}
}
Thanks @linsalrob - I'm yet to be able to validate JSON (or ASN1) by eye yet. Looks a lot like perl Data::Dumper
though :)
It was fixed in 2.11.2 release. Please confirm.