Hi Parker,
So yeah, adding the , is not the solution - that would indeed make the json invalid.
The root problem you have is that you are parsing a "number" into a "string". So in the Json;
"duration" : {
"text" : "20 mins",
"value" : 1202
},
you can see that "value" has no bounding quotes. Since Json can include <13,10> characters, that implies that the 13,10 is part of the value. (And it probably has a leading space as well)
comapre it to this json;
"duration" : {
"text" : "20 mins",
"value" :1202},
or this;
"duration" : {
"text" : "20 mins",
"value" : "1202"
},
But the point is that "value" is clearly a number (only) so spaces and 13,10 etc can be removed. If you read this into a _string_ then it treats it as a string, but if you read it into a LONG or REAL then it'll be treated as a number....
capiche?
cheers
Bruce