Buen dia comunidad, estoy tratando de agregar este siguiente valor al momento de colocar la opcion “if”: JSON_ResponseApi(“fechaInicial”)(“dia”)=“1”; sin embargo me aparece este error: Argument ‘Condition’: BC30512: Option Strict On disallows implicit conversions from ‘JToken’ to ‘Boolean’. The selected value is incompatible with the property type.
Solicito su ayuda por favor ayudandome en como solucionar dicho error para poder utilizar los parametros if correctamente para mi proyecto.
If
JSON_ResponseApi("StartDate")("day").ToString() = "1"
Then
' Your code when the condition is true
Else
' Your code when the condition is false
End If