Hi guys, I have been around in the forum learning about B4A from 6 months. now is the time to put one simple question for you.
Can some one share with me a very small example where json submit data to website, save info. I read back and forward all the forum all day . and found partially info. I need something very simple to start to understand.
Is there any specific web service that you are trying to work with?
Creating a json string is simple:
B4X:
Dim jg As JSONGenerator
jg.Initialize(CreateMap("field1": "value1", "field2": Array("a", "b", "c")))
Dim jsonString As String = jg.ToPrettyString(4)
Log(jsonString)
Is there any specific web service that you are trying to work with?
Creating a json string is simple:
B4X:
Dim jg As JSONGenerator
jg.Initialize(CreateMap("field1": "value1", "field2": Array("a", "b", "c")))
Dim jsonString As String = jg.ToPrettyString(4)
Log(jsonString)