Jsoner.from_bytes


Description:

[ Version ( since = "6.0" ) ]
public Jsoner.from_bytes (Bytes bytes, string[]? sub_members = null, Settings? settings = null) throws JsonError

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:

JsonError

Error with json or sub_members