Skip to content

Release of 2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Nov 17:37
· 45 commits to master since this release

New JCV Assistant

Syntax Highlighting

It provides template colors and information about known JCV validators:

It will also detect invalid usages and give quick-fixes when possible:

Validator auto-completion

It provides autocompletion for jcv validators in json files.

Just start typing "{#" or any jcv validator id and press ctrl+space to see all the suggested validators:

It also works for templated validators with suggested values:

Validators covered

JCV is a library allowing you to compare JSON contents with embedded validation.
It comes with plenty of pre-defined validators (listed here)
designed to cover the most common needs when validating data with non-predictable values.

JCV-DB reuses these validators and also defines a list of its own
(listed here) that are specific to a database-oriented usage.

This plugin offers autocompletion on all the validators of these two projects to date.

Replacement suggestions

It will suggest smart replacements of json value to matching validators: