implemented JsonParser and TextParser