json_to_bin


Description:

public void json_to_bin (Object src, Stream bin, Type type = INVALID) throws Error

Encode one JSON object as bin bytes on bin.

Parameters:

src

JSON object tree

bin

bin stream to write into

type

root object GLib.Type when mode includes Mode.AUTO and src has no *type member; default GLib.Type.INVALID