Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
PayPal
Validation
JsonValidator
PHP Class PayPal\Validation\JsonValidator
显示文件
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