RosettaCodeData/Task/JSON/FreeBASIC/json-2.basic

18 lines
303 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
#include "inc/fbJSON.bas"
Sub printNodeChildren(Byval n As fbJSON Ptr, Byval level As Integer)
End Sub
Dim test As fbJSON Ptr = fbJSON_ImportFile("test1.json")
If test = NULL Then
Print "Unable to load json file/string!"
End 1
End If
Print fbJSON_ExportString(test, 1)
fbJSON_Delete(test)
Sleep