JSON in QB64
#1
You all can mostly ignore this. I'm posting this so I don't lose it. However, I'll make a full post once I make it better.

Code: (Select All)
Option Explicit
$NoPrefix
$Console:Only

Print GetEdiSchemaKey("$edi.transactionSets.heading.beginning_segment_for_ship_notice_BSN")

Function GetEdiSchemaKey$ (keyPath As String)
    GetEdiSchemaKey = pipecom_lite("PowerShell -NoProfile $edi = (Get-Content -Path " + Chr$(34) + "C:\Users\zspriggs\Downloads\edi856.json" + Chr$(34) + " ^| ConvertFrom-Json);" + keyPath + " ^| ConvertTo-Json")
End Function

'$Include:'pipecomqb64.bas'
Ask me about Windows API and maybe some Linux stuff
Reply


Messages In This Thread
JSON in QB64 - by SpriggsySpriggs - 02-06-2023, 09:26 PM
RE: JSON in QB64 - by madscijr - 02-07-2023, 09:48 PM
RE: JSON in QB64 - by SpriggsySpriggs - 02-08-2023, 05:25 PM
RE: JSON in QB64 - by madscijr - 02-08-2023, 09:42 PM



Users browsing this thread: 1 Guest(s)