8000 [Validator] Add new json Validator Documentation by zairigimad · Pull Request #10351 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Add new json Validator Documentation #10351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Json.rst
  • Loading branch information
zairigimad authored Mar 3, 2019
commit 1250544e78667b2f9529a714264701789ee62db3
4 changes: 2 additions & 2 deletions reference/constraints/Json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ you want to guarantee that some ``jsonString`` property is valid JSON.
* message = "You've entered an invalid Json."
* )
*/
public $chapters;
private $chapters;
}

.. code-block:: yaml
Expand Down Expand Up @@ -76,7 +76,7 @@ you want to guarantee that some ``jsonString`` property is valid JSON.

class Book
{
public $chapters;
private $chapters;

public static function loadValidatorMetadata(ClassMetadata $metadata)
{
Expand Down
0