added json & xml parse still not perfect.