Dim m As Map
m.Initialize
m.Put( "GUID", GUID )
m.Put( "itemName", itemName )
m.Put( "itemType", itemType )
m.Put( "createdDate", createdDate )
m.Put( "ownerGUID", ownerGUID )
m.Put( "transactionGUID", transactionGUID )
m.Put( "transactionType", transactionType )
m.Put( "transactionDate", transactionDate )
m.Put( "fromUserGUID", fromUserGUID )
m.Put( "forListGUID", forListGUID )
m.Put( "forItem2GUID", forItem2GUID )
m.Put( "notes", notes )
' this may need some work!
Dim Map2 As Map
Map2.Initialize
For i=0 To DataItems.Size-1
Map2.Put("",DataItems.Get(i) )
Next
m.Put("DataItems",Map2 )
Dim JSONGenerator1 As JSONGenerator
JSONGenerator1.Initialize( m )
Dim json As String
json = ""
json = JSONGenerator1.ToString