🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Viraj Thakur
    Viraj Thakur
    5,911 Points

    org.json.JSONException: Unterminated string at character 5565

    Posted January 31, 2016 3:11pm by Viraj Thakur
    Viraj Thakur
    5,911 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Wiyo Io
    Wiyo Io
    2,304 Points

    JSONException: unterminated string

    Posted March 7, 2015 11:17pm by Wiyo Io
    Wiyo Io
    2,304 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • jerome sinpaseuth
    jerome sinpaseuth
    2,632 Points

    HTTP_OK does not ring any bell to my httpURLconnection method

    Posted February 22, 2015 10:32am by jerome sinpaseuth
    jerome sinpaseuth
    2,632 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    16 Answers

  • Dawit Habtemariam
    Dawit Habtemariam
    2,708 Points

    Why do I keep getting a negative array size exception?

    Posted January 23, 2015 1:18am by Dawit Habtemariam
    Dawit Habtemariam
    2,708 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    0 Answers

  • Samuel Zachery
    PLUS
    Samuel Zachery
    Courses Plus Student 3,234 Points

    what could be causing a 502 error?

    Posted December 22, 2014 8:08pm by Samuel Zachery
    Samuel Zachery
    Courses Plus Student 3,234 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    0 Answers

  • Kevin Nguyen
    Kevin Nguyen
    617 Points

    Using your own json URL

    Posted October 30, 2014 9:41pm by Kevin Nguyen
    Kevin Nguyen
    617 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Jos s
    PLUS
    Jos s
    Courses Plus Student 44 Points

    In video: "Getting JSON Data..." and others Ben mentioned Organising imports. I haven't found what does that mean..

    Posted September 25, 2014 9:23pm by Jos s
    Jos s
    Courses Plus Student 44 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Alyne Francis
    Alyne Francis
    7,686 Points

    1. Getting JSON data back on button click?

    Posted September 23, 2014 12:33pm by Alyne Francis
    Alyne Francis
    7,686 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • MJ Whalen
    PLUS
    MJ Whalen
    Courses Plus Student 1,015 Points

    If I am using my own API built with Laravel, how do I set Content-Length for an array?

    Posted September 15, 2014 12:03pm by MJ Whalen
    MJ Whalen
    Courses Plus Student 1,015 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Jakub Zajac
    Jakub Zajac
    1,066 Points

    restricted length of string or input stream?

    Posted July 22, 2014 3:35pm by Jakub Zajac
    Jakub Zajac
    1,066 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Tareq Alothman
    Tareq Alothman
    17,921 Points

    Am trying to redo the blog reader app by using my own server, my problem is how to create the api that feeds the JSON?

    Posted July 18, 2014 10:07pm by Tareq Alothman
    Tareq Alothman
    17,921 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Hasbi Asyadiq
    Hasbi Asyadiq
    1,394 Points

    isNetworkAvailable not returning to true,

    Posted June 25, 2014 8:27am by Hasbi Asyadiq
    Hasbi Asyadiq
    1,394 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    0 Answers

  • ABHIRAM ILINDRA
    ABHIRAM ILINDRA
    131 Points

    How do I get data from a website other than the one used in the example?

    Posted June 5, 2014 4:48am by ABHIRAM ILINDRA
    ABHIRAM ILINDRA
    131 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Timothy Boland
    Timothy Boland
    18,237 Points

    Google JSON API - Not sure how to get the results objects

    Posted May 25, 2014 4:34am by Timothy Boland
    Timothy Boland
    18,237 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Ivica Kartelo
    Ivica Kartelo
    57 Points

    jSON bug

    Posted May 22, 2014 5:07pm by Ivica Kartelo
    Ivica Kartelo
    57 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    2 Answers

  • Lean Karlo Corpuz
    Lean Karlo Corpuz
    6,159 Points

    Im having an error responseCode returns -1

    Posted May 4, 2014 12:31pm by Lean Karlo Corpuz
    Lean Karlo Corpuz
    6,159 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Shane Drye
    Shane Drye
    649 Points

    uploading json data from app

    Posted March 23, 2014 8:14pm by Shane Drye
    Shane Drye
    649 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Steven King
    PLUS
    Steven King
    Courses Plus Student 3,607 Points

    BlogReader Exercise

    Posted February 20, 2014 2:53pm by Steven King
    Steven King
    Courses Plus Student 3,607 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    2 Answers

  • Ganesh Sumb
    PLUS
    Ganesh Sumb
    Courses Plus Student 243 Points

    Problem with JSON.

    Posted February 12, 2014 7:01am by Ganesh Sumb
    Ganesh Sumb
    Courses Plus Student 243 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    1 Answer

  • Jose Andrade-Sinning
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jose Andrade-Sinning
    Python Web Development Techdegree Student 12,676 Points

    When do I construct using "new" or another object?

    Posted February 6, 2014 11:55pm by Jose Andrade-Sinning
    .a{fill-rule:evenodd;}techdegree
    Jose Andrade-Sinning
    Python Web Development Techdegree Student 12,676 Points
    • Android
    • Build a Blog Reader Android App
    • Getting Data from the Web
    • Getting JSON Data from an HTTP Request

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.