how to parse int json to textview without a list : <p>i'm tyring to get parse json in int to textview in xml but dont know how.</p>

<p><strong>this is the json</strong></p>

<pre><code>{
   "sys":
   {
      "sunrise":1381107633,
      "sunset":1381149604
   }
}
</code></pre>

<p>i'm tyring to call the textview and change it to int but still didn't work.</p>

<pre><code>TextView asetBaik = (TextView) findViewById(R.id.asetangka);
</code></pre>

<p>and this is how i call the json</p>

<pre><code>@Override
        protected String doInBackground(String... params) {
            String link_url = "https://example.com/api/sun";
            JSONParser jParser = new JSONParser();
            JSONObject json = jParser.AmbilJson(link_url);

                try {
                    JSONObject data = json.getJSONObject("sys");

                    baik = Integer.parseInt(asetBaik.getText().toString());
                    baik = data.getInt("sunrise");
                    asetBaik.setText(baik);

                } catch (JSONException e) {
                    e.printStackTrace();
                }

            return null;
        }

        @Override
        protected void onPostExecute(String s) {
            pDialog.dismiss();
        }

    }
</code></pre>

<p>please help me how i can take the int value json and take it in Sting TextView</p>
