Search found 69 matches: jsondecode

Return to advanced search

Re: How to read two or more levels Json and save to array

step 1: Convert to Hash ( hb_jsonDecode( cJson, @hHash ) ) step 2: Write a small function to convert hash to array I found FWH forums below: https://forums.fivetechsupport.com/viewtopic.php?f=3&t=44682&hilit=hb_jsonDecode&sid=d9f385150e611269b6126fd5d63abb3e Marc Venken ...
by richard-service
Fri Aug 02, 2024 4:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read two or more levels Json and save to array
Replies: 7
Views: 784

Re: How to read two or more levels Json and save to array

nageswaragunupudi wrote:step 1: Convert to Hash ( hb_jsonDecode( cJson, @hHash ) )
step 2: Write a small function to convert hash to array


Dear Rao,

I'll try it again. Thanks a lot.
by richard-service
Thu Aug 01, 2024 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read two or more levels Json and save to array
Replies: 7
Views: 784

Re: How to read two or more levels Json and save to array

step 1: Convert to Hash ( hb_jsonDecode( cJson, @hHash ) )
step 2: Write a small function to convert hash to array
by nageswaragunupudi
Thu Aug 01, 2024 1:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to read two or more levels Json and save to array
Replies: 7
Views: 784

How to Process Xbrowse Command data

Xbrowse can handle many data and in my case, I use Xbrowse command to show Json data. hb_JsonDecode( hJson, @hDatos ) // -> Hash xbrowser(hDatos) Title "hDatos" This will give me a xbrowse with title and data... option 1 : Trying to export to dbf is failing in my code. (And can cause is...
by Marc Venken
Wed Jul 10, 2024 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Process Xbrowse Command data
Replies: 1
Views: 319

EZTexting Send Message

I have this example for sending a text message using cUrl: curl --request POST \ --url https://a.eztexting.com/v1/messages \ --header 'accept: */*' \ --header 'authorization: Basic YmhvcHBAbWF0cml4Y29tcHV0ZXIuY29tOjc3U2V2ZW50eVNldmVuIQ==' \ --header 'content-type: application/json' \ --data ' { &quo...
by byron.hopp
Tue Jul 02, 2024 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: EZTexting Send Message
Replies: 8
Views: 759

xbrowse (likely a custom table) whose contents change dynam

xbrowse (likely a custom table) whose contents change dynamically Checkboxes that control the appearance of radio menus and changes to the xbrowse's size. Here's a possible scenario based on your description: Initial State: The xbrowse table is visible. Checkboxes are located beneath it. First Chec...
by Otto
Sat May 04, 2024 7:42 am
 
Forum: mod_harbour
Topic: xbrowse (likely a custom table) whose contents change dynam
Replies: 0
Views: 823

Re: FWH 24.02 new Class TWebView2

Hola Antonio, Haciendo pruebas con la nueva clase TWebView2, primero, excelente que ahora ya no se necesitan las dll's Segundo, haciendo pruebas con el ejemplo "\samples\webviewlogin.prg", el metodo "Bind()" no lo tiene definido la clase TWebView2(), por lo que la puse en comenta...
by csincuir
Wed Mar 13, 2024 2:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 24.02 new Class TWebView2
Replies: 11
Views: 3754

Re: Browse Json

Yes thank you, but how do I set up the TCBrowse to browse it. I have been able to see the data in the Json, it is basically an array where each element contains a hash which has the three fields returned from the "for json auto" call. But can I pass the object created from the hb_JsonDecod...
by byron.hopp
Thu Jan 11, 2024 1:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse Json
Replies: 8
Views: 1155

Browse Json

I am using Microsoft Sql 2016 calling this query:
select keyno,name,abbr from hospital for json auto

It returns JSON which I use HB_JsonDecode(cJson,@oJson)

oJson is an array of hashes.

Can I browse this, if so how do I set it up.

Thanks,
by byron.hopp
Thu Jan 11, 2024 12:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse Json
Replies: 8
Views: 1155

Re: jsondecode

Desde que version de FWX se puede utilizar HB_JSONDECODE()
by elmoiquique
Tue Oct 24, 2023 6:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: jsondecode
Replies: 1
Views: 462

Re: PDF en Tabla Mysql

Hola Jose: Para encriptar y desencriptar en base 64 puede usar las funciones de hb_jsonDecode y hb_jsonEncode Cesar como vas? No se si fue error de digitación, pero creo que esas funciones que mencionas se usan para codificar y decodificar los archivos json. No se si te referías a las funciones: hb...
by leandro
Tue Oct 10, 2023 5:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDF en Tabla Mysql
Replies: 19
Views: 2035

Re: PDF en Tabla Mysql

cmsoft wrote:Hola Jose:
Para encriptar y desencriptar en base 64 puede usar las funciones de hb_jsonDecode y hb_jsonEncode


Hola cesar, como estas?

Ok, perfecto. Les daré una mirada tambien.

Gracias!!
by JoseAlvarez
Tue Oct 10, 2023 5:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDF en Tabla Mysql
Replies: 19
Views: 2035

Re: PDF en Tabla Mysql

Hola Jose:
Para encriptar y desencriptar en base 64 puede usar las funciones de hb_jsonDecode y hb_jsonEncode
by cmsoft
Tue Oct 10, 2023 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDF en Tabla Mysql
Replies: 19
Views: 2035

Re: Help with complex JSON

This is my reply to your first post. Glad if you can try this revised function ReadDataNew() as below: static function ReadDataNew( hJson )   local aData    := {}   local aRow, aCalls, hCall, hFacility   local d, n, i, j, aDt   local ARRI, DEPA   local cPol, cPolName, cDateTim, dE...
by CARLOS ATUNCAR
Sat Sep 23, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 2054

Re: Webview question

Hello friends, I have successfully implemented the functionality to return a JSON from JavaScript. Everything is working fine. oWebView:bOnBind = { | cJson, cCalls | hb_jsondecode(cJson, @hPost), xbrowse(hPost), oWebView:Return(cCalls, 0, "{ 'result': 'Hello from PRG' }") }. I believe that...
by Otto
Mon Jul 03, 2023 9:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webview question
Replies: 36
Views: 4826
Next

Return to advanced search