JsonWorker.from_bytes


Description:

[ Version ( since = "7.5" ) ]
public JsonWorker.from_bytes (Bytes bytes, string[]? sub_members = null, Settings? settings = null) throws Error

Performs initialization for deserialization. Accepts a json string in the form of bytes, the object GLib.Bytes . In case of a parsing error

Parameters:

bytes

Json string in the form of bytes, the object GLib.Bytes

sub_members

An array of names of json elements that need to be traversed to the target node

settings

Settings

Exceptions:

Serialize.Error

Error with json or sub_members