Search found 64 matches: jsondecode

Return to advanced search

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: 72

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: 2525

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: 838

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: 838

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: 378

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: 835

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: 835

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: 835

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: 1255

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: 2996

Re: Help with complex JSON

Thank you so much for your help! I am now able to pull all the data and displays in xbrowse. Now for a dumb question, how do I extract values from aRsp using FOR...NEXT so I can save ["imo"],["Vessel"],["Flag"],["Callsign"],["Vcode"],["ETA"...
by cdmmaui
Wed Mar 22, 2023 2:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1255

Re: hb_jsonDecode() this Website

hi, thx for Answer. hb_jsondecode( cJson, @hHash ) works only if the first parameter is a vaid json text. If valid, second param by ref is filled with Hash. In this case. the responsetext() is NOT json text. ok understand so hb_jsondecode() is not a Solution for phpBB System "generated" We...
by Jimmy
Sun Mar 19, 2023 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_jsonDecode() this Website
Replies: 2
Views: 313

Re: hb_jsonDecode() this Website

hb_jsondecode( cJson, @hHash )
works only if the first parameter is a vaid json text.
If valid, second param by ref is filled with Hash.

In this case. the responsetext() is NOT json text.
by nageswaragunupudi
Sun Mar 19, 2023 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_jsonDecode() this Website
Replies: 2
Views: 313

hb_jsonDecode() this Website

hi, i try to use hb_jsonDecode() for "this" Website but i got NIL ... --- my old working Way   cUrl := "https://forums.fivetechsupport.com/viewtopic.php?t=42918"   oHttp:Open( "GET", cUrl, .F. )    oHttp:setRequestHeader( "User-Agent", "Mozill...
by Jimmy
Sun Mar 19, 2023 4:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_jsonDecode() this Website
Replies: 2
Views: 313

Decode JSON - revisited

... the result ( into a hash ), and then use HB_HGET( ) to obtain the results. // Obtain and save the results   -or-   Parse the results by linehb_JsonDecode( cRetData, @hChgData )XBROWSER HASHTREE( hChgData, 0 ) TITLE "Hash as Tree"             // Parse the resultscTermID ...
by TimStone
Wed Feb 15, 2023 12:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Decode JSON - revisited
Replies: 3
Views: 344
Next

Return to advanced search