|
@@ -28,6 +28,10 @@ namespace InvercargillJson {
|
|
|
return select<JsonObject>(n => new JsonObject.from_existing(n.assert_as<Json.Node>().get_object()));
|
|
|
}
|
|
|
|
|
|
+ public virtual PropertyGroups as_property_groups() {
|
|
|
+ return as_objects().promote_to<PropertyGroups>();
|
|
|
+ }
|
|
|
+
|
|
|
public virtual JsonArray to_json_array() {
|
|
|
var array = new JsonArray();
|
|
|
array.add_all((Enumerable<JsonElement>)this);
|