@@ -213,7 +213,7 @@ Public Function ConvertToJson(ByVal json_DictionaryCollectionOrArray As Variant)
213
213
ConvertToJson = """" & json_DateStr & """"
214
214
Case VBA.vbString
215
215
' String (or large number encoded as string)
216
- If Not JsonConverter. JsonOptions.UseDoubleForLargeNumbers And json_StringIsLargeNumber(json_DictionaryCollectionOrArray) Then
216
+ If Not JsonOptions.UseDoubleForLargeNumbers And json_StringIsLargeNumber(json_DictionaryCollectionOrArray) Then
217
217
ConvertToJson = json_DictionaryCollectionOrArray
218
218
Else
219
219
ConvertToJson = """" & json_Encode(json_DictionaryCollectionOrArray) & """"
@@ -484,7 +484,7 @@ Private Function json_ParseNumber(json_String As String, ByRef json_Index As Lon
484
484
' See: http://support.microsoft.com/kb/269370
485
485
'
486
486
' Fix: Parse -> String, Convert -> String longer than 15 characters containing only numbers and decimal points -> Number
487
- If Not JsonConverter. JsonOptions.UseDoubleForLargeNumbers And Len(json_Value) >= 16 Then
487
+ If Not JsonOptions.UseDoubleForLargeNumbers And Len(json_Value) >= 16 Then
488
488
json_ParseNumber = json_Value
489
489
Else
490
490
' VBA.Val does not use regional settings, so guard for comma is not needed
@@ -499,7 +499,7 @@ Private Function json_ParseKey(json_String As String, ByRef json_Index As Long)
499
499
' Parse key with single or double quotes
500
500
If VBA.Mid$(json_String, json_Index, 1 ) = """" Or VBA.Mid$(json_String, json_Index, 1 ) = "'" Then
501
501
json_ParseKey = json_ParseString(json_String, json_Index)
502
- ElseIf JsonConverter. JsonOptions.AllowUnquotedKeys Then
502
+ ElseIf JsonOptions.AllowUnquotedKeys Then
503
503
Dim json_Char As String
504
504
Do While json_Index > 0 And json_Index <= Len(json_String)
505
505
json_Char = VBA.Mid$(json_String, json_Index, 1 )
@@ -555,7 +555,7 @@ Private Function json_Encode(ByVal json_Text As Variant) As String
555
555
json_Char = "\\"
556
556
Case 47
557
557
' / -> 47 -> \/ (optional)
558
- If JsonConverter. JsonOptions.EscapeSolidus Then
558
+ If JsonOptions.EscapeSolidus Then
559
559
json_Char = "\/"
560
560
End If
561
561
Case 8
0 commit comments