Skip to content

wendellantildes/JsonValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsonValidator

A tool to validate json strings

What is JsonValidator?

JsonValidator is a tool to validate json strings in .Net Standard.

How do I get started?

If you want a bool validator, use:

var json = JsonUtils.ReadText(JsonUtils.ValidJsonFileName);
if(JsonValidator.IsValid(json)){
//code here
}

If you want an Exception one, use:

var json = JsonUtils.ReadText(JsonUtils.ValidJsonFileName);
try{
  JsonValidator.Validate(json);
}catch(JsonNotValidException){
  //code here
}

About

A tool to validate json strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages