Create JSON from struct: Difference between revisions

m
add syntax highlighting
(Created page with "Sometimes you have data as a DataFlex struct, but need it in JSON format. The code below gives an example on how-to change your data format so that it is available as JSON. Ha...")
 
m (add syntax highlighting)
Line 3: Line 3:
The code below gives an example on how-to change your data format so that it is available as JSON.
The code below gives an example on how-to change your data format so that it is available as JSON.


<source lang="dataflex">
  Handle hoJson
  Handle hoJson
  UChar[] ucaJson
  UChar[] ucaJson
Line 16: Line 17:
  Close_Output
  Close_Output
  Send Seq_Release_Channel iChn
  Send Seq_Release_Channel iChn
</source>


=== External Links ===
=== External Links ===