Hey,
would it make sense to make the return value ofappendArrayElement
the modified Json?
This would enable something like:
auto json = Json.emptyObject;
json["arrayEntry"] = Json.emptyArray().appendArrayElement(Json(5));
Or is there a neater way of achieving the same thing?