Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
PayPal
Validation
JsonValidator
PHP Class PayPal\Validation\JsonValidator
Mostrar archivo
Open project: paypal/rest-api-sdk-php
Class Usage Examples
Public Methods
Method
Description
validate
(
string
$string
,
boolean
$silent
= false ) :
boolean
Helper method for validating if string provided is a valid json.
Method Details
validate()
public
static
method
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
return
boolean