How do you evaporate this text into classes or structures?
-
There's a piece of page with js function:
rm_h.init([ ['auto/00/an','http://e1.example.ru/','ima/v1ch1/Credits.jpg',500,726], ['auto/00/an','http://hh.example.ru/','ima/v1ch1/_Anima_v01inside-front.jpg',428,1100]], 0, false);
I can't get any patterne for Regex to get a line.
['auto/00/an','http://e1.example.ru/','ima/v1ch1/Credits.jpg',500,726]
and
['auto/00/an','http://hh.example.ru/','ima/v1ch1/_Anima_v01inside-front.jpg',428,1100]
It's better to be on these lines.
Or can js get loaded at c# somehow?
-
json can be loaded in c#?
C nuget.org download the Newtonsoft bag. Json
Enter the Newtonsoft.Json.dll
using Newtonsoft.Json; using Newtonsoft.Json.Linq; // ... var o = JToken.Parse("[['auto/00/an',500,726],['auto/00/an',28,1100]]"); o[1][1].ToString() //> 28