Xojo Plugin
Xojo Plugin
AppendArrayItems Example
Demonstrates the AppendArrayItems function.Note: This example requires Chilkat v9.5.0.82 or above.
Chilkat Xojo Plugin Downloads
Dim jarr1 As New Chilkat.JsonArray
Dim success As Boolean
success = jarr1.Load("[ 1, 2, 3, 4]")
Dim jarr2 As New Chilkat.JsonArray
success = jarr2.Load("[ 5, 6, 7, 8]")
success = jarr1.AppendArrayItems(jarr2)
System.DebugLog(jarr1.Emit())
// Expected output: [1,2,3,4,5,6,7,8]
System.DebugLog(jarr2.Emit())
// Expected output: [5,6,7,8]