Parsing Json url using async

前端 未结 5 909
花落未央
花落未央 2021-01-25 23:53

I get exceptions when running this code. I want to parse the url which is an array of json objects:

package com.example.compsci_734t;

import java.io.BufferedRea         


        
5条回答
  •  不要未来只要你来
    2021-01-26 00:09

    It is not related to JSON parsing.

      private static String url = " http://redsox.tcs.auckland.ac.nz/734A/CSService.svc/courses";
    

    you have to remove the initial space from the url string

提交回复
热议问题