I am working with a JavaScript file that contains the following object:
var MoceanSettings={
BannerURL:'',
IsDirectWall:true,
AppOfDayZone:156431,
ImpressTrackUrl:null,
ClickTrackUrl:null,
Categories:[
{name:'App Gallery', Zone_T:165294,Zone_M:165295,Zone_B:165296},
{name:'Entertainment', Zone_T:165306,Zone_M:165307,Zone_B:165308},
{name:'Games', Zone_T:165297,Zone_M:165298,Zone_B:165299},
{name:'Lifestyle', Zone_T:165309,Zone_M:165310,Zone_B:165311},
{name:'Productivity', Zone_T:165303,Zone_M:165304,Zone_B:165305},
{name:'Travel', Zone_T:165300,Zone_M:165301,Zone_B:165302},
{name:'Favorites', Zone_T:156431,Zone_M:156431,Zone_B:156431}
]
}
I want to use java to parse this file into an object or array. My knowledge of JavaScript and json is quite limited.