JsonWorker
Object Hierarchy:
Description:
[
Version ( since =
"7.5" ) ]
public sealed class JsonWorker :
Worker,
ArraySupport,
DictSupport,
ValueSupport
Json helper for de/serialization
Content:
Static methods:
- public static string serialize (Object obj, Settings? settings = null)
- public static async string serialize_async (Object obj, Settings? settings = null)
- public static Array<T> simple_array_from_json<T> (string json, string[]? sub_members = null, Settings? settings = null, CollectionFactory[] collection_hierarchy = new CollectionFactory[0] {}) throws Error
- public static async Array<T> simple_array_from_json_async<T> (string json, string[]? sub_members = null, Settings? settings = null) throws Error
- public static Dict<Value?> simple_deserialize (string json, string[]? sub_members = null, Settings? settings = null) throws Error
- public static Dict<T> simple_dict_from_json<T> (string json, string[]? sub_members = null, Settings? settings = null, CollectionFactory[] collection_hierarchy = new CollectionFactory[0] {}) throws Error
- public static async Dict<T> simple_dict_from_json_async<T> (string json, string[]? sub_members = null, Settings? settings = null) throws Error
- public static T simple_from_json<T> (string json, string[]? sub_members = null, Settings? settings = null) throws Error
- public static async T simple_from_json_async<T> (string json, string[]? sub_members = null, Settings? settings = null) throws Error
Creation methods:
Methods:
Inherited Members:
All known members inherited from class Serialize.Worker
All known members inherited from class GLib.Object
All known members inherited from interface Serialize.ArraySupport
All known members inherited from interface Serialize.DictSupport
All known members inherited from interface Serialize.ValueSupport