Write a tsjson object to a file
Arguments
- json
tsjson object.
- file
File or connection to write to. Both binary and text connections are supported. Use
stdout()
to output to the screen.
See also
load_json()
to create a tsjson object from a JSON file or
string. unserialize_selected()
obtain a JSON string for a tsjson
object.