json

  1. A

    Android Question Problem with Api rest, Json, Put.

    Hello, I have a problem I need to send a json with the put method to an api. The json is: { "person" : { "User" : "Rodrigo", "Pass" : "xx123" }, "answers" : [ { "NmbItem" : "Item 1", "DscItem" : "Descripción del item 1", "QtyItem"...
  2. itgirl

    Android Question Json prase error [java.lang.RuntimeException: JSON Array expected.] SOLVED

    Hello guys i have a very simple Json {"_status":"ERROR","_message":"Invalid authentication information"} as you can see its pretty plain I've tried parsing using Dim parser As JSONParser parser.Initialize(JsonString) Dim root As Map = parser.NextObject Dim _message As String =...
  3. nwhitfield

    iOS Question Change in JSON handling of null value in v5?

    Has there been a tweak in how JSON - particularly null values - are handled? In the API that my iOS project talks to, a field may be blank, or not present; in the returned data from the server, it's usually present, but may have the value set to null, (not quoted) in the JSON, rather than an...
  4. MarkusR

    B4J Question [solved] problem with array data in json

    maybe is someone more firm in json parsing i have this json and need iterate this array(list) "List_Packages" and the data there "Pos_A_mm" and below "X","Y","Z" my attempt Dim J As JSONParser J.Initialize(JSON) Dim Map1 As Map Map1 = J.NextObject Dim...
  5. MarkusR

    Android Question [Solved] Post JSON to MS Web API

    [solved] Hello, i have a client app at phone (b4a) and a web server with iis and a vs studio 2017 web api project. i will post data as json to server (i used okhttputils2) and the server should deserialize the data into a object/class. but i facing the problem that nothing is deserialized and...
  6. KMatle

    Android Tutorial [B4x]Data exchange (B4x, php, servers, .net and others)

    After some years I have developed several apps to communicate with other apps, servers and platforms. My goal was to have ONE standard solution without additional propriatary solutions which work only on platform a but not on b. So I've ended up with lists and maps converted from/to JSON...
  7. raphipps2002

    Android Question Mysql android connection

    I can write in vb.net and b4a and have a vb.net app which creates a Mysql hosted online. I want to be able to read that Mysql and get records from vb but NOT from b4a. I want to read the mysql from my ANDROID app I have asked an indian developers to write a class so i can attach to my Android...
  8. rleiman

    Android Question json file with geo-coordinates

    Hi Everyone, Do you know of a web site that has a json file I can download that contains the following? For now I'm looking to get the data for cities in the US. I will add other countries later if the web resource has multiple countries. City Name or postcode Lat latitude in degrees Lon...
  9. R

    Android Question extract data from json and update label text in widget

    Hello, I would be great-full and happy if someone could help me out over here. I have searched a lot in the forums and tried multiple pieces of code but unfortunately I have issues. I want to make a widget. I get the data from a web server in Json format. I am able to get it successfully and...
Top