I have to parse as part of a project a playlist file:
The layout looks like this:
{
"info" : "",
"time" : "05:00",
"url_stream" : "http://loopstream01.apa.at/?channel=oe1&id=20120726_0500_1_2_nachrichten_XXX_w_",
"day_label" : "26.07.2012",
"short_title" : "Nachrichten",
"url_detail" : "",
"url_json" : "/programm/308178/konsole",
"parts" : [],
"tag" : "",
"id" : "308178",
"title" : "Nachrichten",
"url_playlist" : "/programm/308178/playlist"
},........... and so on
now i want to get the values of the "properties". I tried this one
"info" : "(?<info>(([^"]*)))", ....
but it is buggy because the it is possible that there is something like this:
"info" : "Hello "World" this was a test",
you see that "World" is also in "" and so it gets buggy. Does anyone has a good and clean solution for me?