Visual Basic 6.0
Visual Basic 6.0
Create JSON Array of Strings
See more JSON Examples
Demonstrates how to create a JSON array of strings.Chilkat Visual Basic 6.0 Downloads
' The goal of this example is to produce this:
' [
' "tag1",
' "tag2",
' "tag3"
' ]
Dim jarr As New ChilkatJsonArray
success = jarr.AddStringAt(-1,"tag1")
success = jarr.AddStringAt(-1,"tag2")
success = jarr.AddStringAt(-1,"tag3")
jarr.EmitCompact = 0
Debug.Print jarr.Emit()