Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Garden
Schema
jsonSerialize
Garden\Schema::jsonSerialize PHP Method
Schema Class Documentation
Datei anzeigen
Open project: vanilla/vanilla
jsonSerialize()
public
method
Specify data which should be serialized to JSON.
See link:
http://php.net/manual/en/jsonserializable.jsonserialize.php
public
jsonSerialize
( ) :
mixed
return
mixed
data which can be serialized by
json_encode
, which is a value of any type other than a resource.
public function jsonSerialize() { return $this->schema; }
Schema
__construct
addValidator
arraySelect
create
dumpSpec
filterData
getDescription
getValidationBehavior
isValid
isValidInternal
jsonSerialize
parseSchema
parseShortParam
requireOneOf
setDescription
setValidationBehavior
strEnds
validate
validateArray
validateBase64
validateBoolean
validateDatetime
validateField
validateFloat
validateInteger
validateObject
validateRequired
validateString
validateTimestamp