from_gobject


Description:

public Node from_gobject (Serializable src) throws Error

Encode Serializable to memory, then decode to a JSON tree.

Example

var json = new OLLMrpc.Bin.Json();
var node = json.from_gobject(pair);
stdout.printf("%s\n",
global::Json.to_string(node, true));

Parameters:

src

object to encode

Returns:

JSON object tree for src