merged parse json and jsonObject into same case