Set options
Parameters: | array|Traversable|JsonOptions – |
---|---|
Return type: | Json |
Serialize PHP value to JSON
Parameters: | mixed – |
---|---|
Return type: | string |
Throws : | ExceptionInvalidArgumentException |
Throws : | ExceptionRuntimeException |
Deserialize JSON to PHP value
Parameters: | string – |
---|---|
Return type: | mixed |
Throws : | ExceptionInvalidArgumentException |
Throws : | ExceptionRuntimeException |