Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions JsonConverter.bas
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ Private Function json_ParseValue(json_String As String, ByRef json_Index As Long
Case """", "'"
json_ParseValue = json_ParseString(json_String, json_Index)
Case Else
If VBA.Mid$(json_String, json_Index, 4) = "true" Then
If LCase(VBA.Mid$(json_String, json_Index, 4)) = "true" Then
json_ParseValue = True
json_Index = json_Index + 4
ElseIf VBA.Mid$(json_String, json_Index, 5) = "false" Then
ElseIf LCase(VBA.Mid$(json_String, json_Index, 5)) = "false" Then
json_ParseValue = False
json_Index = json_Index + 5
ElseIf VBA.Mid$(json_String, json_Index, 4) = "null" Then
ElseIf LCase(VBA.Mid$(json_String, json_Index, 4)) = "null" Then
json_ParseValue = Null
json_Index = json_Index + 4
ElseIf VBA.InStr("+-0123456789", VBA.Mid$(json_String, json_Index, 1)) Then
Expand Down