trait JsonRule (View source)

Methods

void
compileJson(string $key, string $masque)

Compile Json Rule

Details

protected void compileJson(string $key, string $masque)

Compile Json Rule

[json] Check that the contents of the field is a syntactically valid JSON string.

Parameters

string $key
string $masque

Return Value

void