You can build a json array with JsonArrayBuilder("first", 32, "another_element", 2, 23.4, JsonObjectBuilder(...));
You can build a json object with JsonObjectBuilder("key", 32, "another_key", "hello", "subobject", JsonObjectBuilder(...));
Append value to array. Array is created if not exists.
It allows you to read deep values inside a json. If possibile it converts value to type T.
Shortcut. You can write as!null instead of as!(typeof(null))
Check if a field exists or not
Parse a string
Write a value. It creates missing objects and array (also missing elements)
Works like safe but return T instead of SafeValue!T and throw an exception if something goes wrong (can't convert value or can't find key)
Remove a field (if it exists). It returns the object itself
Works like as!T but it doesn't convert between types.
Shortcut. You can write safe!null instead of safe!(typeof(null))
A simple struct. It is returned by .safe and .as functions