Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
PayPal
Validation
JsonValidator
PHP Class PayPal\Validation\JsonValidator
Afficher le fichier
Open project: paypal/rest-api-sdk-php
Class Usage Examples
Méthodes publiques
Méthode
Description
validate
(
string
$string
,
boolean
$silent
= false ) :
boolean
Helper method for validating if string provided is a valid json.
Method Details
validate()
public
static
méthode
Helper method for validating if string provided is a valid json.
public
static
validate
(
string
$string
,
boolean
$silent
= false ) :
boolean
$string
string
String representation of Json object
$silent
boolean
Flag to not throw \InvalidArgumentException
Résultat
boolean