Skip to content

Latest commit

 

History

History

V005

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

V005

The V005 analyzer reports usage of the deprecated ValidateJsonString validation function that should be replaced with StringIsJSON.

Flagged Code

ValidateFunc: validation.ValidateJsonString,

Passing Code

ValidateFunc: validation.StringIsJSON,

Ignoring Reports

Singular reports can be ignored by adding the a //lintignore:V005 Go code comment at the end of the offending line or on the line immediately proceding, e.g.

//lintignore:V005
ValidateFunc: validation.ValidateJsonString,