Function convertJsonElemTypeToString(typeNum As Integer) Select Case typeNum Case 1: convertJsonElemTypeToString = "NotesJSONObject" Case 2: convertJsonElemTypeToString = "NotesJSONArray" Case 3: convertJsonElemTypeToString = "JSON String" Case 4: convertJsonElemTypeToString = "JSON Number" Case 5: convertJsonElemTypeToString = "JSON boolean" Case 64: convertJsonElemTypeToString = "Empty" End Select End Function