//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using Luban; using System.Text.Json; namespace cfg.test { public sealed partial class RefBean : test.RefDynamicBase { public RefBean(JsonElement _buf) : base(_buf) { { var __json0 = _buf.GetProperty("arr"); Arr = new System.Collections.Generic.List(__json0.GetArrayLength()); foreach(JsonElement __e0 in __json0.EnumerateArray()) { int __v0; __v0 = __e0.GetInt32(); Arr.Add(__v0); } } } public static RefBean DeserializeRefBean(JsonElement _buf) { return new test.RefBean(_buf); } public readonly System.Collections.Generic.List Arr; public const int __ID__ = 1963260263; public override int GetTypeId() => __ID__; public override void ResolveRef(Tables tables) { base.ResolveRef(tables); } public override string ToString() { return "{ " + "x:" + X + "," + "arr:" + Luban.StringUtil.CollectionToString(Arr) + "," + "}"; } } }