Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Why is this code not returning me content of JSON?

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Why is this code not returning me content of JSON?

    I think everything is ok but program will end with output null. In real code I have my own API_ID this is just replacement.

    Imgur JSON java reader - Pastebin.com

    --- Update ---

    What the ...? It is working now.
    Last edited by copeg; November 14th, 2013 at 01:00 PM. Reason: Removed profanity


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Why is this code not returning me content of JSON?

    Please refrain from using profanity...

Similar Threads

  1. Need code to get count from huge json file
    By kishorekumar87 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 7th, 2013, 10:58 AM
  2. i want my code to read the content of a html page... and am getting this error.
    By samvenkatram in forum What's Wrong With My Code?
    Replies: 1
    Last Post: August 27th, 2012, 01:43 PM
  3. JSON Decoding help
    By brucegregory in forum What's Wrong With My Code?
    Replies: 3
    Last Post: August 3rd, 2012, 12:40 PM
  4. JSON reader
    By Rootntootn in forum Java Theory & Questions
    Replies: 4
    Last Post: April 9th, 2012, 09:14 AM
  5. code not returning sum
    By hmcka in forum What's Wrong With My Code?
    Replies: 3
    Last Post: March 6th, 2012, 09:17 AM