Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

      Define_Com Class(#XPRIM_HttpRequest) Name(#Req)
      Define_Com Class(#XPRIM_RandomAccessJsonReader) Name(#Reader)
      Define_Com Class(#XPRIM_ErrorInfo) Name(#ErrorInfo)
      ...
      #Req.DoGet Url('https://maps.googleapis.com/maps/api/geocode/json?...')
      * 要求が正しく実行されたか確認
      If (#Req.Response.IsSuccessHttpStatusCode)
        * 応答のJSON リーダー・ソースを HTTP 要求から設定
        #Reader.SetSourceHttpResponse HttpResponse(#Req.Response) ErrorInfo(#ErrorInfo)
        If (#ErrorInfo.OK)
             * JSON値を読む
             . . .


次は: 次は:XPRIM_HttpRequest オブジェクトの再利用