Open Data Catalog v2.0.0
Drupal\dkan_data\Plugin\Validation\Constraint\ProperJson Class Reference
Inheritance diagram for Drupal\dkan_data\Plugin\Validation\Constraint\ProperJson:

Public Attributes

 $notProper = '%value is not proper JSON'
 

Detailed Description

Checks that the submitted value is proper JSON.

@Constraint( id = "ProperJson", label = @Translation("Proper JSON", context = "Validation"), type = "string" )

Definition at line 16 of file ProperJson.php.

Member Data Documentation

◆ $notProper

Drupal\dkan_data\Plugin\Validation\Constraint\ProperJson::$notProper = '%value is not proper JSON'

Definition at line 23 of file ProperJson.php.