code for web view from json ok