-
Notifications
You must be signed in to change notification settings - Fork 0
Constructor and Factory Methods
Adrian edited this page Apr 1, 2021
·
5 revisions
Class constructor.
- array
$options
Encode/decode options. @see Managing Options
For convenience, each of the provided sets of encode/decode options has a corresponding factory method. See Managing Options page for more details about each configuration.
Creates a new Json instance with default encode/decode options.
none
The new Json instance.
Creates a new Json instance with "ascii" encode/decode options.
none
The new Json instance.
Creates a new Json instance with "hex" encode/decode options.
none
The new Json instance.
Creates a new Json instance with "html" encode/decode options.
none
The new Json instance.
Creates a new Json instance with "pretty" encode/decode options.
none
The new Json instance.