JSONSerializer
class JSONSerializer extends AbstractSerializer
Class JSONSerializer
Methods
prepareFile(
SplFileObject $fileObject)
Prepare file to receive serialized data
null|string
separator()
Get string that separate serialized data
finalizeFile(
SplFileObject $fileObject)
Finalize file with serialized data
string
getId()
Get serializer identifier
string
getName()
Get serializer name
string
getExtension()
Get serializer extension
string
getMimeType()
Get serializer mime type
string
serialize(
mixed $data)
Serialize data
array
unserialize(
SplFileObject $fileObject)
Unserialize data
Details
at line 43
prepareFile(
SplFileObject $fileObject)
Prepare file to receive serialized data
at line 53
null|string
separator()
Get string that separate serialized data
at line 58
finalizeFile(
SplFileObject $fileObject)
Finalize file with serialized data
at line 23
string
getId()
Get serializer identifier
at line 28
string
getName()
Get serializer name
at line 33
string
getExtension()
Get serializer extension
at line 38
string
getMimeType()
Get serializer mime type
at line 48
string
serialize(
mixed $data)
Serialize data
at line 63
array
unserialize(
SplFileObject $fileObject)
Unserialize data