Generated-output differences

quicktype output changed between the PR base and tested PR merge revisions.
← Back to the pull request
3test cases
151files differ
115modified
36new
0deleted
28,324changed lines
+18,460 −9,864insertions / deletions
Base 4fae346ba5a108350e23f153a6e0d2edc996fc3f · PR merge 391367d9858c3ab1a451af919d958438bbba6198 · Head 81f80e516495c3047aa661f06eda9ad8320c7a71 · raw patch
Test case

test/inputs/json/priority/keywords.json

62 generated files · +13,207 −9,599
Mcjsondefault / TopLevel.c+939 −679
@@ -5186,6 +5186,61 @@ void cJSON_DeleteDelegate(struct Delegate * x) {
51865186 }
51875187 }
51885188
5189+struct DeserializationFeature * cJSON_ParseDeserializationFeature(const char * s) {
5190+ struct DeserializationFeature * x = NULL;
5191+ if (NULL != s) {
5192+ cJSON * j = cJSON_Parse(s);
5193+ if (NULL != j) {
5194+ x = cJSON_GetDeserializationFeatureValue(j);
5195+ cJSON_Delete(j);
5196+ }
5197+ }
5198+ return x;
5199+}
5200+
5201+struct DeserializationFeature * cJSON_GetDeserializationFeatureValue(const cJSON * j) {
5202+ struct DeserializationFeature * x = NULL;
5203+ if (NULL != j) {
5204+ if (NULL != (x = cJSON_malloc(sizeof(struct DeserializationFeature)))) {
5205+ memset(x, 0, sizeof(struct DeserializationFeature));
5206+ if (!cJSON_HasObjectItem(j, "DeserializationFeature")) { cJSON_DeleteDeserializationFeature(x); return NULL; }
5207+ if (cJSON_HasObjectItem(j, "DeserializationFeature")) {
5208+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "DeserializationFeature"))) { cJSON_DeleteDeserializationFeature(x); return NULL; }
5209+ x->deserialization_feature = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "DeserializationFeature"));
5210+ }
5211+ }
5212+ }
5213+ return x;
5214+}
5215+
5216+cJSON * cJSON_CreateDeserializationFeature(const struct DeserializationFeature * x) {
5217+ cJSON * j = NULL;
5218+ if (NULL != x) {
5219+ if (NULL != (j = cJSON_CreateObject())) {
5220+ cJSON_AddNumberToObject(j, "DeserializationFeature", x->deserialization_feature);
5221+ }
5222+ }
5223+ return j;
5224+}
5225+
5226+char * cJSON_PrintDeserializationFeature(const struct DeserializationFeature * x) {
5227+ char * s = NULL;
5228+ if (NULL != x) {
5229+ cJSON * j = cJSON_CreateDeserializationFeature(x);
5230+ if (NULL != j) {
5231+ s = cJSON_Print(j);
5232+ cJSON_Delete(j);
5233+ }
5234+ }
5235+ return s;
5236+}
5237+
5238+void cJSON_DeleteDeserializationFeature(struct DeserializationFeature * x) {
5239+ if (NULL != x) {
5240+ cJSON_free(x);
5241+ }
5242+}
5243+
51895244 struct Dict * cJSON_ParseDict(const char * s) {
51905245 struct Dict * x = NULL;
51915246 if (NULL != s) {
@@ -7693,61 +7748,6 @@ void cJSON_DeleteFriend(struct Friend * x) {
76937748 }
76947749 }
76957750
7696-struct Goto * cJSON_ParseGoto(const char * s) {
7697- struct Goto * x = NULL;
7698- if (NULL != s) {
7699- cJSON * j = cJSON_Parse(s);
7700- if (NULL != j) {
7701- x = cJSON_GetGotoValue(j);
7702- cJSON_Delete(j);
7703- }
7704- }
7705- return x;
7706-}
7707-
7708-struct Goto * cJSON_GetGotoValue(const cJSON * j) {
7709- struct Goto * x = NULL;
7710- if (NULL != j) {
7711- if (NULL != (x = cJSON_malloc(sizeof(struct Goto)))) {
7712- memset(x, 0, sizeof(struct Goto));
7713- if (!cJSON_HasObjectItem(j, "goto")) { cJSON_DeleteGoto(x); return NULL; }
7714- if (cJSON_HasObjectItem(j, "goto")) {
7715- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "goto"))) { cJSON_DeleteGoto(x); return NULL; }
7716- x->goto_goto = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "goto"));
7717- }
7718- }
7719- }
7720- return x;
7721-}
7722-
7723-cJSON * cJSON_CreateGoto(const struct Goto * x) {
7724- cJSON * j = NULL;
7725- if (NULL != x) {
7726- if (NULL != (j = cJSON_CreateObject())) {
7727- cJSON_AddNumberToObject(j, "goto", x->goto_goto);
7728- }
7729- }
7730- return j;
7731-}
7732-
7733-char * cJSON_PrintGoto(const struct Goto * x) {
7734- char * s = NULL;
7735- if (NULL != x) {
7736- cJSON * j = cJSON_CreateGoto(x);
7737- if (NULL != j) {
7738- s = cJSON_Print(j);
7739- cJSON_Delete(j);
7740- }
7741- }
7742- return s;
7743-}
7744-
7745-void cJSON_DeleteGoto(struct Goto * x) {
7746- if (NULL != x) {
7747- cJSON_free(x);
7748- }
7749-}
7750-
77517751 struct Obj2False * cJSON_ParseObj2False(const char * s) {
77527752 struct Obj2False * x = NULL;
77537753 if (NULL != s) {
@@ -7922,6 +7922,12 @@ struct Obj2 * cJSON_GetObj2Value(const cJSON * j) {
79227922 x->delegate = cJSON_GetDelegateValue(cJSON_GetObjectItemCaseSensitive(j, "delegate"));
79237923 if (NULL == x->delegate) { cJSON_DeleteObj2(x); return NULL; }
79247924 }
7925+ if (!cJSON_HasObjectItem(j, "DeserializationFeature")) { cJSON_DeleteObj2(x); return NULL; }
7926+ if (cJSON_HasObjectItem(j, "DeserializationFeature")) {
7927+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "DeserializationFeature"))) { cJSON_DeleteObj2(x); return NULL; }
7928+ x->deserialization_feature = cJSON_GetDeserializationFeatureValue(cJSON_GetObjectItemCaseSensitive(j, "DeserializationFeature"));
7929+ if (NULL == x->deserialization_feature) { cJSON_DeleteObj2(x); return NULL; }
7930+ }
79257931 if (!cJSON_HasObjectItem(j, "dict")) { cJSON_DeleteObj2(x); return NULL; }
79267932 if (cJSON_HasObjectItem(j, "dict")) {
79277933 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "dict"))) { cJSON_DeleteObj2(x); return NULL; }
@@ -8197,12 +8203,6 @@ struct Obj2 * cJSON_GetObj2Value(const cJSON * j) {
81978203 x->obj2_friend = cJSON_GetFriendValue(cJSON_GetObjectItemCaseSensitive(j, "friend"));
81988204 if (NULL == x->obj2_friend) { cJSON_DeleteObj2(x); return NULL; }
81998205 }
8200- if (!cJSON_HasObjectItem(j, "goto")) { cJSON_DeleteObj2(x); return NULL; }
8201- if (cJSON_HasObjectItem(j, "goto")) {
8202- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "goto"))) { cJSON_DeleteObj2(x); return NULL; }
8203- x->obj2_goto = cJSON_GetGotoValue(cJSON_GetObjectItemCaseSensitive(j, "goto"));
8204- if (NULL == x->obj2_goto) { cJSON_DeleteObj2(x); return NULL; }
8205- }
82068206 if (!cJSON_HasObjectItem(j, "false")) { cJSON_DeleteObj2(x); return NULL; }
82078207 if (cJSON_HasObjectItem(j, "false")) {
82088208 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "false"))) { cJSON_DeleteObj2(x); return NULL; }
@@ -8235,6 +8235,7 @@ cJSON * cJSON_CreateObj2(const struct Obj2 * x) {
82358235 cJSON_AddItemToObject(j, "deinit", cJSON_CreateDeinit(x->deinit));
82368236 cJSON_AddItemToObject(j, "del", cJSON_CreateDel(x->del));
82378237 cJSON_AddItemToObject(j, "delegate", cJSON_CreateDelegate(x->delegate));
8238+ cJSON_AddItemToObject(j, "DeserializationFeature", cJSON_CreateDeserializationFeature(x->deserialization_feature));
82388239 cJSON_AddItemToObject(j, "dict", cJSON_CreateDict(x->dict));
82398240 cJSON_AddItemToObject(j, "dictionary", cJSON_CreateDictionary(x->dictionary));
82408241 cJSON_AddItemToObject(j, "didSet", cJSON_CreateDidSet(x->did_set));
@@ -8281,7 +8282,6 @@ cJSON * cJSON_CreateObj2(const struct Obj2 * x) {
82818282 cJSON_AddItemToObject(j, "float", cJSON_CreateFloat(x->obj2_float));
82828283 cJSON_AddItemToObject(j, "for", cJSON_CreateFor(x->obj2_for));
82838284 cJSON_AddItemToObject(j, "friend", cJSON_CreateFriend(x->obj2_friend));
8284- cJSON_AddItemToObject(j, "goto", cJSON_CreateGoto(x->obj2_goto));
82858285 cJSON_AddItemToObject(j, "false", cJSON_CreateObj2False(x->purple_false));
82868286 }
82878287 }
@@ -8353,6 +8353,9 @@ void cJSON_DeleteObj2(struct Obj2 * x) {
83538353 if (NULL != x->delegate) {
83548354 cJSON_DeleteDelegate(x->delegate);
83558355 }
8356+ if (NULL != x->deserialization_feature) {
8357+ cJSON_DeleteDeserializationFeature(x->deserialization_feature);
8358+ }
83568359 if (NULL != x->dict) {
83578360 cJSON_DeleteDict(x->dict);
83588361 }
@@ -8488,9 +8491,6 @@ void cJSON_DeleteObj2(struct Obj2 * x) {
84888491 if (NULL != x->obj2_friend) {
84898492 cJSON_DeleteFriend(x->obj2_friend);
84908493 }
8491- if (NULL != x->obj2_goto) {
8492- cJSON_DeleteGoto(x->obj2_goto);
8493- }
84948494 if (NULL != x->purple_false) {
84958495 cJSON_DeleteObj2False(x->purple_false);
84968496 }
@@ -11471,6 +11471,61 @@ void cJSON_DeleteNo(struct No * x) {
1147111471 }
1147211472 }
1147311473
11474+struct Goto * cJSON_ParseGoto(const char * s) {
11475+ struct Goto * x = NULL;
11476+ if (NULL != s) {
11477+ cJSON * j = cJSON_Parse(s);
11478+ if (NULL != j) {
11479+ x = cJSON_GetGotoValue(j);
11480+ cJSON_Delete(j);
11481+ }
11482+ }
11483+ return x;
11484+}
11485+
11486+struct Goto * cJSON_GetGotoValue(const cJSON * j) {
11487+ struct Goto * x = NULL;
11488+ if (NULL != j) {
11489+ if (NULL != (x = cJSON_malloc(sizeof(struct Goto)))) {
11490+ memset(x, 0, sizeof(struct Goto));
11491+ if (!cJSON_HasObjectItem(j, "goto")) { cJSON_DeleteGoto(x); return NULL; }
11492+ if (cJSON_HasObjectItem(j, "goto")) {
11493+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "goto"))) { cJSON_DeleteGoto(x); return NULL; }
11494+ x->goto_goto = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "goto"));
11495+ }
11496+ }
11497+ }
11498+ return x;
11499+}
11500+
11501+cJSON * cJSON_CreateGoto(const struct Goto * x) {
11502+ cJSON * j = NULL;
11503+ if (NULL != x) {
11504+ if (NULL != (j = cJSON_CreateObject())) {
11505+ cJSON_AddNumberToObject(j, "goto", x->goto_goto);
11506+ }
11507+ }
11508+ return j;
11509+}
11510+
11511+char * cJSON_PrintGoto(const struct Goto * x) {
11512+ char * s = NULL;
11513+ if (NULL != x) {
11514+ cJSON * j = cJSON_CreateGoto(x);
11515+ if (NULL != j) {
11516+ s = cJSON_Print(j);
11517+ cJSON_Delete(j);
11518+ }
11519+ }
11520+ return s;
11521+}
11522+
11523+void cJSON_DeleteGoto(struct Goto * x) {
11524+ if (NULL != x) {
11525+ cJSON_free(x);
11526+ }
11527+}
11528+
1147411529 struct If * cJSON_ParseIf(const char * s) {
1147511530 struct If * x = NULL;
1147611531 if (NULL != s) {
@@ -11966,61 +12021,6 @@ void cJSON_DeleteNew(struct New * x) {
1196612021 }
1196712022 }
1196812023
11969-struct Noexcept * cJSON_ParseNoexcept(const char * s) {
11970- struct Noexcept * x = NULL;
11971- if (NULL != s) {
11972- cJSON * j = cJSON_Parse(s);
11973- if (NULL != j) {
11974- x = cJSON_GetNoexceptValue(j);
11975- cJSON_Delete(j);
11976- }
11977- }
11978- return x;
11979-}
11980-
11981-struct Noexcept * cJSON_GetNoexceptValue(const cJSON * j) {
11982- struct Noexcept * x = NULL;
11983- if (NULL != j) {
11984- if (NULL != (x = cJSON_malloc(sizeof(struct Noexcept)))) {
11985- memset(x, 0, sizeof(struct Noexcept));
11986- if (!cJSON_HasObjectItem(j, "noexcept")) { cJSON_DeleteNoexcept(x); return NULL; }
11987- if (cJSON_HasObjectItem(j, "noexcept")) {
11988- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "noexcept"))) { cJSON_DeleteNoexcept(x); return NULL; }
11989- x->noexcept_noexcept = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "noexcept"));
11990- }
11991- }
11992- }
11993- return x;
11994-}
11995-
11996-cJSON * cJSON_CreateNoexcept(const struct Noexcept * x) {
11997- cJSON * j = NULL;
11998- if (NULL != x) {
11999- if (NULL != (j = cJSON_CreateObject())) {
12000- cJSON_AddNumberToObject(j, "noexcept", x->noexcept_noexcept);
12001- }
12002- }
12003- return j;
12004-}
12005-
12006-char * cJSON_PrintNoexcept(const struct Noexcept * x) {
12007- char * s = NULL;
12008- if (NULL != x) {
12009- cJSON * j = cJSON_CreateNoexcept(x);
12010- if (NULL != j) {
12011- s = cJSON_Print(j);
12012- cJSON_Delete(j);
12013- }
12014- }
12015- return s;
12016-}
12017-
12018-void cJSON_DeleteNoexcept(struct Noexcept * x) {
12019- if (NULL != x) {
12020- cJSON_free(x);
12021- }
12022-}
12023-
1202412024 struct Obj3 * cJSON_ParseObj3(const char * s) {
1202512025 struct Obj3 * x = NULL;
1202612026 if (NULL != s) {
@@ -12367,6 +12367,12 @@ struct Obj3 * cJSON_GetObj3Value(const cJSON * j) {
1236712367 x->no = cJSON_GetNoValue(cJSON_GetObjectItemCaseSensitive(j, "NO"));
1236812368 if (NULL == x->no) { cJSON_DeleteObj3(x); return NULL; }
1236912369 }
12370+ if (!cJSON_HasObjectItem(j, "goto")) { cJSON_DeleteObj3(x); return NULL; }
12371+ if (cJSON_HasObjectItem(j, "goto")) {
12372+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "goto"))) { cJSON_DeleteObj3(x); return NULL; }
12373+ x->obj3_goto = cJSON_GetGotoValue(cJSON_GetObjectItemCaseSensitive(j, "goto"));
12374+ if (NULL == x->obj3_goto) { cJSON_DeleteObj3(x); return NULL; }
12375+ }
1237012376 if (!cJSON_HasObjectItem(j, "if")) { cJSON_DeleteObj3(x); return NULL; }
1237112377 if (cJSON_HasObjectItem(j, "if")) {
1237212378 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "if"))) { cJSON_DeleteObj3(x); return NULL; }
@@ -12421,12 +12427,6 @@ struct Obj3 * cJSON_GetObj3Value(const cJSON * j) {
1242112427 x->obj3_new = cJSON_GetNewValue(cJSON_GetObjectItemCaseSensitive(j, "new"));
1242212428 if (NULL == x->obj3_new) { cJSON_DeleteObj3(x); return NULL; }
1242312429 }
12424- if (!cJSON_HasObjectItem(j, "noexcept")) { cJSON_DeleteObj3(x); return NULL; }
12425- if (cJSON_HasObjectItem(j, "noexcept")) {
12426- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "noexcept"))) { cJSON_DeleteObj3(x); return NULL; }
12427- x->obj3_noexcept = cJSON_GetNoexceptValue(cJSON_GetObjectItemCaseSensitive(j, "noexcept"));
12428- if (NULL == x->obj3_noexcept) { cJSON_DeleteObj3(x); return NULL; }
12429- }
1243012430 }
1243112431 }
1243212432 return x;
@@ -12491,6 +12491,7 @@ cJSON * cJSON_CreateObj3(const struct Obj3 * x) {
1249112491 cJSON_AddItemToObject(j, "newtonsoft", cJSON_CreateNewtonsoft(x->newtonsoft));
1249212492 cJSON_AddItemToObject(j, "nil", cJSON_CreateNil(x->nil));
1249312493 cJSON_AddItemToObject(j, "NO", cJSON_CreateNo(x->no));
12494+ cJSON_AddItemToObject(j, "goto", cJSON_CreateGoto(x->obj3_goto));
1249412495 cJSON_AddItemToObject(j, "if", cJSON_CreateIf(x->obj3_if));
1249512496 cJSON_AddItemToObject(j, "import", cJSON_CreateImport(x->obj3_import));
1249612497 cJSON_AddItemToObject(j, "inline", cJSON_CreateInline(x->obj3_inline));
@@ -12500,7 +12501,6 @@ cJSON * cJSON_CreateObj3(const struct Obj3 * x) {
1250012501 cJSON_AddItemToObject(j, "mutable", cJSON_CreateMutable(x->obj3_mutable));
1250112502 cJSON_AddItemToObject(j, "namespace", cJSON_CreateNamespace(x->obj3_namespace));
1250212503 cJSON_AddItemToObject(j, "new", cJSON_CreateNew(x->obj3_new));
12503- cJSON_AddItemToObject(j, "noexcept", cJSON_CreateNoexcept(x->obj3_noexcept));
1250412504 }
1250512505 }
1250612506 return j;
@@ -12682,6 +12682,9 @@ void cJSON_DeleteObj3(struct Obj3 * x) {
1268212682 if (NULL != x->no) {
1268312683 cJSON_DeleteNo(x->no);
1268412684 }
12685+ if (NULL != x->obj3_goto) {
12686+ cJSON_DeleteGoto(x->obj3_goto);
12687+ }
1268512688 if (NULL != x->obj3_if) {
1268612689 cJSON_DeleteIf(x->obj3_if);
1268712690 }
@@ -12709,9 +12712,6 @@ void cJSON_DeleteObj3(struct Obj3 * x) {
1270912712 if (NULL != x->obj3_new) {
1271012713 cJSON_DeleteNew(x->obj3_new);
1271112714 }
12712- if (NULL != x->obj3_noexcept) {
12713- cJSON_DeleteNoexcept(x->obj3_noexcept);
12714- }
1271512715 cJSON_free(x);
1271612716 }
1271712717 }
@@ -13266,47 +13266,47 @@ void cJSON_DeleteNumberClass(struct NumberClass * x) {
1326613266 }
1326713267 }
1326813268
13269-struct NoneClass * cJSON_ParseNoneClass(const char * s) {
13270- struct NoneClass * x = NULL;
13269+struct Noexcept * cJSON_ParseNoexcept(const char * s) {
13270+ struct Noexcept * x = NULL;
1327113271 if (NULL != s) {
1327213272 cJSON * j = cJSON_Parse(s);
1327313273 if (NULL != j) {
13274- x = cJSON_GetNoneClassValue(j);
13274+ x = cJSON_GetNoexceptValue(j);
1327513275 cJSON_Delete(j);
1327613276 }
1327713277 }
1327813278 return x;
1327913279 }
1328013280
13281-struct NoneClass * cJSON_GetNoneClassValue(const cJSON * j) {
13282- struct NoneClass * x = NULL;
13281+struct Noexcept * cJSON_GetNoexceptValue(const cJSON * j) {
13282+ struct Noexcept * x = NULL;
1328313283 if (NULL != j) {
13284- if (NULL != (x = cJSON_malloc(sizeof(struct NoneClass)))) {
13285- memset(x, 0, sizeof(struct NoneClass));
13286- if (!cJSON_HasObjectItem(j, "none")) { cJSON_DeleteNoneClass(x); return NULL; }
13287- if (cJSON_HasObjectItem(j, "none")) {
13288- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "none"))) { cJSON_DeleteNoneClass(x); return NULL; }
13289- x->none = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "none"));
13284+ if (NULL != (x = cJSON_malloc(sizeof(struct Noexcept)))) {
13285+ memset(x, 0, sizeof(struct Noexcept));
13286+ if (!cJSON_HasObjectItem(j, "noexcept")) { cJSON_DeleteNoexcept(x); return NULL; }
13287+ if (cJSON_HasObjectItem(j, "noexcept")) {
13288+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "noexcept"))) { cJSON_DeleteNoexcept(x); return NULL; }
13289+ x->noexcept_noexcept = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "noexcept"));
1329013290 }
1329113291 }
1329213292 }
1329313293 return x;
1329413294 }
1329513295
13296-cJSON * cJSON_CreateNoneClass(const struct NoneClass * x) {
13296+cJSON * cJSON_CreateNoexcept(const struct Noexcept * x) {
1329713297 cJSON * j = NULL;
1329813298 if (NULL != x) {
1329913299 if (NULL != (j = cJSON_CreateObject())) {
13300- cJSON_AddNumberToObject(j, "none", x->none);
13300+ cJSON_AddNumberToObject(j, "noexcept", x->noexcept_noexcept);
1330113301 }
1330213302 }
1330313303 return j;
1330413304 }
1330513305
13306-char * cJSON_PrintNoneClass(const struct NoneClass * x) {
13306+char * cJSON_PrintNoexcept(const struct Noexcept * x) {
1330713307 char * s = NULL;
1330813308 if (NULL != x) {
13309- cJSON * j = cJSON_CreateNoneClass(x);
13309+ cJSON * j = cJSON_CreateNoexcept(x);
1331013310 if (NULL != j) {
1331113311 s = cJSON_Print(j);
1331213312 cJSON_Delete(j);
@@ -13315,27 +13315,82 @@ char * cJSON_PrintNoneClass(const struct NoneClass * x) {
1331513315 return s;
1331613316 }
1331713317
13318-void cJSON_DeleteNoneClass(struct NoneClass * x) {
13318+void cJSON_DeleteNoexcept(struct Noexcept * x) {
1331913319 if (NULL != x) {
1332013320 cJSON_free(x);
1332113321 }
1332213322 }
1332313323
13324-struct Not * cJSON_ParseNot(const char * s) {
13325- struct Not * x = NULL;
13324+struct NoneClass * cJSON_ParseNoneClass(const char * s) {
13325+ struct NoneClass * x = NULL;
1332613326 if (NULL != s) {
1332713327 cJSON * j = cJSON_Parse(s);
1332813328 if (NULL != j) {
13329- x = cJSON_GetNotValue(j);
13329+ x = cJSON_GetNoneClassValue(j);
1333013330 cJSON_Delete(j);
1333113331 }
1333213332 }
1333313333 return x;
1333413334 }
1333513335
13336-struct Not * cJSON_GetNotValue(const cJSON * j) {
13337- struct Not * x = NULL;
13338- if (NULL != j) {
13336+struct NoneClass * cJSON_GetNoneClassValue(const cJSON * j) {
13337+ struct NoneClass * x = NULL;
13338+ if (NULL != j) {
13339+ if (NULL != (x = cJSON_malloc(sizeof(struct NoneClass)))) {
13340+ memset(x, 0, sizeof(struct NoneClass));
13341+ if (!cJSON_HasObjectItem(j, "none")) { cJSON_DeleteNoneClass(x); return NULL; }
13342+ if (cJSON_HasObjectItem(j, "none")) {
13343+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "none"))) { cJSON_DeleteNoneClass(x); return NULL; }
13344+ x->none = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "none"));
13345+ }
13346+ }
13347+ }
13348+ return x;
13349+}
13350+
13351+cJSON * cJSON_CreateNoneClass(const struct NoneClass * x) {
13352+ cJSON * j = NULL;
13353+ if (NULL != x) {
13354+ if (NULL != (j = cJSON_CreateObject())) {
13355+ cJSON_AddNumberToObject(j, "none", x->none);
13356+ }
13357+ }
13358+ return j;
13359+}
13360+
13361+char * cJSON_PrintNoneClass(const struct NoneClass * x) {
13362+ char * s = NULL;
13363+ if (NULL != x) {
13364+ cJSON * j = cJSON_CreateNoneClass(x);
13365+ if (NULL != j) {
13366+ s = cJSON_Print(j);
13367+ cJSON_Delete(j);
13368+ }
13369+ }
13370+ return s;
13371+}
13372+
13373+void cJSON_DeleteNoneClass(struct NoneClass * x) {
13374+ if (NULL != x) {
13375+ cJSON_free(x);
13376+ }
13377+}
13378+
13379+struct Not * cJSON_ParseNot(const char * s) {
13380+ struct Not * x = NULL;
13381+ if (NULL != s) {
13382+ cJSON * j = cJSON_Parse(s);
13383+ if (NULL != j) {
13384+ x = cJSON_GetNotValue(j);
13385+ cJSON_Delete(j);
13386+ }
13387+ }
13388+ return x;
13389+}
13390+
13391+struct Not * cJSON_GetNotValue(const cJSON * j) {
13392+ struct Not * x = NULL;
13393+ if (NULL != j) {
1333913394 if (NULL != (x = cJSON_malloc(sizeof(struct Not)))) {
1334013395 memset(x, 0, sizeof(struct Not));
1334113396 if (!cJSON_HasObjectItem(j, "not")) { cJSON_DeleteNot(x); return NULL; }
@@ -14366,6 +14421,116 @@ void cJSON_DeleteObjectMapper(struct ObjectMapper * x) {
1436614421 }
1436714422 }
1436814423
14424+struct ObjectReader * cJSON_ParseObjectReader(const char * s) {
14425+ struct ObjectReader * x = NULL;
14426+ if (NULL != s) {
14427+ cJSON * j = cJSON_Parse(s);
14428+ if (NULL != j) {
14429+ x = cJSON_GetObjectReaderValue(j);
14430+ cJSON_Delete(j);
14431+ }
14432+ }
14433+ return x;
14434+}
14435+
14436+struct ObjectReader * cJSON_GetObjectReaderValue(const cJSON * j) {
14437+ struct ObjectReader * x = NULL;
14438+ if (NULL != j) {
14439+ if (NULL != (x = cJSON_malloc(sizeof(struct ObjectReader)))) {
14440+ memset(x, 0, sizeof(struct ObjectReader));
14441+ if (!cJSON_HasObjectItem(j, "ObjectReader")) { cJSON_DeleteObjectReader(x); return NULL; }
14442+ if (cJSON_HasObjectItem(j, "ObjectReader")) {
14443+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "ObjectReader"))) { cJSON_DeleteObjectReader(x); return NULL; }
14444+ x->object_reader = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectReader"));
14445+ }
14446+ }
14447+ }
14448+ return x;
14449+}
14450+
14451+cJSON * cJSON_CreateObjectReader(const struct ObjectReader * x) {
14452+ cJSON * j = NULL;
14453+ if (NULL != x) {
14454+ if (NULL != (j = cJSON_CreateObject())) {
14455+ cJSON_AddNumberToObject(j, "ObjectReader", x->object_reader);
14456+ }
14457+ }
14458+ return j;
14459+}
14460+
14461+char * cJSON_PrintObjectReader(const struct ObjectReader * x) {
14462+ char * s = NULL;
14463+ if (NULL != x) {
14464+ cJSON * j = cJSON_CreateObjectReader(x);
14465+ if (NULL != j) {
14466+ s = cJSON_Print(j);
14467+ cJSON_Delete(j);
14468+ }
14469+ }
14470+ return s;
14471+}
14472+
14473+void cJSON_DeleteObjectReader(struct ObjectReader * x) {
14474+ if (NULL != x) {
14475+ cJSON_free(x);
14476+ }
14477+}
14478+
14479+struct ObjectWriter * cJSON_ParseObjectWriter(const char * s) {
14480+ struct ObjectWriter * x = NULL;
14481+ if (NULL != s) {
14482+ cJSON * j = cJSON_Parse(s);
14483+ if (NULL != j) {
14484+ x = cJSON_GetObjectWriterValue(j);
14485+ cJSON_Delete(j);
14486+ }
14487+ }
14488+ return x;
14489+}
14490+
14491+struct ObjectWriter * cJSON_GetObjectWriterValue(const cJSON * j) {
14492+ struct ObjectWriter * x = NULL;
14493+ if (NULL != j) {
14494+ if (NULL != (x = cJSON_malloc(sizeof(struct ObjectWriter)))) {
14495+ memset(x, 0, sizeof(struct ObjectWriter));
14496+ if (!cJSON_HasObjectItem(j, "ObjectWriter")) { cJSON_DeleteObjectWriter(x); return NULL; }
14497+ if (cJSON_HasObjectItem(j, "ObjectWriter")) {
14498+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "ObjectWriter"))) { cJSON_DeleteObjectWriter(x); return NULL; }
14499+ x->object_writer = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectWriter"));
14500+ }
14501+ }
14502+ }
14503+ return x;
14504+}
14505+
14506+cJSON * cJSON_CreateObjectWriter(const struct ObjectWriter * x) {
14507+ cJSON * j = NULL;
14508+ if (NULL != x) {
14509+ if (NULL != (j = cJSON_CreateObject())) {
14510+ cJSON_AddNumberToObject(j, "ObjectWriter", x->object_writer);
14511+ }
14512+ }
14513+ return j;
14514+}
14515+
14516+char * cJSON_PrintObjectWriter(const struct ObjectWriter * x) {
14517+ char * s = NULL;
14518+ if (NULL != x) {
14519+ cJSON * j = cJSON_CreateObjectWriter(x);
14520+ if (NULL != j) {
14521+ s = cJSON_Print(j);
14522+ cJSON_Delete(j);
14523+ }
14524+ }
14525+ return s;
14526+}
14527+
14528+void cJSON_DeleteObjectWriter(struct ObjectWriter * x) {
14529+ if (NULL != x) {
14530+ cJSON_free(x);
14531+ }
14532+}
14533+
1436914534 struct Of * cJSON_ParseOf(const char * s) {
1437014535 struct Of * x = NULL;
1437114536 if (NULL != s) {
@@ -16084,198 +16249,33 @@ void cJSON_DeleteSbyte(struct Sbyte * x) {
1608416249 }
1608516250 }
1608616251
16087-struct Sealed * cJSON_ParseSealed(const char * s) {
16088- struct Sealed * x = NULL;
16252+struct Obj4 * cJSON_ParseObj4(const char * s) {
16253+ struct Obj4 * x = NULL;
1608916254 if (NULL != s) {
1609016255 cJSON * j = cJSON_Parse(s);
1609116256 if (NULL != j) {
16092- x = cJSON_GetSealedValue(j);
16257+ x = cJSON_GetObj4Value(j);
1609316258 cJSON_Delete(j);
1609416259 }
1609516260 }
1609616261 return x;
1609716262 }
1609816263
16099-struct Sealed * cJSON_GetSealedValue(const cJSON * j) {
16100- struct Sealed * x = NULL;
16264+struct Obj4 * cJSON_GetObj4Value(const cJSON * j) {
16265+ struct Obj4 * x = NULL;
1610116266 if (NULL != j) {
16102- if (NULL != (x = cJSON_malloc(sizeof(struct Sealed)))) {
16103- memset(x, 0, sizeof(struct Sealed));
16104- if (!cJSON_HasObjectItem(j, "sealed")) { cJSON_DeleteSealed(x); return NULL; }
16105- if (cJSON_HasObjectItem(j, "sealed")) {
16106- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "sealed"))) { cJSON_DeleteSealed(x); return NULL; }
16107- x->sealed = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "sealed"));
16267+ if (NULL != (x = cJSON_malloc(sizeof(struct Obj4)))) {
16268+ memset(x, 0, sizeof(struct Obj4));
16269+ if (!cJSON_HasObjectItem(j, "dummy")) { cJSON_DeleteObj4(x); return NULL; }
16270+ if (cJSON_HasObjectItem(j, "dummy")) {
16271+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "dummy"))) { cJSON_DeleteObj4(x); return NULL; }
16272+ x->dummy = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "dummy"));
1610816273 }
16109- }
16110- }
16111- return x;
16112-}
16113-
16114-cJSON * cJSON_CreateSealed(const struct Sealed * x) {
16115- cJSON * j = NULL;
16116- if (NULL != x) {
16117- if (NULL != (j = cJSON_CreateObject())) {
16118- cJSON_AddNumberToObject(j, "sealed", x->sealed);
16119- }
16120- }
16121- return j;
16122-}
16123-
16124-char * cJSON_PrintSealed(const struct Sealed * x) {
16125- char * s = NULL;
16126- if (NULL != x) {
16127- cJSON * j = cJSON_CreateSealed(x);
16128- if (NULL != j) {
16129- s = cJSON_Print(j);
16130- cJSON_Delete(j);
16131- }
16132- }
16133- return s;
16134-}
16135-
16136-void cJSON_DeleteSealed(struct Sealed * x) {
16137- if (NULL != x) {
16138- cJSON_free(x);
16139- }
16140-}
16141-
16142-struct Sel * cJSON_ParseSel(const char * s) {
16143- struct Sel * x = NULL;
16144- if (NULL != s) {
16145- cJSON * j = cJSON_Parse(s);
16146- if (NULL != j) {
16147- x = cJSON_GetSelValue(j);
16148- cJSON_Delete(j);
16149- }
16150- }
16151- return x;
16152-}
16153-
16154-struct Sel * cJSON_GetSelValue(const cJSON * j) {
16155- struct Sel * x = NULL;
16156- if (NULL != j) {
16157- if (NULL != (x = cJSON_malloc(sizeof(struct Sel)))) {
16158- memset(x, 0, sizeof(struct Sel));
16159- if (!cJSON_HasObjectItem(j, "SEL")) { cJSON_DeleteSel(x); return NULL; }
16160- if (cJSON_HasObjectItem(j, "SEL")) {
16161- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "SEL"))) { cJSON_DeleteSel(x); return NULL; }
16162- x->sel = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "SEL"));
16163- }
16164- }
16165- }
16166- return x;
16167-}
16168-
16169-cJSON * cJSON_CreateSel(const struct Sel * x) {
16170- cJSON * j = NULL;
16171- if (NULL != x) {
16172- if (NULL != (j = cJSON_CreateObject())) {
16173- cJSON_AddNumberToObject(j, "SEL", x->sel);
16174- }
16175- }
16176- return j;
16177-}
16178-
16179-char * cJSON_PrintSel(const struct Sel * x) {
16180- char * s = NULL;
16181- if (NULL != x) {
16182- cJSON * j = cJSON_CreateSel(x);
16183- if (NULL != j) {
16184- s = cJSON_Print(j);
16185- cJSON_Delete(j);
16186- }
16187- }
16188- return s;
16189-}
16190-
16191-void cJSON_DeleteSel(struct Sel * x) {
16192- if (NULL != x) {
16193- cJSON_free(x);
16194- }
16195-}
16196-
16197-struct Select * cJSON_ParseSelect(const char * s) {
16198- struct Select * x = NULL;
16199- if (NULL != s) {
16200- cJSON * j = cJSON_Parse(s);
16201- if (NULL != j) {
16202- x = cJSON_GetSelectValue(j);
16203- cJSON_Delete(j);
16204- }
16205- }
16206- return x;
16207-}
16208-
16209-struct Select * cJSON_GetSelectValue(const cJSON * j) {
16210- struct Select * x = NULL;
16211- if (NULL != j) {
16212- if (NULL != (x = cJSON_malloc(sizeof(struct Select)))) {
16213- memset(x, 0, sizeof(struct Select));
16214- if (!cJSON_HasObjectItem(j, "select")) { cJSON_DeleteSelect(x); return NULL; }
16215- if (cJSON_HasObjectItem(j, "select")) {
16216- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "select"))) { cJSON_DeleteSelect(x); return NULL; }
16217- x->select = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "select"));
16218- }
16219- }
16220- }
16221- return x;
16222-}
16223-
16224-cJSON * cJSON_CreateSelect(const struct Select * x) {
16225- cJSON * j = NULL;
16226- if (NULL != x) {
16227- if (NULL != (j = cJSON_CreateObject())) {
16228- cJSON_AddNumberToObject(j, "select", x->select);
16229- }
16230- }
16231- return j;
16232-}
16233-
16234-char * cJSON_PrintSelect(const struct Select * x) {
16235- char * s = NULL;
16236- if (NULL != x) {
16237- cJSON * j = cJSON_CreateSelect(x);
16238- if (NULL != j) {
16239- s = cJSON_Print(j);
16240- cJSON_Delete(j);
16241- }
16242- }
16243- return s;
16244-}
16245-
16246-void cJSON_DeleteSelect(struct Select * x) {
16247- if (NULL != x) {
16248- cJSON_free(x);
16249- }
16250-}
16251-
16252-struct Obj4 * cJSON_ParseObj4(const char * s) {
16253- struct Obj4 * x = NULL;
16254- if (NULL != s) {
16255- cJSON * j = cJSON_Parse(s);
16256- if (NULL != j) {
16257- x = cJSON_GetObj4Value(j);
16258- cJSON_Delete(j);
16259- }
16260- }
16261- return x;
16262-}
16263-
16264-struct Obj4 * cJSON_GetObj4Value(const cJSON * j) {
16265- struct Obj4 * x = NULL;
16266- if (NULL != j) {
16267- if (NULL != (x = cJSON_malloc(sizeof(struct Obj4)))) {
16268- memset(x, 0, sizeof(struct Obj4));
16269- if (!cJSON_HasObjectItem(j, "dummy")) { cJSON_DeleteObj4(x); return NULL; }
16270- if (cJSON_HasObjectItem(j, "dummy")) {
16271- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "dummy"))) { cJSON_DeleteObj4(x); return NULL; }
16272- x->dummy = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "dummy"));
16273- }
16274- if (!cJSON_HasObjectItem(j, "noSuchMethod")) { cJSON_DeleteObj4(x); return NULL; }
16275- if (cJSON_HasObjectItem(j, "noSuchMethod")) {
16276- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "noSuchMethod"))) { cJSON_DeleteObj4(x); return NULL; }
16277- x->no_such_method = cJSON_GetNoSuchMethodValue(cJSON_GetObjectItemCaseSensitive(j, "noSuchMethod"));
16278- if (NULL == x->no_such_method) { cJSON_DeleteObj4(x); return NULL; }
16274+ if (!cJSON_HasObjectItem(j, "noSuchMethod")) { cJSON_DeleteObj4(x); return NULL; }
16275+ if (cJSON_HasObjectItem(j, "noSuchMethod")) {
16276+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "noSuchMethod"))) { cJSON_DeleteObj4(x); return NULL; }
16277+ x->no_such_method = cJSON_GetNoSuchMethodValue(cJSON_GetObjectItemCaseSensitive(j, "noSuchMethod"));
16278+ if (NULL == x->no_such_method) { cJSON_DeleteObj4(x); return NULL; }
1627916279 }
1628016280 if (!cJSON_HasObjectItem(j, "nonatomic")) { cJSON_DeleteObj4(x); return NULL; }
1628116281 if (cJSON_HasObjectItem(j, "nonatomic")) {
@@ -16331,6 +16331,12 @@ struct Obj4 * cJSON_GetObj4Value(const cJSON * j) {
1633116331 x->number = cJSON_GetNumberClassValue(cJSON_GetObjectItemCaseSensitive(j, "number"));
1633216332 if (NULL == x->number) { cJSON_DeleteObj4(x); return NULL; }
1633316333 }
16334+ if (!cJSON_HasObjectItem(j, "noexcept")) { cJSON_DeleteObj4(x); return NULL; }
16335+ if (cJSON_HasObjectItem(j, "noexcept")) {
16336+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "noexcept"))) { cJSON_DeleteObj4(x); return NULL; }
16337+ x->obj4_noexcept = cJSON_GetNoexceptValue(cJSON_GetObjectItemCaseSensitive(j, "noexcept"));
16338+ if (NULL == x->obj4_noexcept) { cJSON_DeleteObj4(x); return NULL; }
16339+ }
1633416340 if (!cJSON_HasObjectItem(j, "none")) { cJSON_DeleteObj4(x); return NULL; }
1633516341 if (cJSON_HasObjectItem(j, "none")) {
1633616342 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "none"))) { cJSON_DeleteObj4(x); return NULL; }
@@ -16451,6 +16457,18 @@ struct Obj4 * cJSON_GetObj4Value(const cJSON * j) {
1645116457 x->object_mapper = cJSON_GetObjectMapperValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectMapper"));
1645216458 if (NULL == x->object_mapper) { cJSON_DeleteObj4(x); return NULL; }
1645316459 }
16460+ if (!cJSON_HasObjectItem(j, "ObjectReader")) { cJSON_DeleteObj4(x); return NULL; }
16461+ if (cJSON_HasObjectItem(j, "ObjectReader")) {
16462+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "ObjectReader"))) { cJSON_DeleteObj4(x); return NULL; }
16463+ x->object_reader = cJSON_GetObjectReaderValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectReader"));
16464+ if (NULL == x->object_reader) { cJSON_DeleteObj4(x); return NULL; }
16465+ }
16466+ if (!cJSON_HasObjectItem(j, "ObjectWriter")) { cJSON_DeleteObj4(x); return NULL; }
16467+ if (cJSON_HasObjectItem(j, "ObjectWriter")) {
16468+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "ObjectWriter"))) { cJSON_DeleteObj4(x); return NULL; }
16469+ x->object_writer = cJSON_GetObjectWriterValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectWriter"));
16470+ if (NULL == x->object_writer) { cJSON_DeleteObj4(x); return NULL; }
16471+ }
1645416472 if (!cJSON_HasObjectItem(j, "of")) { cJSON_DeleteObj4(x); return NULL; }
1645516473 if (cJSON_HasObjectItem(j, "of")) {
1645616474 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "of"))) { cJSON_DeleteObj4(x); return NULL; }
@@ -16637,24 +16655,6 @@ struct Obj4 * cJSON_GetObj4Value(const cJSON * j) {
1663716655 x->sbyte = cJSON_GetSbyteValue(cJSON_GetObjectItemCaseSensitive(j, "sbyte"));
1663816656 if (NULL == x->sbyte) { cJSON_DeleteObj4(x); return NULL; }
1663916657 }
16640- if (!cJSON_HasObjectItem(j, "sealed")) { cJSON_DeleteObj4(x); return NULL; }
16641- if (cJSON_HasObjectItem(j, "sealed")) {
16642- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "sealed"))) { cJSON_DeleteObj4(x); return NULL; }
16643- x->sealed = cJSON_GetSealedValue(cJSON_GetObjectItemCaseSensitive(j, "sealed"));
16644- if (NULL == x->sealed) { cJSON_DeleteObj4(x); return NULL; }
16645- }
16646- if (!cJSON_HasObjectItem(j, "SEL")) { cJSON_DeleteObj4(x); return NULL; }
16647- if (cJSON_HasObjectItem(j, "SEL")) {
16648- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "SEL"))) { cJSON_DeleteObj4(x); return NULL; }
16649- x->sel = cJSON_GetSelValue(cJSON_GetObjectItemCaseSensitive(j, "SEL"));
16650- if (NULL == x->sel) { cJSON_DeleteObj4(x); return NULL; }
16651- }
16652- if (!cJSON_HasObjectItem(j, "select")) { cJSON_DeleteObj4(x); return NULL; }
16653- if (cJSON_HasObjectItem(j, "select")) {
16654- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "select"))) { cJSON_DeleteObj4(x); return NULL; }
16655- x->select = cJSON_GetSelectValue(cJSON_GetObjectItemCaseSensitive(j, "select"));
16656- if (NULL == x->select) { cJSON_DeleteObj4(x); return NULL; }
16657- }
1665816658 }
1665916659 }
1666016660 return x;
@@ -16675,6 +16675,7 @@ cJSON * cJSON_CreateObj4(const struct Obj4 * x) {
1667516675 cJSON_AddItemToObject(j, "NSString", cJSON_CreateNsString(x->ns_string));
1667616676 cJSON_AddItemToObject(j, "NULL", cJSON_CreateNullClass(x->null));
1667716677 cJSON_AddItemToObject(j, "number", cJSON_CreateNumberClass(x->number));
16678+ cJSON_AddItemToObject(j, "noexcept", cJSON_CreateNoexcept(x->obj4_noexcept));
1667816679 cJSON_AddItemToObject(j, "none", cJSON_CreateNoneClass(x->obj4_none));
1667916680 cJSON_AddItemToObject(j, "not", cJSON_CreateNot(x->obj4_not));
1668016681 cJSON_AddItemToObject(j, "not_eq", cJSON_CreateNotEq(x->obj4_not_eq));
@@ -16695,6 +16696,8 @@ cJSON * cJSON_CreateObj4(const struct Obj4 * x) {
1669516696 cJSON_AddItemToObject(j, "return", cJSON_CreateReturn(x->obj4_return));
1669616697 cJSON_AddItemToObject(j, "object", cJSON_CreateObjectClass(x->object));
1669716698 cJSON_AddItemToObject(j, "ObjectMapper", cJSON_CreateObjectMapper(x->object_mapper));
16699+ cJSON_AddItemToObject(j, "ObjectReader", cJSON_CreateObjectReader(x->object_reader));
16700+ cJSON_AddItemToObject(j, "ObjectWriter", cJSON_CreateObjectWriter(x->object_writer));
1669816701 cJSON_AddItemToObject(j, "of", cJSON_CreateOf(x->of));
1669916702 cJSON_AddItemToObject(j, "oneway", cJSON_CreateOneway(x->oneway));
1670016703 cJSON_AddItemToObject(j, "open", cJSON_CreateOpen(x->open));
@@ -16726,9 +16729,6 @@ cJSON * cJSON_CreateObj4(const struct Obj4 * x) {
1672616729 cJSON_AddItemToObject(j, "runtimeType", cJSON_CreateRuntimeType(x->runtime_type));
1672716730 cJSON_AddItemToObject(j, "s", cJSON_CreateS(x->s));
1672816731 cJSON_AddItemToObject(j, "sbyte", cJSON_CreateSbyte(x->sbyte));
16729- cJSON_AddItemToObject(j, "sealed", cJSON_CreateSealed(x->sealed));
16730- cJSON_AddItemToObject(j, "SEL", cJSON_CreateSel(x->sel));
16731- cJSON_AddItemToObject(j, "select", cJSON_CreateSelect(x->select));
1673216732 }
1673316733 }
1673416734 return j;
@@ -16778,6 +16778,9 @@ void cJSON_DeleteObj4(struct Obj4 * x) {
1677816778 if (NULL != x->number) {
1677916779 cJSON_DeleteNumberClass(x->number);
1678016780 }
16781+ if (NULL != x->obj4_noexcept) {
16782+ cJSON_DeleteNoexcept(x->obj4_noexcept);
16783+ }
1678116784 if (NULL != x->obj4_none) {
1678216785 cJSON_DeleteNoneClass(x->obj4_none);
1678316786 }
@@ -16838,6 +16841,12 @@ void cJSON_DeleteObj4(struct Obj4 * x) {
1683816841 if (NULL != x->object_mapper) {
1683916842 cJSON_DeleteObjectMapper(x->object_mapper);
1684016843 }
16844+ if (NULL != x->object_reader) {
16845+ cJSON_DeleteObjectReader(x->object_reader);
16846+ }
16847+ if (NULL != x->object_writer) {
16848+ cJSON_DeleteObjectWriter(x->object_writer);
16849+ }
1684116850 if (NULL != x->of) {
1684216851 cJSON_DeleteOf(x->of);
1684316852 }
@@ -16931,15 +16940,6 @@ void cJSON_DeleteObj4(struct Obj4 * x) {
1693116940 if (NULL != x->sbyte) {
1693216941 cJSON_DeleteSbyte(x->sbyte);
1693316942 }
16934- if (NULL != x->sealed) {
16935- cJSON_DeleteSealed(x->sealed);
16936- }
16937- if (NULL != x->sel) {
16938- cJSON_DeleteSel(x->sel);
16939- }
16940- if (NULL != x->select) {
16941- cJSON_DeleteSelect(x->select);
16942- }
1694316943 cJSON_free(x);
1694416944 }
1694516945 }
@@ -18264,61 +18264,6 @@ void cJSON_DeleteUsing(struct Using * x) {
1826418264 }
1826518265 }
1826618266
18267-struct Virtual * cJSON_ParseVirtual(const char * s) {
18268- struct Virtual * x = NULL;
18269- if (NULL != s) {
18270- cJSON * j = cJSON_Parse(s);
18271- if (NULL != j) {
18272- x = cJSON_GetVirtualValue(j);
18273- cJSON_Delete(j);
18274- }
18275- }
18276- return x;
18277-}
18278-
18279-struct Virtual * cJSON_GetVirtualValue(const cJSON * j) {
18280- struct Virtual * x = NULL;
18281- if (NULL != j) {
18282- if (NULL != (x = cJSON_malloc(sizeof(struct Virtual)))) {
18283- memset(x, 0, sizeof(struct Virtual));
18284- if (!cJSON_HasObjectItem(j, "virtual")) { cJSON_DeleteVirtual(x); return NULL; }
18285- if (cJSON_HasObjectItem(j, "virtual")) {
18286- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "virtual"))) { cJSON_DeleteVirtual(x); return NULL; }
18287- x->virtual_virtual = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "virtual"));
18288- }
18289- }
18290- }
18291- return x;
18292-}
18293-
18294-cJSON * cJSON_CreateVirtual(const struct Virtual * x) {
18295- cJSON * j = NULL;
18296- if (NULL != x) {
18297- if (NULL != (j = cJSON_CreateObject())) {
18298- cJSON_AddNumberToObject(j, "virtual", x->virtual_virtual);
18299- }
18300- }
18301- return j;
18302-}
18303-
18304-char * cJSON_PrintVirtual(const struct Virtual * x) {
18305- char * s = NULL;
18306- if (NULL != x) {
18307- cJSON * j = cJSON_CreateVirtual(x);
18308- if (NULL != j) {
18309- s = cJSON_Print(j);
18310- cJSON_Delete(j);
18311- }
18312- }
18313- return s;
18314-}
18315-
18316-void cJSON_DeleteVirtual(struct Virtual * x) {
18317- if (NULL != x) {
18318- cJSON_free(x);
18319- }
18320-}
18321-
1832218267 struct Obj5True * cJSON_ParseObj5True(const char * s) {
1832318268 struct Obj5True * x = NULL;
1832418269 if (NULL != s) {
@@ -18374,47 +18319,47 @@ void cJSON_DeleteObj5True(struct Obj5True * x) {
1837418319 }
1837518320 }
1837618321
18377-struct Self * cJSON_ParseSelf(const char * s) {
18378- struct Self * x = NULL;
18322+struct Sealed * cJSON_ParseSealed(const char * s) {
18323+ struct Sealed * x = NULL;
1837918324 if (NULL != s) {
1838018325 cJSON * j = cJSON_Parse(s);
1838118326 if (NULL != j) {
18382- x = cJSON_GetSelfValue(j);
18327+ x = cJSON_GetSealedValue(j);
1838318328 cJSON_Delete(j);
1838418329 }
1838518330 }
1838618331 return x;
1838718332 }
1838818333
18389-struct Self * cJSON_GetSelfValue(const cJSON * j) {
18390- struct Self * x = NULL;
18334+struct Sealed * cJSON_GetSealedValue(const cJSON * j) {
18335+ struct Sealed * x = NULL;
1839118336 if (NULL != j) {
18392- if (NULL != (x = cJSON_malloc(sizeof(struct Self)))) {
18393- memset(x, 0, sizeof(struct Self));
18394- if (!cJSON_HasObjectItem(j, "Self")) { cJSON_DeleteSelf(x); return NULL; }
18395- if (cJSON_HasObjectItem(j, "Self")) {
18396- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "Self"))) { cJSON_DeleteSelf(x); return NULL; }
18397- x->self = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "Self"));
18337+ if (NULL != (x = cJSON_malloc(sizeof(struct Sealed)))) {
18338+ memset(x, 0, sizeof(struct Sealed));
18339+ if (!cJSON_HasObjectItem(j, "sealed")) { cJSON_DeleteSealed(x); return NULL; }
18340+ if (cJSON_HasObjectItem(j, "sealed")) {
18341+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "sealed"))) { cJSON_DeleteSealed(x); return NULL; }
18342+ x->sealed = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "sealed"));
1839818343 }
1839918344 }
1840018345 }
1840118346 return x;
1840218347 }
1840318348
18404-cJSON * cJSON_CreateSelf(const struct Self * x) {
18349+cJSON * cJSON_CreateSealed(const struct Sealed * x) {
1840518350 cJSON * j = NULL;
1840618351 if (NULL != x) {
1840718352 if (NULL != (j = cJSON_CreateObject())) {
18408- cJSON_AddNumberToObject(j, "Self", x->self);
18353+ cJSON_AddNumberToObject(j, "sealed", x->sealed);
1840918354 }
1841018355 }
1841118356 return j;
1841218357 }
1841318358
18414-char * cJSON_PrintSelf(const struct Self * x) {
18359+char * cJSON_PrintSealed(const struct Sealed * x) {
1841518360 char * s = NULL;
1841618361 if (NULL != x) {
18417- cJSON * j = cJSON_CreateSelf(x);
18362+ cJSON * j = cJSON_CreateSealed(x);
1841818363 if (NULL != j) {
1841918364 s = cJSON_Print(j);
1842018365 cJSON_Delete(j);
@@ -18423,53 +18368,53 @@ char * cJSON_PrintSelf(const struct Self * x) {
1842318368 return s;
1842418369 }
1842518370
18426-void cJSON_DeleteSelf(struct Self * x) {
18371+void cJSON_DeleteSealed(struct Sealed * x) {
1842718372 if (NULL != x) {
1842818373 cJSON_free(x);
1842918374 }
1843018375 }
1843118376
18432-struct Sendable * cJSON_ParseSendable(const char * s) {
18433- struct Sendable * x = NULL;
18377+struct Sel * cJSON_ParseSel(const char * s) {
18378+ struct Sel * x = NULL;
1843418379 if (NULL != s) {
1843518380 cJSON * j = cJSON_Parse(s);
1843618381 if (NULL != j) {
18437- x = cJSON_GetSendableValue(j);
18382+ x = cJSON_GetSelValue(j);
1843818383 cJSON_Delete(j);
1843918384 }
1844018385 }
1844118386 return x;
1844218387 }
1844318388
18444-struct Sendable * cJSON_GetSendableValue(const cJSON * j) {
18445- struct Sendable * x = NULL;
18389+struct Sel * cJSON_GetSelValue(const cJSON * j) {
18390+ struct Sel * x = NULL;
1844618391 if (NULL != j) {
18447- if (NULL != (x = cJSON_malloc(sizeof(struct Sendable)))) {
18448- memset(x, 0, sizeof(struct Sendable));
18449- if (!cJSON_HasObjectItem(j, "Sendable")) { cJSON_DeleteSendable(x); return NULL; }
18450- if (cJSON_HasObjectItem(j, "Sendable")) {
18451- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "Sendable"))) { cJSON_DeleteSendable(x); return NULL; }
18452- x->sendable = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "Sendable"));
18392+ if (NULL != (x = cJSON_malloc(sizeof(struct Sel)))) {
18393+ memset(x, 0, sizeof(struct Sel));
18394+ if (!cJSON_HasObjectItem(j, "SEL")) { cJSON_DeleteSel(x); return NULL; }
18395+ if (cJSON_HasObjectItem(j, "SEL")) {
18396+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "SEL"))) { cJSON_DeleteSel(x); return NULL; }
18397+ x->sel = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "SEL"));
1845318398 }
1845418399 }
1845518400 }
1845618401 return x;
1845718402 }
1845818403
18459-cJSON * cJSON_CreateSendable(const struct Sendable * x) {
18404+cJSON * cJSON_CreateSel(const struct Sel * x) {
1846018405 cJSON * j = NULL;
1846118406 if (NULL != x) {
1846218407 if (NULL != (j = cJSON_CreateObject())) {
18463- cJSON_AddNumberToObject(j, "Sendable", x->sendable);
18408+ cJSON_AddNumberToObject(j, "SEL", x->sel);
1846418409 }
1846518410 }
1846618411 return j;
1846718412 }
1846818413
18469-char * cJSON_PrintSendable(const struct Sendable * x) {
18414+char * cJSON_PrintSel(const struct Sel * x) {
1847018415 char * s = NULL;
1847118416 if (NULL != x) {
18472- cJSON * j = cJSON_CreateSendable(x);
18417+ cJSON * j = cJSON_CreateSel(x);
1847318418 if (NULL != j) {
1847418419 s = cJSON_Print(j);
1847518420 cJSON_Delete(j);
@@ -18478,53 +18423,53 @@ char * cJSON_PrintSendable(const struct Sendable * x) {
1847818423 return s;
1847918424 }
1848018425
18481-void cJSON_DeleteSendable(struct Sendable * x) {
18426+void cJSON_DeleteSel(struct Sel * x) {
1848218427 if (NULL != x) {
1848318428 cJSON_free(x);
1848418429 }
1848518430 }
1848618431
18487-struct Serialize * cJSON_ParseSerialize(const char * s) {
18488- struct Serialize * x = NULL;
18432+struct Select * cJSON_ParseSelect(const char * s) {
18433+ struct Select * x = NULL;
1848918434 if (NULL != s) {
1849018435 cJSON * j = cJSON_Parse(s);
1849118436 if (NULL != j) {
18492- x = cJSON_GetSerializeValue(j);
18437+ x = cJSON_GetSelectValue(j);
1849318438 cJSON_Delete(j);
1849418439 }
1849518440 }
1849618441 return x;
1849718442 }
1849818443
18499-struct Serialize * cJSON_GetSerializeValue(const cJSON * j) {
18500- struct Serialize * x = NULL;
18444+struct Select * cJSON_GetSelectValue(const cJSON * j) {
18445+ struct Select * x = NULL;
1850118446 if (NULL != j) {
18502- if (NULL != (x = cJSON_malloc(sizeof(struct Serialize)))) {
18503- memset(x, 0, sizeof(struct Serialize));
18504- if (!cJSON_HasObjectItem(j, "serialize")) { cJSON_DeleteSerialize(x); return NULL; }
18505- if (cJSON_HasObjectItem(j, "serialize")) {
18506- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "serialize"))) { cJSON_DeleteSerialize(x); return NULL; }
18507- x->serialize = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "serialize"));
18447+ if (NULL != (x = cJSON_malloc(sizeof(struct Select)))) {
18448+ memset(x, 0, sizeof(struct Select));
18449+ if (!cJSON_HasObjectItem(j, "select")) { cJSON_DeleteSelect(x); return NULL; }
18450+ if (cJSON_HasObjectItem(j, "select")) {
18451+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "select"))) { cJSON_DeleteSelect(x); return NULL; }
18452+ x->select = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "select"));
1850818453 }
1850918454 }
1851018455 }
1851118456 return x;
1851218457 }
1851318458
18514-cJSON * cJSON_CreateSerialize(const struct Serialize * x) {
18459+cJSON * cJSON_CreateSelect(const struct Select * x) {
1851518460 cJSON * j = NULL;
1851618461 if (NULL != x) {
1851718462 if (NULL != (j = cJSON_CreateObject())) {
18518- cJSON_AddNumberToObject(j, "serialize", x->serialize);
18463+ cJSON_AddNumberToObject(j, "select", x->select);
1851918464 }
1852018465 }
1852118466 return j;
1852218467 }
1852318468
18524-char * cJSON_PrintSerialize(const struct Serialize * x) {
18469+char * cJSON_PrintSelect(const struct Select * x) {
1852518470 char * s = NULL;
1852618471 if (NULL != x) {
18527- cJSON * j = cJSON_CreateSerialize(x);
18472+ cJSON * j = cJSON_CreateSelect(x);
1852818473 if (NULL != j) {
1852918474 s = cJSON_Print(j);
1853018475 cJSON_Delete(j);
@@ -18533,7 +18478,227 @@ char * cJSON_PrintSerialize(const struct Serialize * x) {
1853318478 return s;
1853418479 }
1853518480
18536-void cJSON_DeleteSerialize(struct Serialize * x) {
18481+void cJSON_DeleteSelect(struct Select * x) {
18482+ if (NULL != x) {
18483+ cJSON_free(x);
18484+ }
18485+}
18486+
18487+struct Self * cJSON_ParseSelf(const char * s) {
18488+ struct Self * x = NULL;
18489+ if (NULL != s) {
18490+ cJSON * j = cJSON_Parse(s);
18491+ if (NULL != j) {
18492+ x = cJSON_GetSelfValue(j);
18493+ cJSON_Delete(j);
18494+ }
18495+ }
18496+ return x;
18497+}
18498+
18499+struct Self * cJSON_GetSelfValue(const cJSON * j) {
18500+ struct Self * x = NULL;
18501+ if (NULL != j) {
18502+ if (NULL != (x = cJSON_malloc(sizeof(struct Self)))) {
18503+ memset(x, 0, sizeof(struct Self));
18504+ if (!cJSON_HasObjectItem(j, "Self")) { cJSON_DeleteSelf(x); return NULL; }
18505+ if (cJSON_HasObjectItem(j, "Self")) {
18506+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "Self"))) { cJSON_DeleteSelf(x); return NULL; }
18507+ x->self = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "Self"));
18508+ }
18509+ }
18510+ }
18511+ return x;
18512+}
18513+
18514+cJSON * cJSON_CreateSelf(const struct Self * x) {
18515+ cJSON * j = NULL;
18516+ if (NULL != x) {
18517+ if (NULL != (j = cJSON_CreateObject())) {
18518+ cJSON_AddNumberToObject(j, "Self", x->self);
18519+ }
18520+ }
18521+ return j;
18522+}
18523+
18524+char * cJSON_PrintSelf(const struct Self * x) {
18525+ char * s = NULL;
18526+ if (NULL != x) {
18527+ cJSON * j = cJSON_CreateSelf(x);
18528+ if (NULL != j) {
18529+ s = cJSON_Print(j);
18530+ cJSON_Delete(j);
18531+ }
18532+ }
18533+ return s;
18534+}
18535+
18536+void cJSON_DeleteSelf(struct Self * x) {
18537+ if (NULL != x) {
18538+ cJSON_free(x);
18539+ }
18540+}
18541+
18542+struct Sendable * cJSON_ParseSendable(const char * s) {
18543+ struct Sendable * x = NULL;
18544+ if (NULL != s) {
18545+ cJSON * j = cJSON_Parse(s);
18546+ if (NULL != j) {
18547+ x = cJSON_GetSendableValue(j);
18548+ cJSON_Delete(j);
18549+ }
18550+ }
18551+ return x;
18552+}
18553+
18554+struct Sendable * cJSON_GetSendableValue(const cJSON * j) {
18555+ struct Sendable * x = NULL;
18556+ if (NULL != j) {
18557+ if (NULL != (x = cJSON_malloc(sizeof(struct Sendable)))) {
18558+ memset(x, 0, sizeof(struct Sendable));
18559+ if (!cJSON_HasObjectItem(j, "Sendable")) { cJSON_DeleteSendable(x); return NULL; }
18560+ if (cJSON_HasObjectItem(j, "Sendable")) {
18561+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "Sendable"))) { cJSON_DeleteSendable(x); return NULL; }
18562+ x->sendable = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "Sendable"));
18563+ }
18564+ }
18565+ }
18566+ return x;
18567+}
18568+
18569+cJSON * cJSON_CreateSendable(const struct Sendable * x) {
18570+ cJSON * j = NULL;
18571+ if (NULL != x) {
18572+ if (NULL != (j = cJSON_CreateObject())) {
18573+ cJSON_AddNumberToObject(j, "Sendable", x->sendable);
18574+ }
18575+ }
18576+ return j;
18577+}
18578+
18579+char * cJSON_PrintSendable(const struct Sendable * x) {
18580+ char * s = NULL;
18581+ if (NULL != x) {
18582+ cJSON * j = cJSON_CreateSendable(x);
18583+ if (NULL != j) {
18584+ s = cJSON_Print(j);
18585+ cJSON_Delete(j);
18586+ }
18587+ }
18588+ return s;
18589+}
18590+
18591+void cJSON_DeleteSendable(struct Sendable * x) {
18592+ if (NULL != x) {
18593+ cJSON_free(x);
18594+ }
18595+}
18596+
18597+struct SerializationFeature * cJSON_ParseSerializationFeature(const char * s) {
18598+ struct SerializationFeature * x = NULL;
18599+ if (NULL != s) {
18600+ cJSON * j = cJSON_Parse(s);
18601+ if (NULL != j) {
18602+ x = cJSON_GetSerializationFeatureValue(j);
18603+ cJSON_Delete(j);
18604+ }
18605+ }
18606+ return x;
18607+}
18608+
18609+struct SerializationFeature * cJSON_GetSerializationFeatureValue(const cJSON * j) {
18610+ struct SerializationFeature * x = NULL;
18611+ if (NULL != j) {
18612+ if (NULL != (x = cJSON_malloc(sizeof(struct SerializationFeature)))) {
18613+ memset(x, 0, sizeof(struct SerializationFeature));
18614+ if (!cJSON_HasObjectItem(j, "SerializationFeature")) { cJSON_DeleteSerializationFeature(x); return NULL; }
18615+ if (cJSON_HasObjectItem(j, "SerializationFeature")) {
18616+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "SerializationFeature"))) { cJSON_DeleteSerializationFeature(x); return NULL; }
18617+ x->serialization_feature = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "SerializationFeature"));
18618+ }
18619+ }
18620+ }
18621+ return x;
18622+}
18623+
18624+cJSON * cJSON_CreateSerializationFeature(const struct SerializationFeature * x) {
18625+ cJSON * j = NULL;
18626+ if (NULL != x) {
18627+ if (NULL != (j = cJSON_CreateObject())) {
18628+ cJSON_AddNumberToObject(j, "SerializationFeature", x->serialization_feature);
18629+ }
18630+ }
18631+ return j;
18632+}
18633+
18634+char * cJSON_PrintSerializationFeature(const struct SerializationFeature * x) {
18635+ char * s = NULL;
18636+ if (NULL != x) {
18637+ cJSON * j = cJSON_CreateSerializationFeature(x);
18638+ if (NULL != j) {
18639+ s = cJSON_Print(j);
18640+ cJSON_Delete(j);
18641+ }
18642+ }
18643+ return s;
18644+}
18645+
18646+void cJSON_DeleteSerializationFeature(struct SerializationFeature * x) {
18647+ if (NULL != x) {
18648+ cJSON_free(x);
18649+ }
18650+}
18651+
18652+struct Serialize * cJSON_ParseSerialize(const char * s) {
18653+ struct Serialize * x = NULL;
18654+ if (NULL != s) {
18655+ cJSON * j = cJSON_Parse(s);
18656+ if (NULL != j) {
18657+ x = cJSON_GetSerializeValue(j);
18658+ cJSON_Delete(j);
18659+ }
18660+ }
18661+ return x;
18662+}
18663+
18664+struct Serialize * cJSON_GetSerializeValue(const cJSON * j) {
18665+ struct Serialize * x = NULL;
18666+ if (NULL != j) {
18667+ if (NULL != (x = cJSON_malloc(sizeof(struct Serialize)))) {
18668+ memset(x, 0, sizeof(struct Serialize));
18669+ if (!cJSON_HasObjectItem(j, "serialize")) { cJSON_DeleteSerialize(x); return NULL; }
18670+ if (cJSON_HasObjectItem(j, "serialize")) {
18671+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "serialize"))) { cJSON_DeleteSerialize(x); return NULL; }
18672+ x->serialize = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "serialize"));
18673+ }
18674+ }
18675+ }
18676+ return x;
18677+}
18678+
18679+cJSON * cJSON_CreateSerialize(const struct Serialize * x) {
18680+ cJSON * j = NULL;
18681+ if (NULL != x) {
18682+ if (NULL != (j = cJSON_CreateObject())) {
18683+ cJSON_AddNumberToObject(j, "serialize", x->serialize);
18684+ }
18685+ }
18686+ return j;
18687+}
18688+
18689+char * cJSON_PrintSerialize(const struct Serialize * x) {
18690+ char * s = NULL;
18691+ if (NULL != x) {
18692+ cJSON * j = cJSON_CreateSerialize(x);
18693+ if (NULL != j) {
18694+ s = cJSON_Print(j);
18695+ cJSON_Delete(j);
18696+ }
18697+ }
18698+ return s;
18699+}
18700+
18701+void cJSON_DeleteSerialize(struct Serialize * x) {
1853718702 if (NULL != x) {
1853818703 cJSON_free(x);
1853918704 }
@@ -20299,192 +20464,27 @@ void cJSON_DeleteUtf8JsonReader(struct Utf8JsonReader * x) {
2029920464 }
2030020465 }
2030120466
20302-struct Utf8JsonWriter * cJSON_ParseUtf8JsonWriter(const char * s) {
20303- struct Utf8JsonWriter * x = NULL;
20467+struct Obj5 * cJSON_ParseObj5(const char * s) {
20468+ struct Obj5 * x = NULL;
2030420469 if (NULL != s) {
2030520470 cJSON * j = cJSON_Parse(s);
2030620471 if (NULL != j) {
20307- x = cJSON_GetUtf8JsonWriterValue(j);
20472+ x = cJSON_GetObj5Value(j);
2030820473 cJSON_Delete(j);
2030920474 }
2031020475 }
2031120476 return x;
2031220477 }
2031320478
20314-struct Utf8JsonWriter * cJSON_GetUtf8JsonWriterValue(const cJSON * j) {
20315- struct Utf8JsonWriter * x = NULL;
20479+struct Obj5 * cJSON_GetObj5Value(const cJSON * j) {
20480+ struct Obj5 * x = NULL;
2031620481 if (NULL != j) {
20317- if (NULL != (x = cJSON_malloc(sizeof(struct Utf8JsonWriter)))) {
20318- memset(x, 0, sizeof(struct Utf8JsonWriter));
20319- if (!cJSON_HasObjectItem(j, "Utf8JsonWriter")) { cJSON_DeleteUtf8JsonWriter(x); return NULL; }
20320- if (cJSON_HasObjectItem(j, "Utf8JsonWriter")) {
20321- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"))) { cJSON_DeleteUtf8JsonWriter(x); return NULL; }
20322- x->utf8_json_writer = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"));
20323- }
20324- }
20325- }
20326- return x;
20327-}
20328-
20329-cJSON * cJSON_CreateUtf8JsonWriter(const struct Utf8JsonWriter * x) {
20330- cJSON * j = NULL;
20331- if (NULL != x) {
20332- if (NULL != (j = cJSON_CreateObject())) {
20333- cJSON_AddNumberToObject(j, "Utf8JsonWriter", x->utf8_json_writer);
20334- }
20335- }
20336- return j;
20337-}
20338-
20339-char * cJSON_PrintUtf8JsonWriter(const struct Utf8JsonWriter * x) {
20340- char * s = NULL;
20341- if (NULL != x) {
20342- cJSON * j = cJSON_CreateUtf8JsonWriter(x);
20343- if (NULL != j) {
20344- s = cJSON_Print(j);
20345- cJSON_Delete(j);
20346- }
20347- }
20348- return s;
20349-}
20350-
20351-void cJSON_DeleteUtf8JsonWriter(struct Utf8JsonWriter * x) {
20352- if (NULL != x) {
20353- cJSON_free(x);
20354- }
20355-}
20356-
20357-struct Uuid * cJSON_ParseUuid(const char * s) {
20358- struct Uuid * x = NULL;
20359- if (NULL != s) {
20360- cJSON * j = cJSON_Parse(s);
20361- if (NULL != j) {
20362- x = cJSON_GetUuidValue(j);
20363- cJSON_Delete(j);
20364- }
20365- }
20366- return x;
20367-}
20368-
20369-struct Uuid * cJSON_GetUuidValue(const cJSON * j) {
20370- struct Uuid * x = NULL;
20371- if (NULL != j) {
20372- if (NULL != (x = cJSON_malloc(sizeof(struct Uuid)))) {
20373- memset(x, 0, sizeof(struct Uuid));
20374- if (!cJSON_HasObjectItem(j, "UUID")) { cJSON_DeleteUuid(x); return NULL; }
20375- if (cJSON_HasObjectItem(j, "UUID")) {
20376- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "UUID"))) { cJSON_DeleteUuid(x); return NULL; }
20377- x->uuid = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "UUID"));
20378- }
20379- }
20380- }
20381- return x;
20382-}
20383-
20384-cJSON * cJSON_CreateUuid(const struct Uuid * x) {
20385- cJSON * j = NULL;
20386- if (NULL != x) {
20387- if (NULL != (j = cJSON_CreateObject())) {
20388- cJSON_AddNumberToObject(j, "UUID", x->uuid);
20389- }
20390- }
20391- return j;
20392-}
20393-
20394-char * cJSON_PrintUuid(const struct Uuid * x) {
20395- char * s = NULL;
20396- if (NULL != x) {
20397- cJSON * j = cJSON_CreateUuid(x);
20398- if (NULL != j) {
20399- s = cJSON_Print(j);
20400- cJSON_Delete(j);
20401- }
20402- }
20403- return s;
20404-}
20405-
20406-void cJSON_DeleteUuid(struct Uuid * x) {
20407- if (NULL != x) {
20408- cJSON_free(x);
20409- }
20410-}
20411-
20412-struct Var * cJSON_ParseVar(const char * s) {
20413- struct Var * x = NULL;
20414- if (NULL != s) {
20415- cJSON * j = cJSON_Parse(s);
20416- if (NULL != j) {
20417- x = cJSON_GetVarValue(j);
20418- cJSON_Delete(j);
20419- }
20420- }
20421- return x;
20422-}
20423-
20424-struct Var * cJSON_GetVarValue(const cJSON * j) {
20425- struct Var * x = NULL;
20426- if (NULL != j) {
20427- if (NULL != (x = cJSON_malloc(sizeof(struct Var)))) {
20428- memset(x, 0, sizeof(struct Var));
20429- if (!cJSON_HasObjectItem(j, "var")) { cJSON_DeleteVar(x); return NULL; }
20430- if (cJSON_HasObjectItem(j, "var")) {
20431- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "var"))) { cJSON_DeleteVar(x); return NULL; }
20432- x->var = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "var"));
20433- }
20434- }
20435- }
20436- return x;
20437-}
20438-
20439-cJSON * cJSON_CreateVar(const struct Var * x) {
20440- cJSON * j = NULL;
20441- if (NULL != x) {
20442- if (NULL != (j = cJSON_CreateObject())) {
20443- cJSON_AddNumberToObject(j, "var", x->var);
20444- }
20445- }
20446- return j;
20447-}
20448-
20449-char * cJSON_PrintVar(const struct Var * x) {
20450- char * s = NULL;
20451- if (NULL != x) {
20452- cJSON * j = cJSON_CreateVar(x);
20453- if (NULL != j) {
20454- s = cJSON_Print(j);
20455- cJSON_Delete(j);
20456- }
20457- }
20458- return s;
20459-}
20460-
20461-void cJSON_DeleteVar(struct Var * x) {
20462- if (NULL != x) {
20463- cJSON_free(x);
20464- }
20465-}
20466-
20467-struct Obj5 * cJSON_ParseObj5(const char * s) {
20468- struct Obj5 * x = NULL;
20469- if (NULL != s) {
20470- cJSON * j = cJSON_Parse(s);
20471- if (NULL != j) {
20472- x = cJSON_GetObj5Value(j);
20473- cJSON_Delete(j);
20474- }
20475- }
20476- return x;
20477-}
20478-
20479-struct Obj5 * cJSON_GetObj5Value(const cJSON * j) {
20480- struct Obj5 * x = NULL;
20481- if (NULL != j) {
20482- if (NULL != (x = cJSON_malloc(sizeof(struct Obj5)))) {
20483- memset(x, 0, sizeof(struct Obj5));
20484- if (!cJSON_HasObjectItem(j, "dummy")) { cJSON_DeleteObj5(x); return NULL; }
20485- if (cJSON_HasObjectItem(j, "dummy")) {
20486- if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "dummy"))) { cJSON_DeleteObj5(x); return NULL; }
20487- x->dummy = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "dummy"));
20482+ if (NULL != (x = cJSON_malloc(sizeof(struct Obj5)))) {
20483+ memset(x, 0, sizeof(struct Obj5));
20484+ if (!cJSON_HasObjectItem(j, "dummy")) { cJSON_DeleteObj5(x); return NULL; }
20485+ if (cJSON_HasObjectItem(j, "dummy")) {
20486+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "dummy"))) { cJSON_DeleteObj5(x); return NULL; }
20487+ x->dummy = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "dummy"));
2048820488 }
2048920489 if (!cJSON_HasObjectItem(j, "self")) { cJSON_DeleteObj5(x); return NULL; }
2049020490 if (cJSON_HasObjectItem(j, "self")) {
@@ -20630,18 +20630,30 @@ struct Obj5 * cJSON_GetObj5Value(const cJSON * j) {
2063020630 x->obj5_using = cJSON_GetUsingValue(cJSON_GetObjectItemCaseSensitive(j, "using"));
2063120631 if (NULL == x->obj5_using) { cJSON_DeleteObj5(x); return NULL; }
2063220632 }
20633- if (!cJSON_HasObjectItem(j, "virtual")) { cJSON_DeleteObj5(x); return NULL; }
20634- if (cJSON_HasObjectItem(j, "virtual")) {
20635- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "virtual"))) { cJSON_DeleteObj5(x); return NULL; }
20636- x->obj5_virtual = cJSON_GetVirtualValue(cJSON_GetObjectItemCaseSensitive(j, "virtual"));
20637- if (NULL == x->obj5_virtual) { cJSON_DeleteObj5(x); return NULL; }
20638- }
2063920633 if (!cJSON_HasObjectItem(j, "true")) { cJSON_DeleteObj5(x); return NULL; }
2064020634 if (cJSON_HasObjectItem(j, "true")) {
2064120635 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "true"))) { cJSON_DeleteObj5(x); return NULL; }
2064220636 x->purple_true = cJSON_GetObj5TrueValue(cJSON_GetObjectItemCaseSensitive(j, "true"));
2064320637 if (NULL == x->purple_true) { cJSON_DeleteObj5(x); return NULL; }
2064420638 }
20639+ if (!cJSON_HasObjectItem(j, "sealed")) { cJSON_DeleteObj5(x); return NULL; }
20640+ if (cJSON_HasObjectItem(j, "sealed")) {
20641+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "sealed"))) { cJSON_DeleteObj5(x); return NULL; }
20642+ x->sealed = cJSON_GetSealedValue(cJSON_GetObjectItemCaseSensitive(j, "sealed"));
20643+ if (NULL == x->sealed) { cJSON_DeleteObj5(x); return NULL; }
20644+ }
20645+ if (!cJSON_HasObjectItem(j, "SEL")) { cJSON_DeleteObj5(x); return NULL; }
20646+ if (cJSON_HasObjectItem(j, "SEL")) {
20647+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "SEL"))) { cJSON_DeleteObj5(x); return NULL; }
20648+ x->sel = cJSON_GetSelValue(cJSON_GetObjectItemCaseSensitive(j, "SEL"));
20649+ if (NULL == x->sel) { cJSON_DeleteObj5(x); return NULL; }
20650+ }
20651+ if (!cJSON_HasObjectItem(j, "select")) { cJSON_DeleteObj5(x); return NULL; }
20652+ if (cJSON_HasObjectItem(j, "select")) {
20653+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "select"))) { cJSON_DeleteObj5(x); return NULL; }
20654+ x->select = cJSON_GetSelectValue(cJSON_GetObjectItemCaseSensitive(j, "select"));
20655+ if (NULL == x->select) { cJSON_DeleteObj5(x); return NULL; }
20656+ }
2064520657 if (!cJSON_HasObjectItem(j, "Self")) { cJSON_DeleteObj5(x); return NULL; }
2064620658 if (cJSON_HasObjectItem(j, "Self")) {
2064720659 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "Self"))) { cJSON_DeleteObj5(x); return NULL; }
@@ -20654,6 +20666,12 @@ struct Obj5 * cJSON_GetObj5Value(const cJSON * j) {
2065420666 x->sendable = cJSON_GetSendableValue(cJSON_GetObjectItemCaseSensitive(j, "Sendable"));
2065520667 if (NULL == x->sendable) { cJSON_DeleteObj5(x); return NULL; }
2065620668 }
20669+ if (!cJSON_HasObjectItem(j, "SerializationFeature")) { cJSON_DeleteObj5(x); return NULL; }
20670+ if (cJSON_HasObjectItem(j, "SerializationFeature")) {
20671+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "SerializationFeature"))) { cJSON_DeleteObj5(x); return NULL; }
20672+ x->serialization_feature = cJSON_GetSerializationFeatureValue(cJSON_GetObjectItemCaseSensitive(j, "SerializationFeature"));
20673+ if (NULL == x->serialization_feature) { cJSON_DeleteObj5(x); return NULL; }
20674+ }
2065720675 if (!cJSON_HasObjectItem(j, "serialize")) { cJSON_DeleteObj5(x); return NULL; }
2065820676 if (cJSON_HasObjectItem(j, "serialize")) {
2065920677 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "serialize"))) { cJSON_DeleteObj5(x); return NULL; }
@@ -20852,24 +20870,6 @@ struct Obj5 * cJSON_GetObj5Value(const cJSON * j) {
2085220870 x->utf8_json_reader = cJSON_GetUtf8JsonReaderValue(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonReader"));
2085320871 if (NULL == x->utf8_json_reader) { cJSON_DeleteObj5(x); return NULL; }
2085420872 }
20855- if (!cJSON_HasObjectItem(j, "Utf8JsonWriter")) { cJSON_DeleteObj5(x); return NULL; }
20856- if (cJSON_HasObjectItem(j, "Utf8JsonWriter")) {
20857- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"))) { cJSON_DeleteObj5(x); return NULL; }
20858- x->utf8_json_writer = cJSON_GetUtf8JsonWriterValue(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"));
20859- if (NULL == x->utf8_json_writer) { cJSON_DeleteObj5(x); return NULL; }
20860- }
20861- if (!cJSON_HasObjectItem(j, "UUID")) { cJSON_DeleteObj5(x); return NULL; }
20862- if (cJSON_HasObjectItem(j, "UUID")) {
20863- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "UUID"))) { cJSON_DeleteObj5(x); return NULL; }
20864- x->uuid = cJSON_GetUuidValue(cJSON_GetObjectItemCaseSensitive(j, "UUID"));
20865- if (NULL == x->uuid) { cJSON_DeleteObj5(x); return NULL; }
20866- }
20867- if (!cJSON_HasObjectItem(j, "var")) { cJSON_DeleteObj5(x); return NULL; }
20868- if (cJSON_HasObjectItem(j, "var")) {
20869- if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "var"))) { cJSON_DeleteObj5(x); return NULL; }
20870- x->var = cJSON_GetVarValue(cJSON_GetObjectItemCaseSensitive(j, "var"));
20871- if (NULL == x->var) { cJSON_DeleteObj5(x); return NULL; }
20872- }
2087320873 }
2087420874 }
2087520875 return x;
@@ -20904,10 +20904,13 @@ cJSON * cJSON_CreateObj5(const struct Obj5 * x) {
2090420904 cJSON_AddItemToObject(j, "union", cJSON_CreateUnion(x->obj5_union));
2090520905 cJSON_AddItemToObject(j, "unsigned", cJSON_CreateUnsigned(x->obj5_unsigned));
2090620906 cJSON_AddItemToObject(j, "using", cJSON_CreateUsing(x->obj5_using));
20907- cJSON_AddItemToObject(j, "virtual", cJSON_CreateVirtual(x->obj5_virtual));
2090820907 cJSON_AddItemToObject(j, "true", cJSON_CreateObj5True(x->purple_true));
20908+ cJSON_AddItemToObject(j, "sealed", cJSON_CreateSealed(x->sealed));
20909+ cJSON_AddItemToObject(j, "SEL", cJSON_CreateSel(x->sel));
20910+ cJSON_AddItemToObject(j, "select", cJSON_CreateSelect(x->select));
2090920911 cJSON_AddItemToObject(j, "Self", cJSON_CreateSelf(x->self));
2091020912 cJSON_AddItemToObject(j, "Sendable", cJSON_CreateSendable(x->sendable));
20913+ cJSON_AddItemToObject(j, "SerializationFeature", cJSON_CreateSerializationFeature(x->serialization_feature));
2091120914 cJSON_AddItemToObject(j, "serialize", cJSON_CreateSerialize(x->serialize));
2091220915 cJSON_AddItemToObject(j, "SerializerProvider", cJSON_CreateSerializerProvider(x->serializer_provider));
2091320916 cJSON_AddItemToObject(j, "set", cJSON_CreateSet(x->set));
@@ -20941,9 +20944,6 @@ cJSON * cJSON_CreateObj5(const struct Obj5 * x) {
2094120944 cJSON_AddItemToObject(j, "unsafe", cJSON_CreateUnsafe(x->unsafe));
2094220945 cJSON_AddItemToObject(j, "ushort", cJSON_CreateUshort(x->ushort));
2094320946 cJSON_AddItemToObject(j, "Utf8JsonReader", cJSON_CreateUtf8JsonReader(x->utf8_json_reader));
20944- cJSON_AddItemToObject(j, "Utf8JsonWriter", cJSON_CreateUtf8JsonWriter(x->utf8_json_writer));
20945- cJSON_AddItemToObject(j, "UUID", cJSON_CreateUuid(x->uuid));
20946- cJSON_AddItemToObject(j, "var", cJSON_CreateVar(x->var));
2094720947 }
2094820948 }
2094920949 return j;
@@ -21035,18 +21035,27 @@ void cJSON_DeleteObj5(struct Obj5 * x) {
2103521035 if (NULL != x->obj5_using) {
2103621036 cJSON_DeleteUsing(x->obj5_using);
2103721037 }
21038- if (NULL != x->obj5_virtual) {
21039- cJSON_DeleteVirtual(x->obj5_virtual);
21040- }
2104121038 if (NULL != x->purple_true) {
2104221039 cJSON_DeleteObj5True(x->purple_true);
2104321040 }
21041+ if (NULL != x->sealed) {
21042+ cJSON_DeleteSealed(x->sealed);
21043+ }
21044+ if (NULL != x->sel) {
21045+ cJSON_DeleteSel(x->sel);
21046+ }
21047+ if (NULL != x->select) {
21048+ cJSON_DeleteSelect(x->select);
21049+ }
2104421050 if (NULL != x->self) {
2104521051 cJSON_DeleteSelf(x->self);
2104621052 }
2104721053 if (NULL != x->sendable) {
2104821054 cJSON_DeleteSendable(x->sendable);
2104921055 }
21056+ if (NULL != x->serialization_feature) {
21057+ cJSON_DeleteSerializationFeature(x->serialization_feature);
21058+ }
2105021059 if (NULL != x->serialize) {
2105121060 cJSON_DeleteSerialize(x->serialize);
2105221061 }
@@ -21146,15 +21155,61 @@ void cJSON_DeleteObj5(struct Obj5 * x) {
2114621155 if (NULL != x->utf8_json_reader) {
2114721156 cJSON_DeleteUtf8JsonReader(x->utf8_json_reader);
2114821157 }
21149- if (NULL != x->utf8_json_writer) {
21150- cJSON_DeleteUtf8JsonWriter(x->utf8_json_writer);
21158+ cJSON_free(x);
21159+ }
21160+}
21161+
21162+struct Virtual * cJSON_ParseVirtual(const char * s) {
21163+ struct Virtual * x = NULL;
21164+ if (NULL != s) {
21165+ cJSON * j = cJSON_Parse(s);
21166+ if (NULL != j) {
21167+ x = cJSON_GetVirtualValue(j);
21168+ cJSON_Delete(j);
2115121169 }
21152- if (NULL != x->uuid) {
21153- cJSON_DeleteUuid(x->uuid);
21170+ }
21171+ return x;
21172+}
21173+
21174+struct Virtual * cJSON_GetVirtualValue(const cJSON * j) {
21175+ struct Virtual * x = NULL;
21176+ if (NULL != j) {
21177+ if (NULL != (x = cJSON_malloc(sizeof(struct Virtual)))) {
21178+ memset(x, 0, sizeof(struct Virtual));
21179+ if (!cJSON_HasObjectItem(j, "virtual")) { cJSON_DeleteVirtual(x); return NULL; }
21180+ if (cJSON_HasObjectItem(j, "virtual")) {
21181+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "virtual"))) { cJSON_DeleteVirtual(x); return NULL; }
21182+ x->virtual_virtual = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "virtual"));
21183+ }
2115421184 }
21155- if (NULL != x->var) {
21156- cJSON_DeleteVar(x->var);
21185+ }
21186+ return x;
21187+}
21188+
21189+cJSON * cJSON_CreateVirtual(const struct Virtual * x) {
21190+ cJSON * j = NULL;
21191+ if (NULL != x) {
21192+ if (NULL != (j = cJSON_CreateObject())) {
21193+ cJSON_AddNumberToObject(j, "virtual", x->virtual_virtual);
2115721194 }
21195+ }
21196+ return j;
21197+}
21198+
21199+char * cJSON_PrintVirtual(const struct Virtual * x) {
21200+ char * s = NULL;
21201+ if (NULL != x) {
21202+ cJSON * j = cJSON_CreateVirtual(x);
21203+ if (NULL != j) {
21204+ s = cJSON_Print(j);
21205+ cJSON_Delete(j);
21206+ }
21207+ }
21208+ return s;
21209+}
21210+
21211+void cJSON_DeleteVirtual(struct Virtual * x) {
21212+ if (NULL != x) {
2115821213 cJSON_free(x);
2115921214 }
2116021215 }
@@ -21489,6 +21544,171 @@ void cJSON_DeleteXorEq(struct XorEq * x) {
2148921544 }
2149021545 }
2149121546
21547+struct Utf8JsonWriter * cJSON_ParseUtf8JsonWriter(const char * s) {
21548+ struct Utf8JsonWriter * x = NULL;
21549+ if (NULL != s) {
21550+ cJSON * j = cJSON_Parse(s);
21551+ if (NULL != j) {
21552+ x = cJSON_GetUtf8JsonWriterValue(j);
21553+ cJSON_Delete(j);
21554+ }
21555+ }
21556+ return x;
21557+}
21558+
21559+struct Utf8JsonWriter * cJSON_GetUtf8JsonWriterValue(const cJSON * j) {
21560+ struct Utf8JsonWriter * x = NULL;
21561+ if (NULL != j) {
21562+ if (NULL != (x = cJSON_malloc(sizeof(struct Utf8JsonWriter)))) {
21563+ memset(x, 0, sizeof(struct Utf8JsonWriter));
21564+ if (!cJSON_HasObjectItem(j, "Utf8JsonWriter")) { cJSON_DeleteUtf8JsonWriter(x); return NULL; }
21565+ if (cJSON_HasObjectItem(j, "Utf8JsonWriter")) {
21566+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"))) { cJSON_DeleteUtf8JsonWriter(x); return NULL; }
21567+ x->utf8_json_writer = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"));
21568+ }
21569+ }
21570+ }
21571+ return x;
21572+}
21573+
21574+cJSON * cJSON_CreateUtf8JsonWriter(const struct Utf8JsonWriter * x) {
21575+ cJSON * j = NULL;
21576+ if (NULL != x) {
21577+ if (NULL != (j = cJSON_CreateObject())) {
21578+ cJSON_AddNumberToObject(j, "Utf8JsonWriter", x->utf8_json_writer);
21579+ }
21580+ }
21581+ return j;
21582+}
21583+
21584+char * cJSON_PrintUtf8JsonWriter(const struct Utf8JsonWriter * x) {
21585+ char * s = NULL;
21586+ if (NULL != x) {
21587+ cJSON * j = cJSON_CreateUtf8JsonWriter(x);
21588+ if (NULL != j) {
21589+ s = cJSON_Print(j);
21590+ cJSON_Delete(j);
21591+ }
21592+ }
21593+ return s;
21594+}
21595+
21596+void cJSON_DeleteUtf8JsonWriter(struct Utf8JsonWriter * x) {
21597+ if (NULL != x) {
21598+ cJSON_free(x);
21599+ }
21600+}
21601+
21602+struct Uuid * cJSON_ParseUuid(const char * s) {
21603+ struct Uuid * x = NULL;
21604+ if (NULL != s) {
21605+ cJSON * j = cJSON_Parse(s);
21606+ if (NULL != j) {
21607+ x = cJSON_GetUuidValue(j);
21608+ cJSON_Delete(j);
21609+ }
21610+ }
21611+ return x;
21612+}
21613+
21614+struct Uuid * cJSON_GetUuidValue(const cJSON * j) {
21615+ struct Uuid * x = NULL;
21616+ if (NULL != j) {
21617+ if (NULL != (x = cJSON_malloc(sizeof(struct Uuid)))) {
21618+ memset(x, 0, sizeof(struct Uuid));
21619+ if (!cJSON_HasObjectItem(j, "UUID")) { cJSON_DeleteUuid(x); return NULL; }
21620+ if (cJSON_HasObjectItem(j, "UUID")) {
21621+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "UUID"))) { cJSON_DeleteUuid(x); return NULL; }
21622+ x->uuid = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "UUID"));
21623+ }
21624+ }
21625+ }
21626+ return x;
21627+}
21628+
21629+cJSON * cJSON_CreateUuid(const struct Uuid * x) {
21630+ cJSON * j = NULL;
21631+ if (NULL != x) {
21632+ if (NULL != (j = cJSON_CreateObject())) {
21633+ cJSON_AddNumberToObject(j, "UUID", x->uuid);
21634+ }
21635+ }
21636+ return j;
21637+}
21638+
21639+char * cJSON_PrintUuid(const struct Uuid * x) {
21640+ char * s = NULL;
21641+ if (NULL != x) {
21642+ cJSON * j = cJSON_CreateUuid(x);
21643+ if (NULL != j) {
21644+ s = cJSON_Print(j);
21645+ cJSON_Delete(j);
21646+ }
21647+ }
21648+ return s;
21649+}
21650+
21651+void cJSON_DeleteUuid(struct Uuid * x) {
21652+ if (NULL != x) {
21653+ cJSON_free(x);
21654+ }
21655+}
21656+
21657+struct Var * cJSON_ParseVar(const char * s) {
21658+ struct Var * x = NULL;
21659+ if (NULL != s) {
21660+ cJSON * j = cJSON_Parse(s);
21661+ if (NULL != j) {
21662+ x = cJSON_GetVarValue(j);
21663+ cJSON_Delete(j);
21664+ }
21665+ }
21666+ return x;
21667+}
21668+
21669+struct Var * cJSON_GetVarValue(const cJSON * j) {
21670+ struct Var * x = NULL;
21671+ if (NULL != j) {
21672+ if (NULL != (x = cJSON_malloc(sizeof(struct Var)))) {
21673+ memset(x, 0, sizeof(struct Var));
21674+ if (!cJSON_HasObjectItem(j, "var")) { cJSON_DeleteVar(x); return NULL; }
21675+ if (cJSON_HasObjectItem(j, "var")) {
21676+ if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "var"))) { cJSON_DeleteVar(x); return NULL; }
21677+ x->var = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "var"));
21678+ }
21679+ }
21680+ }
21681+ return x;
21682+}
21683+
21684+cJSON * cJSON_CreateVar(const struct Var * x) {
21685+ cJSON * j = NULL;
21686+ if (NULL != x) {
21687+ if (NULL != (j = cJSON_CreateObject())) {
21688+ cJSON_AddNumberToObject(j, "var", x->var);
21689+ }
21690+ }
21691+ return j;
21692+}
21693+
21694+char * cJSON_PrintVar(const struct Var * x) {
21695+ char * s = NULL;
21696+ if (NULL != x) {
21697+ cJSON * j = cJSON_CreateVar(x);
21698+ if (NULL != j) {
21699+ s = cJSON_Print(j);
21700+ cJSON_Delete(j);
21701+ }
21702+ }
21703+ return s;
21704+}
21705+
21706+void cJSON_DeleteVar(struct Var * x) {
21707+ if (NULL != x) {
21708+ cJSON_free(x);
21709+ }
21710+}
21711+
2149221712 struct Weak * cJSON_ParseWeak(const char * s) {
2149321713 struct Weak * x = NULL;
2149421714 if (NULL != s) {
@@ -21841,6 +22061,12 @@ struct Obj6 * cJSON_GetObj6Value(const cJSON * j) {
2184122061 if (!quicktype_cJSON_IsInteger(cJSON_GetObjectItemCaseSensitive(j, "dummy"))) { cJSON_DeleteObj6(x); return NULL; }
2184222062 x->dummy = cJSON_GetNumberValue(cJSON_GetObjectItemCaseSensitive(j, "dummy"));
2184322063 }
22064+ if (!cJSON_HasObjectItem(j, "virtual")) { cJSON_DeleteObj6(x); return NULL; }
22065+ if (cJSON_HasObjectItem(j, "virtual")) {
22066+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "virtual"))) { cJSON_DeleteObj6(x); return NULL; }
22067+ x->obj6_virtual = cJSON_GetVirtualValue(cJSON_GetObjectItemCaseSensitive(j, "virtual"));
22068+ if (NULL == x->obj6_virtual) { cJSON_DeleteObj6(x); return NULL; }
22069+ }
2184422070 if (!cJSON_HasObjectItem(j, "void")) { cJSON_DeleteObj6(x); return NULL; }
2184522071 if (cJSON_HasObjectItem(j, "void")) {
2184622072 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "void"))) { cJSON_DeleteObj6(x); return NULL; }
@@ -21877,6 +22103,24 @@ struct Obj6 * cJSON_GetObj6Value(const cJSON * j) {
2187722103 x->obj6_xor_eq = cJSON_GetXorEqValue(cJSON_GetObjectItemCaseSensitive(j, "xor_eq"));
2187822104 if (NULL == x->obj6_xor_eq) { cJSON_DeleteObj6(x); return NULL; }
2187922105 }
22106+ if (!cJSON_HasObjectItem(j, "Utf8JsonWriter")) { cJSON_DeleteObj6(x); return NULL; }
22107+ if (cJSON_HasObjectItem(j, "Utf8JsonWriter")) {
22108+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"))) { cJSON_DeleteObj6(x); return NULL; }
22109+ x->utf8_json_writer = cJSON_GetUtf8JsonWriterValue(cJSON_GetObjectItemCaseSensitive(j, "Utf8JsonWriter"));
22110+ if (NULL == x->utf8_json_writer) { cJSON_DeleteObj6(x); return NULL; }
22111+ }
22112+ if (!cJSON_HasObjectItem(j, "UUID")) { cJSON_DeleteObj6(x); return NULL; }
22113+ if (cJSON_HasObjectItem(j, "UUID")) {
22114+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "UUID"))) { cJSON_DeleteObj6(x); return NULL; }
22115+ x->uuid = cJSON_GetUuidValue(cJSON_GetObjectItemCaseSensitive(j, "UUID"));
22116+ if (NULL == x->uuid) { cJSON_DeleteObj6(x); return NULL; }
22117+ }
22118+ if (!cJSON_HasObjectItem(j, "var")) { cJSON_DeleteObj6(x); return NULL; }
22119+ if (cJSON_HasObjectItem(j, "var")) {
22120+ if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "var"))) { cJSON_DeleteObj6(x); return NULL; }
22121+ x->var = cJSON_GetVarValue(cJSON_GetObjectItemCaseSensitive(j, "var"));
22122+ if (NULL == x->var) { cJSON_DeleteObj6(x); return NULL; }
22123+ }
2188022124 if (!cJSON_HasObjectItem(j, "weak")) { cJSON_DeleteObj6(x); return NULL; }
2188122125 if (cJSON_HasObjectItem(j, "weak")) {
2188222126 if (!cJSON_IsObject(cJSON_GetObjectItemCaseSensitive(j, "weak"))) { cJSON_DeleteObj6(x); return NULL; }
@@ -21923,12 +22167,16 @@ cJSON * cJSON_CreateObj6(const struct Obj6 * x) {
2192322167 if (NULL != x) {
2192422168 if (NULL != (j = cJSON_CreateObject())) {
2192522169 cJSON_AddNumberToObject(j, "dummy", x->dummy);
22170+ cJSON_AddItemToObject(j, "virtual", cJSON_CreateVirtual(x->obj6_virtual));
2192622171 cJSON_AddItemToObject(j, "void", cJSON_CreateVoid(x->obj6_void));
2192722172 cJSON_AddItemToObject(j, "volatile", cJSON_CreateVolatile(x->obj6_volatile));
2192822173 cJSON_AddItemToObject(j, "wchar_t", cJSON_CreateWcharT(x->obj6_wchar_t));
2192922174 cJSON_AddItemToObject(j, "while", cJSON_CreateWhile(x->obj6_while));
2193022175 cJSON_AddItemToObject(j, "xor", cJSON_CreateXor(x->obj6_xor));
2193122176 cJSON_AddItemToObject(j, "xor_eq", cJSON_CreateXorEq(x->obj6_xor_eq));
22177+ cJSON_AddItemToObject(j, "Utf8JsonWriter", cJSON_CreateUtf8JsonWriter(x->utf8_json_writer));
22178+ cJSON_AddItemToObject(j, "UUID", cJSON_CreateUuid(x->uuid));
22179+ cJSON_AddItemToObject(j, "var", cJSON_CreateVar(x->var));
2193222180 cJSON_AddItemToObject(j, "weak", cJSON_CreateWeak(x->weak));
2193322181 cJSON_AddItemToObject(j, "where", cJSON_CreateWhere(x->where));
2193422182 cJSON_AddItemToObject(j, "willSet", cJSON_CreateWillSet(x->will_set));
@@ -21954,6 +22202,9 @@ char * cJSON_PrintObj6(const struct Obj6 * x) {
2195422202
2195522203 void cJSON_DeleteObj6(struct Obj6 * x) {
2195622204 if (NULL != x) {
22205+ if (NULL != x->obj6_virtual) {
22206+ cJSON_DeleteVirtual(x->obj6_virtual);
22207+ }
2195722208 if (NULL != x->obj6_void) {
2195822209 cJSON_DeleteVoid(x->obj6_void);
2195922210 }
@@ -21972,6 +22223,15 @@ void cJSON_DeleteObj6(struct Obj6 * x) {
2197222223 if (NULL != x->obj6_xor_eq) {
2197322224 cJSON_DeleteXorEq(x->obj6_xor_eq);
2197422225 }
22226+ if (NULL != x->utf8_json_writer) {
22227+ cJSON_DeleteUtf8JsonWriter(x->utf8_json_writer);
22228+ }
22229+ if (NULL != x->uuid) {
22230+ cJSON_DeleteUuid(x->uuid);
22231+ }
22232+ if (NULL != x->var) {
22233+ cJSON_DeleteVar(x->var);
22234+ }
2197522235 if (NULL != x->weak) {
2197622236 cJSON_DeleteWeak(x->weak);
2197722237 }
Mcjsondefault / TopLevel.h+143 −99
@@ -440,6 +440,10 @@ struct Delegate {
440440 int64_t delegate;
441441 };
442442
443+struct DeserializationFeature {
444+ int64_t deserialization_feature;
445+};
446+
443447 struct Dict {
444448 int64_t dict;
445449 };
@@ -625,10 +629,6 @@ struct Friend {
625629 int64_t friend_friend;
626630 };
627631
628-struct Goto {
629- int64_t goto_goto;
630-};
631-
632632 struct Obj2False {
633633 int64_t false_false;
634634 };
@@ -651,6 +651,7 @@ struct Obj2 {
651651 struct Deinit * deinit;
652652 struct Del * del;
653653 struct Delegate * delegate;
654+ struct DeserializationFeature * deserialization_feature;
654655 struct Dict * dict;
655656 struct Dictionary * dictionary;
656657 struct DidSet * did_set;
@@ -697,7 +698,6 @@ struct Obj2 {
697698 struct Float * obj2_float;
698699 struct For * obj2_for;
699700 struct Friend * obj2_friend;
700- struct Goto * obj2_goto;
701701 struct Obj2False * purple_false;
702702 };
703703
@@ -917,6 +917,10 @@ struct No {
917917 int64_t no;
918918 };
919919
920+struct Goto {
921+ int64_t goto_goto;
922+};
923+
920924 struct If {
921925 int64_t if_if;
922926 };
@@ -953,10 +957,6 @@ struct New {
953957 int64_t new_new;
954958 };
955959
956-struct Noexcept {
957- int64_t noexcept_noexcept;
958-};
959-
960960 struct Obj3 {
961961 int64_t dummy;
962962 struct Guard * guard;
@@ -1013,6 +1013,7 @@ struct Obj3 {
10131013 struct Newtonsoft * newtonsoft;
10141014 struct Nil * nil;
10151015 struct No * no;
1016+ struct Goto * obj3_goto;
10161017 struct If * obj3_if;
10171018 struct Import * obj3_import;
10181019 struct Inline * obj3_inline;
@@ -1022,7 +1023,6 @@ struct Obj3 {
10221023 struct Mutable * obj3_mutable;
10231024 struct Namespace * obj3_namespace;
10241025 struct New * obj3_new;
1025- struct Noexcept * obj3_noexcept;
10261026 };
10271027
10281028 struct NoSuchMethod {
@@ -1065,6 +1065,10 @@ struct NumberClass {
10651065 int64_t number;
10661066 };
10671067
1068+struct Noexcept {
1069+ int64_t noexcept_noexcept;
1070+};
1071+
10681072 struct NoneClass {
10691073 int64_t none;
10701074 };
@@ -1145,6 +1149,14 @@ struct ObjectMapper {
11451149 int64_t object_mapper;
11461150 };
11471151
1152+struct ObjectReader {
1153+ int64_t object_reader;
1154+};
1155+
1156+struct ObjectWriter {
1157+ int64_t object_writer;
1158+};
1159+
11481160 struct Of {
11491161 int64_t of;
11501162 };
@@ -1269,18 +1281,6 @@ struct Sbyte {
12691281 int64_t sbyte;
12701282 };
12711283
1272-struct Sealed {
1273- int64_t sealed;
1274-};
1275-
1276-struct Sel {
1277- int64_t sel;
1278-};
1279-
1280-struct Select {
1281- int64_t select;
1282-};
1283-
12841284 struct Obj4 {
12851285 int64_t dummy;
12861286 struct NoSuchMethod * no_such_method;
@@ -1293,6 +1293,7 @@ struct Obj4 {
12931293 struct NsString * ns_string;
12941294 struct NullClass * null;
12951295 struct NumberClass * number;
1296+ struct Noexcept * obj4_noexcept;
12961297 struct NoneClass * obj4_none;
12971298 struct Not * obj4_not;
12981299 struct NotEq * obj4_not_eq;
@@ -1313,6 +1314,8 @@ struct Obj4 {
13131314 struct Return * obj4_return;
13141315 struct ObjectClass * object;
13151316 struct ObjectMapper * object_mapper;
1317+ struct ObjectReader * object_reader;
1318+ struct ObjectWriter * object_writer;
13161319 struct Of * of;
13171320 struct Oneway * oneway;
13181321 struct Open * open;
@@ -1344,9 +1347,6 @@ struct Obj4 {
13441347 struct RuntimeType * runtime_type;
13451348 struct S * s;
13461349 struct Sbyte * sbyte;
1347- struct Sealed * sealed;
1348- struct Sel * sel;
1349- struct Select * select;
13501350 };
13511351
13521352 struct SelfClass {
@@ -1445,14 +1445,22 @@ struct Using {
14451445 int64_t using_using;
14461446 };
14471447
1448-struct Virtual {
1449- int64_t virtual_virtual;
1450-};
1451-
14521448 struct Obj5True {
14531449 int64_t true_true;
14541450 };
14551451
1452+struct Sealed {
1453+ int64_t sealed;
1454+};
1455+
1456+struct Sel {
1457+ int64_t sel;
1458+};
1459+
1460+struct Select {
1461+ int64_t select;
1462+};
1463+
14561464 struct Self {
14571465 int64_t self;
14581466 };
@@ -1461,6 +1469,10 @@ struct Sendable {
14611469 int64_t sendable;
14621470 };
14631471
1472+struct SerializationFeature {
1473+ int64_t serialization_feature;
1474+};
1475+
14641476 struct Serialize {
14651477 int64_t serialize;
14661478 };
@@ -1593,18 +1605,6 @@ struct Utf8JsonReader {
15931605 int64_t utf8_json_reader;
15941606 };
15951607
1596-struct Utf8JsonWriter {
1597- int64_t utf8_json_writer;
1598-};
1599-
1600-struct Uuid {
1601- int64_t uuid;
1602-};
1603-
1604-struct Var {
1605- int64_t var;
1606-};
1607-
16081608 struct Obj5 {
16091609 int64_t dummy;
16101610 struct SelfClass * obj5_self;
@@ -1631,10 +1631,13 @@ struct Obj5 {
16311631 struct Union * obj5_union;
16321632 struct Unsigned * obj5_unsigned;
16331633 struct Using * obj5_using;
1634- struct Virtual * obj5_virtual;
16351634 struct Obj5True * purple_true;
1635+ struct Sealed * sealed;
1636+ struct Sel * sel;
1637+ struct Select * select;
16361638 struct Self * self;
16371639 struct Sendable * sendable;
1640+ struct SerializationFeature * serialization_feature;
16381641 struct Serialize * serialize;
16391642 struct SerializerProvider * serializer_provider;
16401643 struct Set * set;
@@ -1668,9 +1671,10 @@ struct Obj5 {
16681671 struct Unsafe * unsafe;
16691672 struct Ushort * ushort;
16701673 struct Utf8JsonReader * utf8_json_reader;
1671- struct Utf8JsonWriter * utf8_json_writer;
1672- struct Uuid * uuid;
1673- struct Var * var;
1674+};
1675+
1676+struct Virtual {
1677+ int64_t virtual_virtual;
16741678 };
16751679
16761680 struct Void {
@@ -1697,6 +1701,18 @@ struct XorEq {
16971701 int64_t xor_eq_xor_eq;
16981702 };
16991703
1704+struct Utf8JsonWriter {
1705+ int64_t utf8_json_writer;
1706+};
1707+
1708+struct Uuid {
1709+ int64_t uuid;
1710+};
1711+
1712+struct Var {
1713+ int64_t var;
1714+};
1715+
17001716 struct Weak {
17011717 int64_t weak;
17021718 };
@@ -1723,12 +1739,16 @@ struct Yield {
17231739
17241740 struct Obj6 {
17251741 int64_t dummy;
1742+ struct Virtual * obj6_virtual;
17261743 struct Void * obj6_void;
17271744 struct Volatile * obj6_volatile;
17281745 struct WcharT * obj6_wchar_t;
17291746 struct While * obj6_while;
17301747 struct Xor * obj6_xor;
17311748 struct XorEq * obj6_xor_eq;
1749+ struct Utf8JsonWriter * utf8_json_writer;
1750+ struct Uuid * uuid;
1751+ struct Var * var;
17321752 struct Weak * weak;
17331753 struct Where * where;
17341754 struct WillSet * will_set;
@@ -2242,6 +2262,12 @@ cJSON * cJSON_CreateDelegate(const struct Delegate * x);
22422262 char * cJSON_PrintDelegate(const struct Delegate * x);
22432263 void cJSON_DeleteDelegate(struct Delegate * x);
22442264
2265+struct DeserializationFeature * cJSON_ParseDeserializationFeature(const char * s);
2266+struct DeserializationFeature * cJSON_GetDeserializationFeatureValue(const cJSON * j);
2267+cJSON * cJSON_CreateDeserializationFeature(const struct DeserializationFeature * x);
2268+char * cJSON_PrintDeserializationFeature(const struct DeserializationFeature * x);
2269+void cJSON_DeleteDeserializationFeature(struct DeserializationFeature * x);
2270+
22452271 struct Dict * cJSON_ParseDict(const char * s);
22462272 struct Dict * cJSON_GetDictValue(const cJSON * j);
22472273 cJSON * cJSON_CreateDict(const struct Dict * x);
@@ -2512,12 +2538,6 @@ cJSON * cJSON_CreateFriend(const struct Friend * x);
25122538 char * cJSON_PrintFriend(const struct Friend * x);
25132539 void cJSON_DeleteFriend(struct Friend * x);
25142540
2515-struct Goto * cJSON_ParseGoto(const char * s);
2516-struct Goto * cJSON_GetGotoValue(const cJSON * j);
2517-cJSON * cJSON_CreateGoto(const struct Goto * x);
2518-char * cJSON_PrintGoto(const struct Goto * x);
2519-void cJSON_DeleteGoto(struct Goto * x);
2520-
25212541 struct Obj2False * cJSON_ParseObj2False(const char * s);
25222542 struct Obj2False * cJSON_GetObj2FalseValue(const cJSON * j);
25232543 cJSON * cJSON_CreateObj2False(const struct Obj2False * x);
@@ -2854,6 +2874,12 @@ cJSON * cJSON_CreateNo(const struct No * x);
28542874 char * cJSON_PrintNo(const struct No * x);
28552875 void cJSON_DeleteNo(struct No * x);
28562876
2877+struct Goto * cJSON_ParseGoto(const char * s);
2878+struct Goto * cJSON_GetGotoValue(const cJSON * j);
2879+cJSON * cJSON_CreateGoto(const struct Goto * x);
2880+char * cJSON_PrintGoto(const struct Goto * x);
2881+void cJSON_DeleteGoto(struct Goto * x);
2882+
28572883 struct If * cJSON_ParseIf(const char * s);
28582884 struct If * cJSON_GetIfValue(const cJSON * j);
28592885 cJSON * cJSON_CreateIf(const struct If * x);
@@ -2908,12 +2934,6 @@ cJSON * cJSON_CreateNew(const struct New * x);
29082934 char * cJSON_PrintNew(const struct New * x);
29092935 void cJSON_DeleteNew(struct New * x);
29102936
2911-struct Noexcept * cJSON_ParseNoexcept(const char * s);
2912-struct Noexcept * cJSON_GetNoexceptValue(const cJSON * j);
2913-cJSON * cJSON_CreateNoexcept(const struct Noexcept * x);
2914-char * cJSON_PrintNoexcept(const struct Noexcept * x);
2915-void cJSON_DeleteNoexcept(struct Noexcept * x);
2916-
29172937 struct Obj3 * cJSON_ParseObj3(const char * s);
29182938 struct Obj3 * cJSON_GetObj3Value(const cJSON * j);
29192939 cJSON * cJSON_CreateObj3(const struct Obj3 * x);
@@ -2980,6 +3000,12 @@ cJSON * cJSON_CreateNumberClass(const struct NumberClass * x);
29803000 char * cJSON_PrintNumberClass(const struct NumberClass * x);
29813001 void cJSON_DeleteNumberClass(struct NumberClass * x);
29823002
3003+struct Noexcept * cJSON_ParseNoexcept(const char * s);
3004+struct Noexcept * cJSON_GetNoexceptValue(const cJSON * j);
3005+cJSON * cJSON_CreateNoexcept(const struct Noexcept * x);
3006+char * cJSON_PrintNoexcept(const struct Noexcept * x);
3007+void cJSON_DeleteNoexcept(struct Noexcept * x);
3008+
29833009 struct NoneClass * cJSON_ParseNoneClass(const char * s);
29843010 struct NoneClass * cJSON_GetNoneClassValue(const cJSON * j);
29853011 cJSON * cJSON_CreateNoneClass(const struct NoneClass * x);
@@ -3100,6 +3126,18 @@ cJSON * cJSON_CreateObjectMapper(const struct ObjectMapper * x);
31003126 char * cJSON_PrintObjectMapper(const struct ObjectMapper * x);
31013127 void cJSON_DeleteObjectMapper(struct ObjectMapper * x);
31023128
3129+struct ObjectReader * cJSON_ParseObjectReader(const char * s);
3130+struct ObjectReader * cJSON_GetObjectReaderValue(const cJSON * j);
3131+cJSON * cJSON_CreateObjectReader(const struct ObjectReader * x);
3132+char * cJSON_PrintObjectReader(const struct ObjectReader * x);
3133+void cJSON_DeleteObjectReader(struct ObjectReader * x);
3134+
3135+struct ObjectWriter * cJSON_ParseObjectWriter(const char * s);
3136+struct ObjectWriter * cJSON_GetObjectWriterValue(const cJSON * j);
3137+cJSON * cJSON_CreateObjectWriter(const struct ObjectWriter * x);
3138+char * cJSON_PrintObjectWriter(const struct ObjectWriter * x);
3139+void cJSON_DeleteObjectWriter(struct ObjectWriter * x);
3140+
31033141 struct Of * cJSON_ParseOf(const char * s);
31043142 struct Of * cJSON_GetOfValue(const cJSON * j);
31053143 cJSON * cJSON_CreateOf(const struct Of * x);
@@ -3286,24 +3324,6 @@ cJSON * cJSON_CreateSbyte(const struct Sbyte * x);
32863324 char * cJSON_PrintSbyte(const struct Sbyte * x);
32873325 void cJSON_DeleteSbyte(struct Sbyte * x);
32883326
3289-struct Sealed * cJSON_ParseSealed(const char * s);
3290-struct Sealed * cJSON_GetSealedValue(const cJSON * j);
3291-cJSON * cJSON_CreateSealed(const struct Sealed * x);
3292-char * cJSON_PrintSealed(const struct Sealed * x);
3293-void cJSON_DeleteSealed(struct Sealed * x);
3294-
3295-struct Sel * cJSON_ParseSel(const char * s);
3296-struct Sel * cJSON_GetSelValue(const cJSON * j);
3297-cJSON * cJSON_CreateSel(const struct Sel * x);
3298-char * cJSON_PrintSel(const struct Sel * x);
3299-void cJSON_DeleteSel(struct Sel * x);
3300-
3301-struct Select * cJSON_ParseSelect(const char * s);
3302-struct Select * cJSON_GetSelectValue(const cJSON * j);
3303-cJSON * cJSON_CreateSelect(const struct Select * x);
3304-char * cJSON_PrintSelect(const struct Select * x);
3305-void cJSON_DeleteSelect(struct Select * x);
3306-
33073327 struct Obj4 * cJSON_ParseObj4(const char * s);
33083328 struct Obj4 * cJSON_GetObj4Value(const cJSON * j);
33093329 cJSON * cJSON_CreateObj4(const struct Obj4 * x);
@@ -3454,18 +3474,30 @@ cJSON * cJSON_CreateUsing(const struct Using * x);
34543474 char * cJSON_PrintUsing(const struct Using * x);
34553475 void cJSON_DeleteUsing(struct Using * x);
34563476
3457-struct Virtual * cJSON_ParseVirtual(const char * s);
3458-struct Virtual * cJSON_GetVirtualValue(const cJSON * j);
3459-cJSON * cJSON_CreateVirtual(const struct Virtual * x);
3460-char * cJSON_PrintVirtual(const struct Virtual * x);
3461-void cJSON_DeleteVirtual(struct Virtual * x);
3462-
34633477 struct Obj5True * cJSON_ParseObj5True(const char * s);
34643478 struct Obj5True * cJSON_GetObj5TrueValue(const cJSON * j);
34653479 cJSON * cJSON_CreateObj5True(const struct Obj5True * x);
34663480 char * cJSON_PrintObj5True(const struct Obj5True * x);
34673481 void cJSON_DeleteObj5True(struct Obj5True * x);
34683482
3483+struct Sealed * cJSON_ParseSealed(const char * s);
3484+struct Sealed * cJSON_GetSealedValue(const cJSON * j);
3485+cJSON * cJSON_CreateSealed(const struct Sealed * x);
3486+char * cJSON_PrintSealed(const struct Sealed * x);
3487+void cJSON_DeleteSealed(struct Sealed * x);
3488+
3489+struct Sel * cJSON_ParseSel(const char * s);
3490+struct Sel * cJSON_GetSelValue(const cJSON * j);
3491+cJSON * cJSON_CreateSel(const struct Sel * x);
3492+char * cJSON_PrintSel(const struct Sel * x);
3493+void cJSON_DeleteSel(struct Sel * x);
3494+
3495+struct Select * cJSON_ParseSelect(const char * s);
3496+struct Select * cJSON_GetSelectValue(const cJSON * j);
3497+cJSON * cJSON_CreateSelect(const struct Select * x);
3498+char * cJSON_PrintSelect(const struct Select * x);
3499+void cJSON_DeleteSelect(struct Select * x);
3500+
34693501 struct Self * cJSON_ParseSelf(const char * s);
34703502 struct Self * cJSON_GetSelfValue(const cJSON * j);
34713503 cJSON * cJSON_CreateSelf(const struct Self * x);
@@ -3478,6 +3510,12 @@ cJSON * cJSON_CreateSendable(const struct Sendable * x);
34783510 char * cJSON_PrintSendable(const struct Sendable * x);
34793511 void cJSON_DeleteSendable(struct Sendable * x);
34803512
3513+struct SerializationFeature * cJSON_ParseSerializationFeature(const char * s);
3514+struct SerializationFeature * cJSON_GetSerializationFeatureValue(const cJSON * j);
3515+cJSON * cJSON_CreateSerializationFeature(const struct SerializationFeature * x);
3516+char * cJSON_PrintSerializationFeature(const struct SerializationFeature * x);
3517+void cJSON_DeleteSerializationFeature(struct SerializationFeature * x);
3518+
34813519 struct Serialize * cJSON_ParseSerialize(const char * s);
34823520 struct Serialize * cJSON_GetSerializeValue(const cJSON * j);
34833521 cJSON * cJSON_CreateSerialize(const struct Serialize * x);
@@ -3676,30 +3714,18 @@ cJSON * cJSON_CreateUtf8JsonReader(const struct Utf8JsonReader * x);
36763714 char * cJSON_PrintUtf8JsonReader(const struct Utf8JsonReader * x);
36773715 void cJSON_DeleteUtf8JsonReader(struct Utf8JsonReader * x);
36783716
3679-struct Utf8JsonWriter * cJSON_ParseUtf8JsonWriter(const char * s);
3680-struct Utf8JsonWriter * cJSON_GetUtf8JsonWriterValue(const cJSON * j);
3681-cJSON * cJSON_CreateUtf8JsonWriter(const struct Utf8JsonWriter * x);
3682-char * cJSON_PrintUtf8JsonWriter(const struct Utf8JsonWriter * x);
3683-void cJSON_DeleteUtf8JsonWriter(struct Utf8JsonWriter * x);
3684-
3685-struct Uuid * cJSON_ParseUuid(const char * s);
3686-struct Uuid * cJSON_GetUuidValue(const cJSON * j);
3687-cJSON * cJSON_CreateUuid(const struct Uuid * x);
3688-char * cJSON_PrintUuid(const struct Uuid * x);
3689-void cJSON_DeleteUuid(struct Uuid * x);
3690-
3691-struct Var * cJSON_ParseVar(const char * s);
3692-struct Var * cJSON_GetVarValue(const cJSON * j);
3693-cJSON * cJSON_CreateVar(const struct Var * x);
3694-char * cJSON_PrintVar(const struct Var * x);
3695-void cJSON_DeleteVar(struct Var * x);
3696-
36973717 struct Obj5 * cJSON_ParseObj5(const char * s);
36983718 struct Obj5 * cJSON_GetObj5Value(const cJSON * j);
36993719 cJSON * cJSON_CreateObj5(const struct Obj5 * x);
37003720 char * cJSON_PrintObj5(const struct Obj5 * x);
37013721 void cJSON_DeleteObj5(struct Obj5 * x);
37023722
3723+struct Virtual * cJSON_ParseVirtual(const char * s);
3724+struct Virtual * cJSON_GetVirtualValue(const cJSON * j);
3725+cJSON * cJSON_CreateVirtual(const struct Virtual * x);
3726+char * cJSON_PrintVirtual(const struct Virtual * x);
3727+void cJSON_DeleteVirtual(struct Virtual * x);
3728+
37033729 struct Void * cJSON_ParseVoid(const char * s);
37043730 struct Void * cJSON_GetVoidValue(const cJSON * j);
37053731 cJSON * cJSON_CreateVoid(const struct Void * x);
@@ -3736,6 +3762,24 @@ cJSON * cJSON_CreateXorEq(const struct XorEq * x);
37363762 char * cJSON_PrintXorEq(const struct XorEq * x);
37373763 void cJSON_DeleteXorEq(struct XorEq * x);
37383764
3765+struct Utf8JsonWriter * cJSON_ParseUtf8JsonWriter(const char * s);
3766+struct Utf8JsonWriter * cJSON_GetUtf8JsonWriterValue(const cJSON * j);
3767+cJSON * cJSON_CreateUtf8JsonWriter(const struct Utf8JsonWriter * x);
3768+char * cJSON_PrintUtf8JsonWriter(const struct Utf8JsonWriter * x);
3769+void cJSON_DeleteUtf8JsonWriter(struct Utf8JsonWriter * x);
3770+
3771+struct Uuid * cJSON_ParseUuid(const char * s);
3772+struct Uuid * cJSON_GetUuidValue(const cJSON * j);
3773+cJSON * cJSON_CreateUuid(const struct Uuid * x);
3774+char * cJSON_PrintUuid(const struct Uuid * x);
3775+void cJSON_DeleteUuid(struct Uuid * x);
3776+
3777+struct Var * cJSON_ParseVar(const char * s);
3778+struct Var * cJSON_GetVarValue(const cJSON * j);
3779+cJSON * cJSON_CreateVar(const struct Var * x);
3780+char * cJSON_PrintVar(const struct Var * x);
3781+void cJSON_DeleteVar(struct Var * x);
3782+
37393783 struct Weak * cJSON_ParseWeak(const char * s);
37403784 struct Weak * cJSON_GetWeakValue(const cJSON * j);
37413785 cJSON * cJSON_CreateWeak(const struct Weak * x);
Mcplusplusdefault / quicktype.hpp+454 −314
@@ -1499,6 +1499,20 @@ namespace quicktype {
14991499 void set_delegate(const int64_t & value) { this->delegate = value; }
15001500 };
15011501
1502+ class DeserializationFeature {
1503+ public:
1504+ DeserializationFeature() = default;
1505+ virtual ~DeserializationFeature() = default;
1506+
1507+ private:
1508+ int64_t deserialization_feature;
1509+
1510+ public:
1511+ const int64_t & get_deserialization_feature() const { return deserialization_feature; }
1512+ int64_t & get_mutable_deserialization_feature() { return deserialization_feature; }
1513+ void set_deserialization_feature(const int64_t & value) { this->deserialization_feature = value; }
1514+ };
1515+
15021516 class Dict {
15031517 public:
15041518 Dict() = default;
@@ -2131,20 +2145,6 @@ namespace quicktype {
21312145 void set_friend_friend(const int64_t & value) { this->friend_friend = value; }
21322146 };
21332147
2134- class Goto {
2135- public:
2136- Goto() = default;
2137- virtual ~Goto() = default;
2138-
2139- private:
2140- int64_t goto_goto;
2141-
2142- public:
2143- const int64_t & get_goto_goto() const { return goto_goto; }
2144- int64_t & get_mutable_goto_goto() { return goto_goto; }
2145- void set_goto_goto(const int64_t & value) { this->goto_goto = value; }
2146- };
2147-
21482148 class FalseClass {
21492149 public:
21502150 FalseClass() = default;
@@ -2182,6 +2182,7 @@ namespace quicktype {
21822182 Deinit deinit;
21832183 Del del;
21842184 Delegate delegate;
2185+ DeserializationFeature deserialization_feature;
21852186 Dict dict;
21862187 Dictionary dictionary;
21872188 DidSet did_set;
@@ -2228,7 +2229,6 @@ namespace quicktype {
22282229 Float obj2_float;
22292230 For obj2_for;
22302231 Friend obj2_friend;
2231- Goto obj2_goto;
22322232 FalseClass purple_false;
22332233
22342234 public:
@@ -2300,6 +2300,10 @@ namespace quicktype {
23002300 Delegate & get_mutable_delegate() { return delegate; }
23012301 void set_delegate(const Delegate & value) { this->delegate = value; }
23022302
2303+ const DeserializationFeature & get_deserialization_feature() const { return deserialization_feature; }
2304+ DeserializationFeature & get_mutable_deserialization_feature() { return deserialization_feature; }
2305+ void set_deserialization_feature(const DeserializationFeature & value) { this->deserialization_feature = value; }
2306+
23032307 const Dict & get_dict() const { return dict; }
23042308 Dict & get_mutable_dict() { return dict; }
23052309 void set_dict(const Dict & value) { this->dict = value; }
@@ -2484,10 +2488,6 @@ namespace quicktype {
24842488 Friend & get_mutable_obj2_friend() { return obj2_friend; }
24852489 void set_obj2_friend(const Friend & value) { this->obj2_friend = value; }
24862490
2487- const Goto & get_obj2_goto() const { return obj2_goto; }
2488- Goto & get_mutable_obj2_goto() { return obj2_goto; }
2489- void set_obj2_goto(const Goto & value) { this->obj2_goto = value; }
2490-
24912491 const FalseClass & get_purple_false() const { return purple_false; }
24922492 FalseClass & get_mutable_purple_false() { return purple_false; }
24932493 void set_purple_false(const FalseClass & value) { this->purple_false = value; }
@@ -3249,6 +3249,20 @@ namespace quicktype {
32493249 void set_no(const int64_t & value) { this->no = value; }
32503250 };
32513251
3252+ class Goto {
3253+ public:
3254+ Goto() = default;
3255+ virtual ~Goto() = default;
3256+
3257+ private:
3258+ int64_t goto_goto;
3259+
3260+ public:
3261+ const int64_t & get_goto_goto() const { return goto_goto; }
3262+ int64_t & get_mutable_goto_goto() { return goto_goto; }
3263+ void set_goto_goto(const int64_t & value) { this->goto_goto = value; }
3264+ };
3265+
32523266 class If {
32533267 public:
32543268 If() = default;
@@ -3375,20 +3389,6 @@ namespace quicktype {
33753389 void set_new_new(const int64_t & value) { this->new_new = value; }
33763390 };
33773391
3378- class Noexcept {
3379- public:
3380- Noexcept() = default;
3381- virtual ~Noexcept() = default;
3382-
3383- private:
3384- int64_t noexcept_noexcept;
3385-
3386- public:
3387- const int64_t & get_noexcept_noexcept() const { return noexcept_noexcept; }
3388- int64_t & get_mutable_noexcept_noexcept() { return noexcept_noexcept; }
3389- void set_noexcept_noexcept(const int64_t & value) { this->noexcept_noexcept = value; }
3390- };
3391-
33923392 class Obj3 {
33933393 public:
33943394 Obj3() = default;
@@ -3450,6 +3450,7 @@ namespace quicktype {
34503450 Newtonsoft newtonsoft;
34513451 Nil nil;
34523452 No no;
3453+ Goto obj3_goto;
34533454 If obj3_if;
34543455 Import obj3_import;
34553456 Inline obj3_inline;
@@ -3459,7 +3460,6 @@ namespace quicktype {
34593460 Mutable obj3_mutable;
34603461 Namespace obj3_namespace;
34613462 New obj3_new;
3462- Noexcept obj3_noexcept;
34633463
34643464 public:
34653465 const int64_t & get_dummy() const { return dummy; }
@@ -3682,6 +3682,10 @@ namespace quicktype {
36823682 No & get_mutable_no() { return no; }
36833683 void set_no(const No & value) { this->no = value; }
36843684
3685+ const Goto & get_obj3_goto() const { return obj3_goto; }
3686+ Goto & get_mutable_obj3_goto() { return obj3_goto; }
3687+ void set_obj3_goto(const Goto & value) { this->obj3_goto = value; }
3688+
36853689 const If & get_obj3_if() const { return obj3_if; }
36863690 If & get_mutable_obj3_if() { return obj3_if; }
36873691 void set_obj3_if(const If & value) { this->obj3_if = value; }
@@ -3717,10 +3721,6 @@ namespace quicktype {
37173721 const New & get_obj3_new() const { return obj3_new; }
37183722 New & get_mutable_obj3_new() { return obj3_new; }
37193723 void set_obj3_new(const New & value) { this->obj3_new = value; }
3720-
3721- const Noexcept & get_obj3_noexcept() const { return obj3_noexcept; }
3722- Noexcept & get_mutable_obj3_noexcept() { return obj3_noexcept; }
3723- void set_obj3_noexcept(const Noexcept & value) { this->obj3_noexcept = value; }
37243724 };
37253725
37263726 class NoSuchMethod {
@@ -3863,6 +3863,20 @@ namespace quicktype {
38633863 void set_number(const int64_t & value) { this->number = value; }
38643864 };
38653865
3866+ class Noexcept {
3867+ public:
3868+ Noexcept() = default;
3869+ virtual ~Noexcept() = default;
3870+
3871+ private:
3872+ int64_t noexcept_noexcept;
3873+
3874+ public:
3875+ const int64_t & get_noexcept_noexcept() const { return noexcept_noexcept; }
3876+ int64_t & get_mutable_noexcept_noexcept() { return noexcept_noexcept; }
3877+ void set_noexcept_noexcept(const int64_t & value) { this->noexcept_noexcept = value; }
3878+ };
3879+
38663880 class NoneClass {
38673881 public:
38683882 NoneClass() = default;
@@ -4129,6 +4143,34 @@ namespace quicktype {
41294143 void set_object_mapper(const int64_t & value) { this->object_mapper = value; }
41304144 };
41314145
4146+ class ObjectReader {
4147+ public:
4148+ ObjectReader() = default;
4149+ virtual ~ObjectReader() = default;
4150+
4151+ private:
4152+ int64_t object_reader;
4153+
4154+ public:
4155+ const int64_t & get_object_reader() const { return object_reader; }
4156+ int64_t & get_mutable_object_reader() { return object_reader; }
4157+ void set_object_reader(const int64_t & value) { this->object_reader = value; }
4158+ };
4159+
4160+ class ObjectWriter {
4161+ public:
4162+ ObjectWriter() = default;
4163+ virtual ~ObjectWriter() = default;
4164+
4165+ private:
4166+ int64_t object_writer;
4167+
4168+ public:
4169+ const int64_t & get_object_writer() const { return object_writer; }
4170+ int64_t & get_mutable_object_writer() { return object_writer; }
4171+ void set_object_writer(const int64_t & value) { this->object_writer = value; }
4172+ };
4173+
41324174 class Of {
41334175 public:
41344176 Of() = default;
@@ -4577,48 +4619,6 @@ namespace quicktype {
45774619 void set_sbyte(const int64_t & value) { this->sbyte = value; }
45784620 };
45794621
4580- class Sealed {
4581- public:
4582- Sealed() = default;
4583- virtual ~Sealed() = default;
4584-
4585- private:
4586- int64_t sealed;
4587-
4588- public:
4589- const int64_t & get_sealed() const { return sealed; }
4590- int64_t & get_mutable_sealed() { return sealed; }
4591- void set_sealed(const int64_t & value) { this->sealed = value; }
4592- };
4593-
4594- class Sel {
4595- public:
4596- Sel() = default;
4597- virtual ~Sel() = default;
4598-
4599- private:
4600- int64_t sel;
4601-
4602- public:
4603- const int64_t & get_sel() const { return sel; }
4604- int64_t & get_mutable_sel() { return sel; }
4605- void set_sel(const int64_t & value) { this->sel = value; }
4606- };
4607-
4608- class Select {
4609- public:
4610- Select() = default;
4611- virtual ~Select() = default;
4612-
4613- private:
4614- int64_t select;
4615-
4616- public:
4617- const int64_t & get_select() const { return select; }
4618- int64_t & get_mutable_select() { return select; }
4619- void set_select(const int64_t & value) { this->select = value; }
4620- };
4621-
46224622 class Obj4 {
46234623 public:
46244624 Obj4() = default;
@@ -4636,6 +4636,7 @@ namespace quicktype {
46364636 NsString ns_string;
46374637 Null null;
46384638 Number number;
4639+ Noexcept obj4_noexcept;
46394640 NoneClass obj4_none;
46404641 Not obj4_not;
46414642 NotEq obj4_not_eq;
@@ -4655,6 +4656,8 @@ namespace quicktype {
46554656 Return obj4_return;
46564657 Object object;
46574658 ObjectMapper object_mapper;
4659+ ObjectReader object_reader;
4660+ ObjectWriter object_writer;
46584661 Of of;
46594662 Oneway oneway;
46604663 Open open;
@@ -4687,9 +4690,6 @@ namespace quicktype {
46874690 RuntimeType runtime_type;
46884691 S s;
46894692 Sbyte sbyte;
4690- Sealed sealed;
4691- Sel sel;
4692- Select select;
46934693
46944694 public:
46954695 const int64_t & get_dummy() const { return dummy; }
@@ -4736,6 +4736,10 @@ namespace quicktype {
47364736 Number & get_mutable_number() { return number; }
47374737 void set_number(const Number & value) { this->number = value; }
47384738
4739+ const Noexcept & get_obj4_noexcept() const { return obj4_noexcept; }
4740+ Noexcept & get_mutable_obj4_noexcept() { return obj4_noexcept; }
4741+ void set_obj4_noexcept(const Noexcept & value) { this->obj4_noexcept = value; }
4742+
47394743 const NoneClass & get_obj4_none() const { return obj4_none; }
47404744 NoneClass & get_mutable_obj4_none() { return obj4_none; }
47414745 void set_obj4_none(const NoneClass & value) { this->obj4_none = value; }
@@ -4812,6 +4816,14 @@ namespace quicktype {
48124816 ObjectMapper & get_mutable_object_mapper() { return object_mapper; }
48134817 void set_object_mapper(const ObjectMapper & value) { this->object_mapper = value; }
48144818
4819+ const ObjectReader & get_object_reader() const { return object_reader; }
4820+ ObjectReader & get_mutable_object_reader() { return object_reader; }
4821+ void set_object_reader(const ObjectReader & value) { this->object_reader = value; }
4822+
4823+ const ObjectWriter & get_object_writer() const { return object_writer; }
4824+ ObjectWriter & get_mutable_object_writer() { return object_writer; }
4825+ void set_object_writer(const ObjectWriter & value) { this->object_writer = value; }
4826+
48154827 const Of & get_of() const { return of; }
48164828 Of & get_mutable_of() { return of; }
48174829 void set_of(const Of & value) { this->of = value; }
@@ -4939,18 +4951,6 @@ namespace quicktype {
49394951 const Sbyte & get_sbyte() const { return sbyte; }
49404952 Sbyte & get_mutable_sbyte() { return sbyte; }
49414953 void set_sbyte(const Sbyte & value) { this->sbyte = value; }
4942-
4943- const Sealed & get_sealed() const { return sealed; }
4944- Sealed & get_mutable_sealed() { return sealed; }
4945- void set_sealed(const Sealed & value) { this->sealed = value; }
4946-
4947- const Sel & get_sel() const { return sel; }
4948- Sel & get_mutable_sel() { return sel; }
4949- void set_sel(const Sel & value) { this->sel = value; }
4950-
4951- const Select & get_select() const { return select; }
4952- Select & get_mutable_select() { return select; }
4953- void set_select(const Select & value) { this->select = value; }
49544954 };
49554955
49564956 class SelfClass {
@@ -5275,20 +5275,6 @@ namespace quicktype {
52755275 void set_using_using(const int64_t & value) { this->using_using = value; }
52765276 };
52775277
5278- class Virtual {
5279- public:
5280- Virtual() = default;
5281- virtual ~Virtual() = default;
5282-
5283- private:
5284- int64_t virtual_virtual;
5285-
5286- public:
5287- const int64_t & get_virtual_virtual() const { return virtual_virtual; }
5288- int64_t & get_mutable_virtual_virtual() { return virtual_virtual; }
5289- void set_virtual_virtual(const int64_t & value) { this->virtual_virtual = value; }
5290- };
5291-
52925278 class TrueClass {
52935279 public:
52945280 TrueClass() = default;
@@ -5303,6 +5289,48 @@ namespace quicktype {
53035289 void set_true_true(const int64_t & value) { this->true_true = value; }
53045290 };
53055291
5292+ class Sealed {
5293+ public:
5294+ Sealed() = default;
5295+ virtual ~Sealed() = default;
5296+
5297+ private:
5298+ int64_t sealed;
5299+
5300+ public:
5301+ const int64_t & get_sealed() const { return sealed; }
5302+ int64_t & get_mutable_sealed() { return sealed; }
5303+ void set_sealed(const int64_t & value) { this->sealed = value; }
5304+ };
5305+
5306+ class Sel {
5307+ public:
5308+ Sel() = default;
5309+ virtual ~Sel() = default;
5310+
5311+ private:
5312+ int64_t sel;
5313+
5314+ public:
5315+ const int64_t & get_sel() const { return sel; }
5316+ int64_t & get_mutable_sel() { return sel; }
5317+ void set_sel(const int64_t & value) { this->sel = value; }
5318+ };
5319+
5320+ class Select {
5321+ public:
5322+ Select() = default;
5323+ virtual ~Select() = default;
5324+
5325+ private:
5326+ int64_t select;
5327+
5328+ public:
5329+ const int64_t & get_select() const { return select; }
5330+ int64_t & get_mutable_select() { return select; }
5331+ void set_select(const int64_t & value) { this->select = value; }
5332+ };
5333+
53065334 class Self {
53075335 public:
53085336 Self() = default;
@@ -5331,6 +5359,20 @@ namespace quicktype {
53315359 void set_sendable(const int64_t & value) { this->sendable = value; }
53325360 };
53335361
5362+ class SerializationFeature {
5363+ public:
5364+ SerializationFeature() = default;
5365+ virtual ~SerializationFeature() = default;
5366+
5367+ private:
5368+ int64_t serialization_feature;
5369+
5370+ public:
5371+ const int64_t & get_serialization_feature() const { return serialization_feature; }
5372+ int64_t & get_mutable_serialization_feature() { return serialization_feature; }
5373+ void set_serialization_feature(const int64_t & value) { this->serialization_feature = value; }
5374+ };
5375+
53345376 class Serialize {
53355377 public:
53365378 Serialize() = default;
@@ -5807,48 +5849,6 @@ namespace quicktype {
58075849 void set_utf8_json_reader(const int64_t & value) { this->utf8_json_reader = value; }
58085850 };
58095851
5810- class Utf8JsonWriter {
5811- public:
5812- Utf8JsonWriter() = default;
5813- virtual ~Utf8JsonWriter() = default;
5814-
5815- private:
5816- int64_t utf8_json_writer;
5817-
5818- public:
5819- const int64_t & get_utf8_json_writer() const { return utf8_json_writer; }
5820- int64_t & get_mutable_utf8_json_writer() { return utf8_json_writer; }
5821- void set_utf8_json_writer(const int64_t & value) { this->utf8_json_writer = value; }
5822- };
5823-
5824- class Uuid {
5825- public:
5826- Uuid() = default;
5827- virtual ~Uuid() = default;
5828-
5829- private:
5830- int64_t uuid;
5831-
5832- public:
5833- const int64_t & get_uuid() const { return uuid; }
5834- int64_t & get_mutable_uuid() { return uuid; }
5835- void set_uuid(const int64_t & value) { this->uuid = value; }
5836- };
5837-
5838- class Var {
5839- public:
5840- Var() = default;
5841- virtual ~Var() = default;
5842-
5843- private:
5844- int64_t var;
5845-
5846- public:
5847- const int64_t & get_var() const { return var; }
5848- int64_t & get_mutable_var() { return var; }
5849- void set_var(const int64_t & value) { this->var = value; }
5850- };
5851-
58525852 class Obj5 {
58535853 public:
58545854 Obj5() = default;
@@ -5879,10 +5879,13 @@ namespace quicktype {
58795879 Union obj5_union;
58805880 Unsigned obj5_unsigned;
58815881 Using obj5_using;
5882- Virtual obj5_virtual;
58835882 TrueClass purple_true;
5883+ Sealed sealed;
5884+ Sel sel;
5885+ Select select;
58845886 Self self;
58855887 Sendable sendable;
5888+ SerializationFeature serialization_feature;
58865889 Serialize serialize;
58875890 SerializerProvider serializer_provider;
58885891 Set set;
@@ -5917,9 +5920,6 @@ namespace quicktype {
59175920 Unsafe unsafe;
59185921 Ushort ushort;
59195922 Utf8JsonReader utf8_json_reader;
5920- Utf8JsonWriter utf8_json_writer;
5921- Uuid uuid;
5922- Var var;
59235923
59245924 public:
59255925 const int64_t & get_dummy() const { return dummy; }
@@ -6018,22 +6018,34 @@ namespace quicktype {
60186018 Using & get_mutable_obj5_using() { return obj5_using; }
60196019 void set_obj5_using(const Using & value) { this->obj5_using = value; }
60206020
6021- const Virtual & get_obj5_virtual() const { return obj5_virtual; }
6022- Virtual & get_mutable_obj5_virtual() { return obj5_virtual; }
6023- void set_obj5_virtual(const Virtual & value) { this->obj5_virtual = value; }
6024-
60256021 const TrueClass & get_purple_true() const { return purple_true; }
60266022 TrueClass & get_mutable_purple_true() { return purple_true; }
60276023 void set_purple_true(const TrueClass & value) { this->purple_true = value; }
60286024
6029- const Self & get_self() const { return self; }
6030- Self & get_mutable_self() { return self; }
6031- void set_self(const Self & value) { this->self = value; }
6025+ const Sealed & get_sealed() const { return sealed; }
6026+ Sealed & get_mutable_sealed() { return sealed; }
6027+ void set_sealed(const Sealed & value) { this->sealed = value; }
6028+
6029+ const Sel & get_sel() const { return sel; }
6030+ Sel & get_mutable_sel() { return sel; }
6031+ void set_sel(const Sel & value) { this->sel = value; }
6032+
6033+ const Select & get_select() const { return select; }
6034+ Select & get_mutable_select() { return select; }
6035+ void set_select(const Select & value) { this->select = value; }
6036+
6037+ const Self & get_self() const { return self; }
6038+ Self & get_mutable_self() { return self; }
6039+ void set_self(const Self & value) { this->self = value; }
60326040
60336041 const Sendable & get_sendable() const { return sendable; }
60346042 Sendable & get_mutable_sendable() { return sendable; }
60356043 void set_sendable(const Sendable & value) { this->sendable = value; }
60366044
6045+ const SerializationFeature & get_serialization_feature() const { return serialization_feature; }
6046+ SerializationFeature & get_mutable_serialization_feature() { return serialization_feature; }
6047+ void set_serialization_feature(const SerializationFeature & value) { this->serialization_feature = value; }
6048+
60376049 const Serialize & get_serialize() const { return serialize; }
60386050 Serialize & get_mutable_serialize() { return serialize; }
60396051 void set_serialize(const Serialize & value) { this->serialize = value; }
@@ -6169,18 +6181,20 @@ namespace quicktype {
61696181 const Utf8JsonReader & get_utf8_json_reader() const { return utf8_json_reader; }
61706182 Utf8JsonReader & get_mutable_utf8_json_reader() { return utf8_json_reader; }
61716183 void set_utf8_json_reader(const Utf8JsonReader & value) { this->utf8_json_reader = value; }
6184+ };
61726185
6173- const Utf8JsonWriter & get_utf8_json_writer() const { return utf8_json_writer; }
6174- Utf8JsonWriter & get_mutable_utf8_json_writer() { return utf8_json_writer; }
6175- void set_utf8_json_writer(const Utf8JsonWriter & value) { this->utf8_json_writer = value; }
6186+ class Virtual {
6187+ public:
6188+ Virtual() = default;
6189+ virtual ~Virtual() = default;
61766190
6177- const Uuid & get_uuid() const { return uuid; }
6178- Uuid & get_mutable_uuid() { return uuid; }
6179- void set_uuid(const Uuid & value) { this->uuid = value; }
6191+ private:
6192+ int64_t virtual_virtual;
61806193
6181- const Var & get_var() const { return var; }
6182- Var & get_mutable_var() { return var; }
6183- void set_var(const Var & value) { this->var = value; }
6194+ public:
6195+ const int64_t & get_virtual_virtual() const { return virtual_virtual; }
6196+ int64_t & get_mutable_virtual_virtual() { return virtual_virtual; }
6197+ void set_virtual_virtual(const int64_t & value) { this->virtual_virtual = value; }
61846198 };
61856199
61866200 class Void {
@@ -6267,6 +6281,48 @@ namespace quicktype {
62676281 void set_xor_eq_xor_eq(const int64_t & value) { this->xor_eq_xor_eq = value; }
62686282 };
62696283
6284+ class Utf8JsonWriter {
6285+ public:
6286+ Utf8JsonWriter() = default;
6287+ virtual ~Utf8JsonWriter() = default;
6288+
6289+ private:
6290+ int64_t utf8_json_writer;
6291+
6292+ public:
6293+ const int64_t & get_utf8_json_writer() const { return utf8_json_writer; }
6294+ int64_t & get_mutable_utf8_json_writer() { return utf8_json_writer; }
6295+ void set_utf8_json_writer(const int64_t & value) { this->utf8_json_writer = value; }
6296+ };
6297+
6298+ class Uuid {
6299+ public:
6300+ Uuid() = default;
6301+ virtual ~Uuid() = default;
6302+
6303+ private:
6304+ int64_t uuid;
6305+
6306+ public:
6307+ const int64_t & get_uuid() const { return uuid; }
6308+ int64_t & get_mutable_uuid() { return uuid; }
6309+ void set_uuid(const int64_t & value) { this->uuid = value; }
6310+ };
6311+
6312+ class Var {
6313+ public:
6314+ Var() = default;
6315+ virtual ~Var() = default;
6316+
6317+ private:
6318+ int64_t var;
6319+
6320+ public:
6321+ const int64_t & get_var() const { return var; }
6322+ int64_t & get_mutable_var() { return var; }
6323+ void set_var(const int64_t & value) { this->var = value; }
6324+ };
6325+
62706326 class Weak {
62716327 public:
62726328 Weak() = default;
@@ -6358,12 +6414,16 @@ namespace quicktype {
63586414
63596415 private:
63606416 int64_t dummy;
6417+ Virtual obj6_virtual;
63616418 Void obj6_void;
63626419 Volatile obj6_volatile;
63636420 WcharT obj6_wchar_t;
63646421 While obj6_while;
63656422 Xor obj6_xor;
63666423 XorEq obj6_xor_eq;
6424+ Utf8JsonWriter utf8_json_writer;
6425+ Uuid uuid;
6426+ Var var;
63676427 Weak weak;
63686428 Where where;
63696429 WillSet will_set;
@@ -6376,6 +6436,10 @@ namespace quicktype {
63766436 int64_t & get_mutable_dummy() { return dummy; }
63776437 void set_dummy(const int64_t & value) { this->dummy = value; }
63786438
6439+ const Virtual & get_obj6_virtual() const { return obj6_virtual; }
6440+ Virtual & get_mutable_obj6_virtual() { return obj6_virtual; }
6441+ void set_obj6_virtual(const Virtual & value) { this->obj6_virtual = value; }
6442+
63796443 const Void & get_obj6_void() const { return obj6_void; }
63806444 Void & get_mutable_obj6_void() { return obj6_void; }
63816445 void set_obj6_void(const Void & value) { this->obj6_void = value; }
@@ -6400,6 +6464,18 @@ namespace quicktype {
64006464 XorEq & get_mutable_obj6_xor_eq() { return obj6_xor_eq; }
64016465 void set_obj6_xor_eq(const XorEq & value) { this->obj6_xor_eq = value; }
64026466
6467+ const Utf8JsonWriter & get_utf8_json_writer() const { return utf8_json_writer; }
6468+ Utf8JsonWriter & get_mutable_utf8_json_writer() { return utf8_json_writer; }
6469+ void set_utf8_json_writer(const Utf8JsonWriter & value) { this->utf8_json_writer = value; }
6470+
6471+ const Uuid & get_uuid() const { return uuid; }
6472+ Uuid & get_mutable_uuid() { return uuid; }
6473+ void set_uuid(const Uuid & value) { this->uuid = value; }
6474+
6475+ const Var & get_var() const { return var; }
6476+ Var & get_mutable_var() { return var; }
6477+ void set_var(const Var & value) { this->var = value; }
6478+
64036479 const Weak & get_weak() const { return weak; }
64046480 Weak & get_mutable_weak() { return weak; }
64056481 void set_weak(const Weak & value) { this->weak = value; }
@@ -6717,6 +6793,9 @@ namespace quicktype {
67176793 void from_json(const json & j, Delegate & x);
67186794 void to_json(json & j, const Delegate & x);
67196795
6796+ void from_json(const json & j, DeserializationFeature & x);
6797+ void to_json(json & j, const DeserializationFeature & x);
6798+
67206799 void from_json(const json & j, Dict & x);
67216800 void to_json(json & j, const Dict & x);
67226801
@@ -6852,9 +6931,6 @@ namespace quicktype {
68526931 void from_json(const json & j, Friend & x);
68536932 void to_json(json & j, const Friend & x);
68546933
6855- void from_json(const json & j, Goto & x);
6856- void to_json(json & j, const Goto & x);
6857-
68586934 void from_json(const json & j, FalseClass & x);
68596935 void to_json(json & j, const FalseClass & x);
68606936
@@ -7023,6 +7099,9 @@ namespace quicktype {
70237099 void from_json(const json & j, No & x);
70247100 void to_json(json & j, const No & x);
70257101
7102+ void from_json(const json & j, Goto & x);
7103+ void to_json(json & j, const Goto & x);
7104+
70267105 void from_json(const json & j, If & x);
70277106 void to_json(json & j, const If & x);
70287107
@@ -7050,9 +7129,6 @@ namespace quicktype {
70507129 void from_json(const json & j, New & x);
70517130 void to_json(json & j, const New & x);
70527131
7053- void from_json(const json & j, Noexcept & x);
7054- void to_json(json & j, const Noexcept & x);
7055-
70567132 void from_json(const json & j, Obj3 & x);
70577133 void to_json(json & j, const Obj3 & x);
70587134
@@ -7086,6 +7162,9 @@ namespace quicktype {
70867162 void from_json(const json & j, Number & x);
70877163 void to_json(json & j, const Number & x);
70887164
7165+ void from_json(const json & j, Noexcept & x);
7166+ void to_json(json & j, const Noexcept & x);
7167+
70897168 void from_json(const json & j, NoneClass & x);
70907169 void to_json(json & j, const NoneClass & x);
70917170
@@ -7143,6 +7222,12 @@ namespace quicktype {
71437222 void from_json(const json & j, ObjectMapper & x);
71447223 void to_json(json & j, const ObjectMapper & x);
71457224
7225+ void from_json(const json & j, ObjectReader & x);
7226+ void to_json(json & j, const ObjectReader & x);
7227+
7228+ void from_json(const json & j, ObjectWriter & x);
7229+ void to_json(json & j, const ObjectWriter & x);
7230+
71467231 void from_json(const json & j, Of & x);
71477232 void to_json(json & j, const Of & x);
71487233
@@ -7239,15 +7324,6 @@ namespace quicktype {
72397324 void from_json(const json & j, Sbyte & x);
72407325 void to_json(json & j, const Sbyte & x);
72417326
7242- void from_json(const json & j, Sealed & x);
7243- void to_json(json & j, const Sealed & x);
7244-
7245- void from_json(const json & j, Sel & x);
7246- void to_json(json & j, const Sel & x);
7247-
7248- void from_json(const json & j, Select & x);
7249- void to_json(json & j, const Select & x);
7250-
72517327 void from_json(const json & j, Obj4 & x);
72527328 void to_json(json & j, const Obj4 & x);
72537329
@@ -7320,18 +7396,27 @@ namespace quicktype {
73207396 void from_json(const json & j, Using & x);
73217397 void to_json(json & j, const Using & x);
73227398
7323- void from_json(const json & j, Virtual & x);
7324- void to_json(json & j, const Virtual & x);
7325-
73267399 void from_json(const json & j, TrueClass & x);
73277400 void to_json(json & j, const TrueClass & x);
73287401
7402+ void from_json(const json & j, Sealed & x);
7403+ void to_json(json & j, const Sealed & x);
7404+
7405+ void from_json(const json & j, Sel & x);
7406+ void to_json(json & j, const Sel & x);
7407+
7408+ void from_json(const json & j, Select & x);
7409+ void to_json(json & j, const Select & x);
7410+
73297411 void from_json(const json & j, Self & x);
73307412 void to_json(json & j, const Self & x);
73317413
73327414 void from_json(const json & j, Sendable & x);
73337415 void to_json(json & j, const Sendable & x);
73347416
7417+ void from_json(const json & j, SerializationFeature & x);
7418+ void to_json(json & j, const SerializationFeature & x);
7419+
73357420 void from_json(const json & j, Serialize & x);
73367421 void to_json(json & j, const Serialize & x);
73377422
@@ -7434,18 +7519,12 @@ namespace quicktype {
74347519 void from_json(const json & j, Utf8JsonReader & x);
74357520 void to_json(json & j, const Utf8JsonReader & x);
74367521
7437- void from_json(const json & j, Utf8JsonWriter & x);
7438- void to_json(json & j, const Utf8JsonWriter & x);
7439-
7440- void from_json(const json & j, Uuid & x);
7441- void to_json(json & j, const Uuid & x);
7442-
7443- void from_json(const json & j, Var & x);
7444- void to_json(json & j, const Var & x);
7445-
74467522 void from_json(const json & j, Obj5 & x);
74477523 void to_json(json & j, const Obj5 & x);
74487524
7525+ void from_json(const json & j, Virtual & x);
7526+ void to_json(json & j, const Virtual & x);
7527+
74497528 void from_json(const json & j, Void & x);
74507529 void to_json(json & j, const Void & x);
74517530
@@ -7464,6 +7543,15 @@ namespace quicktype {
74647543 void from_json(const json & j, XorEq & x);
74657544 void to_json(json & j, const XorEq & x);
74667545
7546+ void from_json(const json & j, Utf8JsonWriter & x);
7547+ void to_json(json & j, const Utf8JsonWriter & x);
7548+
7549+ void from_json(const json & j, Uuid & x);
7550+ void to_json(json & j, const Uuid & x);
7551+
7552+ void from_json(const json & j, Var & x);
7553+ void to_json(json & j, const Var & x);
7554+
74677555 void from_json(const json & j, Weak & x);
74687556 void to_json(json & j, const Weak & x);
74697557
@@ -8521,6 +8609,17 @@ namespace quicktype {
85218609 j["delegate"] = x.get_delegate();
85228610 }
85238611
8612+ inline void from_json(const json & j, DeserializationFeature& x) {
8613+ if (!j.is_object()) throw std::runtime_error("Expected object");
8614+ if (j.find("DeserializationFeature") != j.end() && !j.at("DeserializationFeature").is_number_integer()) throw std::runtime_error("Expected integer");
8615+ x.set_deserialization_feature(j.at("DeserializationFeature").get<int64_t>());
8616+ }
8617+
8618+ inline void to_json(json & j, const DeserializationFeature & x) {
8619+ j = json::object();
8620+ j["DeserializationFeature"] = x.get_deserialization_feature();
8621+ }
8622+
85248623 inline void from_json(const json & j, Dict& x) {
85258624 if (!j.is_object()) throw std::runtime_error("Expected object");
85268625 if (j.find("dict") != j.end() && !j.at("dict").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -9015,17 +9114,6 @@ namespace quicktype {
90159114 j["friend"] = x.get_friend_friend();
90169115 }
90179116
9018- inline void from_json(const json & j, Goto& x) {
9019- if (!j.is_object()) throw std::runtime_error("Expected object");
9020- if (j.find("goto") != j.end() && !j.at("goto").is_number_integer()) throw std::runtime_error("Expected integer");
9021- x.set_goto_goto(j.at("goto").get<int64_t>());
9022- }
9023-
9024- inline void to_json(json & j, const Goto & x) {
9025- j = json::object();
9026- j["goto"] = x.get_goto_goto();
9027- }
9028-
90299117 inline void from_json(const json & j, FalseClass& x) {
90309118 if (!j.is_object()) throw std::runtime_error("Expected object");
90319119 if (j.find("false") != j.end() && !j.at("false").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -9056,6 +9144,7 @@ namespace quicktype {
90569144 x.set_deinit(j.at("deinit").get<Deinit>());
90579145 x.set_del(j.at("del").get<Del>());
90589146 x.set_delegate(j.at("delegate").get<Delegate>());
9147+ x.set_deserialization_feature(j.at("DeserializationFeature").get<DeserializationFeature>());
90599148 x.set_dict(j.at("dict").get<Dict>());
90609149 x.set_dictionary(j.at("dictionary").get<Dictionary>());
90619150 x.set_did_set(j.at("didSet").get<DidSet>());
@@ -9103,7 +9192,6 @@ namespace quicktype {
91039192 x.set_obj2_float(j.at("float").get<Float>());
91049193 x.set_obj2_for(j.at("for").get<For>());
91059194 x.set_obj2_friend(j.at("friend").get<Friend>());
9106- x.set_obj2_goto(j.at("goto").get<Goto>());
91079195 x.set_purple_false(j.at("false").get<FalseClass>());
91089196 }
91099197
@@ -9126,6 +9214,7 @@ namespace quicktype {
91269214 j["deinit"] = x.get_deinit();
91279215 j["del"] = x.get_del();
91289216 j["delegate"] = x.get_delegate();
9217+ j["DeserializationFeature"] = x.get_deserialization_feature();
91299218 j["dict"] = x.get_dict();
91309219 j["dictionary"] = x.get_dictionary();
91319220 j["didSet"] = x.get_did_set();
@@ -9172,7 +9261,6 @@ namespace quicktype {
91729261 j["float"] = x.get_obj2_float();
91739262 j["for"] = x.get_obj2_for();
91749263 j["friend"] = x.get_obj2_friend();
9175- j["goto"] = x.get_obj2_goto();
91769264 j["false"] = x.get_purple_false();
91779265 }
91789266
@@ -9769,6 +9857,17 @@ namespace quicktype {
97699857 j["NO"] = x.get_no();
97709858 }
97719859
9860+ inline void from_json(const json & j, Goto& x) {
9861+ if (!j.is_object()) throw std::runtime_error("Expected object");
9862+ if (j.find("goto") != j.end() && !j.at("goto").is_number_integer()) throw std::runtime_error("Expected integer");
9863+ x.set_goto_goto(j.at("goto").get<int64_t>());
9864+ }
9865+
9866+ inline void to_json(json & j, const Goto & x) {
9867+ j = json::object();
9868+ j["goto"] = x.get_goto_goto();
9869+ }
9870+
97729871 inline void from_json(const json & j, If& x) {
97739872 if (!j.is_object()) throw std::runtime_error("Expected object");
97749873 if (j.find("if") != j.end() && !j.at("if").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -9868,17 +9967,6 @@ namespace quicktype {
98689967 j["new"] = x.get_new_new();
98699968 }
98709969
9871- inline void from_json(const json & j, Noexcept& x) {
9872- if (!j.is_object()) throw std::runtime_error("Expected object");
9873- if (j.find("noexcept") != j.end() && !j.at("noexcept").is_number_integer()) throw std::runtime_error("Expected integer");
9874- x.set_noexcept_noexcept(j.at("noexcept").get<int64_t>());
9875- }
9876-
9877- inline void to_json(json & j, const Noexcept & x) {
9878- j = json::object();
9879- j["noexcept"] = x.get_noexcept_noexcept();
9880- }
9881-
98829970 inline void from_json(const json & j, Obj3& x) {
98839971 if (!j.is_object()) throw std::runtime_error("Expected object");
98849972 if (j.find("dummy") != j.end() && !j.at("dummy").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -9937,6 +10025,7 @@ namespace quicktype {
993710025 x.set_newtonsoft(j.at("newtonsoft").get<Newtonsoft>());
993810026 x.set_nil(j.at("nil").get<Nil>());
993910027 x.set_no(j.at("NO").get<No>());
10028+ x.set_obj3_goto(j.at("goto").get<Goto>());
994010029 x.set_obj3_if(j.at("if").get<If>());
994110030 x.set_obj3_import(j.at("import").get<Import>());
994210031 x.set_obj3_inline(j.at("inline").get<Inline>());
@@ -9946,7 +10035,6 @@ namespace quicktype {
994610035 x.set_obj3_mutable(j.at("mutable").get<Mutable>());
994710036 x.set_obj3_namespace(j.at("namespace").get<Namespace>());
994810037 x.set_obj3_new(j.at("new").get<New>());
9949- x.set_obj3_noexcept(j.at("noexcept").get<Noexcept>());
995010038 }
995110039
995210040 inline void to_json(json & j, const Obj3 & x) {
@@ -10006,6 +10094,7 @@ namespace quicktype {
1000610094 j["newtonsoft"] = x.get_newtonsoft();
1000710095 j["nil"] = x.get_nil();
1000810096 j["NO"] = x.get_no();
10097+ j["goto"] = x.get_obj3_goto();
1000910098 j["if"] = x.get_obj3_if();
1001010099 j["import"] = x.get_obj3_import();
1001110100 j["inline"] = x.get_obj3_inline();
@@ -10015,7 +10104,6 @@ namespace quicktype {
1001510104 j["mutable"] = x.get_obj3_mutable();
1001610105 j["namespace"] = x.get_obj3_namespace();
1001710106 j["new"] = x.get_obj3_new();
10018- j["noexcept"] = x.get_obj3_noexcept();
1001910107 }
1002010108
1002110109 inline void from_json(const json & j, NoSuchMethod& x) {
@@ -10128,6 +10216,17 @@ namespace quicktype {
1012810216 j["number"] = x.get_number();
1012910217 }
1013010218
10219+ inline void from_json(const json & j, Noexcept& x) {
10220+ if (!j.is_object()) throw std::runtime_error("Expected object");
10221+ if (j.find("noexcept") != j.end() && !j.at("noexcept").is_number_integer()) throw std::runtime_error("Expected integer");
10222+ x.set_noexcept_noexcept(j.at("noexcept").get<int64_t>());
10223+ }
10224+
10225+ inline void to_json(json & j, const Noexcept & x) {
10226+ j = json::object();
10227+ j["noexcept"] = x.get_noexcept_noexcept();
10228+ }
10229+
1013110230 inline void from_json(const json & j, NoneClass& x) {
1013210231 if (!j.is_object()) throw std::runtime_error("Expected object");
1013310232 if (j.find("none") != j.end() && !j.at("none").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -10337,6 +10436,28 @@ namespace quicktype {
1033710436 j["ObjectMapper"] = x.get_object_mapper();
1033810437 }
1033910438
10439+ inline void from_json(const json & j, ObjectReader& x) {
10440+ if (!j.is_object()) throw std::runtime_error("Expected object");
10441+ if (j.find("ObjectReader") != j.end() && !j.at("ObjectReader").is_number_integer()) throw std::runtime_error("Expected integer");
10442+ x.set_object_reader(j.at("ObjectReader").get<int64_t>());
10443+ }
10444+
10445+ inline void to_json(json & j, const ObjectReader & x) {
10446+ j = json::object();
10447+ j["ObjectReader"] = x.get_object_reader();
10448+ }
10449+
10450+ inline void from_json(const json & j, ObjectWriter& x) {
10451+ if (!j.is_object()) throw std::runtime_error("Expected object");
10452+ if (j.find("ObjectWriter") != j.end() && !j.at("ObjectWriter").is_number_integer()) throw std::runtime_error("Expected integer");
10453+ x.set_object_writer(j.at("ObjectWriter").get<int64_t>());
10454+ }
10455+
10456+ inline void to_json(json & j, const ObjectWriter & x) {
10457+ j = json::object();
10458+ j["ObjectWriter"] = x.get_object_writer();
10459+ }
10460+
1034010461 inline void from_json(const json & j, Of& x) {
1034110462 if (!j.is_object()) throw std::runtime_error("Expected object");
1034210463 if (j.find("of") != j.end() && !j.at("of").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -10689,39 +10810,6 @@ namespace quicktype {
1068910810 j["sbyte"] = x.get_sbyte();
1069010811 }
1069110812
10692- inline void from_json(const json & j, Sealed& x) {
10693- if (!j.is_object()) throw std::runtime_error("Expected object");
10694- if (j.find("sealed") != j.end() && !j.at("sealed").is_number_integer()) throw std::runtime_error("Expected integer");
10695- x.set_sealed(j.at("sealed").get<int64_t>());
10696- }
10697-
10698- inline void to_json(json & j, const Sealed & x) {
10699- j = json::object();
10700- j["sealed"] = x.get_sealed();
10701- }
10702-
10703- inline void from_json(const json & j, Sel& x) {
10704- if (!j.is_object()) throw std::runtime_error("Expected object");
10705- if (j.find("SEL") != j.end() && !j.at("SEL").is_number_integer()) throw std::runtime_error("Expected integer");
10706- x.set_sel(j.at("SEL").get<int64_t>());
10707- }
10708-
10709- inline void to_json(json & j, const Sel & x) {
10710- j = json::object();
10711- j["SEL"] = x.get_sel();
10712- }
10713-
10714- inline void from_json(const json & j, Select& x) {
10715- if (!j.is_object()) throw std::runtime_error("Expected object");
10716- if (j.find("select") != j.end() && !j.at("select").is_number_integer()) throw std::runtime_error("Expected integer");
10717- x.set_select(j.at("select").get<int64_t>());
10718- }
10719-
10720- inline void to_json(json & j, const Select & x) {
10721- j = json::object();
10722- j["select"] = x.get_select();
10723- }
10724-
1072510813 inline void from_json(const json & j, Obj4& x) {
1072610814 if (!j.is_object()) throw std::runtime_error("Expected object");
1072710815 if (j.find("dummy") != j.end() && !j.at("dummy").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -10736,6 +10824,7 @@ namespace quicktype {
1073610824 x.set_ns_string(j.at("NSString").get<NsString>());
1073710825 x.set_null(j.at("NULL").get<Null>());
1073810826 x.set_number(j.at("number").get<Number>());
10827+ x.set_obj4_noexcept(j.at("noexcept").get<Noexcept>());
1073910828 x.set_obj4_none(j.at("none").get<NoneClass>());
1074010829 x.set_obj4_not(j.at("not").get<Not>());
1074110830 x.set_obj4_not_eq(j.at("not_eq").get<NotEq>());
@@ -10755,6 +10844,8 @@ namespace quicktype {
1075510844 x.set_obj4_return(j.at("return").get<Return>());
1075610845 x.set_object(j.at("object").get<Object>());
1075710846 x.set_object_mapper(j.at("ObjectMapper").get<ObjectMapper>());
10847+ x.set_object_reader(j.at("ObjectReader").get<ObjectReader>());
10848+ x.set_object_writer(j.at("ObjectWriter").get<ObjectWriter>());
1075810849 x.set_of(j.at("of").get<Of>());
1075910850 x.set_oneway(j.at("oneway").get<Oneway>());
1076010851 x.set_open(j.at("open").get<Open>());
@@ -10787,9 +10878,6 @@ namespace quicktype {
1078710878 x.set_runtime_type(j.at("runtimeType").get<RuntimeType>());
1078810879 x.set_s(j.at("s").get<S>());
1078910880 x.set_sbyte(j.at("sbyte").get<Sbyte>());
10790- x.set_sealed(j.at("sealed").get<Sealed>());
10791- x.set_sel(j.at("SEL").get<Sel>());
10792- x.set_select(j.at("select").get<Select>());
1079310881 }
1079410882
1079510883 inline void to_json(json & j, const Obj4 & x) {
@@ -10805,6 +10893,7 @@ namespace quicktype {
1080510893 j["NSString"] = x.get_ns_string();
1080610894 j["NULL"] = x.get_null();
1080710895 j["number"] = x.get_number();
10896+ j["noexcept"] = x.get_obj4_noexcept();
1080810897 j["none"] = x.get_obj4_none();
1080910898 j["not"] = x.get_obj4_not();
1081010899 j["not_eq"] = x.get_obj4_not_eq();
@@ -10824,6 +10913,8 @@ namespace quicktype {
1082410913 j["return"] = x.get_obj4_return();
1082510914 j["object"] = x.get_object();
1082610915 j["ObjectMapper"] = x.get_object_mapper();
10916+ j["ObjectReader"] = x.get_object_reader();
10917+ j["ObjectWriter"] = x.get_object_writer();
1082710918 j["of"] = x.get_of();
1082810919 j["oneway"] = x.get_oneway();
1082910920 j["open"] = x.get_open();
@@ -10856,9 +10947,6 @@ namespace quicktype {
1085610947 j["runtimeType"] = x.get_runtime_type();
1085710948 j["s"] = x.get_s();
1085810949 j["sbyte"] = x.get_sbyte();
10859- j["sealed"] = x.get_sealed();
10860- j["SEL"] = x.get_sel();
10861- j["select"] = x.get_select();
1086210950 }
1086310951
1086410952 inline void from_json(const json & j, SelfClass& x) {
@@ -11114,26 +11202,48 @@ namespace quicktype {
1111411202 j["using"] = x.get_using_using();
1111511203 }
1111611204
11117- inline void from_json(const json & j, Virtual& x) {
11205+ inline void from_json(const json & j, TrueClass& x) {
1111811206 if (!j.is_object()) throw std::runtime_error("Expected object");
11119- if (j.find("virtual") != j.end() && !j.at("virtual").is_number_integer()) throw std::runtime_error("Expected integer");
11120- x.set_virtual_virtual(j.at("virtual").get<int64_t>());
11207+ if (j.find("true") != j.end() && !j.at("true").is_number_integer()) throw std::runtime_error("Expected integer");
11208+ x.set_true_true(j.at("true").get<int64_t>());
1112111209 }
1112211210
11123- inline void to_json(json & j, const Virtual & x) {
11211+ inline void to_json(json & j, const TrueClass & x) {
1112411212 j = json::object();
11125- j["virtual"] = x.get_virtual_virtual();
11213+ j["true"] = x.get_true_true();
1112611214 }
1112711215
11128- inline void from_json(const json & j, TrueClass& x) {
11216+ inline void from_json(const json & j, Sealed& x) {
1112911217 if (!j.is_object()) throw std::runtime_error("Expected object");
11130- if (j.find("true") != j.end() && !j.at("true").is_number_integer()) throw std::runtime_error("Expected integer");
11131- x.set_true_true(j.at("true").get<int64_t>());
11218+ if (j.find("sealed") != j.end() && !j.at("sealed").is_number_integer()) throw std::runtime_error("Expected integer");
11219+ x.set_sealed(j.at("sealed").get<int64_t>());
1113211220 }
1113311221
11134- inline void to_json(json & j, const TrueClass & x) {
11222+ inline void to_json(json & j, const Sealed & x) {
1113511223 j = json::object();
11136- j["true"] = x.get_true_true();
11224+ j["sealed"] = x.get_sealed();
11225+ }
11226+
11227+ inline void from_json(const json & j, Sel& x) {
11228+ if (!j.is_object()) throw std::runtime_error("Expected object");
11229+ if (j.find("SEL") != j.end() && !j.at("SEL").is_number_integer()) throw std::runtime_error("Expected integer");
11230+ x.set_sel(j.at("SEL").get<int64_t>());
11231+ }
11232+
11233+ inline void to_json(json & j, const Sel & x) {
11234+ j = json::object();
11235+ j["SEL"] = x.get_sel();
11236+ }
11237+
11238+ inline void from_json(const json & j, Select& x) {
11239+ if (!j.is_object()) throw std::runtime_error("Expected object");
11240+ if (j.find("select") != j.end() && !j.at("select").is_number_integer()) throw std::runtime_error("Expected integer");
11241+ x.set_select(j.at("select").get<int64_t>());
11242+ }
11243+
11244+ inline void to_json(json & j, const Select & x) {
11245+ j = json::object();
11246+ j["select"] = x.get_select();
1113711247 }
1113811248
1113911249 inline void from_json(const json & j, Self& x) {
@@ -11158,6 +11268,17 @@ namespace quicktype {
1115811268 j["Sendable"] = x.get_sendable();
1115911269 }
1116011270
11271+ inline void from_json(const json & j, SerializationFeature& x) {
11272+ if (!j.is_object()) throw std::runtime_error("Expected object");
11273+ if (j.find("SerializationFeature") != j.end() && !j.at("SerializationFeature").is_number_integer()) throw std::runtime_error("Expected integer");
11274+ x.set_serialization_feature(j.at("SerializationFeature").get<int64_t>());
11275+ }
11276+
11277+ inline void to_json(json & j, const SerializationFeature & x) {
11278+ j = json::object();
11279+ j["SerializationFeature"] = x.get_serialization_feature();
11280+ }
11281+
1116111282 inline void from_json(const json & j, Serialize& x) {
1116211283 if (!j.is_object()) throw std::runtime_error("Expected object");
1116311284 if (j.find("serialize") != j.end() && !j.at("serialize").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -11532,39 +11653,6 @@ namespace quicktype {
1153211653 j["Utf8JsonReader"] = x.get_utf8_json_reader();
1153311654 }
1153411655
11535- inline void from_json(const json & j, Utf8JsonWriter& x) {
11536- if (!j.is_object()) throw std::runtime_error("Expected object");
11537- if (j.find("Utf8JsonWriter") != j.end() && !j.at("Utf8JsonWriter").is_number_integer()) throw std::runtime_error("Expected integer");
11538- x.set_utf8_json_writer(j.at("Utf8JsonWriter").get<int64_t>());
11539- }
11540-
11541- inline void to_json(json & j, const Utf8JsonWriter & x) {
11542- j = json::object();
11543- j["Utf8JsonWriter"] = x.get_utf8_json_writer();
11544- }
11545-
11546- inline void from_json(const json & j, Uuid& x) {
11547- if (!j.is_object()) throw std::runtime_error("Expected object");
11548- if (j.find("UUID") != j.end() && !j.at("UUID").is_number_integer()) throw std::runtime_error("Expected integer");
11549- x.set_uuid(j.at("UUID").get<int64_t>());
11550- }
11551-
11552- inline void to_json(json & j, const Uuid & x) {
11553- j = json::object();
11554- j["UUID"] = x.get_uuid();
11555- }
11556-
11557- inline void from_json(const json & j, Var& x) {
11558- if (!j.is_object()) throw std::runtime_error("Expected object");
11559- if (j.find("var") != j.end() && !j.at("var").is_number_integer()) throw std::runtime_error("Expected integer");
11560- x.set_var(j.at("var").get<int64_t>());
11561- }
11562-
11563- inline void to_json(json & j, const Var & x) {
11564- j = json::object();
11565- j["var"] = x.get_var();
11566- }
11567-
1156811656 inline void from_json(const json & j, Obj5& x) {
1156911657 if (!j.is_object()) throw std::runtime_error("Expected object");
1157011658 if (j.find("dummy") != j.end() && !j.at("dummy").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -11592,10 +11680,13 @@ namespace quicktype {
1159211680 x.set_obj5_union(j.at("union").get<Union>());
1159311681 x.set_obj5_unsigned(j.at("unsigned").get<Unsigned>());
1159411682 x.set_obj5_using(j.at("using").get<Using>());
11595- x.set_obj5_virtual(j.at("virtual").get<Virtual>());
1159611683 x.set_purple_true(j.at("true").get<TrueClass>());
11684+ x.set_sealed(j.at("sealed").get<Sealed>());
11685+ x.set_sel(j.at("SEL").get<Sel>());
11686+ x.set_select(j.at("select").get<Select>());
1159711687 x.set_self(j.at("Self").get<Self>());
1159811688 x.set_sendable(j.at("Sendable").get<Sendable>());
11689+ x.set_serialization_feature(j.at("SerializationFeature").get<SerializationFeature>());
1159911690 x.set_serialize(j.at("serialize").get<Serialize>());
1160011691 x.set_serializer_provider(j.at("SerializerProvider").get<SerializerProvider>());
1160111692 x.set_set(j.at("set").get<Set>());
@@ -11630,9 +11721,6 @@ namespace quicktype {
1163011721 x.set_unsafe(j.at("unsafe").get<Unsafe>());
1163111722 x.set_ushort(j.at("ushort").get<Ushort>());
1163211723 x.set_utf8_json_reader(j.at("Utf8JsonReader").get<Utf8JsonReader>());
11633- x.set_utf8_json_writer(j.at("Utf8JsonWriter").get<Utf8JsonWriter>());
11634- x.set_uuid(j.at("UUID").get<Uuid>());
11635- x.set_var(j.at("var").get<Var>());
1163611724 }
1163711725
1163811726 inline void to_json(json & j, const Obj5 & x) {
@@ -11661,10 +11749,13 @@ namespace quicktype {
1166111749 j["union"] = x.get_obj5_union();
1166211750 j["unsigned"] = x.get_obj5_unsigned();
1166311751 j["using"] = x.get_obj5_using();
11664- j["virtual"] = x.get_obj5_virtual();
1166511752 j["true"] = x.get_purple_true();
11753+ j["sealed"] = x.get_sealed();
11754+ j["SEL"] = x.get_sel();
11755+ j["select"] = x.get_select();
1166611756 j["Self"] = x.get_self();
1166711757 j["Sendable"] = x.get_sendable();
11758+ j["SerializationFeature"] = x.get_serialization_feature();
1166811759 j["serialize"] = x.get_serialize();
1166911760 j["SerializerProvider"] = x.get_serializer_provider();
1167011761 j["set"] = x.get_set();
@@ -11699,9 +11790,17 @@ namespace quicktype {
1169911790 j["unsafe"] = x.get_unsafe();
1170011791 j["ushort"] = x.get_ushort();
1170111792 j["Utf8JsonReader"] = x.get_utf8_json_reader();
11702- j["Utf8JsonWriter"] = x.get_utf8_json_writer();
11703- j["UUID"] = x.get_uuid();
11704- j["var"] = x.get_var();
11793+ }
11794+
11795+ inline void from_json(const json & j, Virtual& x) {
11796+ if (!j.is_object()) throw std::runtime_error("Expected object");
11797+ if (j.find("virtual") != j.end() && !j.at("virtual").is_number_integer()) throw std::runtime_error("Expected integer");
11798+ x.set_virtual_virtual(j.at("virtual").get<int64_t>());
11799+ }
11800+
11801+ inline void to_json(json & j, const Virtual & x) {
11802+ j = json::object();
11803+ j["virtual"] = x.get_virtual_virtual();
1170511804 }
1170611805
1170711806 inline void from_json(const json & j, Void& x) {
@@ -11770,6 +11869,39 @@ namespace quicktype {
1177011869 j["xor_eq"] = x.get_xor_eq_xor_eq();
1177111870 }
1177211871
11872+ inline void from_json(const json & j, Utf8JsonWriter& x) {
11873+ if (!j.is_object()) throw std::runtime_error("Expected object");
11874+ if (j.find("Utf8JsonWriter") != j.end() && !j.at("Utf8JsonWriter").is_number_integer()) throw std::runtime_error("Expected integer");
11875+ x.set_utf8_json_writer(j.at("Utf8JsonWriter").get<int64_t>());
11876+ }
11877+
11878+ inline void to_json(json & j, const Utf8JsonWriter & x) {
11879+ j = json::object();
11880+ j["Utf8JsonWriter"] = x.get_utf8_json_writer();
11881+ }
11882+
11883+ inline void from_json(const json & j, Uuid& x) {
11884+ if (!j.is_object()) throw std::runtime_error("Expected object");
11885+ if (j.find("UUID") != j.end() && !j.at("UUID").is_number_integer()) throw std::runtime_error("Expected integer");
11886+ x.set_uuid(j.at("UUID").get<int64_t>());
11887+ }
11888+
11889+ inline void to_json(json & j, const Uuid & x) {
11890+ j = json::object();
11891+ j["UUID"] = x.get_uuid();
11892+ }
11893+
11894+ inline void from_json(const json & j, Var& x) {
11895+ if (!j.is_object()) throw std::runtime_error("Expected object");
11896+ if (j.find("var") != j.end() && !j.at("var").is_number_integer()) throw std::runtime_error("Expected integer");
11897+ x.set_var(j.at("var").get<int64_t>());
11898+ }
11899+
11900+ inline void to_json(json & j, const Var & x) {
11901+ j = json::object();
11902+ j["var"] = x.get_var();
11903+ }
11904+
1177311905 inline void from_json(const json & j, Weak& x) {
1177411906 if (!j.is_object()) throw std::runtime_error("Expected object");
1177511907 if (j.find("weak") != j.end() && !j.at("weak").is_number_integer()) throw std::runtime_error("Expected integer");
@@ -11840,12 +11972,16 @@ namespace quicktype {
1184011972 if (!j.is_object()) throw std::runtime_error("Expected object");
1184111973 if (j.find("dummy") != j.end() && !j.at("dummy").is_number_integer()) throw std::runtime_error("Expected integer");
1184211974 x.set_dummy(j.at("dummy").get<int64_t>());
11975+ x.set_obj6_virtual(j.at("virtual").get<Virtual>());
1184311976 x.set_obj6_void(j.at("void").get<Void>());
1184411977 x.set_obj6_volatile(j.at("volatile").get<Volatile>());
1184511978 x.set_obj6_wchar_t(j.at("wchar_t").get<WcharT>());
1184611979 x.set_obj6_while(j.at("while").get<While>());
1184711980 x.set_obj6_xor(j.at("xor").get<Xor>());
1184811981 x.set_obj6_xor_eq(j.at("xor_eq").get<XorEq>());
11982+ x.set_utf8_json_writer(j.at("Utf8JsonWriter").get<Utf8JsonWriter>());
11983+ x.set_uuid(j.at("UUID").get<Uuid>());
11984+ x.set_var(j.at("var").get<Var>());
1184911985 x.set_weak(j.at("weak").get<Weak>());
1185011986 x.set_where(j.at("where").get<Where>());
1185111987 x.set_will_set(j.at("willSet").get<WillSet>());
@@ -11857,12 +11993,16 @@ namespace quicktype {
1185711993 inline void to_json(json & j, const Obj6 & x) {
1185811994 j = json::object();
1185911995 j["dummy"] = x.get_dummy();
11996+ j["virtual"] = x.get_obj6_virtual();
1186011997 j["void"] = x.get_obj6_void();
1186111998 j["volatile"] = x.get_obj6_volatile();
1186211999 j["wchar_t"] = x.get_obj6_wchar_t();
1186312000 j["while"] = x.get_obj6_while();
1186412001 j["xor"] = x.get_obj6_xor();
1186512002 j["xor_eq"] = x.get_obj6_xor_eq();
12003+ j["Utf8JsonWriter"] = x.get_utf8_json_writer();
12004+ j["UUID"] = x.get_uuid();
12005+ j["var"] = x.get_var();
1186612006 j["weak"] = x.get_weak();
1186712007 j["where"] = x.get_where();
1186812008 j["willSet"] = x.get_will_set();
Mcrystaldefault / TopLevel.cr+118 −78
@@ -622,6 +622,9 @@ class Obj2
622622
623623 property delete : Delete
624624
625+ @[JSON::Field(key: "DeserializationFeature")]
626+ property deserialization_feature : DeserializationFeature
627+
625628 property dict : Dict
626629
627630 property dictionary : Dictionary
@@ -704,8 +707,6 @@ class Obj2
704707
705708 property go : Go
706709
707- property goto : Goto
708-
709710 @[JSON::Field(key: "def")]
710711 property obj2_def : Def
711712
@@ -849,6 +850,13 @@ class Delete
849850 property delete : Int64
850851 end
851852
853+class DeserializationFeature
854+ include JSON::Serializable
855+
856+ @[JSON::Field(key: "DeserializationFeature")]
857+ property deserialization_feature : Int64
858+end
859+
852860 class Dict
853861 include JSON::Serializable
854862
@@ -1077,12 +1085,6 @@ class Go
10771085 property go : Int64
10781086 end
10791087
1080-class Goto
1081- include JSON::Serializable
1082-
1083- property goto : Int64
1084-end
1085-
10861088 class Def
10871089 include JSON::Serializable
10881090
@@ -1137,6 +1139,8 @@ class Obj3
11371139
11381140 property dummy : Int64
11391141
1142+ property goto : Goto
1143+
11401144 property guard : Guard
11411145
11421146 @[JSON::Field(key: "hasOwnProperty")]
@@ -1275,8 +1279,6 @@ class Obj3
12751279 @[JSON::Field(key: "NO")]
12761280 property no : No
12771281
1278- property noexcept : Noexcept
1279-
12801282 @[JSON::Field(key: "if")]
12811283 property obj3_if : If
12821284
@@ -1290,6 +1292,12 @@ class Obj3
12901292 property obj3_nil : NilClass
12911293 end
12921294
1295+class Goto
1296+ include JSON::Serializable
1297+
1298+ property goto : Int64
1299+end
1300+
12931301 class Guard
12941302 include JSON::Serializable
12951303
@@ -1664,12 +1672,6 @@ class No
16641672 property no : Int64
16651673 end
16661674
1667-class Noexcept
1668- include JSON::Serializable
1669-
1670- property noexcept : Int64
1671-end
1672-
16731675 class If
16741676 include JSON::Serializable
16751677
@@ -1706,6 +1708,8 @@ class Obj4
17061708 @[JSON::Field(key: "noSuchMethod")]
17071709 property no_such_method : NoSuchMethod
17081710
1711+ property noexcept : Noexcept
1712+
17091713 property nonatomic : Nonatomic
17101714
17111715 @[JSON::Field(key: "None")]
@@ -1762,14 +1766,17 @@ class Obj4
17621766 @[JSON::Field(key: "return")]
17631767 property obj4_return : Return
17641768
1765- @[JSON::Field(key: "select")]
1766- property obj4_select : Select
1767-
17681769 property object : ObjectClass
17691770
17701771 @[JSON::Field(key: "ObjectMapper")]
17711772 property object_mapper : ObjectMapper
17721773
1774+ @[JSON::Field(key: "ObjectReader")]
1775+ property object_reader : ObjectReader
1776+
1777+ @[JSON::Field(key: "ObjectWriter")]
1778+ property object_writer : ObjectWriter
1779+
17731780 property oneway : Oneway
17741781
17751782 property open : Open
@@ -1847,11 +1854,6 @@ class Obj4
18471854 property s : S
18481855
18491856 property sbyte : Sbyte
1850-
1851- property sealed : Sealed
1852-
1853- @[JSON::Field(key: "SEL")]
1854- property sel : Sel
18551857 end
18561858
18571859 class NoSuchMethod
@@ -1861,6 +1863,12 @@ class NoSuchMethod
18611863 property no_such_method : Int64
18621864 end
18631865
1866+class Noexcept
1867+ include JSON::Serializable
1868+
1869+ property noexcept : Int64
1870+end
1871+
18641872 class Nonatomic
18651873 include JSON::Serializable
18661874
@@ -1998,13 +2006,6 @@ class Return
19982006 property return_return : Int64
19992007 end
20002008
2001-class Select
2002- include JSON::Serializable
2003-
2004- @[JSON::Field(key: "select")]
2005- property select_select : Int64
2006-end
2007-
20082009 class ObjectClass
20092010 include JSON::Serializable
20102011
@@ -2018,6 +2019,20 @@ class ObjectMapper
20182019 property object_mapper : Int64
20192020 end
20202021
2022+class ObjectReader
2023+ include JSON::Serializable
2024+
2025+ @[JSON::Field(key: "ObjectReader")]
2026+ property object_reader : Int64
2027+end
2028+
2029+class ObjectWriter
2030+ include JSON::Serializable
2031+
2032+ @[JSON::Field(key: "ObjectWriter")]
2033+ property object_writer : Int64
2034+end
2035+
20212036 class Oneway
20222037 include JSON::Serializable
20232038
@@ -2244,24 +2259,14 @@ class Sbyte
22442259 property sbyte : Int64
22452260 end
22462261
2247-class Sealed
2248- include JSON::Serializable
2249-
2250- property sealed : Int64
2251-end
2252-
2253-class Sel
2254- include JSON::Serializable
2255-
2256- @[JSON::Field(key: "SEL")]
2257- property sel : Int64
2258-end
2259-
22602262 class Obj5
22612263 include JSON::Serializable
22622264
22632265 property dummy : Int64
22642266
2267+ @[JSON::Field(key: "select")]
2268+ property obj5_select : Select
2269+
22652270 @[JSON::Field(key: "Self")]
22662271 property obj5_self : Self
22672272
@@ -2301,9 +2306,17 @@ class Obj5
23012306 @[JSON::Field(key: "type")]
23022307 property purple_type : TypeClass
23032308
2309+ property sealed : Sealed
2310+
2311+ @[JSON::Field(key: "SEL")]
2312+ property sel : Sel
2313+
23042314 @[JSON::Field(key: "Sendable")]
23052315 property sendable : Sendable
23062316
2317+ @[JSON::Field(key: "SerializationFeature")]
2318+ property serialization_feature : SerializationFeature
2319+
23072320 property serialize : Serialize
23082321
23092322 @[JSON::Field(key: "SerializerProvider")]
@@ -2405,16 +2418,13 @@ class Obj5
24052418
24062419 @[JSON::Field(key: "Utf8JsonReader")]
24072420 property utf8_json_reader : Utf8JsonReader
2421+end
24082422
2409- @[JSON::Field(key: "Utf8JsonWriter")]
2410- property utf8_json_writer : Utf8JsonWriter
2411-
2412- @[JSON::Field(key: "UUID")]
2413- property uuid : Uuid
2414-
2415- property var : Var
2423+class Select
2424+ include JSON::Serializable
24162425
2417- property virtual : Virtual
2426+ @[JSON::Field(key: "select")]
2427+ property select_select : Int64
24182428 end
24192429
24202430 class Self
@@ -2508,6 +2518,19 @@ class TypeClass
25082518 property type_type : Int64
25092519 end
25102520
2521+class Sealed
2522+ include JSON::Serializable
2523+
2524+ property sealed : Int64
2525+end
2526+
2527+class Sel
2528+ include JSON::Serializable
2529+
2530+ @[JSON::Field(key: "SEL")]
2531+ property sel : Int64
2532+end
2533+
25112534 class Sendable
25122535 include JSON::Serializable
25132536
@@ -2515,6 +2538,13 @@ class Sendable
25152538 property sendable : Int64
25162539 end
25172540
2541+class SerializationFeature
2542+ include JSON::Serializable
2543+
2544+ @[JSON::Field(key: "SerializationFeature")]
2545+ property serialization_feature : Int64
2546+end
2547+
25182548 class Serialize
25192549 include JSON::Serializable
25202550
@@ -2801,32 +2831,6 @@ class Utf8JsonReader
28012831 property utf8_json_reader : Int64
28022832 end
28032833
2804-class Utf8JsonWriter
2805- include JSON::Serializable
2806-
2807- @[JSON::Field(key: "Utf8JsonWriter")]
2808- property utf8_json_writer : Int64
2809-end
2810-
2811-class Uuid
2812- include JSON::Serializable
2813-
2814- @[JSON::Field(key: "UUID")]
2815- property uuid : Int64
2816-end
2817-
2818-class Var
2819- include JSON::Serializable
2820-
2821- property var : Int64
2822-end
2823-
2824-class Virtual
2825- include JSON::Serializable
2826-
2827- property virtual : Int64
2828-end
2829-
28302834 class Obj6
28312835 include JSON::Serializable
28322836
@@ -2841,6 +2845,16 @@ class Obj6
28412845 @[JSON::Field(key: "yield")]
28422846 property obj6_yield : Yield
28432847
2848+ @[JSON::Field(key: "Utf8JsonWriter")]
2849+ property utf8_json_writer : Utf8JsonWriter
2850+
2851+ @[JSON::Field(key: "UUID")]
2852+ property uuid : Uuid
2853+
2854+ property var : Var
2855+
2856+ property virtual : Virtual
2857+
28442858 property void : VoidClass
28452859
28462860 property volatile : Volatile
@@ -2883,6 +2897,32 @@ class Yield
28832897 property yield_yield : Int64
28842898 end
28852899
2900+class Utf8JsonWriter
2901+ include JSON::Serializable
2902+
2903+ @[JSON::Field(key: "Utf8JsonWriter")]
2904+ property utf8_json_writer : Int64
2905+end
2906+
2907+class Uuid
2908+ include JSON::Serializable
2909+
2910+ @[JSON::Field(key: "UUID")]
2911+ property uuid : Int64
2912+end
2913+
2914+class Var
2915+ include JSON::Serializable
2916+
2917+ property var : Int64
2918+end
2919+
2920+class Virtual
2921+ include JSON::Serializable
2922+
2923+ property virtual : Int64
2924+end
2925+
28862926 class VoidClass
28872927 include JSON::Serializable
Mcsharp-recordsdefault / QuickType.cs+112 −76
@@ -691,6 +691,9 @@ namespace QuickType
691691 [JsonProperty("delete", Required = Required.Always)]
692692 public Delete Delete { get; set; }
693693
694+ [JsonProperty("DeserializationFeature", Required = Required.Always)]
695+ public DeserializationFeature DeserializationFeature { get; set; }
696+
694697 [JsonProperty("dict", Required = Required.Always)]
695698 public Dict Dict { get; set; }
696699
@@ -814,9 +817,6 @@ namespace QuickType
814817 [JsonProperty("go", Required = Required.Always)]
815818 public Go Go { get; set; }
816819
817- [JsonProperty("goto", Required = Required.Always)]
818- public Goto Goto { get; set; }
819-
820820 [JsonProperty("equalityContract", Required = Required.Always)]
821821 public EqualityContractClass Obj2EqualityContract { get; set; }
822822
@@ -947,6 +947,12 @@ namespace QuickType
947947 public long DeleteDelete { get; set; }
948948 }
949949
950+ public partial record DeserializationFeature
951+ {
952+ [JsonProperty("DeserializationFeature", Required = Required.Always)]
953+ public long DeserializationFeatureDeserializationFeature { get; set; }
954+ }
955+
950956 public partial record Dict
951957 {
952958 [JsonProperty("dict", Required = Required.Always)]
@@ -1187,12 +1193,6 @@ namespace QuickType
11871193 public long GoGo { get; set; }
11881194 }
11891195
1190- public partial record Goto
1191- {
1192- [JsonProperty("goto", Required = Required.Always)]
1193- public long GotoGoto { get; set; }
1194- }
1195-
11961196 public partial record EqualityContractClass
11971197 {
11981198 [JsonProperty("equalityContract", Required = Required.Always)]
@@ -1216,6 +1216,9 @@ namespace QuickType
12161216 [JsonProperty("dummy", Required = Required.Always)]
12171217 public long Dummy { get; set; }
12181218
1219+ [JsonProperty("goto", Required = Required.Always)]
1220+ public Goto Goto { get; set; }
1221+
12191222 [JsonProperty("guard", Required = Required.Always)]
12201223 public Guard Guard { get; set; }
12211224
@@ -1404,9 +1407,12 @@ namespace QuickType
14041407
14051408 [JsonProperty("NO", Required = Required.Always)]
14061409 public No No { get; set; }
1410+ }
14071411
1408- [JsonProperty("noexcept", Required = Required.Always)]
1409- public Noexcept Noexcept { get; set; }
1412+ public partial record Goto
1413+ {
1414+ [JsonProperty("goto", Required = Required.Always)]
1415+ public long GotoGoto { get; set; }
14101416 }
14111417
14121418 public partial record Guard
@@ -1787,12 +1793,6 @@ namespace QuickType
17871793 public long NoNo { get; set; }
17881794 }
17891795
1790- public partial record Noexcept
1791- {
1792- [JsonProperty("noexcept", Required = Required.Always)]
1793- public long NoexceptNoexcept { get; set; }
1794- }
1795-
17961796 public partial record Obj4
17971797 {
17981798 [JsonProperty("dummy", Required = Required.Always)]
@@ -1801,6 +1801,9 @@ namespace QuickType
18011801 [JsonProperty("noSuchMethod", Required = Required.Always)]
18021802 public NoSuchMethod NoSuchMethod { get; set; }
18031803
1804+ [JsonProperty("noexcept", Required = Required.Always)]
1805+ public Noexcept Noexcept { get; set; }
1806+
18041807 [JsonProperty("nonatomic", Required = Required.Always)]
18051808 public Nonatomic Nonatomic { get; set; }
18061809
@@ -1858,6 +1861,12 @@ namespace QuickType
18581861 [JsonProperty("ObjectMapper", Required = Required.Always)]
18591862 public ObjectMapper ObjectMapper { get; set; }
18601863
1864+ [JsonProperty("ObjectReader", Required = Required.Always)]
1865+ public ObjectReader ObjectReader { get; set; }
1866+
1867+ [JsonProperty("ObjectWriter", Required = Required.Always)]
1868+ public ObjectWriter ObjectWriter { get; set; }
1869+
18611870 [JsonProperty("of", Required = Required.Always)]
18621871 public Of Of { get; set; }
18631872
@@ -1980,15 +1989,6 @@ namespace QuickType
19801989
19811990 [JsonProperty("sbyte", Required = Required.Always)]
19821991 public Sbyte Sbyte { get; set; }
1983-
1984- [JsonProperty("sealed", Required = Required.Always)]
1985- public Sealed Sealed { get; set; }
1986-
1987- [JsonProperty("SEL", Required = Required.Always)]
1988- public Sel Sel { get; set; }
1989-
1990- [JsonProperty("select", Required = Required.Always)]
1991- public Select Select { get; set; }
19921992 }
19931993
19941994 public partial record NoSuchMethod
@@ -1997,6 +1997,12 @@ namespace QuickType
19971997 public long NoSuchMethodNoSuchMethod { get; set; }
19981998 }
19991999
2000+ public partial record Noexcept
2001+ {
2002+ [JsonProperty("noexcept", Required = Required.Always)]
2003+ public long NoexceptNoexcept { get; set; }
2004+ }
2005+
20002006 public partial record Nonatomic
20012007 {
20022008 [JsonProperty("nonatomic", Required = Required.Always)]
@@ -2111,6 +2117,18 @@ namespace QuickType
21112117 public long ObjectMapperObjectMapper { get; set; }
21122118 }
21132119
2120+ public partial record ObjectReader
2121+ {
2122+ [JsonProperty("ObjectReader", Required = Required.Always)]
2123+ public long ObjectReaderObjectReader { get; set; }
2124+ }
2125+
2126+ public partial record ObjectWriter
2127+ {
2128+ [JsonProperty("ObjectWriter", Required = Required.Always)]
2129+ public long ObjectWriterObjectWriter { get; set; }
2130+ }
2131+
21142132 public partial record Of
21152133 {
21162134 [JsonProperty("of", Required = Required.Always)]
@@ -2357,24 +2375,6 @@ namespace QuickType
23572375 public long SbyteSbyte { get; set; }
23582376 }
23592377
2360- public partial record Sealed
2361- {
2362- [JsonProperty("sealed", Required = Required.Always)]
2363- public long SealedSealed { get; set; }
2364- }
2365-
2366- public partial record Sel
2367- {
2368- [JsonProperty("SEL", Required = Required.Always)]
2369- public long SelSel { get; set; }
2370- }
2371-
2372- public partial record Select
2373- {
2374- [JsonProperty("select", Required = Required.Always)]
2375- public long SelectSelect { get; set; }
2376- }
2377-
23782378 public partial record Obj5
23792379 {
23802380 [JsonProperty("dummy", Required = Required.Always)]
@@ -2395,12 +2395,24 @@ namespace QuickType
23952395 [JsonProperty("type", Required = Required.Always)]
23962396 public Obj5Type Obj5Type { get; set; }
23972397
2398+ [JsonProperty("sealed", Required = Required.Always)]
2399+ public Sealed Sealed { get; set; }
2400+
2401+ [JsonProperty("SEL", Required = Required.Always)]
2402+ public Sel Sel { get; set; }
2403+
2404+ [JsonProperty("select", Required = Required.Always)]
2405+ public Select Select { get; set; }
2406+
23982407 [JsonProperty("Self", Required = Required.Always)]
23992408 public Self Self { get; set; }
24002409
24012410 [JsonProperty("Sendable", Required = Required.Always)]
24022411 public Sendable Sendable { get; set; }
24032412
2413+ [JsonProperty("SerializationFeature", Required = Required.Always)]
2414+ public SerializationFeature SerializationFeature { get; set; }
2415+
24042416 [JsonProperty("serialize", Required = Required.Always)]
24052417 public SerializeClass Serialize { get; set; }
24062418
@@ -2559,18 +2571,6 @@ namespace QuickType
25592571
25602572 [JsonProperty("Utf8JsonReader", Required = Required.Always)]
25612573 public Utf8JsonReader Utf8JsonReader { get; set; }
2562-
2563- [JsonProperty("Utf8JsonWriter", Required = Required.Always)]
2564- public Utf8JsonWriter Utf8JsonWriter { get; set; }
2565-
2566- [JsonProperty("UUID", Required = Required.Always)]
2567- public Uuid Uuid { get; set; }
2568-
2569- [JsonProperty("var", Required = Required.Always)]
2570- public Var Var { get; set; }
2571-
2572- [JsonProperty("virtual", Required = Required.Always)]
2573- public Virtual Virtual { get; set; }
25742574 }
25752575
25762576 public partial record SelfClass
@@ -2603,6 +2603,24 @@ namespace QuickType
26032603 public long Type { get; set; }
26042604 }
26052605
2606+ public partial record Sealed
2607+ {
2608+ [JsonProperty("sealed", Required = Required.Always)]
2609+ public long SealedSealed { get; set; }
2610+ }
2611+
2612+ public partial record Sel
2613+ {
2614+ [JsonProperty("SEL", Required = Required.Always)]
2615+ public long SelSel { get; set; }
2616+ }
2617+
2618+ public partial record Select
2619+ {
2620+ [JsonProperty("select", Required = Required.Always)]
2621+ public long SelectSelect { get; set; }
2622+ }
2623+
26062624 public partial record Self
26072625 {
26082626 [JsonProperty("Self", Required = Required.Always)]
@@ -2615,6 +2633,12 @@ namespace QuickType
26152633 public long SendableSendable { get; set; }
26162634 }
26172635
2636+ public partial record SerializationFeature
2637+ {
2638+ [JsonProperty("SerializationFeature", Required = Required.Always)]
2639+ public long SerializationFeatureSerializationFeature { get; set; }
2640+ }
2641+
26182642 public partial record SerializeClass
26192643 {
26202644 [JsonProperty("serialize", Required = Required.Always)]
@@ -2933,34 +2957,22 @@ namespace QuickType
29332957 public long Utf8JsonReaderUtf8JsonReader { get; set; }
29342958 }
29352959
2936- public partial record Utf8JsonWriter
2960+ public partial record Obj6
29372961 {
2962+ [JsonProperty("dummy", Required = Required.Always)]
2963+ public long Dummy { get; set; }
2964+
29382965 [JsonProperty("Utf8JsonWriter", Required = Required.Always)]
2939- public long Utf8JsonWriterUtf8JsonWriter { get; set; }
2940- }
2966+ public Utf8JsonWriter Utf8JsonWriter { get; set; }
29412967
2942- public partial record Uuid
2943- {
29442968 [JsonProperty("UUID", Required = Required.Always)]
2945- public long UuidUuid { get; set; }
2946- }
2969+ public Uuid Uuid { get; set; }
29472970
2948- public partial record Var
2949- {
29502971 [JsonProperty("var", Required = Required.Always)]
2951- public long VarVar { get; set; }
2952- }
2972+ public Var Var { get; set; }
29532973
2954- public partial record Virtual
2955- {
29562974 [JsonProperty("virtual", Required = Required.Always)]
2957- public long VirtualVirtual { get; set; }
2958- }
2959-
2960- public partial record Obj6
2961- {
2962- [JsonProperty("dummy", Required = Required.Always)]
2963- public long Dummy { get; set; }
2975+ public Virtual Virtual { get; set; }
29642976
29652977 [JsonProperty("void", Required = Required.Always)]
29662978 public Void Void { get; set; }
@@ -2999,6 +3011,30 @@ namespace QuickType
29993011 public Yield Yield { get; set; }
30003012 }
30013013
3014+ public partial record Utf8JsonWriter
3015+ {
3016+ [JsonProperty("Utf8JsonWriter", Required = Required.Always)]
3017+ public long Utf8JsonWriterUtf8JsonWriter { get; set; }
3018+ }
3019+
3020+ public partial record Uuid
3021+ {
3022+ [JsonProperty("UUID", Required = Required.Always)]
3023+ public long UuidUuid { get; set; }
3024+ }
3025+
3026+ public partial record Var
3027+ {
3028+ [JsonProperty("var", Required = Required.Always)]
3029+ public long VarVar { get; set; }
3030+ }
3031+
3032+ public partial record Virtual
3033+ {
3034+ [JsonProperty("virtual", Required = Required.Always)]
3035+ public long VirtualVirtual { get; set; }
3036+ }
3037+
30023038 public partial record Void
30033039 {
30043040 [JsonProperty("void", Required = Required.Always)]
Mcsharp-SystemTextJsondefault / QuickType.cs+134 −90
@@ -844,6 +844,10 @@ namespace QuickType
844844 [JsonPropertyName("delete")]
845845 public Delete Delete { get; set; }
846846
847+ [JsonRequired]
848+ [JsonPropertyName("DeserializationFeature")]
849+ public DeserializationFeature DeserializationFeature { get; set; }
850+
847851 [JsonRequired]
848852 [JsonPropertyName("dict")]
849853 public Dict Dict { get; set; }
@@ -1012,10 +1016,6 @@ namespace QuickType
10121016 [JsonPropertyName("go")]
10131017 public Go Go { get; set; }
10141018
1015- [JsonRequired]
1016- [JsonPropertyName("goto")]
1017- public Goto Goto { get; set; }
1018-
10191019 [JsonRequired]
10201020 [JsonPropertyName("false")]
10211021 public FalseClass Obj2False { get; set; }
@@ -1165,6 +1165,13 @@ namespace QuickType
11651165 public long DeleteDelete { get; set; }
11661166 }
11671167
1168+ public partial class DeserializationFeature
1169+ {
1170+ [JsonRequired]
1171+ [JsonPropertyName("DeserializationFeature")]
1172+ public long DeserializationFeatureDeserializationFeature { get; set; }
1173+ }
1174+
11681175 public partial class Dict
11691176 {
11701177 [JsonRequired]
@@ -1452,13 +1459,6 @@ namespace QuickType
14521459 public long GoGo { get; set; }
14531460 }
14541461
1455- public partial class Goto
1456- {
1457- [JsonRequired]
1458- [JsonPropertyName("goto")]
1459- public long GotoGoto { get; set; }
1460- }
1461-
14621462 public partial class FalseClass
14631463 {
14641464 [JsonRequired]
@@ -1479,6 +1479,10 @@ namespace QuickType
14791479 [JsonPropertyName("dummy")]
14801480 public long Dummy { get; set; }
14811481
1482+ [JsonRequired]
1483+ [JsonPropertyName("goto")]
1484+ public Goto Goto { get; set; }
1485+
14821486 [JsonRequired]
14831487 [JsonPropertyName("guard")]
14841488 public Guard Guard { get; set; }
@@ -1730,10 +1734,13 @@ namespace QuickType
17301734 [JsonRequired]
17311735 [JsonPropertyName("NO")]
17321736 public No No { get; set; }
1737+ }
17331738
1739+ public partial class Goto
1740+ {
17341741 [JsonRequired]
1735- [JsonPropertyName("noexcept")]
1736- public Noexcept Noexcept { get; set; }
1742+ [JsonPropertyName("goto")]
1743+ public long GotoGoto { get; set; }
17371744 }
17381745
17391746 public partial class Guard
@@ -2177,13 +2184,6 @@ namespace QuickType
21772184 public long NoNo { get; set; }
21782185 }
21792186
2180- public partial class Noexcept
2181- {
2182- [JsonRequired]
2183- [JsonPropertyName("noexcept")]
2184- public long NoexceptNoexcept { get; set; }
2185- }
2186-
21872187 public partial class Obj4
21882188 {
21892189 [JsonRequired]
@@ -2194,6 +2194,10 @@ namespace QuickType
21942194 [JsonPropertyName("noSuchMethod")]
21952195 public NoSuchMethod NoSuchMethod { get; set; }
21962196
2197+ [JsonRequired]
2198+ [JsonPropertyName("noexcept")]
2199+ public Noexcept Noexcept { get; set; }
2200+
21972201 [JsonRequired]
21982202 [JsonPropertyName("nonatomic")]
21992203 public Nonatomic Nonatomic { get; set; }
@@ -2266,6 +2270,14 @@ namespace QuickType
22662270 [JsonPropertyName("ObjectMapper")]
22672271 public ObjectMapper ObjectMapper { get; set; }
22682272
2273+ [JsonRequired]
2274+ [JsonPropertyName("ObjectReader")]
2275+ public ObjectReader ObjectReader { get; set; }
2276+
2277+ [JsonRequired]
2278+ [JsonPropertyName("ObjectWriter")]
2279+ public ObjectWriter ObjectWriter { get; set; }
2280+
22692281 [JsonRequired]
22702282 [JsonPropertyName("of")]
22712283 public Of Of { get; set; }
@@ -2433,18 +2445,6 @@ namespace QuickType
24332445 [JsonRequired]
24342446 [JsonPropertyName("sbyte")]
24352447 public Sbyte Sbyte { get; set; }
2436-
2437- [JsonRequired]
2438- [JsonPropertyName("sealed")]
2439- public Sealed Sealed { get; set; }
2440-
2441- [JsonRequired]
2442- [JsonPropertyName("SEL")]
2443- public Sel Sel { get; set; }
2444-
2445- [JsonRequired]
2446- [JsonPropertyName("select")]
2447- public Select Select { get; set; }
24482448 }
24492449
24502450 public partial class NoSuchMethod
@@ -2454,6 +2454,13 @@ namespace QuickType
24542454 public long NoSuchMethodNoSuchMethod { get; set; }
24552455 }
24562456
2457+ public partial class Noexcept
2458+ {
2459+ [JsonRequired]
2460+ [JsonPropertyName("noexcept")]
2461+ public long NoexceptNoexcept { get; set; }
2462+ }
2463+
24572464 public partial class Nonatomic
24582465 {
24592466 [JsonRequired]
@@ -2580,6 +2587,20 @@ namespace QuickType
25802587 public long ObjectMapperObjectMapper { get; set; }
25812588 }
25822589
2590+ public partial class ObjectReader
2591+ {
2592+ [JsonRequired]
2593+ [JsonPropertyName("ObjectReader")]
2594+ public long ObjectReaderObjectReader { get; set; }
2595+ }
2596+
2597+ public partial class ObjectWriter
2598+ {
2599+ [JsonRequired]
2600+ [JsonPropertyName("ObjectWriter")]
2601+ public long ObjectWriterObjectWriter { get; set; }
2602+ }
2603+
25832604 public partial class Of
25842605 {
25852606 [JsonRequired]
@@ -2874,27 +2895,6 @@ namespace QuickType
28742895 public long SbyteSbyte { get; set; }
28752896 }
28762897
2877- public partial class Sealed
2878- {
2879- [JsonRequired]
2880- [JsonPropertyName("sealed")]
2881- public long SealedSealed { get; set; }
2882- }
2883-
2884- public partial class Sel
2885- {
2886- [JsonRequired]
2887- [JsonPropertyName("SEL")]
2888- public long SelSel { get; set; }
2889- }
2890-
2891- public partial class Select
2892- {
2893- [JsonRequired]
2894- [JsonPropertyName("select")]
2895- public long SelectSelect { get; set; }
2896- }
2897-
28982898 public partial class Obj5
28992899 {
29002900 [JsonRequired]
@@ -2921,6 +2921,18 @@ namespace QuickType
29212921 [JsonPropertyName("type")]
29222922 public Obj5Type Obj5Type { get; set; }
29232923
2924+ [JsonRequired]
2925+ [JsonPropertyName("sealed")]
2926+ public Sealed Sealed { get; set; }
2927+
2928+ [JsonRequired]
2929+ [JsonPropertyName("SEL")]
2930+ public Sel Sel { get; set; }
2931+
2932+ [JsonRequired]
2933+ [JsonPropertyName("select")]
2934+ public Select Select { get; set; }
2935+
29242936 [JsonRequired]
29252937 [JsonPropertyName("Self")]
29262938 public Self Self { get; set; }
@@ -2929,6 +2941,10 @@ namespace QuickType
29292941 [JsonPropertyName("Sendable")]
29302942 public Sendable Sendable { get; set; }
29312943
2944+ [JsonRequired]
2945+ [JsonPropertyName("SerializationFeature")]
2946+ public SerializationFeature SerializationFeature { get; set; }
2947+
29322948 [JsonRequired]
29332949 [JsonPropertyName("serialize")]
29342950 public SerializeClass Serialize { get; set; }
@@ -3140,22 +3156,6 @@ namespace QuickType
31403156 [JsonRequired]
31413157 [JsonPropertyName("Utf8JsonReader")]
31423158 public Utf8JsonReaderClass Utf8JsonReader { get; set; }
3143-
3144- [JsonRequired]
3145- [JsonPropertyName("Utf8JsonWriter")]
3146- public Utf8JsonWriterClass Utf8JsonWriter { get; set; }
3147-
3148- [JsonRequired]
3149- [JsonPropertyName("UUID")]
3150- public Uuid Uuid { get; set; }
3151-
3152- [JsonRequired]
3153- [JsonPropertyName("var")]
3154- public Var Var { get; set; }
3155-
3156- [JsonRequired]
3157- [JsonPropertyName("virtual")]
3158- public Virtual Virtual { get; set; }
31593159 }
31603160
31613161 public partial class SelfClass
@@ -3193,6 +3193,27 @@ namespace QuickType
31933193 public long Type { get; set; }
31943194 }
31953195
3196+ public partial class Sealed
3197+ {
3198+ [JsonRequired]
3199+ [JsonPropertyName("sealed")]
3200+ public long SealedSealed { get; set; }
3201+ }
3202+
3203+ public partial class Sel
3204+ {
3205+ [JsonRequired]
3206+ [JsonPropertyName("SEL")]
3207+ public long SelSel { get; set; }
3208+ }
3209+
3210+ public partial class Select
3211+ {
3212+ [JsonRequired]
3213+ [JsonPropertyName("select")]
3214+ public long SelectSelect { get; set; }
3215+ }
3216+
31963217 public partial class Self
31973218 {
31983219 [JsonRequired]
@@ -3207,6 +3228,13 @@ namespace QuickType
32073228 public long SendableSendable { get; set; }
32083229 }
32093230
3231+ public partial class SerializationFeature
3232+ {
3233+ [JsonRequired]
3234+ [JsonPropertyName("SerializationFeature")]
3235+ public long SerializationFeatureSerializationFeature { get; set; }
3236+ }
3237+
32103238 public partial class SerializeClass
32113239 {
32123240 [JsonRequired]
@@ -3578,39 +3606,27 @@ namespace QuickType
35783606 public long Utf8JsonReader { get; set; }
35793607 }
35803608
3581- public partial class Utf8JsonWriterClass
3609+ public partial class Obj6
35823610 {
3611+ [JsonRequired]
3612+ [JsonPropertyName("dummy")]
3613+ public long Dummy { get; set; }
3614+
35833615 [JsonRequired]
35843616 [JsonPropertyName("Utf8JsonWriter")]
3585- public long Utf8JsonWriter { get; set; }
3586- }
3617+ public Utf8JsonWriterClass Utf8JsonWriter { get; set; }
35873618
3588- public partial class Uuid
3589- {
35903619 [JsonRequired]
35913620 [JsonPropertyName("UUID")]
3592- public long UuidUuid { get; set; }
3593- }
3621+ public Uuid Uuid { get; set; }
35943622
3595- public partial class Var
3596- {
35973623 [JsonRequired]
35983624 [JsonPropertyName("var")]
3599- public long VarVar { get; set; }
3600- }
3625+ public Var Var { get; set; }
36013626
3602- public partial class Virtual
3603- {
36043627 [JsonRequired]
36053628 [JsonPropertyName("virtual")]
3606- public long VirtualVirtual { get; set; }
3607- }
3608-
3609- public partial class Obj6
3610- {
3611- [JsonRequired]
3612- [JsonPropertyName("dummy")]
3613- public long Dummy { get; set; }
3629+ public Virtual Virtual { get; set; }
36143630
36153631 [JsonRequired]
36163632 [JsonPropertyName("void")]
@@ -3661,6 +3677,34 @@ namespace QuickType
36613677 public Yield Yield { get; set; }
36623678 }
36633679
3680+ public partial class Utf8JsonWriterClass
3681+ {
3682+ [JsonRequired]
3683+ [JsonPropertyName("Utf8JsonWriter")]
3684+ public long Utf8JsonWriter { get; set; }
3685+ }
3686+
3687+ public partial class Uuid
3688+ {
3689+ [JsonRequired]
3690+ [JsonPropertyName("UUID")]
3691+ public long UuidUuid { get; set; }
3692+ }
3693+
3694+ public partial class Var
3695+ {
3696+ [JsonRequired]
3697+ [JsonPropertyName("var")]
3698+ public long VarVar { get; set; }
3699+ }
3700+
3701+ public partial class Virtual
3702+ {
3703+ [JsonRequired]
3704+ [JsonPropertyName("virtual")]
3705+ public long VirtualVirtual { get; set; }
3706+ }
3707+
36643708 public partial class Void
36653709 {
36663710 [JsonRequired]
Mcsharpdefault / QuickType.cs+112 −76
@@ -691,6 +691,9 @@ namespace QuickType
691691 [JsonProperty("delete", Required = Required.Always)]
692692 public Delete Delete { get; set; }
693693
694+ [JsonProperty("DeserializationFeature", Required = Required.Always)]
695+ public DeserializationFeature DeserializationFeature { get; set; }
696+
694697 [JsonProperty("dict", Required = Required.Always)]
695698 public Dict Dict { get; set; }
696699
@@ -817,9 +820,6 @@ namespace QuickType
817820 [JsonProperty("go", Required = Required.Always)]
818821 public Go Go { get; set; }
819822
820- [JsonProperty("goto", Required = Required.Always)]
821- public Goto Goto { get; set; }
822-
823823 [JsonProperty("false", Required = Required.Always)]
824824 public FalseClass Obj2False { get; set; }
825825
@@ -947,6 +947,12 @@ namespace QuickType
947947 public long DeleteDelete { get; set; }
948948 }
949949
950+ public partial class DeserializationFeature
951+ {
952+ [JsonProperty("DeserializationFeature", Required = Required.Always)]
953+ public long DeserializationFeatureDeserializationFeature { get; set; }
954+ }
955+
950956 public partial class Dict
951957 {
952958 [JsonProperty("dict", Required = Required.Always)]
@@ -1193,12 +1199,6 @@ namespace QuickType
11931199 public long GoGo { get; set; }
11941200 }
11951201
1196- public partial class Goto
1197- {
1198- [JsonProperty("goto", Required = Required.Always)]
1199- public long GotoGoto { get; set; }
1200- }
1201-
12021202 public partial class FalseClass
12031203 {
12041204 [JsonProperty("false", Required = Required.Always)]
@@ -1216,6 +1216,9 @@ namespace QuickType
12161216 [JsonProperty("dummy", Required = Required.Always)]
12171217 public long Dummy { get; set; }
12181218
1219+ [JsonProperty("goto", Required = Required.Always)]
1220+ public Goto Goto { get; set; }
1221+
12191222 [JsonProperty("guard", Required = Required.Always)]
12201223 public Guard Guard { get; set; }
12211224
@@ -1404,9 +1407,12 @@ namespace QuickType
14041407
14051408 [JsonProperty("NO", Required = Required.Always)]
14061409 public No No { get; set; }
1410+ }
14071411
1408- [JsonProperty("noexcept", Required = Required.Always)]
1409- public Noexcept Noexcept { get; set; }
1412+ public partial class Goto
1413+ {
1414+ [JsonProperty("goto", Required = Required.Always)]
1415+ public long GotoGoto { get; set; }
14101416 }
14111417
14121418 public partial class Guard
@@ -1787,12 +1793,6 @@ namespace QuickType
17871793 public long NoNo { get; set; }
17881794 }
17891795
1790- public partial class Noexcept
1791- {
1792- [JsonProperty("noexcept", Required = Required.Always)]
1793- public long NoexceptNoexcept { get; set; }
1794- }
1795-
17961796 public partial class Obj4
17971797 {
17981798 [JsonProperty("dummy", Required = Required.Always)]
@@ -1801,6 +1801,9 @@ namespace QuickType
18011801 [JsonProperty("noSuchMethod", Required = Required.Always)]
18021802 public NoSuchMethod NoSuchMethod { get; set; }
18031803
1804+ [JsonProperty("noexcept", Required = Required.Always)]
1805+ public Noexcept Noexcept { get; set; }
1806+
18041807 [JsonProperty("nonatomic", Required = Required.Always)]
18051808 public Nonatomic Nonatomic { get; set; }
18061809
@@ -1855,6 +1858,12 @@ namespace QuickType
18551858 [JsonProperty("ObjectMapper", Required = Required.Always)]
18561859 public ObjectMapper ObjectMapper { get; set; }
18571860
1861+ [JsonProperty("ObjectReader", Required = Required.Always)]
1862+ public ObjectReader ObjectReader { get; set; }
1863+
1864+ [JsonProperty("ObjectWriter", Required = Required.Always)]
1865+ public ObjectWriter ObjectWriter { get; set; }
1866+
18581867 [JsonProperty("of", Required = Required.Always)]
18591868 public Of Of { get; set; }
18601869
@@ -1980,15 +1989,6 @@ namespace QuickType
19801989
19811990 [JsonProperty("sbyte", Required = Required.Always)]
19821991 public Sbyte Sbyte { get; set; }
1983-
1984- [JsonProperty("sealed", Required = Required.Always)]
1985- public Sealed Sealed { get; set; }
1986-
1987- [JsonProperty("SEL", Required = Required.Always)]
1988- public Sel Sel { get; set; }
1989-
1990- [JsonProperty("select", Required = Required.Always)]
1991- public Select Select { get; set; }
19921992 }
19931993
19941994 public partial class NoSuchMethod
@@ -1997,6 +1997,12 @@ namespace QuickType
19971997 public long NoSuchMethodNoSuchMethod { get; set; }
19981998 }
19991999
2000+ public partial class Noexcept
2001+ {
2002+ [JsonProperty("noexcept", Required = Required.Always)]
2003+ public long NoexceptNoexcept { get; set; }
2004+ }
2005+
20002006 public partial class Nonatomic
20012007 {
20022008 [JsonProperty("nonatomic", Required = Required.Always)]
@@ -2105,6 +2111,18 @@ namespace QuickType
21052111 public long ObjectMapperObjectMapper { get; set; }
21062112 }
21072113
2114+ public partial class ObjectReader
2115+ {
2116+ [JsonProperty("ObjectReader", Required = Required.Always)]
2117+ public long ObjectReaderObjectReader { get; set; }
2118+ }
2119+
2120+ public partial class ObjectWriter
2121+ {
2122+ [JsonProperty("ObjectWriter", Required = Required.Always)]
2123+ public long ObjectWriterObjectWriter { get; set; }
2124+ }
2125+
21082126 public partial class Of
21092127 {
21102128 [JsonProperty("of", Required = Required.Always)]
@@ -2357,24 +2375,6 @@ namespace QuickType
23572375 public long SbyteSbyte { get; set; }
23582376 }
23592377
2360- public partial class Sealed
2361- {
2362- [JsonProperty("sealed", Required = Required.Always)]
2363- public long SealedSealed { get; set; }
2364- }
2365-
2366- public partial class Sel
2367- {
2368- [JsonProperty("SEL", Required = Required.Always)]
2369- public long SelSel { get; set; }
2370- }
2371-
2372- public partial class Select
2373- {
2374- [JsonProperty("select", Required = Required.Always)]
2375- public long SelectSelect { get; set; }
2376- }
2377-
23782378 public partial class Obj5
23792379 {
23802380 [JsonProperty("dummy", Required = Required.Always)]
@@ -2395,12 +2395,24 @@ namespace QuickType
23952395 [JsonProperty("type", Required = Required.Always)]
23962396 public Obj5Type Obj5Type { get; set; }
23972397
2398+ [JsonProperty("sealed", Required = Required.Always)]
2399+ public Sealed Sealed { get; set; }
2400+
2401+ [JsonProperty("SEL", Required = Required.Always)]
2402+ public Sel Sel { get; set; }
2403+
2404+ [JsonProperty("select", Required = Required.Always)]
2405+ public Select Select { get; set; }
2406+
23982407 [JsonProperty("Self", Required = Required.Always)]
23992408 public Self Self { get; set; }
24002409
24012410 [JsonProperty("Sendable", Required = Required.Always)]
24022411 public Sendable Sendable { get; set; }
24032412
2413+ [JsonProperty("SerializationFeature", Required = Required.Always)]
2414+ public SerializationFeature SerializationFeature { get; set; }
2415+
24042416 [JsonProperty("serialize", Required = Required.Always)]
24052417 public SerializeClass Serialize { get; set; }
24062418
@@ -2559,18 +2571,6 @@ namespace QuickType
25592571
25602572 [JsonProperty("Utf8JsonReader", Required = Required.Always)]
25612573 public Utf8JsonReader Utf8JsonReader { get; set; }
2562-
2563- [JsonProperty("Utf8JsonWriter", Required = Required.Always)]
2564- public Utf8JsonWriter Utf8JsonWriter { get; set; }
2565-
2566- [JsonProperty("UUID", Required = Required.Always)]
2567- public Uuid Uuid { get; set; }
2568-
2569- [JsonProperty("var", Required = Required.Always)]
2570- public Var Var { get; set; }
2571-
2572- [JsonProperty("virtual", Required = Required.Always)]
2573- public Virtual Virtual { get; set; }
25742574 }
25752575
25762576 public partial class SelfClass
@@ -2603,6 +2603,24 @@ namespace QuickType
26032603 public long Type { get; set; }
26042604 }
26052605
2606+ public partial class Sealed
2607+ {
2608+ [JsonProperty("sealed", Required = Required.Always)]
2609+ public long SealedSealed { get; set; }
2610+ }
2611+
2612+ public partial class Sel
2613+ {
2614+ [JsonProperty("SEL", Required = Required.Always)]
2615+ public long SelSel { get; set; }
2616+ }
2617+
2618+ public partial class Select
2619+ {
2620+ [JsonProperty("select", Required = Required.Always)]
2621+ public long SelectSelect { get; set; }
2622+ }
2623+
26062624 public partial class Self
26072625 {
26082626 [JsonProperty("Self", Required = Required.Always)]
@@ -2615,6 +2633,12 @@ namespace QuickType
26152633 public long SendableSendable { get; set; }
26162634 }
26172635
2636+ public partial class SerializationFeature
2637+ {
2638+ [JsonProperty("SerializationFeature", Required = Required.Always)]
2639+ public long SerializationFeatureSerializationFeature { get; set; }
2640+ }
2641+
26182642 public partial class SerializeClass
26192643 {
26202644 [JsonProperty("serialize", Required = Required.Always)]
@@ -2933,34 +2957,22 @@ namespace QuickType
29332957 public long Utf8JsonReaderUtf8JsonReader { get; set; }
29342958 }
29352959
2936- public partial class Utf8JsonWriter
2960+ public partial class Obj6
29372961 {
2962+ [JsonProperty("dummy", Required = Required.Always)]
2963+ public long Dummy { get; set; }
2964+
29382965 [JsonProperty("Utf8JsonWriter", Required = Required.Always)]
2939- public long Utf8JsonWriterUtf8JsonWriter { get; set; }
2940- }
2966+ public Utf8JsonWriter Utf8JsonWriter { get; set; }
29412967
2942- public partial class Uuid
2943- {
29442968 [JsonProperty("UUID", Required = Required.Always)]
2945- public long UuidUuid { get; set; }
2946- }
2969+ public Uuid Uuid { get; set; }
29472970
2948- public partial class Var
2949- {
29502971 [JsonProperty("var", Required = Required.Always)]
2951- public long VarVar { get; set; }
2952- }
2972+ public Var Var { get; set; }
29532973
2954- public partial class Virtual
2955- {
29562974 [JsonProperty("virtual", Required = Required.Always)]
2957- public long VirtualVirtual { get; set; }
2958- }
2959-
2960- public partial class Obj6
2961- {
2962- [JsonProperty("dummy", Required = Required.Always)]
2963- public long Dummy { get; set; }
2975+ public Virtual Virtual { get; set; }
29642976
29652977 [JsonProperty("void", Required = Required.Always)]
29662978 public Void Void { get; set; }
@@ -2999,6 +3011,30 @@ namespace QuickType
29993011 public Yield Yield { get; set; }
30003012 }
30013013
3014+ public partial class Utf8JsonWriter
3015+ {
3016+ [JsonProperty("Utf8JsonWriter", Required = Required.Always)]
3017+ public long Utf8JsonWriterUtf8JsonWriter { get; set; }
3018+ }
3019+
3020+ public partial class Uuid
3021+ {
3022+ [JsonProperty("UUID", Required = Required.Always)]
3023+ public long UuidUuid { get; set; }
3024+ }
3025+
3026+ public partial class Var
3027+ {
3028+ [JsonProperty("var", Required = Required.Always)]
3029+ public long VarVar { get; set; }
3030+ }
3031+
3032+ public partial class Virtual
3033+ {
3034+ [JsonProperty("virtual", Required = Required.Always)]
3035+ public long VirtualVirtual { get; set; }
3036+ }
3037+
30023038 public partial class Void
30033039 {
30043040 [JsonProperty("void", Required = Required.Always)]
Mdartdefault / TopLevel.dart+258 −178
@@ -1364,6 +1364,7 @@ class Obj2 {
13641364 final Del del;
13651365 final Delegate delegate;
13661366 final Delete delete;
1367+ final DeserializationFeature deserializationFeature;
13671368 final Dict dict;
13681369 final Dictionary dictionary;
13691370 final DidSet didSet;
@@ -1394,7 +1395,6 @@ class Obj2 {
13941395 final FunctionClass function;
13951396 final Global global;
13961397 final Go go;
1397- final Goto goto;
13981398 final Default obj2Default;
13991399 final Do obj2Do;
14001400 final Double obj2Double;
@@ -1431,6 +1431,7 @@ class Obj2 {
14311431 required this.del,
14321432 required this.delegate,
14331433 required this.delete,
1434+ required this.deserializationFeature,
14341435 required this.dict,
14351436 required this.dictionary,
14361437 required this.didSet,
@@ -1461,7 +1462,6 @@ class Obj2 {
14611462 required this.function,
14621463 required this.global,
14631464 required this.go,
1464- required this.goto,
14651465 required this.obj2Default,
14661466 required this.obj2Do,
14671467 required this.obj2Double,
@@ -1499,6 +1499,7 @@ class Obj2 {
14991499 del: Del.fromJson(json["del"]),
15001500 delegate: Delegate.fromJson(json["delegate"]),
15011501 delete: Delete.fromJson(json["delete"]),
1502+ deserializationFeature: DeserializationFeature.fromJson(json["DeserializationFeature"]),
15021503 dict: Dict.fromJson(json["dict"]),
15031504 dictionary: Dictionary.fromJson(json["dictionary"]),
15041505 didSet: DidSet.fromJson(json["didSet"]),
@@ -1529,7 +1530,6 @@ class Obj2 {
15291530 function: FunctionClass.fromJson(json["function"]),
15301531 global: Global.fromJson(json["global"]),
15311532 go: Go.fromJson(json["go"]),
1532- goto: Goto.fromJson(json["goto"]),
15331533 obj2Default: Default.fromJson(json["default"]),
15341534 obj2Do: Do.fromJson(json["do"]),
15351535 obj2Double: Double.fromJson(json["double"]),
@@ -1567,6 +1567,7 @@ class Obj2 {
15671567 "del": del.toJson(),
15681568 "delegate": delegate.toJson(),
15691569 "delete": delete.toJson(),
1570+ "DeserializationFeature": deserializationFeature.toJson(),
15701571 "dict": dict.toJson(),
15711572 "dictionary": dictionary.toJson(),
15721573 "didSet": didSet.toJson(),
@@ -1597,7 +1598,6 @@ class Obj2 {
15971598 "function": function.toJson(),
15981599 "global": global.toJson(),
15991600 "go": go.toJson(),
1600- "goto": goto.toJson(),
16011601 "default": obj2Default.toJson(),
16021602 "do": obj2Do.toJson(),
16031603 "double": obj2Double.toJson(),
@@ -1920,6 +1920,22 @@ class Delete {
19201920 };
19211921 }
19221922
1923+class DeserializationFeature {
1924+ final int deserializationFeature;
1925+
1926+ DeserializationFeature({
1927+ required this.deserializationFeature,
1928+ });
1929+
1930+ factory DeserializationFeature.fromJson(Map<String, dynamic> json) => DeserializationFeature(
1931+ deserializationFeature: json["DeserializationFeature"],
1932+ );
1933+
1934+ Map<String, dynamic> toJson() => {
1935+ "DeserializationFeature": deserializationFeature,
1936+ };
1937+}
1938+
19231939 class Dict {
19241940 final int dict;
19251941
@@ -2394,22 +2410,6 @@ class Go {
23942410 };
23952411 }
23962412
2397-class Goto {
2398- final int goto;
2399-
2400- Goto({
2401- required this.goto,
2402- });
2403-
2404- factory Goto.fromJson(Map<String, dynamic> json) => Goto(
2405- goto: json["goto"],
2406- );
2407-
2408- Map<String, dynamic> toJson() => {
2409- "goto": goto,
2410- };
2411-}
2412-
24132413 class Default {
24142414 final int defaultDefault;
24152415
@@ -2652,6 +2652,7 @@ class FalseClass {
26522652
26532653 class Obj3 {
26542654 final int dummy;
2655+ final Goto goto;
26552656 final Guard guard;
26562657 final HasOwnProperty hasOwnProperty;
26572658 final Hashable hashable;
@@ -2706,7 +2707,6 @@ class Obj3 {
27062707 final Newtonsoft newtonsoft;
27072708 final Nil nil;
27082709 final No no;
2709- final Noexcept noexcept;
27102710 final HashCode obj3HashCode;
27112711 final If obj3If;
27122712 final Implements obj3Implements;
@@ -2719,6 +2719,7 @@ class Obj3 {
27192719
27202720 Obj3({
27212721 required this.dummy,
2722+ required this.goto,
27222723 required this.guard,
27232724 required this.hasOwnProperty,
27242725 required this.hashable,
@@ -2773,7 +2774,6 @@ class Obj3 {
27732774 required this.newtonsoft,
27742775 required this.nil,
27752776 required this.no,
2776- required this.noexcept,
27772777 required this.obj3HashCode,
27782778 required this.obj3If,
27792779 required this.obj3Implements,
@@ -2787,6 +2787,7 @@ class Obj3 {
27872787
27882788 factory Obj3.fromJson(Map<String, dynamic> json) => Obj3(
27892789 dummy: json["dummy"],
2790+ goto: Goto.fromJson(json["goto"]),
27902791 guard: Guard.fromJson(json["guard"]),
27912792 hasOwnProperty: HasOwnProperty.fromJson(json["hasOwnProperty"]),
27922793 hashable: Hashable.fromJson(json["Hashable"]),
@@ -2841,7 +2842,6 @@ class Obj3 {
28412842 newtonsoft: Newtonsoft.fromJson(json["newtonsoft"]),
28422843 nil: Nil.fromJson(json["nil"]),
28432844 no: No.fromJson(json["NO"]),
2844- noexcept: Noexcept.fromJson(json["noexcept"]),
28452845 obj3HashCode: HashCode.fromJson(json["hashCode"]),
28462846 obj3If: If.fromJson(json["if"]),
28472847 obj3Implements: Implements.fromJson(json["implements"]),
@@ -2855,6 +2855,7 @@ class Obj3 {
28552855
28562856 Map<String, dynamic> toJson() => {
28572857 "dummy": dummy,
2858+ "goto": goto.toJson(),
28582859 "guard": guard.toJson(),
28592860 "hasOwnProperty": hasOwnProperty.toJson(),
28602861 "Hashable": hashable.toJson(),
@@ -2909,7 +2910,6 @@ class Obj3 {
29092910 "newtonsoft": newtonsoft.toJson(),
29102911 "nil": nil.toJson(),
29112912 "NO": no.toJson(),
2912- "noexcept": noexcept.toJson(),
29132913 "hashCode": obj3HashCode.toJson(),
29142914 "if": obj3If.toJson(),
29152915 "implements": obj3Implements.toJson(),
@@ -2922,6 +2922,22 @@ class Obj3 {
29222922 };
29232923 }
29242924
2925+class Goto {
2926+ final int goto;
2927+
2928+ Goto({
2929+ required this.goto,
2930+ });
2931+
2932+ factory Goto.fromJson(Map<String, dynamic> json) => Goto(
2933+ goto: json["goto"],
2934+ );
2935+
2936+ Map<String, dynamic> toJson() => {
2937+ "goto": goto,
2938+ };
2939+}
2940+
29252941 class Guard {
29262942 final int guard;
29272943
@@ -3786,22 +3802,6 @@ class No {
37863802 };
37873803 }
37883804
3789-class Noexcept {
3790- final int noexcept;
3791-
3792- Noexcept({
3793- required this.noexcept,
3794- });
3795-
3796- factory Noexcept.fromJson(Map<String, dynamic> json) => Noexcept(
3797- noexcept: json["noexcept"],
3798- );
3799-
3800- Map<String, dynamic> toJson() => {
3801- "noexcept": noexcept,
3802- };
3803-}
3804-
38053805 class HashCode {
38063806 final int hashCodeHashCode;
38073807
@@ -3948,6 +3948,7 @@ class New {
39483948
39493949 class Obj4 {
39503950 final int dummy;
3951+ final Noexcept noexcept;
39513952 final Nonatomic nonatomic;
39523953 final None none;
39533954 final Nonlocal nonlocal;
@@ -3968,6 +3969,8 @@ class Obj4 {
39683969 final RuntimeType obj4RuntimeType;
39693970 final Object object;
39703971 final ObjectMapper objectMapper;
3972+ final ObjectReader objectReader;
3973+ final ObjectWriter objectWriter;
39713974 final Of of;
39723975 final Oneway oneway;
39733976 final Open open;
@@ -4009,12 +4012,10 @@ class Obj4 {
40094012 final Right right;
40104013 final S s;
40114014 final Sbyte sbyte;
4012- final Sealed sealed;
4013- final Sel sel;
4014- final Select select;
40154015
40164016 Obj4({
40174017 required this.dummy,
4018+ required this.noexcept,
40184019 required this.nonatomic,
40194020 required this.none,
40204021 required this.nonlocal,
@@ -4035,6 +4036,8 @@ class Obj4 {
40354036 required this.obj4RuntimeType,
40364037 required this.object,
40374038 required this.objectMapper,
4039+ required this.objectReader,
4040+ required this.objectWriter,
40384041 required this.of,
40394042 required this.oneway,
40404043 required this.open,
@@ -4076,13 +4079,11 @@ class Obj4 {
40764079 required this.right,
40774080 required this.s,
40784081 required this.sbyte,
4079- required this.sealed,
4080- required this.sel,
4081- required this.select,
40824082 });
40834083
40844084 factory Obj4.fromJson(Map<String, dynamic> json) => Obj4(
40854085 dummy: json["dummy"],
4086+ noexcept: Noexcept.fromJson(json["noexcept"]),
40864087 nonatomic: Nonatomic.fromJson(json["nonatomic"]),
40874088 none: None.fromJson(json["None"]),
40884089 nonlocal: Nonlocal.fromJson(json["nonlocal"]),
@@ -4103,6 +4104,8 @@ class Obj4 {
41034104 obj4RuntimeType: RuntimeType.fromJson(json["runtimeType"]),
41044105 object: Object.fromJson(json["object"]),
41054106 objectMapper: ObjectMapper.fromJson(json["ObjectMapper"]),
4107+ objectReader: ObjectReader.fromJson(json["ObjectReader"]),
4108+ objectWriter: ObjectWriter.fromJson(json["ObjectWriter"]),
41064109 of: Of.fromJson(json["of"]),
41074110 oneway: Oneway.fromJson(json["oneway"]),
41084111 open: Open.fromJson(json["open"]),
@@ -4144,13 +4147,11 @@ class Obj4 {
41444147 right: Right.fromJson(json["right"]),
41454148 s: S.fromJson(json["s"]),
41464149 sbyte: Sbyte.fromJson(json["sbyte"]),
4147- sealed: Sealed.fromJson(json["sealed"]),
4148- sel: Sel.fromJson(json["SEL"]),
4149- select: Select.fromJson(json["select"]),
41504150 );
41514151
41524152 Map<String, dynamic> toJson() => {
41534153 "dummy": dummy,
4154+ "noexcept": noexcept.toJson(),
41544155 "nonatomic": nonatomic.toJson(),
41554156 "None": none.toJson(),
41564157 "nonlocal": nonlocal.toJson(),
@@ -4171,6 +4172,8 @@ class Obj4 {
41714172 "runtimeType": obj4RuntimeType.toJson(),
41724173 "object": object.toJson(),
41734174 "ObjectMapper": objectMapper.toJson(),
4175+ "ObjectReader": objectReader.toJson(),
4176+ "ObjectWriter": objectWriter.toJson(),
41744177 "of": of.toJson(),
41754178 "oneway": oneway.toJson(),
41764179 "open": open.toJson(),
@@ -4212,9 +4215,22 @@ class Obj4 {
42124215 "right": right.toJson(),
42134216 "s": s.toJson(),
42144217 "sbyte": sbyte.toJson(),
4215- "sealed": sealed.toJson(),
4216- "SEL": sel.toJson(),
4217- "select": select.toJson(),
4218+ };
4219+}
4220+
4221+class Noexcept {
4222+ final int noexcept;
4223+
4224+ Noexcept({
4225+ required this.noexcept,
4226+ });
4227+
4228+ factory Noexcept.fromJson(Map<String, dynamic> json) => Noexcept(
4229+ noexcept: json["noexcept"],
4230+ );
4231+
4232+ Map<String, dynamic> toJson() => {
4233+ "noexcept": noexcept,
42184234 };
42194235 }
42204236
@@ -4538,6 +4554,38 @@ class ObjectMapper {
45384554 };
45394555 }
45404556
4557+class ObjectReader {
4558+ final int objectReader;
4559+
4560+ ObjectReader({
4561+ required this.objectReader,
4562+ });
4563+
4564+ factory ObjectReader.fromJson(Map<String, dynamic> json) => ObjectReader(
4565+ objectReader: json["ObjectReader"],
4566+ );
4567+
4568+ Map<String, dynamic> toJson() => {
4569+ "ObjectReader": objectReader,
4570+ };
4571+}
4572+
4573+class ObjectWriter {
4574+ final int objectWriter;
4575+
4576+ ObjectWriter({
4577+ required this.objectWriter,
4578+ });
4579+
4580+ factory ObjectWriter.fromJson(Map<String, dynamic> json) => ObjectWriter(
4581+ objectWriter: json["ObjectWriter"],
4582+ );
4583+
4584+ Map<String, dynamic> toJson() => {
4585+ "ObjectWriter": objectWriter,
4586+ };
4587+}
4588+
45414589 class Of {
45424590 final int of;
45434591
@@ -5194,54 +5242,6 @@ class Sbyte {
51945242 };
51955243 }
51965244
5197-class Sealed {
5198- final int sealed;
5199-
5200- Sealed({
5201- required this.sealed,
5202- });
5203-
5204- factory Sealed.fromJson(Map<String, dynamic> json) => Sealed(
5205- sealed: json["sealed"],
5206- );
5207-
5208- Map<String, dynamic> toJson() => {
5209- "sealed": sealed,
5210- };
5211-}
5212-
5213-class Sel {
5214- final int sel;
5215-
5216- Sel({
5217- required this.sel,
5218- });
5219-
5220- factory Sel.fromJson(Map<String, dynamic> json) => Sel(
5221- sel: json["SEL"],
5222- );
5223-
5224- Map<String, dynamic> toJson() => {
5225- "SEL": sel,
5226- };
5227-}
5228-
5229-class Select {
5230- final int select;
5231-
5232- Select({
5233- required this.select,
5234- });
5235-
5236- factory Select.fromJson(Map<String, dynamic> json) => Select(
5237- select: json["select"],
5238- );
5239-
5240- Map<String, dynamic> toJson() => {
5241- "select": select,
5242- };
5243-}
5244-
52455245 class Obj5 {
52465246 final int dummy;
52475247 final SelfClass obj5Self;
@@ -5257,10 +5257,13 @@ class Obj5 {
52575257 final Try obj5Try;
52585258 final TypeClass obj5Type;
52595259 final Typedef obj5Typedef;
5260- final Var obj5Var;
52615260 final TrueClass purpleTrue;
5261+ final Sealed sealed;
5262+ final Sel sel;
5263+ final Select select;
52625264 final Self self;
52635265 final Sendable sendable;
5266+ final SerializationFeature serializationFeature;
52645267 final Serialize serialize;
52655268 final SerializerProvider serializerProvider;
52665269 final Short short;
@@ -5305,9 +5308,6 @@ class Obj5 {
53055308 final Ushort ushort;
53065309 final Using using;
53075310 final Utf8JsonReader utf8JsonReader;
5308- final Utf8JsonWriter utf8JsonWriter;
5309- final Uuid uuid;
5310- final Virtual virtual;
53115311
53125312 Obj5({
53135313 required this.dummy,
@@ -5324,10 +5324,13 @@ class Obj5 {
53245324 required this.obj5Try,
53255325 required this.obj5Type,
53265326 required this.obj5Typedef,
5327- required this.obj5Var,
53285327 required this.purpleTrue,
5328+ required this.sealed,
5329+ required this.sel,
5330+ required this.select,
53295331 required this.self,
53305332 required this.sendable,
5333+ required this.serializationFeature,
53315334 required this.serialize,
53325335 required this.serializerProvider,
53335336 required this.short,
@@ -5372,9 +5375,6 @@ class Obj5 {
53725375 required this.ushort,
53735376 required this.using,
53745377 required this.utf8JsonReader,
5375- required this.utf8JsonWriter,
5376- required this.uuid,
5377- required this.virtual,
53785378 });
53795379
53805380 factory Obj5.fromJson(Map<String, dynamic> json) => Obj5(
@@ -5392,10 +5392,13 @@ class Obj5 {
53925392 obj5Try: Try.fromJson(json["try"]),
53935393 obj5Type: TypeClass.fromJson(json["type"]),
53945394 obj5Typedef: Typedef.fromJson(json["typedef"]),
5395- obj5Var: Var.fromJson(json["var"]),
53965395 purpleTrue: TrueClass.fromJson(json["true"]),
5396+ sealed: Sealed.fromJson(json["sealed"]),
5397+ sel: Sel.fromJson(json["SEL"]),
5398+ select: Select.fromJson(json["select"]),
53975399 self: Self.fromJson(json["Self"]),
53985400 sendable: Sendable.fromJson(json["Sendable"]),
5401+ serializationFeature: SerializationFeature.fromJson(json["SerializationFeature"]),
53995402 serialize: Serialize.fromJson(json["serialize"]),
54005403 serializerProvider: SerializerProvider.fromJson(json["SerializerProvider"]),
54015404 short: Short.fromJson(json["short"]),
@@ -5440,9 +5443,6 @@ class Obj5 {
54405443 ushort: Ushort.fromJson(json["ushort"]),
54415444 using: Using.fromJson(json["using"]),
54425445 utf8JsonReader: Utf8JsonReader.fromJson(json["Utf8JsonReader"]),
5443- utf8JsonWriter: Utf8JsonWriter.fromJson(json["Utf8JsonWriter"]),
5444- uuid: Uuid.fromJson(json["UUID"]),
5445- virtual: Virtual.fromJson(json["virtual"]),
54465446 );
54475447
54485448 Map<String, dynamic> toJson() => {
@@ -5460,10 +5460,13 @@ class Obj5 {
54605460 "try": obj5Try.toJson(),
54615461 "type": obj5Type.toJson(),
54625462 "typedef": obj5Typedef.toJson(),
5463- "var": obj5Var.toJson(),
54645463 "true": purpleTrue.toJson(),
5464+ "sealed": sealed.toJson(),
5465+ "SEL": sel.toJson(),
5466+ "select": select.toJson(),
54655467 "Self": self.toJson(),
54665468 "Sendable": sendable.toJson(),
5469+ "SerializationFeature": serializationFeature.toJson(),
54675470 "serialize": serialize.toJson(),
54685471 "SerializerProvider": serializerProvider.toJson(),
54695472 "short": short.toJson(),
@@ -5508,9 +5511,6 @@ class Obj5 {
55085511 "ushort": ushort.toJson(),
55095512 "using": using.toJson(),
55105513 "Utf8JsonReader": utf8JsonReader.toJson(),
5511- "Utf8JsonWriter": utf8JsonWriter.toJson(),
5512- "UUID": uuid.toJson(),
5513- "virtual": virtual.toJson(),
55145514 };
55155515 }
55165516
@@ -5722,35 +5722,67 @@ class Typedef {
57225722 };
57235723 }
57245724
5725-class Var {
5726- final int varVar;
5725+class TrueClass {
5726+ final int trueTrue;
57275727
5728- Var({
5729- required this.varVar,
5728+ TrueClass({
5729+ required this.trueTrue,
57305730 });
57315731
5732- factory Var.fromJson(Map<String, dynamic> json) => Var(
5733- varVar: json["var"],
5732+ factory TrueClass.fromJson(Map<String, dynamic> json) => TrueClass(
5733+ trueTrue: json["true"],
57345734 );
57355735
57365736 Map<String, dynamic> toJson() => {
5737- "var": varVar,
5737+ "true": trueTrue,
57385738 };
57395739 }
57405740
5741-class TrueClass {
5742- final int trueTrue;
5741+class Sealed {
5742+ final int sealed;
57435743
5744- TrueClass({
5745- required this.trueTrue,
5744+ Sealed({
5745+ required this.sealed,
57465746 });
57475747
5748- factory TrueClass.fromJson(Map<String, dynamic> json) => TrueClass(
5749- trueTrue: json["true"],
5748+ factory Sealed.fromJson(Map<String, dynamic> json) => Sealed(
5749+ sealed: json["sealed"],
57505750 );
57515751
57525752 Map<String, dynamic> toJson() => {
5753- "true": trueTrue,
5753+ "sealed": sealed,
5754+ };
5755+}
5756+
5757+class Sel {
5758+ final int sel;
5759+
5760+ Sel({
5761+ required this.sel,
5762+ });
5763+
5764+ factory Sel.fromJson(Map<String, dynamic> json) => Sel(
5765+ sel: json["SEL"],
5766+ );
5767+
5768+ Map<String, dynamic> toJson() => {
5769+ "SEL": sel,
5770+ };
5771+}
5772+
5773+class Select {
5774+ final int select;
5775+
5776+ Select({
5777+ required this.select,
5778+ });
5779+
5780+ factory Select.fromJson(Map<String, dynamic> json) => Select(
5781+ select: json["select"],
5782+ );
5783+
5784+ Map<String, dynamic> toJson() => {
5785+ "select": select,
57545786 };
57555787 }
57565788
@@ -5786,6 +5818,22 @@ class Sendable {
57865818 };
57875819 }
57885820
5821+class SerializationFeature {
5822+ final int serializationFeature;
5823+
5824+ SerializationFeature({
5825+ required this.serializationFeature,
5826+ });
5827+
5828+ factory SerializationFeature.fromJson(Map<String, dynamic> json) => SerializationFeature(
5829+ serializationFeature: json["SerializationFeature"],
5830+ );
5831+
5832+ Map<String, dynamic> toJson() => {
5833+ "SerializationFeature": serializationFeature,
5834+ };
5835+}
5836+
57895837 class Serialize {
57905838 final int serialize;
57915839
@@ -6490,60 +6538,16 @@ class Utf8JsonReader {
64906538 };
64916539 }
64926540
6493-class Utf8JsonWriter {
6494- final int utf8JsonWriter;
6495-
6496- Utf8JsonWriter({
6497- required this.utf8JsonWriter,
6498- });
6499-
6500- factory Utf8JsonWriter.fromJson(Map<String, dynamic> json) => Utf8JsonWriter(
6501- utf8JsonWriter: json["Utf8JsonWriter"],
6502- );
6503-
6504- Map<String, dynamic> toJson() => {
6505- "Utf8JsonWriter": utf8JsonWriter,
6506- };
6507-}
6508-
6509-class Uuid {
6510- final int uuid;
6511-
6512- Uuid({
6513- required this.uuid,
6514- });
6515-
6516- factory Uuid.fromJson(Map<String, dynamic> json) => Uuid(
6517- uuid: json["UUID"],
6518- );
6519-
6520- Map<String, dynamic> toJson() => {
6521- "UUID": uuid,
6522- };
6523-}
6524-
6525-class Virtual {
6526- final int virtual;
6527-
6528- Virtual({
6529- required this.virtual,
6530- });
6531-
6532- factory Virtual.fromJson(Map<String, dynamic> json) => Virtual(
6533- virtual: json["virtual"],
6534- );
6535-
6536- Map<String, dynamic> toJson() => {
6537- "virtual": virtual,
6538- };
6539-}
6540-
65416541 class Obj6 {
65426542 final int dummy;
6543+ final Var obj6Var;
65436544 final Void obj6Void;
65446545 final While obj6While;
65456546 final With obj6With;
65466547 final Yield obj6Yield;
6548+ final Utf8JsonWriter utf8JsonWriter;
6549+ final Uuid uuid;
6550+ final Virtual virtual;
65476551 final Volatile volatile;
65486552 final WcharT wcharT;
65496553 final Weak weak;
@@ -6555,10 +6559,14 @@ class Obj6 {
65556559
65566560 Obj6({
65576561 required this.dummy,
6562+ required this.obj6Var,
65586563 required this.obj6Void,
65596564 required this.obj6While,
65606565 required this.obj6With,
65616566 required this.obj6Yield,
6567+ required this.utf8JsonWriter,
6568+ required this.uuid,
6569+ required this.virtual,
65626570 required this.volatile,
65636571 required this.wcharT,
65646572 required this.weak,
@@ -6571,10 +6579,14 @@ class Obj6 {
65716579
65726580 factory Obj6.fromJson(Map<String, dynamic> json) => Obj6(
65736581 dummy: json["dummy"],
6582+ obj6Var: Var.fromJson(json["var"]),
65746583 obj6Void: Void.fromJson(json["void"]),
65756584 obj6While: While.fromJson(json["while"]),
65766585 obj6With: With.fromJson(json["with"]),
65776586 obj6Yield: Yield.fromJson(json["yield"]),
6587+ utf8JsonWriter: Utf8JsonWriter.fromJson(json["Utf8JsonWriter"]),
6588+ uuid: Uuid.fromJson(json["UUID"]),
6589+ virtual: Virtual.fromJson(json["virtual"]),
65786590 volatile: Volatile.fromJson(json["volatile"]),
65796591 wcharT: WcharT.fromJson(json["wchar_t"]),
65806592 weak: Weak.fromJson(json["weak"]),
@@ -6587,10 +6599,14 @@ class Obj6 {
65876599
65886600 Map<String, dynamic> toJson() => {
65896601 "dummy": dummy,
6602+ "var": obj6Var.toJson(),
65906603 "void": obj6Void.toJson(),
65916604 "while": obj6While.toJson(),
65926605 "with": obj6With.toJson(),
65936606 "yield": obj6Yield.toJson(),
6607+ "Utf8JsonWriter": utf8JsonWriter.toJson(),
6608+ "UUID": uuid.toJson(),
6609+ "virtual": virtual.toJson(),
65946610 "volatile": volatile.toJson(),
65956611 "wchar_t": wcharT.toJson(),
65966612 "weak": weak.toJson(),
@@ -6602,6 +6618,22 @@ class Obj6 {
66026618 };
66036619 }
66046620
6621+class Var {
6622+ final int varVar;
6623+
6624+ Var({
6625+ required this.varVar,
6626+ });
6627+
6628+ factory Var.fromJson(Map<String, dynamic> json) => Var(
6629+ varVar: json["var"],
6630+ );
6631+
6632+ Map<String, dynamic> toJson() => {
6633+ "var": varVar,
6634+ };
6635+}
6636+
66056637 class Void {
66066638 final int voidVoid;
66076639
@@ -6666,6 +6698,54 @@ class Yield {
66666698 };
66676699 }
66686700
6701+class Utf8JsonWriter {
6702+ final int utf8JsonWriter;
6703+
6704+ Utf8JsonWriter({
6705+ required this.utf8JsonWriter,
6706+ });
6707+
6708+ factory Utf8JsonWriter.fromJson(Map<String, dynamic> json) => Utf8JsonWriter(
6709+ utf8JsonWriter: json["Utf8JsonWriter"],
6710+ );
6711+
6712+ Map<String, dynamic> toJson() => {
6713+ "Utf8JsonWriter": utf8JsonWriter,
6714+ };
6715+}
6716+
6717+class Uuid {
6718+ final int uuid;
6719+
6720+ Uuid({
6721+ required this.uuid,
6722+ });
6723+
6724+ factory Uuid.fromJson(Map<String, dynamic> json) => Uuid(
6725+ uuid: json["UUID"],
6726+ );
6727+
6728+ Map<String, dynamic> toJson() => {
6729+ "UUID": uuid,
6730+ };
6731+}
6732+
6733+class Virtual {
6734+ final int virtual;
6735+
6736+ Virtual({
6737+ required this.virtual,
6738+ });
6739+
6740+ factory Virtual.fromJson(Map<String, dynamic> json) => Virtual(
6741+ virtual: json["virtual"],
6742+ );
6743+
6744+ Map<String, dynamic> toJson() => {
6745+ "virtual": virtual,
6746+ };
6747+}
6748+
66696749 class Volatile {
66706750 final int volatile;
Melixirdefault / QuickType.ex+595 −427
@@ -3473,6 +3473,45 @@ defmodule Delete do
34733473 end
34743474 end
34753475
3476+defmodule DeserializationFeature do
3477+ @enforce_keys [:deserialization_feature]
3478+ defstruct [:deserialization_feature]
3479+
3480+ @type t :: %__MODULE__{
3481+ deserialization_feature: integer()
3482+ }
3483+
3484+ def decode_deserialization_feature(value) when is_integer(value), do: value
3485+ def decode_deserialization_feature(_), do: {:error, "Unexpected type when decoding DeserializationFeature.deserialization_feature"}
3486+
3487+ def encode_deserialization_feature(value) when is_integer(value), do: value
3488+ def encode_deserialization_feature(_), do: {:error, "Unexpected type when encoding DeserializationFeature.deserialization_feature"}
3489+
3490+ def from_map(m) do
3491+ %DeserializationFeature{
3492+ deserialization_feature: decode_deserialization_feature(m["DeserializationFeature"]),
3493+ }
3494+ end
3495+
3496+ def from_json(json) do
3497+ json
3498+ |> Jason.decode!()
3499+ |> from_map()
3500+ end
3501+
3502+ def to_map(struct) do
3503+ %{
3504+ "DeserializationFeature" => struct.deserialization_feature,
3505+ }
3506+ end
3507+
3508+ def to_json(struct) do
3509+ struct
3510+ |> to_map()
3511+ |> Jason.encode!()
3512+ end
3513+end
3514+
34763515 defmodule DictClass do
34773516 @enforce_keys [:dict]
34783517 defstruct [:dict]
@@ -5079,45 +5118,6 @@ defmodule Go do
50795118 end
50805119 end
50815120
5082-defmodule Goto do
5083- @enforce_keys [:goto]
5084- defstruct [:goto]
5085-
5086- @type t :: %__MODULE__{
5087- goto: integer()
5088- }
5089-
5090- def decode_goto(value) when is_integer(value), do: value
5091- def decode_goto(_), do: {:error, "Unexpected type when decoding Goto.goto"}
5092-
5093- def encode_goto(value) when is_integer(value), do: value
5094- def encode_goto(_), do: {:error, "Unexpected type when encoding Goto.goto"}
5095-
5096- def from_map(m) do
5097- %Goto{
5098- goto: decode_goto(m["goto"]),
5099- }
5100- end
5101-
5102- def from_json(json) do
5103- json
5104- |> Jason.decode!()
5105- |> from_map()
5106- end
5107-
5108- def to_map(struct) do
5109- %{
5110- "goto" => struct.goto,
5111- }
5112- end
5113-
5114- def to_json(struct) do
5115- struct
5116- |> to_map()
5117- |> Jason.encode!()
5118- end
5119-end
5120-
51215121 defmodule DefClass do
51225122 @enforce_keys [:def_def]
51235123 defstruct [:def_def]
@@ -5275,8 +5275,8 @@ defmodule FalseClass do
52755275 end
52765276
52775277 defmodule Obj2 do
5278- @enforce_keys [:date_formatter, :date_only, :date_only_converter, :date_parse_handling, :date_time, :date_time_styles, :debugger, :decimal, :declare, :decltype, :decode_string, :decoder, :decoding_error, :default, :defer, :deinit, :del, :delegate, :delete, :dict, :dictionary, :did_set, :double, :dummy, :dynamic, :dynamic_cast, :elif, :encode_quick_type, :encoder, :enum, :enum_values, :equality_contract, :equatable, :event, :except, :exception, :explicit, :export, :exposing, :extends, :extension, :extern, :fallthrough, :false_1, :fileprivate, :final, :finally, :fixed, :float, :for, :foreach, :format_exception, :friend, :from, :from_json, :func, :function, :get, :global, :go, :goto, :obj2_def, :obj2_do, :obj2_else, :obj2_false]
5279- defstruct [:date_formatter, :date_only, :date_only_converter, :date_parse_handling, :date_time, :date_time_styles, :debugger, :decimal, :declare, :decltype, :decode_string, :decoder, :decoding_error, :default, :defer, :deinit, :del, :delegate, :delete, :dict, :dictionary, :did_set, :double, :dummy, :dynamic, :dynamic_cast, :elif, :encode_quick_type, :encoder, :enum, :enum_values, :equality_contract, :equatable, :event, :except, :exception, :explicit, :export, :exposing, :extends, :extension, :extern, :fallthrough, :false_1, :fileprivate, :final, :finally, :fixed, :float, :for, :foreach, :format_exception, :friend, :from, :from_json, :func, :function, :get, :global, :go, :goto, :obj2_def, :obj2_do, :obj2_else, :obj2_false]
5278+ @enforce_keys [:date_formatter, :date_only, :date_only_converter, :date_parse_handling, :date_time, :date_time_styles, :debugger, :decimal, :declare, :decltype, :decode_string, :decoder, :decoding_error, :default, :defer, :deinit, :del, :delegate, :delete, :deserialization_feature, :dict, :dictionary, :did_set, :double, :dummy, :dynamic, :dynamic_cast, :elif, :encode_quick_type, :encoder, :enum, :enum_values, :equality_contract, :equatable, :event, :except, :exception, :explicit, :export, :exposing, :extends, :extension, :extern, :fallthrough, :false_1, :fileprivate, :final, :finally, :fixed, :float, :for, :foreach, :format_exception, :friend, :from, :from_json, :func, :function, :get, :global, :go, :obj2_def, :obj2_do, :obj2_else, :obj2_false]
5279+ defstruct [:date_formatter, :date_only, :date_only_converter, :date_parse_handling, :date_time, :date_time_styles, :debugger, :decimal, :declare, :decltype, :decode_string, :decoder, :decoding_error, :default, :defer, :deinit, :del, :delegate, :delete, :deserialization_feature, :dict, :dictionary, :did_set, :double, :dummy, :dynamic, :dynamic_cast, :elif, :encode_quick_type, :encoder, :enum, :enum_values, :equality_contract, :equatable, :event, :except, :exception, :explicit, :export, :exposing, :extends, :extension, :extern, :fallthrough, :false_1, :fileprivate, :final, :finally, :fixed, :float, :for, :foreach, :format_exception, :friend, :from, :from_json, :func, :function, :get, :global, :go, :obj2_def, :obj2_do, :obj2_else, :obj2_false]
52805280
52815281 @type t :: %__MODULE__{
52825282 date_formatter: DateFormatter.t(),
@@ -5298,6 +5298,7 @@ defmodule Obj2 do
52985298 del: Del.t(),
52995299 delegate: Delegate.t(),
53005300 delete: Delete.t(),
5301+ deserialization_feature: DeserializationFeature.t(),
53015302 dict: DictClass.t(),
53025303 dictionary: Dictionary.t(),
53035304 did_set: DidSet.t(),
@@ -5339,7 +5340,6 @@ defmodule Obj2 do
53395340 get: Get.t(),
53405341 global: Global.t(),
53415342 go: Go.t(),
5342- goto: Goto.t(),
53435343 obj2_def: DefClass.t(),
53445344 obj2_do: DoClass.t(),
53455345 obj2_else: ElseClass.t(),
@@ -5373,6 +5373,7 @@ defmodule Obj2 do
53735373 del: Del.from_map(m["del"]),
53745374 delegate: Delegate.from_map(m["delegate"]),
53755375 delete: Delete.from_map(m["delete"]),
5376+ deserialization_feature: DeserializationFeature.from_map(m["DeserializationFeature"]),
53765377 dict: DictClass.from_map(m["dict"]),
53775378 dictionary: Dictionary.from_map(m["dictionary"]),
53785379 did_set: DidSet.from_map(m["didSet"]),
@@ -5414,7 +5415,6 @@ defmodule Obj2 do
54145415 get: Get.from_map(m["get"]),
54155416 global: Global.from_map(m["global"]),
54165417 go: Go.from_map(m["go"]),
5417- goto: Goto.from_map(m["goto"]),
54185418 obj2_def: DefClass.from_map(m["def"]),
54195419 obj2_do: DoClass.from_map(m["do"]),
54205420 obj2_else: ElseClass.from_map(m["else"]),
@@ -5449,6 +5449,7 @@ defmodule Obj2 do
54495449 "del" => Del.to_map(struct.del),
54505450 "delegate" => Delegate.to_map(struct.delegate),
54515451 "delete" => Delete.to_map(struct.delete),
5452+ "DeserializationFeature" => DeserializationFeature.to_map(struct.deserialization_feature),
54525453 "dict" => DictClass.to_map(struct.dict),
54535454 "dictionary" => Dictionary.to_map(struct.dictionary),
54545455 "didSet" => DidSet.to_map(struct.did_set),
@@ -5490,7 +5491,6 @@ defmodule Obj2 do
54905491 "get" => Get.to_map(struct.get),
54915492 "global" => Global.to_map(struct.global),
54925493 "go" => Go.to_map(struct.go),
5493- "goto" => Goto.to_map(struct.goto),
54945494 "def" => DefClass.to_map(struct.obj2_def),
54955495 "do" => DoClass.to_map(struct.obj2_do),
54965496 "else" => ElseClass.to_map(struct.obj2_else),
@@ -5505,6 +5505,45 @@ defmodule Obj2 do
55055505 end
55065506 end
55075507
5508+defmodule Goto do
5509+ @enforce_keys [:goto]
5510+ defstruct [:goto]
5511+
5512+ @type t :: %__MODULE__{
5513+ goto: integer()
5514+ }
5515+
5516+ def decode_goto(value) when is_integer(value), do: value
5517+ def decode_goto(_), do: {:error, "Unexpected type when decoding Goto.goto"}
5518+
5519+ def encode_goto(value) when is_integer(value), do: value
5520+ def encode_goto(_), do: {:error, "Unexpected type when encoding Goto.goto"}
5521+
5522+ def from_map(m) do
5523+ %Goto{
5524+ goto: decode_goto(m["goto"]),
5525+ }
5526+ end
5527+
5528+ def from_json(json) do
5529+ json
5530+ |> Jason.decode!()
5531+ |> from_map()
5532+ end
5533+
5534+ def to_map(struct) do
5535+ %{
5536+ "goto" => struct.goto,
5537+ }
5538+ end
5539+
5540+ def to_json(struct) do
5541+ struct
5542+ |> to_map()
5543+ |> Jason.encode!()
5544+ end
5545+end
5546+
55085547 defmodule Guard do
55095548 @enforce_keys [:guard]
55105549 defstruct [:guard]
@@ -7845,45 +7884,6 @@ defmodule No do
78457884 end
78467885 end
78477886
7848-defmodule Noexcept do
7849- @enforce_keys [:noexcept]
7850- defstruct [:noexcept]
7851-
7852- @type t :: %__MODULE__{
7853- noexcept: integer()
7854- }
7855-
7856- def decode_noexcept(value) when is_integer(value), do: value
7857- def decode_noexcept(_), do: {:error, "Unexpected type when decoding Noexcept.noexcept"}
7858-
7859- def encode_noexcept(value) when is_integer(value), do: value
7860- def encode_noexcept(_), do: {:error, "Unexpected type when encoding Noexcept.noexcept"}
7861-
7862- def from_map(m) do
7863- %Noexcept{
7864- noexcept: decode_noexcept(m["noexcept"]),
7865- }
7866- end
7867-
7868- def from_json(json) do
7869- json
7870- |> Jason.decode!()
7871- |> from_map()
7872- end
7873-
7874- def to_map(struct) do
7875- %{
7876- "noexcept" => struct.noexcept,
7877- }
7878- end
7879-
7880- def to_json(struct) do
7881- struct
7882- |> to_map()
7883- |> Jason.encode!()
7884- end
7885-end
7886-
78877887 defmodule ImportClass do
78887888 @enforce_keys [:import_import]
78897889 defstruct [:import_import]
@@ -8002,11 +8002,12 @@ defmodule NilClass do
80028002 end
80038003
80048004 defmodule Obj3 do
8005- @enforce_keys [:dummy, :guard, :has_own_property, :hash_code, :hashable, :hasher, :id, :if, :imp, :implements, :implicit, :indirect, :infix, :init, :inline, :inout, :instanceof, :int, :interface, :internal, :is, :iso_date_time_offset_converter, :iterable, :jdec, :jenc, :jpipe, :json, :json_any, :json_coding_key, :json_converter, :json_decoder, :json_encoder, :json_exception, :json_generator, :json_node, :json_null, :json_parser, :json_reader, :json_serializer, :json_token, :json_token_type, :json_writer, :lambda, :lazy, :left, :let, :list, :locale, :lock, :long, :map, :map_entry, :metadata_property_handling, :module, :mutable, :mutating, :namespace, :native, :new, :newtonsoft, :no, :noexcept, :obj3_import, :obj3_in, :obj3_nil]
8006- defstruct [:dummy, :guard, :has_own_property, :hash_code, :hashable, :hasher, :id, :if, :imp, :implements, :implicit, :indirect, :infix, :init, :inline, :inout, :instanceof, :int, :interface, :internal, :is, :iso_date_time_offset_converter, :iterable, :jdec, :jenc, :jpipe, :json, :json_any, :json_coding_key, :json_converter, :json_decoder, :json_encoder, :json_exception, :json_generator, :json_node, :json_null, :json_parser, :json_reader, :json_serializer, :json_token, :json_token_type, :json_writer, :lambda, :lazy, :left, :let, :list, :locale, :lock, :long, :map, :map_entry, :metadata_property_handling, :module, :mutable, :mutating, :namespace, :native, :new, :newtonsoft, :no, :noexcept, :obj3_import, :obj3_in, :obj3_nil]
8005+ @enforce_keys [:dummy, :goto, :guard, :has_own_property, :hash_code, :hashable, :hasher, :id, :if, :imp, :implements, :implicit, :indirect, :infix, :init, :inline, :inout, :instanceof, :int, :interface, :internal, :is, :iso_date_time_offset_converter, :iterable, :jdec, :jenc, :jpipe, :json, :json_any, :json_coding_key, :json_converter, :json_decoder, :json_encoder, :json_exception, :json_generator, :json_node, :json_null, :json_parser, :json_reader, :json_serializer, :json_token, :json_token_type, :json_writer, :lambda, :lazy, :left, :let, :list, :locale, :lock, :long, :map, :map_entry, :metadata_property_handling, :module, :mutable, :mutating, :namespace, :native, :new, :newtonsoft, :no, :obj3_import, :obj3_in, :obj3_nil]
8006+ defstruct [:dummy, :goto, :guard, :has_own_property, :hash_code, :hashable, :hasher, :id, :if, :imp, :implements, :implicit, :indirect, :infix, :init, :inline, :inout, :instanceof, :int, :interface, :internal, :is, :iso_date_time_offset_converter, :iterable, :jdec, :jenc, :jpipe, :json, :json_any, :json_coding_key, :json_converter, :json_decoder, :json_encoder, :json_exception, :json_generator, :json_node, :json_null, :json_parser, :json_reader, :json_serializer, :json_token, :json_token_type, :json_writer, :lambda, :lazy, :left, :let, :list, :locale, :lock, :long, :map, :map_entry, :metadata_property_handling, :module, :mutable, :mutating, :namespace, :native, :new, :newtonsoft, :no, :obj3_import, :obj3_in, :obj3_nil]
80078007
80088008 @type t :: %__MODULE__{
80098009 dummy: integer(),
8010+ goto: Goto.t(),
80108011 guard: Guard.t(),
80118012 has_own_property: HasOwnProperty.t(),
80128013 hash_code: HashCode.t(),
@@ -8067,7 +8068,6 @@ defmodule Obj3 do
80678068 new: New.t(),
80688069 newtonsoft: Newtonsoft.t(),
80698070 no: No.t(),
8070- noexcept: Noexcept.t(),
80718071 obj3_import: ImportClass.t(),
80728072 obj3_in: InClass.t(),
80738073 obj3_nil: NilClass.t()
@@ -8082,6 +8082,7 @@ defmodule Obj3 do
80828082 def from_map(m) do
80838083 %Obj3{
80848084 dummy: decode_dummy(m["dummy"]),
8085+ goto: Goto.from_map(m["goto"]),
80858086 guard: Guard.from_map(m["guard"]),
80868087 has_own_property: HasOwnProperty.from_map(m["hasOwnProperty"]),
80878088 hash_code: HashCode.from_map(m["hashCode"]),
@@ -8142,7 +8143,6 @@ defmodule Obj3 do
81428143 new: New.from_map(m["new"]),
81438144 newtonsoft: Newtonsoft.from_map(m["newtonsoft"]),
81448145 no: No.from_map(m["NO"]),
8145- noexcept: Noexcept.from_map(m["noexcept"]),
81468146 obj3_import: ImportClass.from_map(m["import"]),
81478147 obj3_in: InClass.from_map(m["in"]),
81488148 obj3_nil: NilClass.from_map(m["nil"]),
@@ -8158,6 +8158,7 @@ defmodule Obj3 do
81588158 def to_map(struct) do
81598159 %{
81608160 "dummy" => struct.dummy,
8161+ "goto" => Goto.to_map(struct.goto),
81618162 "guard" => Guard.to_map(struct.guard),
81628163 "hasOwnProperty" => HasOwnProperty.to_map(struct.has_own_property),
81638164 "hashCode" => HashCode.to_map(struct.hash_code),
@@ -8218,7 +8219,6 @@ defmodule Obj3 do
82188219 "new" => New.to_map(struct.new),
82198220 "newtonsoft" => Newtonsoft.to_map(struct.newtonsoft),
82208221 "NO" => No.to_map(struct.no),
8221- "noexcept" => Noexcept.to_map(struct.noexcept),
82228222 "import" => ImportClass.to_map(struct.obj3_import),
82238223 "in" => InClass.to_map(struct.obj3_in),
82248224 "nil" => NilClass.to_map(struct.obj3_nil),
@@ -8271,6 +8271,45 @@ defmodule NoSuchMethod do
82718271 end
82728272 end
82738273
8274+defmodule Noexcept do
8275+ @enforce_keys [:noexcept]
8276+ defstruct [:noexcept]
8277+
8278+ @type t :: %__MODULE__{
8279+ noexcept: integer()
8280+ }
8281+
8282+ def decode_noexcept(value) when is_integer(value), do: value
8283+ def decode_noexcept(_), do: {:error, "Unexpected type when decoding Noexcept.noexcept"}
8284+
8285+ def encode_noexcept(value) when is_integer(value), do: value
8286+ def encode_noexcept(_), do: {:error, "Unexpected type when encoding Noexcept.noexcept"}
8287+
8288+ def from_map(m) do
8289+ %Noexcept{
8290+ noexcept: decode_noexcept(m["noexcept"]),
8291+ }
8292+ end
8293+
8294+ def from_json(json) do
8295+ json
8296+ |> Jason.decode!()
8297+ |> from_map()
8298+ end
8299+
8300+ def to_map(struct) do
8301+ %{
8302+ "noexcept" => struct.noexcept,
8303+ }
8304+ end
8305+
8306+ def to_json(struct) do
8307+ struct
8308+ |> to_map()
8309+ |> Jason.encode!()
8310+ end
8311+end
8312+
82748313 defmodule Nonatomic do
82758314 @enforce_keys [:nonatomic]
82768315 defstruct [:nonatomic]
@@ -8973,6 +9012,84 @@ defmodule ObjectMapper do
89739012 end
89749013 end
89759014
9015+defmodule ObjectReader do
9016+ @enforce_keys [:object_reader]
9017+ defstruct [:object_reader]
9018+
9019+ @type t :: %__MODULE__{
9020+ object_reader: integer()
9021+ }
9022+
9023+ def decode_object_reader(value) when is_integer(value), do: value
9024+ def decode_object_reader(_), do: {:error, "Unexpected type when decoding ObjectReader.object_reader"}
9025+
9026+ def encode_object_reader(value) when is_integer(value), do: value
9027+ def encode_object_reader(_), do: {:error, "Unexpected type when encoding ObjectReader.object_reader"}
9028+
9029+ def from_map(m) do
9030+ %ObjectReader{
9031+ object_reader: decode_object_reader(m["ObjectReader"]),
9032+ }
9033+ end
9034+
9035+ def from_json(json) do
9036+ json
9037+ |> Jason.decode!()
9038+ |> from_map()
9039+ end
9040+
9041+ def to_map(struct) do
9042+ %{
9043+ "ObjectReader" => struct.object_reader,
9044+ }
9045+ end
9046+
9047+ def to_json(struct) do
9048+ struct
9049+ |> to_map()
9050+ |> Jason.encode!()
9051+ end
9052+end
9053+
9054+defmodule ObjectWriter do
9055+ @enforce_keys [:object_writer]
9056+ defstruct [:object_writer]
9057+
9058+ @type t :: %__MODULE__{
9059+ object_writer: integer()
9060+ }
9061+
9062+ def decode_object_writer(value) when is_integer(value), do: value
9063+ def decode_object_writer(_), do: {:error, "Unexpected type when decoding ObjectWriter.object_writer"}
9064+
9065+ def encode_object_writer(value) when is_integer(value), do: value
9066+ def encode_object_writer(_), do: {:error, "Unexpected type when encoding ObjectWriter.object_writer"}
9067+
9068+ def from_map(m) do
9069+ %ObjectWriter{
9070+ object_writer: decode_object_writer(m["ObjectWriter"]),
9071+ }
9072+ end
9073+
9074+ def from_json(json) do
9075+ json
9076+ |> Jason.decode!()
9077+ |> from_map()
9078+ end
9079+
9080+ def to_map(struct) do
9081+ %{
9082+ "ObjectWriter" => struct.object_writer,
9083+ }
9084+ end
9085+
9086+ def to_json(struct) do
9087+ struct
9088+ |> to_map()
9089+ |> Jason.encode!()
9090+ end
9091+end
9092+
89769093 defmodule Of do
89779094 @enforce_keys [:of]
89789095 defstruct [:of]
@@ -10611,130 +10728,14 @@ defmodule Sbyte do
1061110728 end
1061210729 end
1061310730
10614-defmodule Sealed do
10615- @enforce_keys [:sealed]
10616- defstruct [:sealed]
10617-
10618- @type t :: %__MODULE__{
10619- sealed: integer()
10620- }
10621-
10622- def decode_sealed(value) when is_integer(value), do: value
10623- def decode_sealed(_), do: {:error, "Unexpected type when decoding Sealed.sealed"}
10624-
10625- def encode_sealed(value) when is_integer(value), do: value
10626- def encode_sealed(_), do: {:error, "Unexpected type when encoding Sealed.sealed"}
10627-
10628- def from_map(m) do
10629- %Sealed{
10630- sealed: decode_sealed(m["sealed"]),
10631- }
10632- end
10633-
10634- def from_json(json) do
10635- json
10636- |> Jason.decode!()
10637- |> from_map()
10638- end
10639-
10640- def to_map(struct) do
10641- %{
10642- "sealed" => struct.sealed,
10643- }
10644- end
10645-
10646- def to_json(struct) do
10647- struct
10648- |> to_map()
10649- |> Jason.encode!()
10650- end
10651-end
10652-
10653-defmodule Sel do
10654- @enforce_keys [:sel]
10655- defstruct [:sel]
10656-
10657- @type t :: %__MODULE__{
10658- sel: integer()
10659- }
10660-
10661- def decode_sel(value) when is_integer(value), do: value
10662- def decode_sel(_), do: {:error, "Unexpected type when decoding Sel.sel"}
10663-
10664- def encode_sel(value) when is_integer(value), do: value
10665- def encode_sel(_), do: {:error, "Unexpected type when encoding Sel.sel"}
10666-
10667- def from_map(m) do
10668- %Sel{
10669- sel: decode_sel(m["SEL"]),
10670- }
10671- end
10672-
10673- def from_json(json) do
10674- json
10675- |> Jason.decode!()
10676- |> from_map()
10677- end
10678-
10679- def to_map(struct) do
10680- %{
10681- "SEL" => struct.sel,
10682- }
10683- end
10684-
10685- def to_json(struct) do
10686- struct
10687- |> to_map()
10688- |> Jason.encode!()
10689- end
10690-end
10691-
10692-defmodule Select do
10693- @enforce_keys [:select]
10694- defstruct [:select]
10695-
10696- @type t :: %__MODULE__{
10697- select: integer()
10698- }
10699-
10700- def decode_select(value) when is_integer(value), do: value
10701- def decode_select(_), do: {:error, "Unexpected type when decoding Select.select"}
10702-
10703- def encode_select(value) when is_integer(value), do: value
10704- def encode_select(_), do: {:error, "Unexpected type when encoding Select.select"}
10705-
10706- def from_map(m) do
10707- %Select{
10708- select: decode_select(m["select"]),
10709- }
10710- end
10711-
10712- def from_json(json) do
10713- json
10714- |> Jason.decode!()
10715- |> from_map()
10716- end
10717-
10718- def to_map(struct) do
10719- %{
10720- "select" => struct.select,
10721- }
10722- end
10723-
10724- def to_json(struct) do
10725- struct
10726- |> to_map()
10727- |> Jason.encode!()
10728- end
10729-end
10730-
10731-defmodule Obj4 do
10732- @enforce_keys [:dummy, :no_such_method, :nonatomic, :none, :nonlocal, :nonmutating, :not_eq, :ns_error, :ns_object, :ns_string, :null, :nullptr, :number, :obj4_none, :obj4_not, :obj4_null, :obj4_or, :obj4_protocol, :object, :object_mapper, :of, :oneway, :open, :operator, :optional, :or_eq, :out, :override, :package, :params, :pass, :port, :postfix, :precedence, :prefix, :print, :print_members, :printf, :private, :protected, :protocol, :public, :quicktype, :raise, :range, :readonly, :ref, :reg_exp, :register, :reinterpret_cast, :repeat, :require, :required, :requires, :restrict, :retain, :rethrows, :return, :right, :runtime_type, :s, :sbyte, :sealed, :sel, :select]
10733- defstruct [:dummy, :no_such_method, :nonatomic, :none, :nonlocal, :nonmutating, :not_eq, :ns_error, :ns_object, :ns_string, :null, :nullptr, :number, :obj4_none, :obj4_not, :obj4_null, :obj4_or, :obj4_protocol, :object, :object_mapper, :of, :oneway, :open, :operator, :optional, :or_eq, :out, :override, :package, :params, :pass, :port, :postfix, :precedence, :prefix, :print, :print_members, :printf, :private, :protected, :protocol, :public, :quicktype, :raise, :range, :readonly, :ref, :reg_exp, :register, :reinterpret_cast, :repeat, :require, :required, :requires, :restrict, :retain, :rethrows, :return, :right, :runtime_type, :s, :sbyte, :sealed, :sel, :select]
10731+defmodule Obj4 do
10732+ @enforce_keys [:dummy, :no_such_method, :noexcept, :nonatomic, :none, :nonlocal, :nonmutating, :not_eq, :ns_error, :ns_object, :ns_string, :null, :nullptr, :number, :obj4_none, :obj4_not, :obj4_null, :obj4_or, :obj4_protocol, :object, :object_mapper, :object_reader, :object_writer, :of, :oneway, :open, :operator, :optional, :or_eq, :out, :override, :package, :params, :pass, :port, :postfix, :precedence, :prefix, :print, :print_members, :printf, :private, :protected, :protocol, :public, :quicktype, :raise, :range, :readonly, :ref, :reg_exp, :register, :reinterpret_cast, :repeat, :require, :required, :requires, :restrict, :retain, :rethrows, :return, :right, :runtime_type, :s, :sbyte]
10733+ defstruct [:dummy, :no_such_method, :noexcept, :nonatomic, :none, :nonlocal, :nonmutating, :not_eq, :ns_error, :ns_object, :ns_string, :null, :nullptr, :number, :obj4_none, :obj4_not, :obj4_null, :obj4_or, :obj4_protocol, :object, :object_mapper, :object_reader, :object_writer, :of, :oneway, :open, :operator, :optional, :or_eq, :out, :override, :package, :params, :pass, :port, :postfix, :precedence, :prefix, :print, :print_members, :printf, :private, :protected, :protocol, :public, :quicktype, :raise, :range, :readonly, :ref, :reg_exp, :register, :reinterpret_cast, :repeat, :require, :required, :requires, :restrict, :retain, :rethrows, :return, :right, :runtime_type, :s, :sbyte]
1073410734
1073510735 @type t :: %__MODULE__{
1073610736 dummy: integer(),
1073710737 no_such_method: NoSuchMethod.t(),
10738+ noexcept: Noexcept.t(),
1073810739 nonatomic: Nonatomic.t(),
1073910740 none: None.t(),
1074010741 nonlocal: Nonlocal.t(),
@@ -10753,6 +10754,8 @@ defmodule Obj4 do
1075310754 obj4_protocol: Obj4Protocol.t(),
1075410755 object: Object.t(),
1075510756 object_mapper: ObjectMapper.t(),
10757+ object_reader: ObjectReader.t(),
10758+ object_writer: ObjectWriter.t(),
1075610759 of: Of.t(),
1075710760 oneway: Oneway.t(),
1075810761 open: Open.t(),
@@ -10794,10 +10797,7 @@ defmodule Obj4 do
1079410797 right: Right.t(),
1079510798 runtime_type: RuntimeType.t(),
1079610799 s: S.t(),
10797- sbyte: Sbyte.t(),
10798- sealed: Sealed.t(),
10799- sel: Sel.t(),
10800- select: Select.t()
10800+ sbyte: Sbyte.t()
1080110801 }
1080210802
1080310803 def decode_dummy(value) when is_integer(value), do: value
@@ -10810,6 +10810,7 @@ defmodule Obj4 do
1081010810 %Obj4{
1081110811 dummy: decode_dummy(m["dummy"]),
1081210812 no_such_method: NoSuchMethod.from_map(m["noSuchMethod"]),
10813+ noexcept: Noexcept.from_map(m["noexcept"]),
1081310814 nonatomic: Nonatomic.from_map(m["nonatomic"]),
1081410815 none: None.from_map(m["None"]),
1081510816 nonlocal: Nonlocal.from_map(m["nonlocal"]),
@@ -10828,6 +10829,8 @@ defmodule Obj4 do
1082810829 obj4_protocol: Obj4Protocol.from_map(m["protocol"]),
1082910830 object: Object.from_map(m["object"]),
1083010831 object_mapper: ObjectMapper.from_map(m["ObjectMapper"]),
10832+ object_reader: ObjectReader.from_map(m["ObjectReader"]),
10833+ object_writer: ObjectWriter.from_map(m["ObjectWriter"]),
1083110834 of: Of.from_map(m["of"]),
1083210835 oneway: Oneway.from_map(m["oneway"]),
1083310836 open: Open.from_map(m["open"]),
@@ -10870,9 +10873,6 @@ defmodule Obj4 do
1087010873 runtime_type: RuntimeType.from_map(m["runtimeType"]),
1087110874 s: S.from_map(m["s"]),
1087210875 sbyte: Sbyte.from_map(m["sbyte"]),
10873- sealed: Sealed.from_map(m["sealed"]),
10874- sel: Sel.from_map(m["SEL"]),
10875- select: Select.from_map(m["select"]),
1087610876 }
1087710877 end
1087810878
@@ -10886,6 +10886,7 @@ defmodule Obj4 do
1088610886 %{
1088710887 "dummy" => struct.dummy,
1088810888 "noSuchMethod" => NoSuchMethod.to_map(struct.no_such_method),
10889+ "noexcept" => Noexcept.to_map(struct.noexcept),
1088910890 "nonatomic" => Nonatomic.to_map(struct.nonatomic),
1089010891 "None" => None.to_map(struct.none),
1089110892 "nonlocal" => Nonlocal.to_map(struct.nonlocal),
@@ -10904,6 +10905,8 @@ defmodule Obj4 do
1090410905 "protocol" => Obj4Protocol.to_map(struct.obj4_protocol),
1090510906 "object" => Object.to_map(struct.object),
1090610907 "ObjectMapper" => ObjectMapper.to_map(struct.object_mapper),
10908+ "ObjectReader" => ObjectReader.to_map(struct.object_reader),
10909+ "ObjectWriter" => ObjectWriter.to_map(struct.object_writer),
1090710910 "of" => Of.to_map(struct.of),
1090810911 "oneway" => Oneway.to_map(struct.oneway),
1090910912 "open" => Open.to_map(struct.open),
@@ -10946,9 +10949,6 @@ defmodule Obj4 do
1094610949 "runtimeType" => RuntimeType.to_map(struct.runtime_type),
1094710950 "s" => S.to_map(struct.s),
1094810951 "sbyte" => Sbyte.to_map(struct.sbyte),
10949- "sealed" => Sealed.to_map(struct.sealed),
10950- "SEL" => Sel.to_map(struct.sel),
10951- "select" => Select.to_map(struct.select),
1095210952 }
1095310953 end
1095410954
@@ -11076,6 +11076,123 @@ defmodule TypeClass do
1107611076 end
1107711077 end
1107811078
11079+defmodule Sealed do
11080+ @enforce_keys [:sealed]
11081+ defstruct [:sealed]
11082+
11083+ @type t :: %__MODULE__{
11084+ sealed: integer()
11085+ }
11086+
11087+ def decode_sealed(value) when is_integer(value), do: value
11088+ def decode_sealed(_), do: {:error, "Unexpected type when decoding Sealed.sealed"}
11089+
11090+ def encode_sealed(value) when is_integer(value), do: value
11091+ def encode_sealed(_), do: {:error, "Unexpected type when encoding Sealed.sealed"}
11092+
11093+ def from_map(m) do
11094+ %Sealed{
11095+ sealed: decode_sealed(m["sealed"]),
11096+ }
11097+ end
11098+
11099+ def from_json(json) do
11100+ json
11101+ |> Jason.decode!()
11102+ |> from_map()
11103+ end
11104+
11105+ def to_map(struct) do
11106+ %{
11107+ "sealed" => struct.sealed,
11108+ }
11109+ end
11110+
11111+ def to_json(struct) do
11112+ struct
11113+ |> to_map()
11114+ |> Jason.encode!()
11115+ end
11116+end
11117+
11118+defmodule Sel do
11119+ @enforce_keys [:sel]
11120+ defstruct [:sel]
11121+
11122+ @type t :: %__MODULE__{
11123+ sel: integer()
11124+ }
11125+
11126+ def decode_sel(value) when is_integer(value), do: value
11127+ def decode_sel(_), do: {:error, "Unexpected type when decoding Sel.sel"}
11128+
11129+ def encode_sel(value) when is_integer(value), do: value
11130+ def encode_sel(_), do: {:error, "Unexpected type when encoding Sel.sel"}
11131+
11132+ def from_map(m) do
11133+ %Sel{
11134+ sel: decode_sel(m["SEL"]),
11135+ }
11136+ end
11137+
11138+ def from_json(json) do
11139+ json
11140+ |> Jason.decode!()
11141+ |> from_map()
11142+ end
11143+
11144+ def to_map(struct) do
11145+ %{
11146+ "SEL" => struct.sel,
11147+ }
11148+ end
11149+
11150+ def to_json(struct) do
11151+ struct
11152+ |> to_map()
11153+ |> Jason.encode!()
11154+ end
11155+end
11156+
11157+defmodule Select do
11158+ @enforce_keys [:select]
11159+ defstruct [:select]
11160+
11161+ @type t :: %__MODULE__{
11162+ select: integer()
11163+ }
11164+
11165+ def decode_select(value) when is_integer(value), do: value
11166+ def decode_select(_), do: {:error, "Unexpected type when decoding Select.select"}
11167+
11168+ def encode_select(value) when is_integer(value), do: value
11169+ def encode_select(_), do: {:error, "Unexpected type when encoding Select.select"}
11170+
11171+ def from_map(m) do
11172+ %Select{
11173+ select: decode_select(m["select"]),
11174+ }
11175+ end
11176+
11177+ def from_json(json) do
11178+ json
11179+ |> Jason.decode!()
11180+ |> from_map()
11181+ end
11182+
11183+ def to_map(struct) do
11184+ %{
11185+ "select" => struct.select,
11186+ }
11187+ end
11188+
11189+ def to_json(struct) do
11190+ struct
11191+ |> to_map()
11192+ |> Jason.encode!()
11193+ end
11194+end
11195+
1107911196 defmodule Self do
1108011197 @enforce_keys [:self]
1108111198 defstruct [:self]
@@ -11154,6 +11271,45 @@ defmodule Sendable do
1115411271 end
1115511272 end
1115611273
11274+defmodule SerializationFeature do
11275+ @enforce_keys [:serialization_feature]
11276+ defstruct [:serialization_feature]
11277+
11278+ @type t :: %__MODULE__{
11279+ serialization_feature: integer()
11280+ }
11281+
11282+ def decode_serialization_feature(value) when is_integer(value), do: value
11283+ def decode_serialization_feature(_), do: {:error, "Unexpected type when decoding SerializationFeature.serialization_feature"}
11284+
11285+ def encode_serialization_feature(value) when is_integer(value), do: value
11286+ def encode_serialization_feature(_), do: {:error, "Unexpected type when encoding SerializationFeature.serialization_feature"}
11287+
11288+ def from_map(m) do
11289+ %SerializationFeature{
11290+ serialization_feature: decode_serialization_feature(m["SerializationFeature"]),
11291+ }
11292+ end
11293+
11294+ def from_json(json) do
11295+ json
11296+ |> Jason.decode!()
11297+ |> from_map()
11298+ end
11299+
11300+ def to_map(struct) do
11301+ %{
11302+ "SerializationFeature" => struct.serialization_feature,
11303+ }
11304+ end
11305+
11306+ def to_json(struct) do
11307+ struct
11308+ |> to_map()
11309+ |> Jason.encode!()
11310+ end
11311+end
11312+
1115711313 defmodule Serialize do
1115811314 @enforce_keys [:serialize]
1115911315 defstruct [:serialize]
@@ -13158,164 +13314,8 @@ defmodule Unsigned do
1315813314 def encode_unsigned(_), do: {:error, "Unexpected type when encoding Unsigned.unsigned"}
1315913315
1316013316 def from_map(m) do
13161- %Unsigned{
13162- unsigned: decode_unsigned(m["unsigned"]),
13163- }
13164- end
13165-
13166- def from_json(json) do
13167- json
13168- |> Jason.decode!()
13169- |> from_map()
13170- end
13171-
13172- def to_map(struct) do
13173- %{
13174- "unsigned" => struct.unsigned,
13175- }
13176- end
13177-
13178- def to_json(struct) do
13179- struct
13180- |> to_map()
13181- |> Jason.encode!()
13182- end
13183-end
13184-
13185-defmodule Ushort do
13186- @enforce_keys [:ushort]
13187- defstruct [:ushort]
13188-
13189- @type t :: %__MODULE__{
13190- ushort: integer()
13191- }
13192-
13193- def decode_ushort(value) when is_integer(value), do: value
13194- def decode_ushort(_), do: {:error, "Unexpected type when decoding Ushort.ushort"}
13195-
13196- def encode_ushort(value) when is_integer(value), do: value
13197- def encode_ushort(_), do: {:error, "Unexpected type when encoding Ushort.ushort"}
13198-
13199- def from_map(m) do
13200- %Ushort{
13201- ushort: decode_ushort(m["ushort"]),
13202- }
13203- end
13204-
13205- def from_json(json) do
13206- json
13207- |> Jason.decode!()
13208- |> from_map()
13209- end
13210-
13211- def to_map(struct) do
13212- %{
13213- "ushort" => struct.ushort,
13214- }
13215- end
13216-
13217- def to_json(struct) do
13218- struct
13219- |> to_map()
13220- |> Jason.encode!()
13221- end
13222-end
13223-
13224-defmodule Using do
13225- @enforce_keys [:using]
13226- defstruct [:using]
13227-
13228- @type t :: %__MODULE__{
13229- using: integer()
13230- }
13231-
13232- def decode_using(value) when is_integer(value), do: value
13233- def decode_using(_), do: {:error, "Unexpected type when decoding Using.using"}
13234-
13235- def encode_using(value) when is_integer(value), do: value
13236- def encode_using(_), do: {:error, "Unexpected type when encoding Using.using"}
13237-
13238- def from_map(m) do
13239- %Using{
13240- using: decode_using(m["using"]),
13241- }
13242- end
13243-
13244- def from_json(json) do
13245- json
13246- |> Jason.decode!()
13247- |> from_map()
13248- end
13249-
13250- def to_map(struct) do
13251- %{
13252- "using" => struct.using,
13253- }
13254- end
13255-
13256- def to_json(struct) do
13257- struct
13258- |> to_map()
13259- |> Jason.encode!()
13260- end
13261-end
13262-
13263-defmodule Utf8JSONReader do
13264- @enforce_keys [:utf8_json_reader]
13265- defstruct [:utf8_json_reader]
13266-
13267- @type t :: %__MODULE__{
13268- utf8_json_reader: integer()
13269- }
13270-
13271- def decode_utf8_json_reader(value) when is_integer(value), do: value
13272- def decode_utf8_json_reader(_), do: {:error, "Unexpected type when decoding Utf8JSONReader.utf8_json_reader"}
13273-
13274- def encode_utf8_json_reader(value) when is_integer(value), do: value
13275- def encode_utf8_json_reader(_), do: {:error, "Unexpected type when encoding Utf8JSONReader.utf8_json_reader"}
13276-
13277- def from_map(m) do
13278- %Utf8JSONReader{
13279- utf8_json_reader: decode_utf8_json_reader(m["Utf8JsonReader"]),
13280- }
13281- end
13282-
13283- def from_json(json) do
13284- json
13285- |> Jason.decode!()
13286- |> from_map()
13287- end
13288-
13289- def to_map(struct) do
13290- %{
13291- "Utf8JsonReader" => struct.utf8_json_reader,
13292- }
13293- end
13294-
13295- def to_json(struct) do
13296- struct
13297- |> to_map()
13298- |> Jason.encode!()
13299- end
13300-end
13301-
13302-defmodule Utf8JSONWriter do
13303- @enforce_keys [:utf8_json_writer]
13304- defstruct [:utf8_json_writer]
13305-
13306- @type t :: %__MODULE__{
13307- utf8_json_writer: integer()
13308- }
13309-
13310- def decode_utf8_json_writer(value) when is_integer(value), do: value
13311- def decode_utf8_json_writer(_), do: {:error, "Unexpected type when decoding Utf8JSONWriter.utf8_json_writer"}
13312-
13313- def encode_utf8_json_writer(value) when is_integer(value), do: value
13314- def encode_utf8_json_writer(_), do: {:error, "Unexpected type when encoding Utf8JSONWriter.utf8_json_writer"}
13315-
13316- def from_map(m) do
13317- %Utf8JSONWriter{
13318- utf8_json_writer: decode_utf8_json_writer(m["Utf8JsonWriter"]),
13317+ %Unsigned{
13318+ unsigned: decode_unsigned(m["unsigned"]),
1331913319 }
1332013320 end
1332113321
@@ -13327,7 +13327,7 @@ defmodule Utf8JSONWriter do
1332713327
1332813328 def to_map(struct) do
1332913329 %{
13330- "Utf8JsonWriter" => struct.utf8_json_writer,
13330+ "unsigned" => struct.unsigned,
1333113331 }
1333213332 end
1333313333
@@ -13338,23 +13338,23 @@ defmodule Utf8JSONWriter do
1333813338 end
1333913339 end
1334013340
13341-defmodule UUID do
13342- @enforce_keys [:uuid]
13343- defstruct [:uuid]
13341+defmodule Ushort do
13342+ @enforce_keys [:ushort]
13343+ defstruct [:ushort]
1334413344
1334513345 @type t :: %__MODULE__{
13346- uuid: integer()
13346+ ushort: integer()
1334713347 }
1334813348
13349- def decode_uuid(value) when is_integer(value), do: value
13350- def decode_uuid(_), do: {:error, "Unexpected type when decoding UUID.uuid"}
13349+ def decode_ushort(value) when is_integer(value), do: value
13350+ def decode_ushort(_), do: {:error, "Unexpected type when decoding Ushort.ushort"}
1335113351
13352- def encode_uuid(value) when is_integer(value), do: value
13353- def encode_uuid(_), do: {:error, "Unexpected type when encoding UUID.uuid"}
13352+ def encode_ushort(value) when is_integer(value), do: value
13353+ def encode_ushort(_), do: {:error, "Unexpected type when encoding Ushort.ushort"}
1335413354
1335513355 def from_map(m) do
13356- %UUID{
13357- uuid: decode_uuid(m["UUID"]),
13356+ %Ushort{
13357+ ushort: decode_ushort(m["ushort"]),
1335813358 }
1335913359 end
1336013360
@@ -13366,7 +13366,7 @@ defmodule UUID do
1336613366
1336713367 def to_map(struct) do
1336813368 %{
13369- "UUID" => struct.uuid,
13369+ "ushort" => struct.ushort,
1337013370 }
1337113371 end
1337213372
@@ -13377,23 +13377,23 @@ defmodule UUID do
1337713377 end
1337813378 end
1337913379
13380-defmodule Var do
13381- @enforce_keys [:var]
13382- defstruct [:var]
13380+defmodule Using do
13381+ @enforce_keys [:using]
13382+ defstruct [:using]
1338313383
1338413384 @type t :: %__MODULE__{
13385- var: integer()
13385+ using: integer()
1338613386 }
1338713387
13388- def decode_var(value) when is_integer(value), do: value
13389- def decode_var(_), do: {:error, "Unexpected type when decoding Var.var"}
13388+ def decode_using(value) when is_integer(value), do: value
13389+ def decode_using(_), do: {:error, "Unexpected type when decoding Using.using"}
1339013390
13391- def encode_var(value) when is_integer(value), do: value
13392- def encode_var(_), do: {:error, "Unexpected type when encoding Var.var"}
13391+ def encode_using(value) when is_integer(value), do: value
13392+ def encode_using(_), do: {:error, "Unexpected type when encoding Using.using"}
1339313393
1339413394 def from_map(m) do
13395- %Var{
13396- var: decode_var(m["var"]),
13395+ %Using{
13396+ using: decode_using(m["using"]),
1339713397 }
1339813398 end
1339913399
@@ -13405,7 +13405,7 @@ defmodule Var do
1340513405
1340613406 def to_map(struct) do
1340713407 %{
13408- "var" => struct.var,
13408+ "using" => struct.using,
1340913409 }
1341013410 end
1341113411
@@ -13416,23 +13416,23 @@ defmodule Var do
1341613416 end
1341713417 end
1341813418
13419-defmodule Virtual do
13420- @enforce_keys [:virtual]
13421- defstruct [:virtual]
13419+defmodule Utf8JSONReader do
13420+ @enforce_keys [:utf8_json_reader]
13421+ defstruct [:utf8_json_reader]
1342213422
1342313423 @type t :: %__MODULE__{
13424- virtual: integer()
13424+ utf8_json_reader: integer()
1342513425 }
1342613426
13427- def decode_virtual(value) when is_integer(value), do: value
13428- def decode_virtual(_), do: {:error, "Unexpected type when decoding Virtual.virtual"}
13427+ def decode_utf8_json_reader(value) when is_integer(value), do: value
13428+ def decode_utf8_json_reader(_), do: {:error, "Unexpected type when decoding Utf8JSONReader.utf8_json_reader"}
1342913429
13430- def encode_virtual(value) when is_integer(value), do: value
13431- def encode_virtual(_), do: {:error, "Unexpected type when encoding Virtual.virtual"}
13430+ def encode_utf8_json_reader(value) when is_integer(value), do: value
13431+ def encode_utf8_json_reader(_), do: {:error, "Unexpected type when encoding Utf8JSONReader.utf8_json_reader"}
1343213432
1343313433 def from_map(m) do
13434- %Virtual{
13435- virtual: decode_virtual(m["virtual"]),
13434+ %Utf8JSONReader{
13435+ utf8_json_reader: decode_utf8_json_reader(m["Utf8JsonReader"]),
1343613436 }
1343713437 end
1343813438
@@ -13444,7 +13444,7 @@ defmodule Virtual do
1344413444
1344513445 def to_map(struct) do
1344613446 %{
13447- "virtual" => struct.virtual,
13447+ "Utf8JsonReader" => struct.utf8_json_reader,
1344813448 }
1344913449 end
1345013450
@@ -13456,16 +13456,20 @@ defmodule Virtual do
1345613456 end
1345713457
1345813458 defmodule Obj5 do
13459- @enforce_keys [:dummy, :obj5_self, :obj5_true, :obj5_type, :self, :sendable, :serialize, :serializer_provider, :set, :short, :signed, :simple_module, :sizeof, :stackalloc, :standards, :static, :static_assert, :static_cast, :std_deserializer, :std_serializer, :strictfp, :string, :struct, :subscript, :super, :switch, :symbol, :synchronized, :system, :template, :then, :this, :thread_local, :throw, :throws, :time_only, :time_only_converter, :time_zone, :to_json, :to_string, :top_level, :transient, :true_1, :try, :type, :typealias, :typedef, :typeid, :typename, :typeof, :uint, :ulong, :unchecked, :undefined, :union, :unowned, :unsafe, :unsigned, :ushort, :using, :utf8_json_reader, :utf8_json_writer, :uuid, :var, :virtual]
13460- defstruct [:dummy, :obj5_self, :obj5_true, :obj5_type, :self, :sendable, :serialize, :serializer_provider, :set, :short, :signed, :simple_module, :sizeof, :stackalloc, :standards, :static, :static_assert, :static_cast, :std_deserializer, :std_serializer, :strictfp, :string, :struct, :subscript, :super, :switch, :symbol, :synchronized, :system, :template, :then, :this, :thread_local, :throw, :throws, :time_only, :time_only_converter, :time_zone, :to_json, :to_string, :top_level, :transient, :true_1, :try, :type, :typealias, :typedef, :typeid, :typename, :typeof, :uint, :ulong, :unchecked, :undefined, :union, :unowned, :unsafe, :unsigned, :ushort, :using, :utf8_json_reader, :utf8_json_writer, :uuid, :var, :virtual]
13459+ @enforce_keys [:dummy, :obj5_self, :obj5_true, :obj5_type, :sealed, :sel, :select, :self, :sendable, :serialization_feature, :serialize, :serializer_provider, :set, :short, :signed, :simple_module, :sizeof, :stackalloc, :standards, :static, :static_assert, :static_cast, :std_deserializer, :std_serializer, :strictfp, :string, :struct, :subscript, :super, :switch, :symbol, :synchronized, :system, :template, :then, :this, :thread_local, :throw, :throws, :time_only, :time_only_converter, :time_zone, :to_json, :to_string, :top_level, :transient, :true_1, :try, :type, :typealias, :typedef, :typeid, :typename, :typeof, :uint, :ulong, :unchecked, :undefined, :union, :unowned, :unsafe, :unsigned, :ushort, :using, :utf8_json_reader]
13460+ defstruct [:dummy, :obj5_self, :obj5_true, :obj5_type, :sealed, :sel, :select, :self, :sendable, :serialization_feature, :serialize, :serializer_provider, :set, :short, :signed, :simple_module, :sizeof, :stackalloc, :standards, :static, :static_assert, :static_cast, :std_deserializer, :std_serializer, :strictfp, :string, :struct, :subscript, :super, :switch, :symbol, :synchronized, :system, :template, :then, :this, :thread_local, :throw, :throws, :time_only, :time_only_converter, :time_zone, :to_json, :to_string, :top_level, :transient, :true_1, :try, :type, :typealias, :typedef, :typeid, :typename, :typeof, :uint, :ulong, :unchecked, :undefined, :union, :unowned, :unsafe, :unsigned, :ushort, :using, :utf8_json_reader]
1346113461
1346213462 @type t :: %__MODULE__{
1346313463 dummy: integer(),
1346413464 obj5_self: SelfClass.t(),
1346513465 obj5_true: TrueClass.t(),
1346613466 obj5_type: TypeClass.t(),
13467+ sealed: Sealed.t(),
13468+ sel: Sel.t(),
13469+ select: Select.t(),
1346713470 self: Self.t(),
1346813471 sendable: Sendable.t(),
13472+ serialization_feature: SerializationFeature.t(),
1346913473 serialize: Serialize.t(),
1347013474 serializer_provider: SerializerProvider.t(),
1347113475 set: SetClass.t(),
@@ -13520,11 +13524,7 @@ defmodule Obj5 do
1352013524 unsigned: Unsigned.t(),
1352113525 ushort: Ushort.t(),
1352213526 using: Using.t(),
13523- utf8_json_reader: Utf8JSONReader.t(),
13524- utf8_json_writer: Utf8JSONWriter.t(),
13525- uuid: UUID.t(),
13526- var: Var.t(),
13527- virtual: Virtual.t()
13527+ utf8_json_reader: Utf8JSONReader.t()
1352813528 }
1352913529
1353013530 def decode_dummy(value) when is_integer(value), do: value
@@ -13539,8 +13539,12 @@ defmodule Obj5 do
1353913539 obj5_self: SelfClass.from_map(m["self"]),
1354013540 obj5_true: TrueClass.from_map(m["True"]),
1354113541 obj5_type: TypeClass.from_map(m["type"]),
13542+ sealed: Sealed.from_map(m["sealed"]),
13543+ sel: Sel.from_map(m["SEL"]),
13544+ select: Select.from_map(m["select"]),
1354213545 self: Self.from_map(m["Self"]),
1354313546 sendable: Sendable.from_map(m["Sendable"]),
13547+ serialization_feature: SerializationFeature.from_map(m["SerializationFeature"]),
1354413548 serialize: Serialize.from_map(m["serialize"]),
1354513549 serializer_provider: SerializerProvider.from_map(m["SerializerProvider"]),
1354613550 set: SetClass.from_map(m["set"]),
@@ -13596,10 +13600,6 @@ defmodule Obj5 do
1359613600 ushort: Ushort.from_map(m["ushort"]),
1359713601 using: Using.from_map(m["using"]),
1359813602 utf8_json_reader: Utf8JSONReader.from_map(m["Utf8JsonReader"]),
13599- utf8_json_writer: Utf8JSONWriter.from_map(m["Utf8JsonWriter"]),
13600- uuid: UUID.from_map(m["UUID"]),
13601- var: Var.from_map(m["var"]),
13602- virtual: Virtual.from_map(m["virtual"]),
1360313603 }
1360413604 end
1360513605
@@ -13615,8 +13615,12 @@ defmodule Obj5 do
1361513615 "self" => SelfClass.to_map(struct.obj5_self),
1361613616 "True" => TrueClass.to_map(struct.obj5_true),
1361713617 "type" => TypeClass.to_map(struct.obj5_type),
13618+ "sealed" => Sealed.to_map(struct.sealed),
13619+ "SEL" => Sel.to_map(struct.sel),
13620+ "select" => Select.to_map(struct.select),
1361813621 "Self" => Self.to_map(struct.self),
1361913622 "Sendable" => Sendable.to_map(struct.sendable),
13623+ "SerializationFeature" => SerializationFeature.to_map(struct.serialization_feature),
1362013624 "serialize" => Serialize.to_map(struct.serialize),
1362113625 "SerializerProvider" => SerializerProvider.to_map(struct.serializer_provider),
1362213626 "set" => SetClass.to_map(struct.set),
@@ -13672,10 +13676,162 @@ defmodule Obj5 do
1367213676 "ushort" => Ushort.to_map(struct.ushort),
1367313677 "using" => Using.to_map(struct.using),
1367413678 "Utf8JsonReader" => Utf8JSONReader.to_map(struct.utf8_json_reader),
13675- "Utf8JsonWriter" => Utf8JSONWriter.to_map(struct.utf8_json_writer),
13676- "UUID" => UUID.to_map(struct.uuid),
13677- "var" => Var.to_map(struct.var),
13678- "virtual" => Virtual.to_map(struct.virtual),
13679+ }
13680+ end
13681+
13682+ def to_json(struct) do
13683+ struct
13684+ |> to_map()
13685+ |> Jason.encode!()
13686+ end
13687+end
13688+
13689+defmodule Utf8JSONWriter do
13690+ @enforce_keys [:utf8_json_writer]
13691+ defstruct [:utf8_json_writer]
13692+
13693+ @type t :: %__MODULE__{
13694+ utf8_json_writer: integer()
13695+ }
13696+
13697+ def decode_utf8_json_writer(value) when is_integer(value), do: value
13698+ def decode_utf8_json_writer(_), do: {:error, "Unexpected type when decoding Utf8JSONWriter.utf8_json_writer"}
13699+
13700+ def encode_utf8_json_writer(value) when is_integer(value), do: value
13701+ def encode_utf8_json_writer(_), do: {:error, "Unexpected type when encoding Utf8JSONWriter.utf8_json_writer"}
13702+
13703+ def from_map(m) do
13704+ %Utf8JSONWriter{
13705+ utf8_json_writer: decode_utf8_json_writer(m["Utf8JsonWriter"]),
13706+ }
13707+ end
13708+
13709+ def from_json(json) do
13710+ json
13711+ |> Jason.decode!()
13712+ |> from_map()
13713+ end
13714+
13715+ def to_map(struct) do
13716+ %{
13717+ "Utf8JsonWriter" => struct.utf8_json_writer,
13718+ }
13719+ end
13720+
13721+ def to_json(struct) do
13722+ struct
13723+ |> to_map()
13724+ |> Jason.encode!()
13725+ end
13726+end
13727+
13728+defmodule UUID do
13729+ @enforce_keys [:uuid]
13730+ defstruct [:uuid]
13731+
13732+ @type t :: %__MODULE__{
13733+ uuid: integer()
13734+ }
13735+
13736+ def decode_uuid(value) when is_integer(value), do: value
13737+ def decode_uuid(_), do: {:error, "Unexpected type when decoding UUID.uuid"}
13738+
13739+ def encode_uuid(value) when is_integer(value), do: value
13740+ def encode_uuid(_), do: {:error, "Unexpected type when encoding UUID.uuid"}
13741+
13742+ def from_map(m) do
13743+ %UUID{
13744+ uuid: decode_uuid(m["UUID"]),
13745+ }
13746+ end
13747+
13748+ def from_json(json) do
13749+ json
13750+ |> Jason.decode!()
13751+ |> from_map()
13752+ end
13753+
13754+ def to_map(struct) do
13755+ %{
13756+ "UUID" => struct.uuid,
13757+ }
13758+ end
13759+
13760+ def to_json(struct) do
13761+ struct
13762+ |> to_map()
13763+ |> Jason.encode!()
13764+ end
13765+end
13766+
13767+defmodule Var do
13768+ @enforce_keys [:var]
13769+ defstruct [:var]
13770+
13771+ @type t :: %__MODULE__{
13772+ var: integer()
13773+ }
13774+
13775+ def decode_var(value) when is_integer(value), do: value
13776+ def decode_var(_), do: {:error, "Unexpected type when decoding Var.var"}
13777+
13778+ def encode_var(value) when is_integer(value), do: value
13779+ def encode_var(_), do: {:error, "Unexpected type when encoding Var.var"}
13780+
13781+ def from_map(m) do
13782+ %Var{
13783+ var: decode_var(m["var"]),
13784+ }
13785+ end
13786+
13787+ def from_json(json) do
13788+ json
13789+ |> Jason.decode!()
13790+ |> from_map()
13791+ end
13792+
13793+ def to_map(struct) do
13794+ %{
13795+ "var" => struct.var,
13796+ }
13797+ end
13798+
13799+ def to_json(struct) do
13800+ struct
13801+ |> to_map()
13802+ |> Jason.encode!()
13803+ end
13804+end
13805+
13806+defmodule Virtual do
13807+ @enforce_keys [:virtual]
13808+ defstruct [:virtual]
13809+
13810+ @type t :: %__MODULE__{
13811+ virtual: integer()
13812+ }
13813+
13814+ def decode_virtual(value) when is_integer(value), do: value
13815+ def decode_virtual(_), do: {:error, "Unexpected type when decoding Virtual.virtual"}
13816+
13817+ def encode_virtual(value) when is_integer(value), do: value
13818+ def encode_virtual(_), do: {:error, "Unexpected type when encoding Virtual.virtual"}
13819+
13820+ def from_map(m) do
13821+ %Virtual{
13822+ virtual: decode_virtual(m["virtual"]),
13823+ }
13824+ end
13825+
13826+ def from_json(json) do
13827+ json
13828+ |> Jason.decode!()
13829+ |> from_map()
13830+ end
13831+
13832+ def to_map(struct) do
13833+ %{
13834+ "virtual" => struct.virtual,
1367913835 }
1368013836 end
1368113837
@@ -14155,11 +14311,15 @@ defmodule Yield do
1415514311 end
1415614312
1415714313 defmodule Obj6 do
14158- @enforce_keys [:dummy, :void, :volatile, :wchar_t, :weak, :where, :while, :will_set, :with, :xor, :xor_eq, :yes, :yield]
14159- defstruct [:dummy, :void, :volatile, :wchar_t, :weak, :where, :while, :will_set, :with, :xor, :xor_eq, :yes, :yield]
14314+ @enforce_keys [:dummy, :utf8_json_writer, :uuid, :var, :virtual, :void, :volatile, :wchar_t, :weak, :where, :while, :will_set, :with, :xor, :xor_eq, :yes, :yield]
14315+ defstruct [:dummy, :utf8_json_writer, :uuid, :var, :virtual, :void, :volatile, :wchar_t, :weak, :where, :while, :will_set, :with, :xor, :xor_eq, :yes, :yield]
1416014316
1416114317 @type t :: %__MODULE__{
1416214318 dummy: integer(),
14319+ utf8_json_writer: Utf8JSONWriter.t(),
14320+ uuid: UUID.t(),
14321+ var: Var.t(),
14322+ virtual: Virtual.t(),
1416314323 void: Void.t(),
1416414324 volatile: Volatile.t(),
1416514325 wchar_t: WcharT.t(),
@@ -14183,6 +14343,10 @@ defmodule Obj6 do
1418314343 def from_map(m) do
1418414344 %Obj6{
1418514345 dummy: decode_dummy(m["dummy"]),
14346+ utf8_json_writer: Utf8JSONWriter.from_map(m["Utf8JsonWriter"]),
14347+ uuid: UUID.from_map(m["UUID"]),
14348+ var: Var.from_map(m["var"]),
14349+ virtual: Virtual.from_map(m["virtual"]),
1418614350 void: Void.from_map(m["void"]),
1418714351 volatile: Volatile.from_map(m["volatile"]),
1418814352 wchar_t: WcharT.from_map(m["wchar_t"]),
@@ -14207,6 +14371,10 @@ defmodule Obj6 do
1420714371 def to_map(struct) do
1420814372 %{
1420914373 "dummy" => struct.dummy,
14374+ "Utf8JsonWriter" => Utf8JSONWriter.to_map(struct.utf8_json_writer),
14375+ "UUID" => UUID.to_map(struct.uuid),
14376+ "var" => Var.to_map(struct.var),
14377+ "virtual" => Virtual.to_map(struct.virtual),
1421014378 "void" => Void.to_map(struct.void),
1421114379 "volatile" => Volatile.to_map(struct.volatile),
1421214380 "wchar_t" => WcharT.to_map(struct.wchar_t),
Melmdefault / QuickType.elm+245 −169
@@ -100,6 +100,7 @@ module QuickType exposing
100100 , Del
101101 , Delegate
102102 , Delete
103+ , DeserializationFeature
103104 , DictClass
104105 , Dictionary
105106 , DidSet
@@ -139,13 +140,13 @@ module QuickType exposing
139140 , Get
140141 , Global
141142 , Go
142- , Goto
143143 , Decoder
144144 , Else
145145 , Exposing
146146 , Obj2False
147147 , FloatClass
148148 , Obj3
149+ , Goto
149150 , Guard
150151 , HasOwnProperty
151152 , HashCode
@@ -202,7 +203,6 @@ module QuickType exposing
202203 , Newtonsoft
203204 , Nil
204205 , No
205- , Noexcept
206206 , If
207207 , Import
208208 , In
@@ -212,6 +212,7 @@ module QuickType exposing
212212 , Module
213213 , Obj4
214214 , NoSuchMethod
215+ , Noexcept
215216 , Nonatomic
216217 , None
217218 , Nonlocal
@@ -231,6 +232,8 @@ module QuickType exposing
231232 , ProtocolClass
232233 , Object
233234 , ObjectMapper
235+ , ObjectReader
236+ , ObjectWriter
234237 , Oneway
235238 , Open
236239 , Operator
@@ -272,9 +275,6 @@ module QuickType exposing
272275 , RuntimeType
273276 , S
274277 , Sbyte
275- , Sealed
276- , Sel
277- , Select
278278 , Obj5
279279 , SelfClass
280280 , StringClass
@@ -282,8 +282,12 @@ module QuickType exposing
282282 , Obj5True
283283 , Type
284284 , TypeClass
285+ , Sealed
286+ , Sel
287+ , Select
285288 , Self
286289 , Sendable
290+ , SerializationFeature
287291 , Serialize
288292 , SerializerProvider
289293 , Set
@@ -336,12 +340,12 @@ module QuickType exposing
336340 , Ushort
337341 , Using
338342 , Utf8JSONReader
343+ , Obj6
344+ , Where
339345 , Utf8JSONWriter
340346 , UUID
341347 , Var
342348 , Virtual
343- , Obj6
344- , Where
345349 , Void
346350 , Volatile
347351 , WcharT
@@ -715,6 +719,7 @@ type alias Obj2 =
715719 , del : Del
716720 , delegate : Delegate
717721 , delete : Delete
722+ , deserializationFeature : DeserializationFeature
718723 , dict : DictClass
719724 , dictionary : Dictionary
720725 , didSet : DidSet
@@ -755,7 +760,6 @@ type alias Obj2 =
755760 , get : Get
756761 , global : Global
757762 , go : Go
758- , goto : Goto
759763 , obj2Decoder : Decoder
760764 , obj2Else : Else
761765 , obj2Exposing : Exposing
@@ -839,6 +843,10 @@ type alias Delete =
839843 { delete : Int
840844 }
841845
846+type alias DeserializationFeature =
847+ { deserializationFeature : Int
848+ }
849+
842850 type alias DictClass =
843851 { dict : Int
844852 }
@@ -999,10 +1007,6 @@ type alias Go =
9991007 { go : Int
10001008 }
10011009
1002-type alias Goto =
1003- { goto : Int
1004- }
1005-
10061010 type alias Decoder =
10071011 { decoderDecoder : Int
10081012 }
@@ -1025,6 +1029,7 @@ type alias FloatClass =
10251029
10261030 type alias Obj3 =
10271031 { dummy : Int
1032+ , goto : Goto
10281033 , guard : Guard
10291034 , hasOwnProperty : HasOwnProperty
10301035 , hashCode : HashCode
@@ -1081,7 +1086,6 @@ type alias Obj3 =
10811086 , newtonsoft : Newtonsoft
10821087 , nil : Nil
10831088 , no : No
1084- , noexcept : Noexcept
10851089 , obj3If : If
10861090 , obj3Import : Import
10871091 , obj3In : In
@@ -1091,6 +1095,10 @@ type alias Obj3 =
10911095 , obj3Module : Module
10921096 }
10931097
1098+type alias Goto =
1099+ { goto : Int
1100+ }
1101+
10941102 type alias Guard =
10951103 { guard : Int
10961104 }
@@ -1315,10 +1323,6 @@ type alias No =
13151323 { no : Int
13161324 }
13171325
1318-type alias Noexcept =
1319- { noexcept : Int
1320- }
1321-
13221326 type alias If =
13231327 { ifIf : Int
13241328 }
@@ -1350,6 +1354,7 @@ type alias Module =
13501354 type alias Obj4 =
13511355 { dummy : Int
13521356 , noSuchMethod : NoSuchMethod
1357+ , noexcept : Noexcept
13531358 , nonatomic : Nonatomic
13541359 , none : None
13551360 , nonlocal : Nonlocal
@@ -1369,6 +1374,8 @@ type alias Obj4 =
13691374 , obj4Protocol : ProtocolClass
13701375 , object : Object
13711376 , objectMapper : ObjectMapper
1377+ , objectReader : ObjectReader
1378+ , objectWriter : ObjectWriter
13721379 , oneway : Oneway
13731380 , open : Open
13741381 , operator : Operator
@@ -1410,15 +1417,16 @@ type alias Obj4 =
14101417 , runtimeType : RuntimeType
14111418 , s : S
14121419 , sbyte : Sbyte
1413- , sealed : Sealed
1414- , sel : Sel
1415- , select : Select
14161420 }
14171421
14181422 type alias NoSuchMethod =
14191423 { noSuchMethod : Int
14201424 }
14211425
1426+type alias Noexcept =
1427+ { noexcept : Int
1428+ }
1429+
14221430 type alias Nonatomic =
14231431 { nonatomic : Int
14241432 }
@@ -1495,6 +1503,14 @@ type alias ObjectMapper =
14951503 { objectMapper : Int
14961504 }
14971505
1506+type alias ObjectReader =
1507+ { objectReader : Int
1508+ }
1509+
1510+type alias ObjectWriter =
1511+ { objectWriter : Int
1512+ }
1513+
14981514 type alias Oneway =
14991515 { oneway : Int
15001516 }
@@ -1659,18 +1675,6 @@ type alias Sbyte =
16591675 { sbyte : Int
16601676 }
16611677
1662-type alias Sealed =
1663- { sealed : Int
1664- }
1665-
1666-type alias Sel =
1667- { sel : Int
1668- }
1669-
1670-type alias Select =
1671- { select : Int
1672- }
1673-
16741678 type alias Obj5 =
16751679 { dummy : Int
16761680 , obj5Self : SelfClass
@@ -1679,8 +1683,12 @@ type alias Obj5 =
16791683 , obj5True : Obj5True
16801684 , obj5Type : Type
16811685 , purpleType : TypeClass
1686+ , sealed : Sealed
1687+ , sel : Sel
1688+ , select : Select
16821689 , self : Self
16831690 , sendable : Sendable
1691+ , serializationFeature : SerializationFeature
16841692 , serialize : Serialize
16851693 , serializerProvider : SerializerProvider
16861694 , set : Set
@@ -1733,10 +1741,6 @@ type alias Obj5 =
17331741 , ushort : Ushort
17341742 , using : Using
17351743 , utf8JSONReader : Utf8JSONReader
1736- , utf8JSONWriter : Utf8JSONWriter
1737- , uuid : UUID
1738- , var : Var
1739- , virtual : Virtual
17401744 }
17411745
17421746 type alias SelfClass =
@@ -1763,6 +1767,18 @@ type alias TypeClass =
17631767 { typeType : Int
17641768 }
17651769
1770+type alias Sealed =
1771+ { sealed : Int
1772+ }
1773+
1774+type alias Sel =
1775+ { sel : Int
1776+ }
1777+
1778+type alias Select =
1779+ { select : Int
1780+ }
1781+
17661782 type alias Self =
17671783 { self : Int
17681784 }
@@ -1771,6 +1787,10 @@ type alias Sendable =
17711787 { sendable : Int
17721788 }
17731789
1790+type alias SerializationFeature =
1791+ { serializationFeature : Int
1792+ }
1793+
17741794 type alias Serialize =
17751795 { serialize : Int
17761796 }
@@ -1979,25 +1999,13 @@ type alias Utf8JSONReader =
19791999 { utf8JSONReader : Int
19802000 }
19812001
1982-type alias Utf8JSONWriter =
1983- { utf8JSONWriter : Int
1984- }
1985-
1986-type alias UUID =
1987- { uuid : Int
1988- }
1989-
1990-type alias Var =
1991- { var : Int
1992- }
1993-
1994-type alias Virtual =
1995- { virtual : Int
1996- }
1997-
19982002 type alias Obj6 =
19992003 { dummy : Int
20002004 , obj6Where : Where
2005+ , utf8JSONWriter : Utf8JSONWriter
2006+ , uuid : UUID
2007+ , var : Var
2008+ , virtual : Virtual
20012009 , void : Void
20022010 , volatile : Volatile
20032011 , wcharT : WcharT
@@ -2015,6 +2023,22 @@ type alias Where =
20152023 { whereWhere : Int
20162024 }
20172025
2026+type alias Utf8JSONWriter =
2027+ { utf8JSONWriter : Int
2028+ }
2029+
2030+type alias UUID =
2031+ { uuid : Int
2032+ }
2033+
2034+type alias Var =
2035+ { var : Int
2036+ }
2037+
2038+type alias Virtual =
2039+ { virtual : Int
2040+ }
2041+
20182042 type alias Void =
20192043 { void : Int
20202044 }
@@ -2958,6 +2982,7 @@ obj2 =
29582982 |> Jpipe.required "del" del
29592983 |> Jpipe.required "delegate" delegate
29602984 |> Jpipe.required "delete" delete
2985+ |> Jpipe.required "DeserializationFeature" deserializationFeature
29612986 |> Jpipe.required "dict" dictClass
29622987 |> Jpipe.required "dictionary" dictionary
29632988 |> Jpipe.required "didSet" didSet
@@ -2998,7 +3023,6 @@ obj2 =
29983023 |> Jpipe.required "get" get
29993024 |> Jpipe.required "global" global
30003025 |> Jpipe.required "go" go
3001- |> Jpipe.required "goto" goto
30023026 |> Jpipe.required "Decoder" purpleDecoder
30033027 |> Jpipe.required "else" purpleElse
30043028 |> Jpipe.required "exposing" purpleExposing
@@ -3027,6 +3051,7 @@ encodeObj2 x =
30273051 , ("del", encodeDel x.del)
30283052 , ("delegate", encodeDelegate x.delegate)
30293053 , ("delete", encodeDelete x.delete)
3054+ , ("DeserializationFeature", encodeDeserializationFeature x.deserializationFeature)
30303055 , ("dict", encodeDictClass x.dict)
30313056 , ("dictionary", encodeDictionary x.dictionary)
30323057 , ("didSet", encodeDidSet x.didSet)
@@ -3067,7 +3092,6 @@ encodeObj2 x =
30673092 , ("get", encodeGet x.get)
30683093 , ("global", encodeGlobal x.global)
30693094 , ("go", encodeGo x.go)
3070- , ("goto", encodeGoto x.goto)
30713095 , ("Decoder", encodeDecoder x.obj2Decoder)
30723096 , ("else", encodeElse x.obj2Else)
30733097 , ("exposing", encodeExposing x.obj2Exposing)
@@ -3284,6 +3308,17 @@ encodeDelete x =
32843308 [ ("delete", Jenc.int x.delete)
32853309 ]
32863310
3311+deserializationFeature : Jdec.Decoder DeserializationFeature
3312+deserializationFeature =
3313+ Jdec.succeed DeserializationFeature
3314+ |> Jpipe.required "DeserializationFeature" Jdec.int
3315+
3316+encodeDeserializationFeature : DeserializationFeature -> Jenc.Value
3317+encodeDeserializationFeature x =
3318+ Jenc.object
3319+ [ ("DeserializationFeature", Jenc.int x.deserializationFeature)
3320+ ]
3321+
32873322 dictClass : Jdec.Decoder DictClass
32883323 dictClass =
32893324 Jdec.succeed DictClass
@@ -3728,17 +3763,6 @@ encodeGo x =
37283763 [ ("go", Jenc.int x.go)
37293764 ]
37303765
3731-goto : Jdec.Decoder Goto
3732-goto =
3733- Jdec.succeed Goto
3734- |> Jpipe.required "goto" Jdec.int
3735-
3736-encodeGoto : Goto -> Jenc.Value
3737-encodeGoto x =
3738- Jenc.object
3739- [ ("goto", Jenc.int x.goto)
3740- ]
3741-
37423766 purpleDecoder : Jdec.Decoder Decoder
37433767 purpleDecoder =
37443768 Jdec.succeed Decoder
@@ -3798,6 +3822,7 @@ obj3 : Jdec.Decoder Obj3
37983822 obj3 =
37993823 Jdec.succeed Obj3
38003824 |> Jpipe.required "dummy" Jdec.int
3825+ |> Jpipe.required "goto" goto
38013826 |> Jpipe.required "guard" guard
38023827 |> Jpipe.required "hasOwnProperty" hasOwnProperty
38033828 |> Jpipe.required "hashCode" hashCode
@@ -3854,7 +3879,6 @@ obj3 =
38543879 |> Jpipe.required "newtonsoft" newtonsoft
38553880 |> Jpipe.required "nil" nil
38563881 |> Jpipe.required "NO" no
3857- |> Jpipe.required "noexcept" noexcept
38583882 |> Jpipe.required "if" purpleIf
38593883 |> Jpipe.required "import" purpleImport
38603884 |> Jpipe.required "in" purpleIn
@@ -3867,6 +3891,7 @@ encodeObj3 : Obj3 -> Jenc.Value
38673891 encodeObj3 x =
38683892 Jenc.object
38693893 [ ("dummy", Jenc.int x.dummy)
3894+ , ("goto", encodeGoto x.goto)
38703895 , ("guard", encodeGuard x.guard)
38713896 , ("hasOwnProperty", encodeHasOwnProperty x.hasOwnProperty)
38723897 , ("hashCode", encodeHashCode x.hashCode)
@@ -3923,7 +3948,6 @@ encodeObj3 x =
39233948 , ("newtonsoft", encodeNewtonsoft x.newtonsoft)
39243949 , ("nil", encodeNil x.nil)
39253950 , ("NO", encodeNo x.no)
3926- , ("noexcept", encodeNoexcept x.noexcept)
39273951 , ("if", encodeIf x.obj3If)
39283952 , ("import", encodeImport x.obj3Import)
39293953 , ("in", encodeIn x.obj3In)
@@ -3933,6 +3957,17 @@ encodeObj3 x =
39333957 , ("module", encodeModule x.obj3Module)
39343958 ]
39353959
3960+goto : Jdec.Decoder Goto
3961+goto =
3962+ Jdec.succeed Goto
3963+ |> Jpipe.required "goto" Jdec.int
3964+
3965+encodeGoto : Goto -> Jenc.Value
3966+encodeGoto x =
3967+ Jenc.object
3968+ [ ("goto", Jenc.int x.goto)
3969+ ]
3970+
39363971 guard : Jdec.Decoder Guard
39373972 guard =
39383973 Jdec.succeed Guard
@@ -4549,17 +4584,6 @@ encodeNo x =
45494584 [ ("NO", Jenc.int x.no)
45504585 ]
45514586
4552-noexcept : Jdec.Decoder Noexcept
4553-noexcept =
4554- Jdec.succeed Noexcept
4555- |> Jpipe.required "noexcept" Jdec.int
4556-
4557-encodeNoexcept : Noexcept -> Jenc.Value
4558-encodeNoexcept x =
4559- Jenc.object
4560- [ ("noexcept", Jenc.int x.noexcept)
4561- ]
4562-
45634587 purpleIf : Jdec.Decoder If
45644588 purpleIf =
45654589 Jdec.succeed If
@@ -4642,6 +4666,7 @@ obj4 =
46424666 Jdec.succeed Obj4
46434667 |> Jpipe.required "dummy" Jdec.int
46444668 |> Jpipe.required "noSuchMethod" noSuchMethod
4669+ |> Jpipe.required "noexcept" noexcept
46454670 |> Jpipe.required "nonatomic" nonatomic
46464671 |> Jpipe.required "None" none
46474672 |> Jpipe.required "nonlocal" nonlocal
@@ -4661,6 +4686,8 @@ obj4 =
46614686 |> Jpipe.required "protocol" protocolClass
46624687 |> Jpipe.required "object" object
46634688 |> Jpipe.required "ObjectMapper" objectMapper
4689+ |> Jpipe.required "ObjectReader" objectReader
4690+ |> Jpipe.required "ObjectWriter" objectWriter
46644691 |> Jpipe.required "oneway" oneway
46654692 |> Jpipe.required "open" open
46664693 |> Jpipe.required "operator" operator
@@ -4702,15 +4729,13 @@ obj4 =
47024729 |> Jpipe.required "runtimeType" runtimeType
47034730 |> Jpipe.required "s" s
47044731 |> Jpipe.required "sbyte" sbyte
4705- |> Jpipe.required "sealed" sealed
4706- |> Jpipe.required "SEL" sel
4707- |> Jpipe.required "select" select
47084732
47094733 encodeObj4 : Obj4 -> Jenc.Value
47104734 encodeObj4 x =
47114735 Jenc.object
47124736 [ ("dummy", Jenc.int x.dummy)
47134737 , ("noSuchMethod", encodeNoSuchMethod x.noSuchMethod)
4738+ , ("noexcept", encodeNoexcept x.noexcept)
47144739 , ("nonatomic", encodeNonatomic x.nonatomic)
47154740 , ("None", encodeNone x.none)
47164741 , ("nonlocal", encodeNonlocal x.nonlocal)
@@ -4730,6 +4755,8 @@ encodeObj4 x =
47304755 , ("protocol", encodeProtocolClass x.obj4Protocol)
47314756 , ("object", encodeObject x.object)
47324757 , ("ObjectMapper", encodeObjectMapper x.objectMapper)
4758+ , ("ObjectReader", encodeObjectReader x.objectReader)
4759+ , ("ObjectWriter", encodeObjectWriter x.objectWriter)
47334760 , ("oneway", encodeOneway x.oneway)
47344761 , ("open", encodeOpen x.open)
47354762 , ("operator", encodeOperator x.operator)
@@ -4771,9 +4798,6 @@ encodeObj4 x =
47714798 , ("runtimeType", encodeRuntimeType x.runtimeType)
47724799 , ("s", encodeS x.s)
47734800 , ("sbyte", encodeSbyte x.sbyte)
4774- , ("sealed", encodeSealed x.sealed)
4775- , ("SEL", encodeSel x.sel)
4776- , ("select", encodeSelect x.select)
47774801 ]
47784802
47794803 noSuchMethod : Jdec.Decoder NoSuchMethod
@@ -4787,6 +4811,17 @@ encodeNoSuchMethod x =
47874811 [ ("noSuchMethod", Jenc.int x.noSuchMethod)
47884812 ]
47894813
4814+noexcept : Jdec.Decoder Noexcept
4815+noexcept =
4816+ Jdec.succeed Noexcept
4817+ |> Jpipe.required "noexcept" Jdec.int
4818+
4819+encodeNoexcept : Noexcept -> Jenc.Value
4820+encodeNoexcept x =
4821+ Jenc.object
4822+ [ ("noexcept", Jenc.int x.noexcept)
4823+ ]
4824+
47904825 nonatomic : Jdec.Decoder Nonatomic
47914826 nonatomic =
47924827 Jdec.succeed Nonatomic
@@ -4996,6 +5031,28 @@ encodeObjectMapper x =
49965031 [ ("ObjectMapper", Jenc.int x.objectMapper)
49975032 ]
49985033
5034+objectReader : Jdec.Decoder ObjectReader
5035+objectReader =
5036+ Jdec.succeed ObjectReader
5037+ |> Jpipe.required "ObjectReader" Jdec.int
5038+
5039+encodeObjectReader : ObjectReader -> Jenc.Value
5040+encodeObjectReader x =
5041+ Jenc.object
5042+ [ ("ObjectReader", Jenc.int x.objectReader)
5043+ ]
5044+
5045+objectWriter : Jdec.Decoder ObjectWriter
5046+objectWriter =
5047+ Jdec.succeed ObjectWriter
5048+ |> Jpipe.required "ObjectWriter" Jdec.int
5049+
5050+encodeObjectWriter : ObjectWriter -> Jenc.Value
5051+encodeObjectWriter x =
5052+ Jenc.object
5053+ [ ("ObjectWriter", Jenc.int x.objectWriter)
5054+ ]
5055+
49995056 oneway : Jdec.Decoder Oneway
50005057 oneway =
50015058 Jdec.succeed Oneway
@@ -5447,39 +5504,6 @@ encodeSbyte x =
54475504 [ ("sbyte", Jenc.int x.sbyte)
54485505 ]
54495506
5450-sealed : Jdec.Decoder Sealed
5451-sealed =
5452- Jdec.succeed Sealed
5453- |> Jpipe.required "sealed" Jdec.int
5454-
5455-encodeSealed : Sealed -> Jenc.Value
5456-encodeSealed x =
5457- Jenc.object
5458- [ ("sealed", Jenc.int x.sealed)
5459- ]
5460-
5461-sel : Jdec.Decoder Sel
5462-sel =
5463- Jdec.succeed Sel
5464- |> Jpipe.required "SEL" Jdec.int
5465-
5466-encodeSel : Sel -> Jenc.Value
5467-encodeSel x =
5468- Jenc.object
5469- [ ("SEL", Jenc.int x.sel)
5470- ]
5471-
5472-select : Jdec.Decoder Select
5473-select =
5474- Jdec.succeed Select
5475- |> Jpipe.required "select" Jdec.int
5476-
5477-encodeSelect : Select -> Jenc.Value
5478-encodeSelect x =
5479- Jenc.object
5480- [ ("select", Jenc.int x.select)
5481- ]
5482-
54835507 obj5 : Jdec.Decoder Obj5
54845508 obj5 =
54855509 Jdec.succeed Obj5
@@ -5490,8 +5514,12 @@ obj5 =
54905514 |> Jpipe.required "true" obj5True
54915515 |> Jpipe.required "Type" purpleType
54925516 |> Jpipe.required "type" typeClass
5517+ |> Jpipe.required "sealed" sealed
5518+ |> Jpipe.required "SEL" sel
5519+ |> Jpipe.required "select" select
54935520 |> Jpipe.required "Self" self
54945521 |> Jpipe.required "Sendable" sendable
5522+ |> Jpipe.required "SerializationFeature" serializationFeature
54955523 |> Jpipe.required "serialize" serialize
54965524 |> Jpipe.required "SerializerProvider" serializerProvider
54975525 |> Jpipe.required "set" set
@@ -5544,10 +5572,6 @@ obj5 =
55445572 |> Jpipe.required "ushort" ushort
55455573 |> Jpipe.required "using" using
55465574 |> Jpipe.required "Utf8JsonReader" utf8JSONReader
5547- |> Jpipe.required "Utf8JsonWriter" utf8JSONWriter
5548- |> Jpipe.required "UUID" uuid
5549- |> Jpipe.required "var" var
5550- |> Jpipe.required "virtual" virtual
55515575
55525576 encodeObj5 : Obj5 -> Jenc.Value
55535577 encodeObj5 x =
@@ -5559,8 +5583,12 @@ encodeObj5 x =
55595583 , ("true", encodeObj5True x.obj5True)
55605584 , ("Type", encodeType x.obj5Type)
55615585 , ("type", encodeTypeClass x.purpleType)
5586+ , ("sealed", encodeSealed x.sealed)
5587+ , ("SEL", encodeSel x.sel)
5588+ , ("select", encodeSelect x.select)
55625589 , ("Self", encodeSelf x.self)
55635590 , ("Sendable", encodeSendable x.sendable)
5591+ , ("SerializationFeature", encodeSerializationFeature x.serializationFeature)
55645592 , ("serialize", encodeSerialize x.serialize)
55655593 , ("SerializerProvider", encodeSerializerProvider x.serializerProvider)
55665594 , ("set", encodeSet x.set)
@@ -5613,10 +5641,6 @@ encodeObj5 x =
56135641 , ("ushort", encodeUshort x.ushort)
56145642 , ("using", encodeUsing x.using)
56155643 , ("Utf8JsonReader", encodeUtf8JSONReader x.utf8JSONReader)
5616- , ("Utf8JsonWriter", encodeUtf8JSONWriter x.utf8JSONWriter)
5617- , ("UUID", encodeUUID x.uuid)
5618- , ("var", encodeVar x.var)
5619- , ("virtual", encodeVirtual x.virtual)
56205644 ]
56215645
56225646 selfClass : Jdec.Decoder SelfClass
@@ -5685,6 +5709,39 @@ encodeTypeClass x =
56855709 [ ("type", Jenc.int x.typeType)
56865710 ]
56875711
5712+sealed : Jdec.Decoder Sealed
5713+sealed =
5714+ Jdec.succeed Sealed
5715+ |> Jpipe.required "sealed" Jdec.int
5716+
5717+encodeSealed : Sealed -> Jenc.Value
5718+encodeSealed x =
5719+ Jenc.object
5720+ [ ("sealed", Jenc.int x.sealed)
5721+ ]
5722+
5723+sel : Jdec.Decoder Sel
5724+sel =
5725+ Jdec.succeed Sel
5726+ |> Jpipe.required "SEL" Jdec.int
5727+
5728+encodeSel : Sel -> Jenc.Value
5729+encodeSel x =
5730+ Jenc.object
5731+ [ ("SEL", Jenc.int x.sel)
5732+ ]
5733+
5734+select : Jdec.Decoder Select
5735+select =
5736+ Jdec.succeed Select
5737+ |> Jpipe.required "select" Jdec.int
5738+
5739+encodeSelect : Select -> Jenc.Value
5740+encodeSelect x =
5741+ Jenc.object
5742+ [ ("select", Jenc.int x.select)
5743+ ]
5744+
56885745 self : Jdec.Decoder Self
56895746 self =
56905747 Jdec.succeed Self
@@ -5707,6 +5764,17 @@ encodeSendable x =
57075764 [ ("Sendable", Jenc.int x.sendable)
57085765 ]
57095766
5767+serializationFeature : Jdec.Decoder SerializationFeature
5768+serializationFeature =
5769+ Jdec.succeed SerializationFeature
5770+ |> Jpipe.required "SerializationFeature" Jdec.int
5771+
5772+encodeSerializationFeature : SerializationFeature -> Jenc.Value
5773+encodeSerializationFeature x =
5774+ Jenc.object
5775+ [ ("SerializationFeature", Jenc.int x.serializationFeature)
5776+ ]
5777+
57105778 serialize : Jdec.Decoder Serialize
57115779 serialize =
57125780 Jdec.succeed Serialize
@@ -6279,55 +6347,15 @@ encodeUtf8JSONReader x =
62796347 [ ("Utf8JsonReader", Jenc.int x.utf8JSONReader)
62806348 ]
62816349
6282-utf8JSONWriter : Jdec.Decoder Utf8JSONWriter
6283-utf8JSONWriter =
6284- Jdec.succeed Utf8JSONWriter
6285- |> Jpipe.required "Utf8JsonWriter" Jdec.int
6286-
6287-encodeUtf8JSONWriter : Utf8JSONWriter -> Jenc.Value
6288-encodeUtf8JSONWriter x =
6289- Jenc.object
6290- [ ("Utf8JsonWriter", Jenc.int x.utf8JSONWriter)
6291- ]
6292-
6293-uuid : Jdec.Decoder UUID
6294-uuid =
6295- Jdec.succeed UUID
6296- |> Jpipe.required "UUID" Jdec.int
6297-
6298-encodeUUID : UUID -> Jenc.Value
6299-encodeUUID x =
6300- Jenc.object
6301- [ ("UUID", Jenc.int x.uuid)
6302- ]
6303-
6304-var : Jdec.Decoder Var
6305-var =
6306- Jdec.succeed Var
6307- |> Jpipe.required "var" Jdec.int
6308-
6309-encodeVar : Var -> Jenc.Value
6310-encodeVar x =
6311- Jenc.object
6312- [ ("var", Jenc.int x.var)
6313- ]
6314-
6315-virtual : Jdec.Decoder Virtual
6316-virtual =
6317- Jdec.succeed Virtual
6318- |> Jpipe.required "virtual" Jdec.int
6319-
6320-encodeVirtual : Virtual -> Jenc.Value
6321-encodeVirtual x =
6322- Jenc.object
6323- [ ("virtual", Jenc.int x.virtual)
6324- ]
6325-
63266350 obj6 : Jdec.Decoder Obj6
63276351 obj6 =
63286352 Jdec.succeed Obj6
63296353 |> Jpipe.required "dummy" Jdec.int
63306354 |> Jpipe.required "where" purpleWhere
6355+ |> Jpipe.required "Utf8JsonWriter" utf8JSONWriter
6356+ |> Jpipe.required "UUID" uuid
6357+ |> Jpipe.required "var" var
6358+ |> Jpipe.required "virtual" virtual
63316359 |> Jpipe.required "void" void
63326360 |> Jpipe.required "volatile" volatile
63336361 |> Jpipe.required "wchar_t" wcharT
@@ -6345,6 +6373,10 @@ encodeObj6 x =
63456373 Jenc.object
63466374 [ ("dummy", Jenc.int x.dummy)
63476375 , ("where", encodeWhere x.obj6Where)
6376+ , ("Utf8JsonWriter", encodeUtf8JSONWriter x.utf8JSONWriter)
6377+ , ("UUID", encodeUUID x.uuid)
6378+ , ("var", encodeVar x.var)
6379+ , ("virtual", encodeVirtual x.virtual)
63486380 , ("void", encodeVoid x.void)
63496381 , ("volatile", encodeVolatile x.volatile)
63506382 , ("wchar_t", encodeWcharT x.wcharT)
@@ -6369,6 +6401,50 @@ encodeWhere x =
63696401 [ ("where", Jenc.int x.whereWhere)
63706402 ]
63716403
6404+utf8JSONWriter : Jdec.Decoder Utf8JSONWriter
6405+utf8JSONWriter =
6406+ Jdec.succeed Utf8JSONWriter
6407+ |> Jpipe.required "Utf8JsonWriter" Jdec.int
6408+
6409+encodeUtf8JSONWriter : Utf8JSONWriter -> Jenc.Value
6410+encodeUtf8JSONWriter x =
6411+ Jenc.object
6412+ [ ("Utf8JsonWriter", Jenc.int x.utf8JSONWriter)
6413+ ]
6414+
6415+uuid : Jdec.Decoder UUID
6416+uuid =
6417+ Jdec.succeed UUID
6418+ |> Jpipe.required "UUID" Jdec.int
6419+
6420+encodeUUID : UUID -> Jenc.Value
6421+encodeUUID x =
6422+ Jenc.object
6423+ [ ("UUID", Jenc.int x.uuid)
6424+ ]
6425+
6426+var : Jdec.Decoder Var
6427+var =
6428+ Jdec.succeed Var
6429+ |> Jpipe.required "var" Jdec.int
6430+
6431+encodeVar : Var -> Jenc.Value
6432+encodeVar x =
6433+ Jenc.object
6434+ [ ("var", Jenc.int x.var)
6435+ ]
6436+
6437+virtual : Jdec.Decoder Virtual
6438+virtual =
6439+ Jdec.succeed Virtual
6440+ |> Jpipe.required "virtual" Jdec.int
6441+
6442+encodeVirtual : Virtual -> Jenc.Value
6443+encodeVirtual x =
6444+ Jenc.object
6445+ [ ("virtual", Jenc.int x.virtual)
6446+ ]
6447+
63726448 void : Jdec.Decoder Void
63736449 void =
63746450 Jdec.succeed Void
Mflowdefault / TopLevel.js+248 −212
@@ -344,71 +344,71 @@ export type DateClass = {
344344 };
345345
346346 export type Obj2 = {
347- DateFormatter: DateFormatter;
348- DateOnly: DateOnly;
349- DateOnlyConverter: DateOnlyConverter;
350- DateTime: DateTime;
351- DateTimeStyles: DateTimeStyles;
352- Decoder: Decoder;
353- DecodingError: DecodingError;
354- Encoder: Encoder;
355- EnumValues: EnumValues;
356- Equatable: Equatable;
357- False: False;
358- FormatException: FormatException;
359- date_parse_handling: DateParseHandling;
360- debugger: Debugger;
361- decimal: Decimal;
362- declare: Declare;
363- decltype: Decltype;
364- decode_string: DecodeString;
365- def: Def;
366- default: Default;
367- defer: Defer;
368- deinit: Deinit;
369- del: Del;
370- delegate: Delegate;
371- delete: Delete;
372- dict: Dict;
373- dictionary: Dictionary;
374- didSet: DidSet;
375- do: Do;
376- double: Double;
377- dummy: number;
378- dynamic: Dynamic;
379- dynamic_cast: DynamicCast;
380- elif: Elif;
381- else: Else;
382- encode_quick_type: EncodeQuickType;
383- enum: Enum;
384- equalityContract: EqualityContract;
385- event: Event;
386- except: Except;
387- exception: Exception;
388- explicit: Explicit;
389- export: Export;
390- exposing: Exposing;
391- extends: Extends;
392- extension: Extension;
393- extern: Extern;
394- fallthrough: Fallthrough;
395- false: FalseClass;
396- fileprivate: Fileprivate;
397- final: Final;
398- finally: Finally;
399- fixed: Fixed;
400- float: Float;
401- for: For;
402- foreach: Foreach;
403- friend: Friend;
404- from: From;
405- from_json: FromJSON;
406- func: Func;
407- function: Function;
408- get: Get;
409- global: Global;
410- go: Go;
411- goto: Goto;
347+ DateFormatter: DateFormatter;
348+ DateOnly: DateOnly;
349+ DateOnlyConverter: DateOnlyConverter;
350+ DateTime: DateTime;
351+ DateTimeStyles: DateTimeStyles;
352+ Decoder: Decoder;
353+ DecodingError: DecodingError;
354+ DeserializationFeature: DeserializationFeature;
355+ Encoder: Encoder;
356+ EnumValues: EnumValues;
357+ Equatable: Equatable;
358+ False: False;
359+ FormatException: FormatException;
360+ date_parse_handling: DateParseHandling;
361+ debugger: Debugger;
362+ decimal: Decimal;
363+ declare: Declare;
364+ decltype: Decltype;
365+ decode_string: DecodeString;
366+ def: Def;
367+ default: Default;
368+ defer: Defer;
369+ deinit: Deinit;
370+ del: Del;
371+ delegate: Delegate;
372+ delete: Delete;
373+ dict: Dict;
374+ dictionary: Dictionary;
375+ didSet: DidSet;
376+ do: Do;
377+ double: Double;
378+ dummy: number;
379+ dynamic: Dynamic;
380+ dynamic_cast: DynamicCast;
381+ elif: Elif;
382+ else: Else;
383+ encode_quick_type: EncodeQuickType;
384+ enum: Enum;
385+ equalityContract: EqualityContract;
386+ event: Event;
387+ except: Except;
388+ exception: Exception;
389+ explicit: Explicit;
390+ export: Export;
391+ exposing: Exposing;
392+ extends: Extends;
393+ extension: Extension;
394+ extern: Extern;
395+ fallthrough: Fallthrough;
396+ false: FalseClass;
397+ fileprivate: Fileprivate;
398+ final: Final;
399+ finally: Finally;
400+ fixed: Fixed;
401+ float: Float;
402+ for: For;
403+ foreach: Foreach;
404+ friend: Friend;
405+ from: From;
406+ from_json: FromJSON;
407+ func: Func;
408+ function: Function;
409+ get: Get;
410+ global: Global;
411+ go: Go;
412412 };
413413
414414 export type DateFormatter = {
@@ -439,6 +439,10 @@ export type DecodingError = {
439439 DecodingError: number;
440440 };
441441
442+export type DeserializationFeature = {
443+ DeserializationFeature: number;
444+};
445+
442446 export type Encoder = {
443447 Encoder: number;
444448 };
@@ -667,10 +671,6 @@ export type Go = {
667671 go: number;
668672 };
669673
670-export type Goto = {
671- goto: number;
672-};
673-
674674 export type Obj3 = {
675675 Hashable: Hashable;
676676 Hasher: Hasher;
@@ -691,6 +691,7 @@ export type Obj3 = {
691691 MapEntry: MapEntry;
692692 NO: No;
693693 dummy: number;
694+ goto: Goto;
694695 guard: Guard;
695696 hasOwnProperty: HasOwnProperty;
696697 hashCode: HashCode;
@@ -736,7 +737,6 @@ export type Obj3 = {
736737 new: New;
737738 newtonsoft: Newtonsoft;
738739 nil: Nil;
739- noexcept: Noexcept;
740740 };
741741
742742 export type Hashable = {
@@ -811,6 +811,10 @@ export type No = {
811811 NO: number;
812812 };
813813
814+export type Goto = {
815+ goto: number;
816+};
817+
814818 export type Guard = {
815819 guard: number;
816820 };
@@ -991,10 +995,6 @@ export type Nil = {
991995 nil: number;
992996 };
993997
994-export type Noexcept = {
995- noexcept: number;
996-};
997-
998998 export type Obj4 = {
999999 NSError: NSError;
10001000 NSObject: NSObject;
@@ -1002,11 +1002,13 @@ export type Obj4 = {
10021002 NULL: Null;
10031003 None: None;
10041004 ObjectMapper: ObjectMapper;
1005+ ObjectReader: ObjectReader;
1006+ ObjectWriter: ObjectWriter;
10051007 Protocol: Protocol;
10061008 RegExp: RegExpClass;
1007- SEL: Sel;
10081009 dummy: number;
10091010 noSuchMethod: NoSuchMethod;
1011+ noexcept: Noexcept;
10101012 nonatomic: Nonatomic;
10111013 none: NoneClass;
10121014 nonlocal: Nonlocal;
@@ -1059,8 +1061,6 @@ export type Obj4 = {
10591061 runtimeType: RuntimeType;
10601062 s: S;
10611063 sbyte: Sbyte;
1062- sealed: Sealed;
1063- select: Select;
10641064 };
10651065
10661066 export type NSError = {
@@ -1087,6 +1087,14 @@ export type ObjectMapper = {
10871087 ObjectMapper: number;
10881088 };
10891089
1090+export type ObjectReader = {
1091+ ObjectReader: number;
1092+};
1093+
1094+export type ObjectWriter = {
1095+ ObjectWriter: number;
1096+};
1097+
10901098 export type Protocol = {
10911099 Protocol: number;
10921100 };
@@ -1095,14 +1103,14 @@ export type RegExpClass = {
10951103 RegExp: string;
10961104 };
10971105
1098-export type Sel = {
1099- SEL: number;
1100-};
1101-
11021106 export type NoSuchMethod = {
11031107 noSuchMethod: number;
11041108 };
11051109
1110+export type Noexcept = {
1111+ noexcept: number;
1112+};
1113+
11061114 export type Nonatomic = {
11071115 nonatomic: number;
11081116 };
@@ -1311,80 +1319,76 @@ export type Sbyte = {
13111319 sbyte: number;
13121320 };
13131321
1314-export type Sealed = {
1315- sealed: number;
1316-};
1317-
1318-export type Select = {
1319- select: number;
1322+export type Obj5 = {
1323+ SEL: Sel;
1324+ Self: Self;
1325+ Sendable: Sendable;
1326+ SerializationFeature: SerializationFeature;
1327+ SerializerProvider: SerializerProvider;
1328+ SimpleModule: SimpleModule;
1329+ Standards: Standards;
1330+ StdDeserializer: StdDeserializer;
1331+ StdSerializer: StdSerializer;
1332+ TimeOnly: TimeOnly;
1333+ TimeOnlyConverter: TimeOnlyConverter;
1334+ TimeZone: TimeZone;
1335+ True: True;
1336+ Type: Type;
1337+ Utf8JsonReader: Utf8JSONReader;
1338+ dummy: number;
1339+ sealed: Sealed;
1340+ select: Select;
1341+ self: SelfClass;
1342+ serialize: Serialize;
1343+ set: Set;
1344+ short: Short;
1345+ signed: Signed;
1346+ sizeof: Sizeof;
1347+ stackalloc: Stackalloc;
1348+ static: Static;
1349+ static_assert: StaticAssert;
1350+ static_cast: StaticCast;
1351+ strictfp: Strictfp;
1352+ string: StringClass;
1353+ struct: Struct;
1354+ subscript: Subscript;
1355+ super: Super;
1356+ switch: Switch;
1357+ symbol: Symbol;
1358+ synchronized: Synchronized;
1359+ system: System;
1360+ template: Template;
1361+ then: Then;
1362+ this: This;
1363+ thread_local: ThreadLocal;
1364+ throw: Throw;
1365+ throws: Throws;
1366+ toString: ToString;
1367+ to_json: ToJSON;
1368+ top_level: TopLevelClass;
1369+ transient: Transient;
1370+ true: TrueClass;
1371+ try: Try;
1372+ type: TypeClass;
1373+ typealias: Typealias;
1374+ typedef: Typedef;
1375+ typeid: Typeid;
1376+ typename: Typename;
1377+ typeof: Typeof;
1378+ uint: Uint;
1379+ ulong: Ulong;
1380+ unchecked: Unchecked;
1381+ undefined: Undefined;
1382+ union: Union;
1383+ unowned: Unowned;
1384+ unsafe: Unsafe;
1385+ unsigned: Unsigned;
1386+ ushort: Ushort;
1387+ using: Using;
13201388 };
13211389
1322-export type Obj5 = {
1323- Self: Self;
1324- Sendable: Sendable;
1325- SerializerProvider: SerializerProvider;
1326- SimpleModule: SimpleModule;
1327- Standards: Standards;
1328- StdDeserializer: StdDeserializer;
1329- StdSerializer: StdSerializer;
1330- TimeOnly: TimeOnly;
1331- TimeOnlyConverter: TimeOnlyConverter;
1332- TimeZone: TimeZone;
1333- True: True;
1334- Type: Type;
1335- UUID: UUID;
1336- Utf8JsonReader: Utf8JSONReader;
1337- Utf8JsonWriter: Utf8JSONWriter;
1338- dummy: number;
1339- self: SelfClass;
1340- serialize: Serialize;
1341- set: Set;
1342- short: Short;
1343- signed: Signed;
1344- sizeof: Sizeof;
1345- stackalloc: Stackalloc;
1346- static: Static;
1347- static_assert: StaticAssert;
1348- static_cast: StaticCast;
1349- strictfp: Strictfp;
1350- string: StringClass;
1351- struct: Struct;
1352- subscript: Subscript;
1353- super: Super;
1354- switch: Switch;
1355- symbol: Symbol;
1356- synchronized: Synchronized;
1357- system: System;
1358- template: Template;
1359- then: Then;
1360- this: This;
1361- thread_local: ThreadLocal;
1362- throw: Throw;
1363- throws: Throws;
1364- toString: ToString;
1365- to_json: ToJSON;
1366- top_level: TopLevelClass;
1367- transient: Transient;
1368- true: TrueClass;
1369- try: Try;
1370- type: TypeClass;
1371- typealias: Typealias;
1372- typedef: Typedef;
1373- typeid: Typeid;
1374- typename: Typename;
1375- typeof: Typeof;
1376- uint: Uint;
1377- ulong: Ulong;
1378- unchecked: Unchecked;
1379- undefined: Undefined;
1380- union: Union;
1381- unowned: Unowned;
1382- unsafe: Unsafe;
1383- unsigned: Unsigned;
1384- ushort: Ushort;
1385- using: Using;
1386- var: Var;
1387- virtual: Virtual;
1390+export type Sel = {
1391+ SEL: number;
13881392 };
13891393
13901394 export type Self = {
@@ -1395,6 +1399,10 @@ export type Sendable = {
13951399 Sendable: number;
13961400 };
13971401
1402+export type SerializationFeature = {
1403+ SerializationFeature: number;
1404+};
1405+
13981406 export type SerializerProvider = {
13991407 SerializerProvider: number;
14001408 };
@@ -1435,16 +1443,16 @@ export type Type = {
14351443 Type: number;
14361444 };
14371445
1438-export type UUID = {
1439- UUID: number;
1440-};
1441-
14421446 export type Utf8JSONReader = {
14431447 Utf8JsonReader: number;
14441448 };
14451449
1446-export type Utf8JSONWriter = {
1447- Utf8JsonWriter: number;
1450+export type Sealed = {
1451+ sealed: number;
1452+};
1453+
1454+export type Select = {
1455+ select: number;
14481456 };
14491457
14501458 export type SelfClass = {
@@ -1635,34 +1643,46 @@ export type Using = {
16351643 using: number;
16361644 };
16371645
1638-export type Var = {
1639- var: number;
1646+export type Obj6 = {
1647+ UUID: UUID;
1648+ Utf8JsonWriter: Utf8JSONWriter;
1649+ YES: Yes;
1650+ dummy: number;
1651+ var: Var;
1652+ virtual: Virtual;
1653+ void: Void;
1654+ volatile: Volatile;
1655+ wchar_t: WcharT;
1656+ weak: Weak;
1657+ where: Where;
1658+ while: While;
1659+ willSet: WillSet;
1660+ with: With;
1661+ xor: Xor;
1662+ xor_eq: XorEq;
1663+ yield: Yield;
16401664 };
16411665
1642-export type Virtual = {
1643- virtual: number;
1666+export type UUID = {
1667+ UUID: number;
16441668 };
16451669
1646-export type Obj6 = {
1647- YES: Yes;
1648- dummy: number;
1649- void: Void;
1650- volatile: Volatile;
1651- wchar_t: WcharT;
1652- weak: Weak;
1653- where: Where;
1654- while: While;
1655- willSet: WillSet;
1656- with: With;
1657- xor: Xor;
1658- xor_eq: XorEq;
1659- yield: Yield;
1670+export type Utf8JSONWriter = {
1671+ Utf8JsonWriter: number;
16601672 };
16611673
16621674 export type Yes = {
16631675 YES: number;
16641676 };
16651677
1678+export type Var = {
1679+ var: number;
1680+};
1681+
1682+export type Virtual = {
1683+ virtual: number;
1684+};
1685+
16661686 export type Void = {
16671687 void: number;
16681688 };
@@ -2169,6 +2189,7 @@ const typeMap: any = {
21692189 { json: "DateTimeStyles", js: "DateTimeStyles", typ: r("DateTimeStyles") },
21702190 { json: "Decoder", js: "Decoder", typ: r("Decoder") },
21712191 { json: "DecodingError", js: "DecodingError", typ: r("DecodingError") },
2192+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: r("DeserializationFeature") },
21722193 { json: "Encoder", js: "Encoder", typ: r("Encoder") },
21732194 { json: "EnumValues", js: "EnumValues", typ: r("EnumValues") },
21742195 { json: "Equatable", js: "Equatable", typ: r("Equatable") },
@@ -2226,7 +2247,6 @@ const typeMap: any = {
22262247 { json: "get", js: "get", typ: r("Get") },
22272248 { json: "global", js: "global", typ: r("Global") },
22282249 { json: "go", js: "go", typ: r("Go") },
2229- { json: "goto", js: "goto", typ: r("Goto") },
22302250 ], false),
22312251 "DateFormatter": o([
22322252 { json: "DateFormatter", js: "DateFormatter", typ: i(0) },
@@ -2249,6 +2269,9 @@ const typeMap: any = {
22492269 "DecodingError": o([
22502270 { json: "DecodingError", js: "DecodingError", typ: i(0) },
22512271 ], false),
2272+ "DeserializationFeature": o([
2273+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: i(0) },
2274+ ], false),
22522275 "Encoder": o([
22532276 { json: "Encoder", js: "Encoder", typ: i(0) },
22542277 ], false),
@@ -2417,9 +2440,6 @@ const typeMap: any = {
24172440 "Go": o([
24182441 { json: "go", js: "go", typ: i(0) },
24192442 ], false),
2420- "Goto": o([
2421- { json: "goto", js: "goto", typ: i(0) },
2422- ], false),
24232443 "Obj3": o([
24242444 { json: "Hashable", js: "Hashable", typ: r("Hashable") },
24252445 { json: "Hasher", js: "Hasher", typ: r("Hasher") },
@@ -2440,6 +2460,7 @@ const typeMap: any = {
24402460 { json: "MapEntry", js: "MapEntry", typ: r("MapEntry") },
24412461 { json: "NO", js: "NO", typ: r("No") },
24422462 { json: "dummy", js: "dummy", typ: i(0) },
2463+ { json: "goto", js: "goto", typ: r("Goto") },
24432464 { json: "guard", js: "guard", typ: r("Guard") },
24442465 { json: "hasOwnProperty", js: "hasOwnProperty", typ: r("HasOwnProperty") },
24452466 { json: "hashCode", js: "hashCode", typ: r("HashCode") },
@@ -2485,7 +2506,6 @@ const typeMap: any = {
24852506 { json: "new", js: "new", typ: r("New") },
24862507 { json: "newtonsoft", js: "newtonsoft", typ: r("Newtonsoft") },
24872508 { json: "nil", js: "nil", typ: r("Nil") },
2488- { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
24892509 ], false),
24902510 "Hashable": o([
24912511 { json: "Hashable", js: "Hashable", typ: i(0) },
@@ -2541,6 +2561,9 @@ const typeMap: any = {
25412561 "No": o([
25422562 { json: "NO", js: "NO", typ: i(0) },
25432563 ], false),
2564+ "Goto": o([
2565+ { json: "goto", js: "goto", typ: i(0) },
2566+ ], false),
25442567 "Guard": o([
25452568 { json: "guard", js: "guard", typ: i(0) },
25462569 ], false),
@@ -2676,9 +2699,6 @@ const typeMap: any = {
26762699 "Nil": o([
26772700 { json: "nil", js: "nil", typ: i(0) },
26782701 ], false),
2679- "Noexcept": o([
2680- { json: "noexcept", js: "noexcept", typ: i(0) },
2681- ], false),
26822702 "Obj4": o([
26832703 { json: "NSError", js: "NSError", typ: r("NSError") },
26842704 { json: "NSObject", js: "NSObject", typ: r("NSObject") },
@@ -2686,11 +2706,13 @@ const typeMap: any = {
26862706 { json: "NULL", js: "NULL", typ: r("Null") },
26872707 { json: "None", js: "None", typ: r("None") },
26882708 { json: "ObjectMapper", js: "ObjectMapper", typ: r("ObjectMapper") },
2709+ { json: "ObjectReader", js: "ObjectReader", typ: r("ObjectReader") },
2710+ { json: "ObjectWriter", js: "ObjectWriter", typ: r("ObjectWriter") },
26892711 { json: "Protocol", js: "Protocol", typ: r("Protocol") },
26902712 { json: "RegExp", js: "RegExp", typ: r("RegExpClass") },
2691- { json: "SEL", js: "SEL", typ: r("Sel") },
26922713 { json: "dummy", js: "dummy", typ: i(0) },
26932714 { json: "noSuchMethod", js: "noSuchMethod", typ: r("NoSuchMethod") },
2715+ { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
26942716 { json: "nonatomic", js: "nonatomic", typ: r("Nonatomic") },
26952717 { json: "none", js: "none", typ: r("NoneClass") },
26962718 { json: "nonlocal", js: "nonlocal", typ: r("Nonlocal") },
@@ -2743,8 +2765,6 @@ const typeMap: any = {
27432765 { json: "runtimeType", js: "runtimeType", typ: r("RuntimeType") },
27442766 { json: "s", js: "s", typ: r("S") },
27452767 { json: "sbyte", js: "sbyte", typ: r("Sbyte") },
2746- { json: "sealed", js: "sealed", typ: r("Sealed") },
2747- { json: "select", js: "select", typ: r("Select") },
27482768 ], false),
27492769 "NSError": o([
27502770 { json: "NSError", js: "NSError", typ: i(0) },
@@ -2764,18 +2784,24 @@ const typeMap: any = {
27642784 "ObjectMapper": o([
27652785 { json: "ObjectMapper", js: "ObjectMapper", typ: i(0) },
27662786 ], false),
2787+ "ObjectReader": o([
2788+ { json: "ObjectReader", js: "ObjectReader", typ: i(0) },
2789+ ], false),
2790+ "ObjectWriter": o([
2791+ { json: "ObjectWriter", js: "ObjectWriter", typ: i(0) },
2792+ ], false),
27672793 "Protocol": o([
27682794 { json: "Protocol", js: "Protocol", typ: i(0) },
27692795 ], false),
27702796 "RegExpClass": o([
27712797 { json: "RegExp", js: "RegExp", typ: { uuid: "" } },
27722798 ], false),
2773- "Sel": o([
2774- { json: "SEL", js: "SEL", typ: i(0) },
2775- ], false),
27762799 "NoSuchMethod": o([
27772800 { json: "noSuchMethod", js: "noSuchMethod", typ: i(0) },
27782801 ], false),
2802+ "Noexcept": o([
2803+ { json: "noexcept", js: "noexcept", typ: i(0) },
2804+ ], false),
27792805 "Nonatomic": o([
27802806 { json: "nonatomic", js: "nonatomic", typ: i(0) },
27812807 ], false),
@@ -2932,15 +2958,11 @@ const typeMap: any = {
29322958 "Sbyte": o([
29332959 { json: "sbyte", js: "sbyte", typ: i(0) },
29342960 ], false),
2935- "Sealed": o([
2936- { json: "sealed", js: "sealed", typ: i(0) },
2937- ], false),
2938- "Select": o([
2939- { json: "select", js: "select", typ: i(0) },
2940- ], false),
29412961 "Obj5": o([
2962+ { json: "SEL", js: "SEL", typ: r("Sel") },
29422963 { json: "Self", js: "Self", typ: r("Self") },
29432964 { json: "Sendable", js: "Sendable", typ: r("Sendable") },
2965+ { json: "SerializationFeature", js: "SerializationFeature", typ: r("SerializationFeature") },
29442966 { json: "SerializerProvider", js: "SerializerProvider", typ: r("SerializerProvider") },
29452967 { json: "SimpleModule", js: "SimpleModule", typ: r("SimpleModule") },
29462968 { json: "Standards", js: "Standards", typ: r("Standards") },
@@ -2951,10 +2973,10 @@ const typeMap: any = {
29512973 { json: "TimeZone", js: "TimeZone", typ: r("TimeZone") },
29522974 { json: "True", js: "True", typ: r("True") },
29532975 { json: "Type", js: "Type", typ: r("Type") },
2954- { json: "UUID", js: "UUID", typ: r("UUID") },
29552976 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: r("Utf8JSONReader") },
2956- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
29572977 { json: "dummy", js: "dummy", typ: i(0) },
2978+ { json: "sealed", js: "sealed", typ: r("Sealed") },
2979+ { json: "select", js: "select", typ: r("Select") },
29582980 { json: "self", js: "self", typ: r("SelfClass") },
29592981 { json: "serialize", js: "serialize", typ: r("Serialize") },
29602982 { json: "set", js: "set", typ: r("Set") },
@@ -3002,8 +3024,9 @@ const typeMap: any = {
30023024 { json: "unsigned", js: "unsigned", typ: r("Unsigned") },
30033025 { json: "ushort", js: "ushort", typ: r("Ushort") },
30043026 { json: "using", js: "using", typ: r("Using") },
3005- { json: "var", js: "var", typ: r("Var") },
3006- { json: "virtual", js: "virtual", typ: r("Virtual") },
3027+ ], false),
3028+ "Sel": o([
3029+ { json: "SEL", js: "SEL", typ: i(0) },
30073030 ], false),
30083031 "Self": o([
30093032 { json: "Self", js: "Self", typ: i(0) },
@@ -3011,6 +3034,9 @@ const typeMap: any = {
30113034 "Sendable": o([
30123035 { json: "Sendable", js: "Sendable", typ: i(0) },
30133036 ], false),
3037+ "SerializationFeature": o([
3038+ { json: "SerializationFeature", js: "SerializationFeature", typ: i(0) },
3039+ ], false),
30143040 "SerializerProvider": o([
30153041 { json: "SerializerProvider", js: "SerializerProvider", typ: i(0) },
30163042 ], false),
@@ -3041,14 +3067,14 @@ const typeMap: any = {
30413067 "Type": o([
30423068 { json: "Type", js: "Type", typ: i(0) },
30433069 ], false),
3044- "UUID": o([
3045- { json: "UUID", js: "UUID", typ: i(0) },
3046- ], false),
30473070 "Utf8JSONReader": o([
30483071 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: i(0) },
30493072 ], false),
3050- "Utf8JSONWriter": o([
3051- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
3073+ "Sealed": o([
3074+ { json: "sealed", js: "sealed", typ: i(0) },
3075+ ], false),
3076+ "Select": o([
3077+ { json: "select", js: "select", typ: i(0) },
30523078 ], false),
30533079 "SelfClass": o([
30543080 { json: "self", js: "self", typ: i(0) },
@@ -3191,15 +3217,13 @@ const typeMap: any = {
31913217 "Using": o([
31923218 { json: "using", js: "using", typ: i(0) },
31933219 ], false),
3194- "Var": o([
3195- { json: "var", js: "var", typ: i(0) },
3196- ], false),
3197- "Virtual": o([
3198- { json: "virtual", js: "virtual", typ: i(0) },
3199- ], false),
32003220 "Obj6": o([
3221+ { json: "UUID", js: "UUID", typ: r("UUID") },
3222+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
32013223 { json: "YES", js: "YES", typ: r("Yes") },
32023224 { json: "dummy", js: "dummy", typ: i(0) },
3225+ { json: "var", js: "var", typ: r("Var") },
3226+ { json: "virtual", js: "virtual", typ: r("Virtual") },
32033227 { json: "void", js: "void", typ: r("Void") },
32043228 { json: "volatile", js: "volatile", typ: r("Volatile") },
32053229 { json: "wchar_t", js: "wchar_t", typ: r("WcharT") },
@@ -3212,9 +3236,21 @@ const typeMap: any = {
32123236 { json: "xor_eq", js: "xor_eq", typ: r("XorEq") },
32133237 { json: "yield", js: "yield", typ: r("Yield") },
32143238 ], false),
3239+ "UUID": o([
3240+ { json: "UUID", js: "UUID", typ: i(0) },
3241+ ], false),
3242+ "Utf8JSONWriter": o([
3243+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
3244+ ], false),
32153245 "Yes": o([
32163246 { json: "YES", js: "YES", typ: i(0) },
32173247 ], false),
3248+ "Var": o([
3249+ { json: "var", js: "var", typ: i(0) },
3250+ ], false),
3251+ "Virtual": o([
3252+ { json: "virtual", js: "virtual", typ: i(0) },
3253+ ], false),
32183254 "Void": o([
32193255 { json: "void", js: "void", typ: i(0) },
32203256 ], false),
Mgolangdefault / quicktype.go+194 −174
@@ -355,71 +355,71 @@ type Obj1Bool struct {
355355 }
356356
357357 type Obj2 struct {
358- DateFormatter DateFormatter `json:"DateFormatter"`
359- DateOnly DateOnly `json:"DateOnly"`
360- DateOnlyConverter DateOnlyConverter `json:"DateOnlyConverter"`
361- DateParseHandling DateParseHandling `json:"date_parse_handling"`
362- DateTime DateTime `json:"DateTime"`
363- DateTimeStyles DateTimeStyles `json:"DateTimeStyles"`
364- Debugger Debugger `json:"debugger"`
365- Decimal Decimal `json:"decimal"`
366- Declare Declare `json:"declare"`
367- Decltype Decltype `json:"decltype"`
368- DecodeString DecodeString `json:"decode_string"`
369- Decoder Decoder `json:"Decoder"`
370- DecodingError DecodingError `json:"DecodingError"`
371- Def Def `json:"def"`
372- Default Default `json:"default"`
373- Defer Defer `json:"defer"`
374- Deinit Deinit `json:"deinit"`
375- Del Del `json:"del"`
376- Delegate Delegate `json:"delegate"`
377- Delete Delete `json:"delete"`
378- Dict Dict `json:"dict"`
379- Dictionary Dictionary `json:"dictionary"`
380- DidSet DidSet `json:"didSet"`
381- Do Do `json:"do"`
382- Double Double `json:"double"`
383- Dummy int64 `json:"dummy"`
384- Dynamic Dynamic `json:"dynamic"`
385- DynamicCast DynamicCast `json:"dynamic_cast"`
386- Elif Elif `json:"elif"`
387- Else Else `json:"else"`
388- EncodeQuickType EncodeQuickType `json:"encode_quick_type"`
389- Encoder Encoder `json:"Encoder"`
390- Enum Enum `json:"enum"`
391- EnumValues EnumValues `json:"EnumValues"`
392- EqualityContract EqualityContract `json:"equalityContract"`
393- Equatable Equatable `json:"Equatable"`
394- Event Event `json:"event"`
395- Except Except `json:"except"`
396- Exception Exception `json:"exception"`
397- Explicit Explicit `json:"explicit"`
398- Export Export `json:"export"`
399- Exposing Exposing `json:"exposing"`
400- Extends Extends `json:"extends"`
401- Extension Extension `json:"extension"`
402- Extern Extern `json:"extern"`
403- Fallthrough Fallthrough `json:"fallthrough"`
404- False False `json:"False"`
405- Fileprivate Fileprivate `json:"fileprivate"`
406- Final Final `json:"final"`
407- Finally Finally `json:"finally"`
408- Fixed Fixed `json:"fixed"`
409- Float Float `json:"float"`
410- For For `json:"for"`
411- Foreach Foreach `json:"foreach"`
412- FormatException FormatException `json:"FormatException"`
413- Friend Friend `json:"friend"`
414- From From `json:"from"`
415- FromJSON FromJSON `json:"from_json"`
416- Func Func `json:"func"`
417- Function Function `json:"function"`
418- Get Get `json:"get"`
419- Global Global `json:"global"`
420- Go Go `json:"go"`
421- Goto Goto `json:"goto"`
422- Obj2False FalseClass `json:"false"`
358+ DateFormatter DateFormatter `json:"DateFormatter"`
359+ DateOnly DateOnly `json:"DateOnly"`
360+ DateOnlyConverter DateOnlyConverter `json:"DateOnlyConverter"`
361+ DateParseHandling DateParseHandling `json:"date_parse_handling"`
362+ DateTime DateTime `json:"DateTime"`
363+ DateTimeStyles DateTimeStyles `json:"DateTimeStyles"`
364+ Debugger Debugger `json:"debugger"`
365+ Decimal Decimal `json:"decimal"`
366+ Declare Declare `json:"declare"`
367+ Decltype Decltype `json:"decltype"`
368+ DecodeString DecodeString `json:"decode_string"`
369+ Decoder Decoder `json:"Decoder"`
370+ DecodingError DecodingError `json:"DecodingError"`
371+ Def Def `json:"def"`
372+ Default Default `json:"default"`
373+ Defer Defer `json:"defer"`
374+ Deinit Deinit `json:"deinit"`
375+ Del Del `json:"del"`
376+ Delegate Delegate `json:"delegate"`
377+ Delete Delete `json:"delete"`
378+ DeserializationFeature DeserializationFeature `json:"DeserializationFeature"`
379+ Dict Dict `json:"dict"`
380+ Dictionary Dictionary `json:"dictionary"`
381+ DidSet DidSet `json:"didSet"`
382+ Do Do `json:"do"`
383+ Double Double `json:"double"`
384+ Dummy int64 `json:"dummy"`
385+ Dynamic Dynamic `json:"dynamic"`
386+ DynamicCast DynamicCast `json:"dynamic_cast"`
387+ Elif Elif `json:"elif"`
388+ Else Else `json:"else"`
389+ EncodeQuickType EncodeQuickType `json:"encode_quick_type"`
390+ Encoder Encoder `json:"Encoder"`
391+ Enum Enum `json:"enum"`
392+ EnumValues EnumValues `json:"EnumValues"`
393+ EqualityContract EqualityContract `json:"equalityContract"`
394+ Equatable Equatable `json:"Equatable"`
395+ Event Event `json:"event"`
396+ Except Except `json:"except"`
397+ Exception Exception `json:"exception"`
398+ Explicit Explicit `json:"explicit"`
399+ Export Export `json:"export"`
400+ Exposing Exposing `json:"exposing"`
401+ Extends Extends `json:"extends"`
402+ Extension Extension `json:"extension"`
403+ Extern Extern `json:"extern"`
404+ Fallthrough Fallthrough `json:"fallthrough"`
405+ False False `json:"False"`
406+ Fileprivate Fileprivate `json:"fileprivate"`
407+ Final Final `json:"final"`
408+ Finally Finally `json:"finally"`
409+ Fixed Fixed `json:"fixed"`
410+ Float Float `json:"float"`
411+ For For `json:"for"`
412+ Foreach Foreach `json:"foreach"`
413+ FormatException FormatException `json:"FormatException"`
414+ Friend Friend `json:"friend"`
415+ From From `json:"from"`
416+ FromJSON FromJSON `json:"from_json"`
417+ Func Func `json:"func"`
418+ Function Function `json:"function"`
419+ Get Get `json:"get"`
420+ Global Global `json:"global"`
421+ Go Go `json:"go"`
422+ Obj2False FalseClass `json:"false"`
423423 }
424424
425425 type DateFormatter struct {
@@ -502,6 +502,10 @@ type Delete struct {
502502 Delete int64 `json:"delete"`
503503 }
504504
505+type DeserializationFeature struct {
506+ DeserializationFeature int64 `json:"DeserializationFeature"`
507+}
508+
505509 type Dict struct {
506510 Dict int64 `json:"dict"`
507511 }
@@ -670,16 +674,13 @@ type Go struct {
670674 Go int64 `json:"go"`
671675 }
672676
673-type Goto struct {
674- Goto int64 `json:"goto"`
675-}
676-
677677 type FalseClass struct {
678678 False int64 `json:"false"`
679679 }
680680
681681 type Obj3 struct {
682682 Dummy int64 `json:"dummy"`
683+ Goto Goto `json:"goto"`
683684 Guard Guard `json:"guard"`
684685 HasOwnProperty HasOwnProperty `json:"hasOwnProperty"`
685686 HashCode HashCode `json:"hashCode"`
@@ -743,7 +744,10 @@ type Obj3 struct {
743744 Newtonsoft Newtonsoft `json:"newtonsoft"`
744745 Nil Nil `json:"nil"`
745746 No No `json:"NO"`
746- Noexcept Noexcept `json:"noexcept"`
747+}
748+
749+type Goto struct {
750+ Goto int64 `json:"goto"`
747751 }
748752
749753 type Guard struct {
@@ -998,16 +1002,13 @@ type No struct {
9981002 No int64 `json:"NO"`
9991003 }
10001004
1001-type Noexcept struct {
1002- Noexcept int64 `json:"noexcept"`
1003-}
1004-
10051005 type Obj4 struct {
10061006 Dummy int64 `json:"dummy"`
10071007 NSError NSError `json:"NSError"`
10081008 NSObject NSObject `json:"NSObject"`
10091009 NSString NSString `json:"NSString"`
10101010 NoSuchMethod NoSuchMethod `json:"noSuchMethod"`
1011+ Noexcept Noexcept `json:"noexcept"`
10111012 Nonatomic Nonatomic `json:"nonatomic"`
10121013 None None `json:"None"`
10131014 Nonlocal Nonlocal `json:"nonlocal"`
@@ -1022,6 +1023,8 @@ type Obj4 struct {
10221023 Obj4Protocol ProtocolClass `json:"protocol"`
10231024 Object Object `json:"object"`
10241025 ObjectMapper ObjectMapper `json:"ObjectMapper"`
1026+ ObjectReader ObjectReader `json:"ObjectReader"`
1027+ ObjectWriter ObjectWriter `json:"ObjectWriter"`
10251028 Of Of `json:"of"`
10261029 Oneway Oneway `json:"oneway"`
10271030 Open Open `json:"open"`
@@ -1065,9 +1068,6 @@ type Obj4 struct {
10651068 RuntimeType RuntimeType `json:"runtimeType"`
10661069 S S `json:"s"`
10671070 Sbyte Sbyte `json:"sbyte"`
1068- Sealed Sealed `json:"sealed"`
1069- Sel Sel `json:"SEL"`
1070- Select Select `json:"select"`
10711071 }
10721072
10731073 type NSError struct {
@@ -1086,6 +1086,10 @@ type NoSuchMethod struct {
10861086 NoSuchMethod int64 `json:"noSuchMethod"`
10871087 }
10881088
1089+type Noexcept struct {
1090+ Noexcept int64 `json:"noexcept"`
1091+}
1092+
10891093 type Nonatomic struct {
10901094 Nonatomic int64 `json:"nonatomic"`
10911095 }
@@ -1142,6 +1146,14 @@ type ObjectMapper struct {
11421146 ObjectMapper int64 `json:"ObjectMapper"`
11431147 }
11441148
1149+type ObjectReader struct {
1150+ ObjectReader int64 `json:"ObjectReader"`
1151+}
1152+
1153+type ObjectWriter struct {
1154+ ObjectWriter int64 `json:"ObjectWriter"`
1155+}
1156+
11451157 type Of struct {
11461158 Of int64 `json:"of"`
11471159 }
@@ -1314,84 +1326,72 @@ type Sbyte struct {
13141326 Sbyte int64 `json:"sbyte"`
13151327 }
13161328
1317-type Sealed struct {
1318- Sealed int64 `json:"sealed"`
1319-}
1320-
1321-type Sel struct {
1322- Sel int64 `json:"SEL"`
1323-}
1324-
1325-type Select struct {
1326- Select int64 `json:"select"`
1327-}
1328-
13291329 type Obj5 struct {
1330- Dummy int64 `json:"dummy"`
1331- Obj5Self SelfClass `json:"self"`
1332- Obj5True TrueClass `json:"true"`
1333- Obj5Type TypeClass `json:"type"`
1334- Self Self `json:"Self"`
1335- Sendable Sendable `json:"Sendable"`
1336- Serialize Serialize `json:"serialize"`
1337- SerializerProvider SerializerProvider `json:"SerializerProvider"`
1338- Set Set `json:"set"`
1339- Short Short `json:"short"`
1340- Signed Signed `json:"signed"`
1341- SimpleModule SimpleModule `json:"SimpleModule"`
1342- Sizeof Sizeof `json:"sizeof"`
1343- Stackalloc Stackalloc `json:"stackalloc"`
1344- Standards Standards `json:"Standards"`
1345- Static Static `json:"static"`
1346- StaticAssert StaticAssert `json:"static_assert"`
1347- StaticCast StaticCast `json:"static_cast"`
1348- StdDeserializer StdDeserializer `json:"StdDeserializer"`
1349- StdSerializer StdSerializer `json:"StdSerializer"`
1350- Strictfp Strictfp `json:"strictfp"`
1351- String String `json:"string"`
1352- Struct Struct `json:"struct"`
1353- Subscript Subscript `json:"subscript"`
1354- Super Super `json:"super"`
1355- Switch Switch `json:"switch"`
1356- Symbol Symbol `json:"symbol"`
1357- Synchronized Synchronized `json:"synchronized"`
1358- System System `json:"system"`
1359- Template Template `json:"template"`
1360- Then Then `json:"then"`
1361- This This `json:"this"`
1362- ThreadLocal ThreadLocal `json:"thread_local"`
1363- Throw Throw `json:"throw"`
1364- Throws Throws `json:"throws"`
1365- TimeOnly TimeOnly `json:"TimeOnly"`
1366- TimeOnlyConverter TimeOnlyConverter `json:"TimeOnlyConverter"`
1367- TimeZone TimeZone `json:"TimeZone"`
1368- ToJSON ToJSON `json:"to_json"`
1369- ToString ToString `json:"toString"`
1370- TopLevel TopLevelClass `json:"top_level"`
1371- Transient Transient `json:"transient"`
1372- True True `json:"True"`
1373- Try Try `json:"try"`
1374- Type Type `json:"Type"`
1375- Typealias Typealias `json:"typealias"`
1376- Typedef Typedef `json:"typedef"`
1377- Typeid Typeid `json:"typeid"`
1378- Typename Typename `json:"typename"`
1379- Typeof Typeof `json:"typeof"`
1380- UUID UUID `json:"UUID"`
1381- Uint Uint `json:"uint"`
1382- Ulong Ulong `json:"ulong"`
1383- Unchecked Unchecked `json:"unchecked"`
1384- Undefined Undefined `json:"undefined"`
1385- Union Union `json:"union"`
1386- Unowned Unowned `json:"unowned"`
1387- Unsafe Unsafe `json:"unsafe"`
1388- Unsigned Unsigned `json:"unsigned"`
1389- Ushort Ushort `json:"ushort"`
1390- Using Using `json:"using"`
1391- Utf8JSONReader Utf8JSONReader `json:"Utf8JsonReader"`
1392- Utf8JSONWriter Utf8JSONWriter `json:"Utf8JsonWriter"`
1393- Var Var `json:"var"`
1394- Virtual Virtual `json:"virtual"`
1330+ Dummy int64 `json:"dummy"`
1331+ Obj5Self SelfClass `json:"self"`
1332+ Obj5True TrueClass `json:"true"`
1333+ Obj5Type TypeClass `json:"type"`
1334+ Sealed Sealed `json:"sealed"`
1335+ Sel Sel `json:"SEL"`
1336+ Select Select `json:"select"`
1337+ Self Self `json:"Self"`
1338+ Sendable Sendable `json:"Sendable"`
1339+ SerializationFeature SerializationFeature `json:"SerializationFeature"`
1340+ Serialize Serialize `json:"serialize"`
1341+ SerializerProvider SerializerProvider `json:"SerializerProvider"`
1342+ Set Set `json:"set"`
1343+ Short Short `json:"short"`
1344+ Signed Signed `json:"signed"`
1345+ SimpleModule SimpleModule `json:"SimpleModule"`
1346+ Sizeof Sizeof `json:"sizeof"`
1347+ Stackalloc Stackalloc `json:"stackalloc"`
1348+ Standards Standards `json:"Standards"`
1349+ Static Static `json:"static"`
1350+ StaticAssert StaticAssert `json:"static_assert"`
1351+ StaticCast StaticCast `json:"static_cast"`
1352+ StdDeserializer StdDeserializer `json:"StdDeserializer"`
1353+ StdSerializer StdSerializer `json:"StdSerializer"`
1354+ Strictfp Strictfp `json:"strictfp"`
1355+ String String `json:"string"`
1356+ Struct Struct `json:"struct"`
1357+ Subscript Subscript `json:"subscript"`
1358+ Super Super `json:"super"`
1359+ Switch Switch `json:"switch"`
1360+ Symbol Symbol `json:"symbol"`
1361+ Synchronized Synchronized `json:"synchronized"`
1362+ System System `json:"system"`
1363+ Template Template `json:"template"`
1364+ Then Then `json:"then"`
1365+ This This `json:"this"`
1366+ ThreadLocal ThreadLocal `json:"thread_local"`
1367+ Throw Throw `json:"throw"`
1368+ Throws Throws `json:"throws"`
1369+ TimeOnly TimeOnly `json:"TimeOnly"`
1370+ TimeOnlyConverter TimeOnlyConverter `json:"TimeOnlyConverter"`
1371+ TimeZone TimeZone `json:"TimeZone"`
1372+ ToJSON ToJSON `json:"to_json"`
1373+ ToString ToString `json:"toString"`
1374+ TopLevel TopLevelClass `json:"top_level"`
1375+ Transient Transient `json:"transient"`
1376+ True True `json:"True"`
1377+ Try Try `json:"try"`
1378+ Type Type `json:"Type"`
1379+ Typealias Typealias `json:"typealias"`
1380+ Typedef Typedef `json:"typedef"`
1381+ Typeid Typeid `json:"typeid"`
1382+ Typename Typename `json:"typename"`
1383+ Typeof Typeof `json:"typeof"`
1384+ Uint Uint `json:"uint"`
1385+ Ulong Ulong `json:"ulong"`
1386+ Unchecked Unchecked `json:"unchecked"`
1387+ Undefined Undefined `json:"undefined"`
1388+ Union Union `json:"union"`
1389+ Unowned Unowned `json:"unowned"`
1390+ Unsafe Unsafe `json:"unsafe"`
1391+ Unsigned Unsigned `json:"unsigned"`
1392+ Ushort Ushort `json:"ushort"`
1393+ Using Using `json:"using"`
1394+ Utf8JSONReader Utf8JSONReader `json:"Utf8JsonReader"`
13951395 }
13961396
13971397 type SelfClass struct {
@@ -1406,6 +1406,18 @@ type TypeClass struct {
14061406 Type int64 `json:"type"`
14071407 }
14081408
1409+type Sealed struct {
1410+ Sealed int64 `json:"sealed"`
1411+}
1412+
1413+type Sel struct {
1414+ Sel int64 `json:"SEL"`
1415+}
1416+
1417+type Select struct {
1418+ Select int64 `json:"select"`
1419+}
1420+
14091421 type Self struct {
14101422 Self int64 `json:"Self"`
14111423 }
@@ -1414,6 +1426,10 @@ type Sendable struct {
14141426 Sendable int64 `json:"Sendable"`
14151427 }
14161428
1429+type SerializationFeature struct {
1430+ SerializationFeature int64 `json:"SerializationFeature"`
1431+}
1432+
14171433 type Serialize struct {
14181434 Serialize int64 `json:"serialize"`
14191435 }
@@ -1590,10 +1606,6 @@ type Typeof struct {
15901606 Typeof int64 `json:"typeof"`
15911607 }
15921608
1593-type UUID struct {
1594- UUID int64 `json:"UUID"`
1595-}
1596-
15971609 type Uint struct {
15981610 Uint int64 `json:"uint"`
15991611 }
@@ -1638,6 +1650,30 @@ type Utf8JSONReader struct {
16381650 Utf8JSONReader int64 `json:"Utf8JsonReader"`
16391651 }
16401652
1653+type Obj6 struct {
1654+ Dummy int64 `json:"dummy"`
1655+ UUID UUID `json:"UUID"`
1656+ Utf8JSONWriter Utf8JSONWriter `json:"Utf8JsonWriter"`
1657+ Var Var `json:"var"`
1658+ Virtual Virtual `json:"virtual"`
1659+ Void Void `json:"void"`
1660+ Volatile Volatile `json:"volatile"`
1661+ WcharT WcharT `json:"wchar_t"`
1662+ Weak Weak `json:"weak"`
1663+ Where Where `json:"where"`
1664+ While While `json:"while"`
1665+ WillSet WillSet `json:"willSet"`
1666+ With With `json:"with"`
1667+ Xor Xor `json:"xor"`
1668+ XorEq XorEq `json:"xor_eq"`
1669+ Yes Yes `json:"YES"`
1670+ Yield Yield `json:"yield"`
1671+}
1672+
1673+type UUID struct {
1674+ UUID int64 `json:"UUID"`
1675+}
1676+
16411677 type Utf8JSONWriter struct {
16421678 Utf8JSONWriter int64 `json:"Utf8JsonWriter"`
16431679 }
@@ -1650,22 +1686,6 @@ type Virtual struct {
16501686 Virtual int64 `json:"virtual"`
16511687 }
16521688
1653-type Obj6 struct {
1654- Dummy int64 `json:"dummy"`
1655- Void Void `json:"void"`
1656- Volatile Volatile `json:"volatile"`
1657- WcharT WcharT `json:"wchar_t"`
1658- Weak Weak `json:"weak"`
1659- Where Where `json:"where"`
1660- While While `json:"while"`
1661- WillSet WillSet `json:"willSet"`
1662- With With `json:"with"`
1663- Xor Xor `json:"xor"`
1664- XorEq XorEq `json:"xor_eq"`
1665- Yes Yes `json:"YES"`
1666- Yield Yield `json:"yield"`
1667-}
1668-
16691689 type Void struct {
16701690 Void int64 `json:"void"`
16711691 }
Mhaskelldefault / QuickType.hs+237 −165
@@ -88,6 +88,7 @@ module QuickType
8888 , Del (..)
8989 , Delegate (..)
9090 , Delete (..)
91+ , DeserializationFeature (..)
9192 , Dict (..)
9293 , Dictionary (..)
9394 , DidSet (..)
@@ -128,12 +129,12 @@ module QuickType
128129 , Get (..)
129130 , Global (..)
130131 , Go (..)
131- , Goto (..)
132132 , Default (..)
133133 , Do (..)
134134 , Else (..)
135135 , Obj2False (..)
136136 , Obj3 (..)
137+ , Goto (..)
137138 , Guard (..)
138139 , HasOwnProperty (..)
139140 , HashCode (..)
@@ -190,7 +191,6 @@ module QuickType
190191 , Newtonsoft (..)
191192 , Nil (..)
192193 , No (..)
193- , Noexcept (..)
194194 , ID (..)
195195 , If (..)
196196 , Import (..)
@@ -200,6 +200,7 @@ module QuickType
200200 , Module (..)
201201 , Obj4 (..)
202202 , NoSuchMethod (..)
203+ , Noexcept (..)
203204 , Nonatomic (..)
204205 , None (..)
205206 , Nonlocal (..)
@@ -218,6 +219,8 @@ module QuickType
218219 , ProtocolClass (..)
219220 , ObjectClass (..)
220221 , ObjectMapper (..)
222+ , ObjectReader (..)
223+ , ObjectWriter (..)
221224 , Oneway (..)
222225 , Open (..)
223226 , Operator (..)
@@ -260,17 +263,18 @@ module QuickType
260263 , RuntimeType (..)
261264 , S (..)
262265 , Sbyte (..)
263- , Sealed (..)
264- , Sel (..)
265- , Select (..)
266266 , Obj5 (..)
267267 , SelfClass (..)
268268 , Then (..)
269269 , Obj5True (..)
270270 , Type (..)
271271 , TypeClass (..)
272+ , Sealed (..)
273+ , Sel (..)
274+ , Select (..)
272275 , Self (..)
273276 , Sendable (..)
277+ , SerializationFeature (..)
274278 , Serialize (..)
275279 , SerializerProvider (..)
276280 , Set (..)
@@ -324,12 +328,12 @@ module QuickType
324328 , Ushort (..)
325329 , Using (..)
326330 , Utf8JSONReader (..)
331+ , Obj6 (..)
332+ , Where (..)
327333 , Utf8JSONWriter (..)
328334 , UUID (..)
329335 , Var (..)
330336 , Virtual (..)
331- , Obj6 (..)
332- , Where (..)
333337 , Void (..)
334338 , Volatile (..)
335339 , WcharT (..)
@@ -705,6 +709,7 @@ data Obj2 = Obj2
705709 , delObj2 :: Del
706710 , delegateObj2 :: Delegate
707711 , deleteObj2 :: Delete
712+ , deserializationFeatureObj2 :: DeserializationFeature
708713 , dictObj2 :: Dict
709714 , dictionaryObj2 :: Dictionary
710715 , didSetObj2 :: DidSet
@@ -746,7 +751,6 @@ data Obj2 = Obj2
746751 , getObj2 :: Get
747752 , globalObj2 :: Global
748753 , goObj2 :: Go
749- , gotoObj2 :: Goto
750754 , obj2DefaultObj2 :: Default
751755 , obj2DoObj2 :: Do
752756 , obj2ElseObj2 :: Else
@@ -829,6 +833,10 @@ data Delete = Delete
829833 { deleteDelete :: Int
830834 } deriving (Show)
831835
836+data DeserializationFeature = DeserializationFeature
837+ { deserializationFeatureDeserializationFeature :: Int
838+ } deriving (Show)
839+
832840 data Dict = Dict
833841 { dictDict :: Int
834842 } deriving (Show)
@@ -994,10 +1002,6 @@ data Go = Go
9941002 { goGo :: Int
9951003 } deriving (Show)
9961004
997-data Goto = Goto
998- { gotoGoto :: Int
999- } deriving (Show)
1000-
10011005 data Default = Default
10021006 { defaultDefaultDefault :: Int
10031007 } deriving (Show)
@@ -1016,6 +1020,7 @@ data Obj2False = Obj2False
10161020
10171021 data Obj3 = Obj3
10181022 { dummyObj3 :: Int
1023+ , gotoObj3 :: Goto
10191024 , guardObj3 :: Guard
10201025 , hasOwnPropertyObj3 :: HasOwnProperty
10211026 , hashCodeObj3 :: HashCode
@@ -1072,7 +1077,6 @@ data Obj3 = Obj3
10721077 , newtonsoftObj3 :: Newtonsoft
10731078 , nilObj3 :: Nil
10741079 , noObj3 :: No
1075- , noexceptObj3 :: Noexcept
10761080 , obj3IDObj3 :: ID
10771081 , obj3IfObj3 :: If
10781082 , obj3ImportObj3 :: Import
@@ -1082,6 +1086,10 @@ data Obj3 = Obj3
10821086 , obj3ModuleObj3 :: Module
10831087 } deriving (Show)
10841088
1089+data Goto = Goto
1090+ { gotoGoto :: Int
1091+ } deriving (Show)
1092+
10851093 data Guard = Guard
10861094 { guardGuard :: Int
10871095 } deriving (Show)
@@ -1306,10 +1314,6 @@ data No = No
13061314 { noNo :: Int
13071315 } deriving (Show)
13081316
1309-data Noexcept = Noexcept
1310- { noexceptNoexcept :: Int
1311- } deriving (Show)
1312-
13131317 data ID = ID
13141318 { idIDID :: Int
13151319 } deriving (Show)
@@ -1341,6 +1345,7 @@ data Module = Module
13411345 data Obj4 = Obj4
13421346 { dummyObj4 :: Int
13431347 , noSuchMethodObj4 :: NoSuchMethod
1348+ , noexceptObj4 :: Noexcept
13441349 , nonatomicObj4 :: Nonatomic
13451350 , noneObj4 :: None
13461351 , nonlocalObj4 :: Nonlocal
@@ -1359,6 +1364,8 @@ data Obj4 = Obj4
13591364 , obj4ProtocolObj4 :: ProtocolClass
13601365 , objectObj4 :: ObjectClass
13611366 , objectMapperObj4 :: ObjectMapper
1367+ , objectReaderObj4 :: ObjectReader
1368+ , objectWriterObj4 :: ObjectWriter
13621369 , onewayObj4 :: Oneway
13631370 , openObj4 :: Open
13641371 , operatorObj4 :: Operator
@@ -1401,15 +1408,16 @@ data Obj4 = Obj4
14011408 , runtimeTypeObj4 :: RuntimeType
14021409 , sObj4 :: S
14031410 , sbyteObj4 :: Sbyte
1404- , sealedObj4 :: Sealed
1405- , selObj4 :: Sel
1406- , selectObj4 :: Select
14071411 } deriving (Show)
14081412
14091413 data NoSuchMethod = NoSuchMethod
14101414 { noSuchMethodNoSuchMethod :: Int
14111415 } deriving (Show)
14121416
1417+data Noexcept = Noexcept
1418+ { noexceptNoexcept :: Int
1419+ } deriving (Show)
1420+
14131421 data Nonatomic = Nonatomic
14141422 { nonatomicNonatomic :: Int
14151423 } deriving (Show)
@@ -1482,6 +1490,14 @@ data ObjectMapper = ObjectMapper
14821490 { objectMapperObjectMapper :: Int
14831491 } deriving (Show)
14841492
1493+data ObjectReader = ObjectReader
1494+ { objectReaderObjectReader :: Int
1495+ } deriving (Show)
1496+
1497+data ObjectWriter = ObjectWriter
1498+ { objectWriterObjectWriter :: Int
1499+ } deriving (Show)
1500+
14851501 data Oneway = Oneway
14861502 { onewayOneway :: Int
14871503 } deriving (Show)
@@ -1650,18 +1666,6 @@ data Sbyte = Sbyte
16501666 { sbyteSbyte :: Int
16511667 } deriving (Show)
16521668
1653-data Sealed = Sealed
1654- { sealedSealed :: Int
1655- } deriving (Show)
1656-
1657-data Sel = Sel
1658- { selSel :: Int
1659- } deriving (Show)
1660-
1661-data Select = Select
1662- { selectSelect :: Int
1663- } deriving (Show)
1664-
16651669 data Obj5 = Obj5
16661670 { dummyObj5 :: Int
16671671 , obj5SelfObj5 :: SelfClass
@@ -1669,8 +1673,12 @@ data Obj5 = Obj5
16691673 , obj5TrueObj5 :: Obj5True
16701674 , obj5TypeObj5 :: Type
16711675 , purpleTypeObj5 :: TypeClass
1676+ , sealedObj5 :: Sealed
1677+ , selObj5 :: Sel
1678+ , selectObj5 :: Select
16721679 , selfObj5 :: Self
16731680 , sendableObj5 :: Sendable
1681+ , serializationFeatureObj5 :: SerializationFeature
16741682 , serializeObj5 :: Serialize
16751683 , serializerProviderObj5 :: SerializerProvider
16761684 , setObj5 :: Set
@@ -1724,10 +1732,6 @@ data Obj5 = Obj5
17241732 , ushortObj5 :: Ushort
17251733 , usingObj5 :: Using
17261734 , utf8JSONReaderObj5 :: Utf8JSONReader
1727- , utf8JSONWriterObj5 :: Utf8JSONWriter
1728- , uuidObj5 :: UUID
1729- , varObj5 :: Var
1730- , virtualObj5 :: Virtual
17311735 } deriving (Show)
17321736
17331737 data SelfClass = SelfClass
@@ -1750,6 +1754,18 @@ data TypeClass = TypeClass
17501754 { typeTypeTypeClass :: Int
17511755 } deriving (Show)
17521756
1757+data Sealed = Sealed
1758+ { sealedSealed :: Int
1759+ } deriving (Show)
1760+
1761+data Sel = Sel
1762+ { selSel :: Int
1763+ } deriving (Show)
1764+
1765+data Select = Select
1766+ { selectSelect :: Int
1767+ } deriving (Show)
1768+
17531769 data Self = Self
17541770 { selfSelf :: Int
17551771 } deriving (Show)
@@ -1758,6 +1774,10 @@ data Sendable = Sendable
17581774 { sendableSendable :: Int
17591775 } deriving (Show)
17601776
1777+data SerializationFeature = SerializationFeature
1778+ { serializationFeatureSerializationFeature :: Int
1779+ } deriving (Show)
1780+
17611781 data Serialize = Serialize
17621782 { serializeSerialize :: Int
17631783 } deriving (Show)
@@ -1970,25 +1990,13 @@ data Utf8JSONReader = Utf8JSONReader
19701990 { utf8JSONReaderUtf8JSONReader :: Int
19711991 } deriving (Show)
19721992
1973-data Utf8JSONWriter = Utf8JSONWriter
1974- { utf8JSONWriterUtf8JSONWriter :: Int
1975- } deriving (Show)
1976-
1977-data UUID = UUID
1978- { uuidUUID :: Int
1979- } deriving (Show)
1980-
1981-data Var = Var
1982- { varVar :: Int
1983- } deriving (Show)
1984-
1985-data Virtual = Virtual
1986- { virtualVirtual :: Int
1987- } deriving (Show)
1988-
19891993 data Obj6 = Obj6
19901994 { dummyObj6 :: Int
19911995 , obj6WhereObj6 :: Where
1996+ , utf8JSONWriterObj6 :: Utf8JSONWriter
1997+ , uuidObj6 :: UUID
1998+ , varObj6 :: Var
1999+ , virtualObj6 :: Virtual
19922000 , voidObj6 :: Void
19932001 , volatileObj6 :: Volatile
19942002 , wcharTObj6 :: WcharT
@@ -2006,6 +2014,22 @@ data Where = Where
20062014 { whereWhereWhere :: Int
20072015 } deriving (Show)
20082016
2017+data Utf8JSONWriter = Utf8JSONWriter
2018+ { utf8JSONWriterUtf8JSONWriter :: Int
2019+ } deriving (Show)
2020+
2021+data UUID = UUID
2022+ { uuidUUID :: Int
2023+ } deriving (Show)
2024+
2025+data Var = Var
2026+ { varVar :: Int
2027+ } deriving (Show)
2028+
2029+data Virtual = Virtual
2030+ { virtualVirtual :: Int
2031+ } deriving (Show)
2032+
20092033 data Void = Void
20102034 { voidVoid :: Int
20112035 } deriving (Show)
@@ -2854,7 +2878,7 @@ instance FromJSON ClassClass where
28542878 <$> v .: "class"
28552879
28562880 instance ToJSON Obj2 where
2857- toJSON (Obj2 dateFormatterObj2 dateOnlyObj2 dateOnlyConverterObj2 dateParseHandlingObj2 dateTimeObj2 dateTimeStylesObj2 debuggerObj2 decimalObj2 declareObj2 decltypeObj2 decodeStringObj2 decoderObj2 decodingErrorObj2 defObj2 deferObj2 deinitObj2 delObj2 delegateObj2 deleteObj2 dictObj2 dictionaryObj2 didSetObj2 doubleObj2 dummyObj2 dynamicObj2 dynamicCastObj2 elifObj2 encodeQuickTypeObj2 encoderObj2 enumObj2 enumValuesObj2 equalityContractObj2 equatableObj2 eventObj2 exceptObj2 exceptionObj2 explicitObj2 exportObj2 exposingObj2 extendsObj2 extensionObj2 externObj2 fallthroughObj2 falseObj2 fileprivateObj2 finalObj2 finallyObj2 fixedObj2 floatObj2 forObj2 foreachObj2 formatExceptionObj2 friendObj2 fromObj2 fromJSONObj2 funcObj2 functionObj2 getObj2 globalObj2 goObj2 gotoObj2 obj2DefaultObj2 obj2DoObj2 obj2ElseObj2 obj2FalseObj2) =
2881+ toJSON (Obj2 dateFormatterObj2 dateOnlyObj2 dateOnlyConverterObj2 dateParseHandlingObj2 dateTimeObj2 dateTimeStylesObj2 debuggerObj2 decimalObj2 declareObj2 decltypeObj2 decodeStringObj2 decoderObj2 decodingErrorObj2 defObj2 deferObj2 deinitObj2 delObj2 delegateObj2 deleteObj2 deserializationFeatureObj2 dictObj2 dictionaryObj2 didSetObj2 doubleObj2 dummyObj2 dynamicObj2 dynamicCastObj2 elifObj2 encodeQuickTypeObj2 encoderObj2 enumObj2 enumValuesObj2 equalityContractObj2 equatableObj2 eventObj2 exceptObj2 exceptionObj2 explicitObj2 exportObj2 exposingObj2 extendsObj2 extensionObj2 externObj2 fallthroughObj2 falseObj2 fileprivateObj2 finalObj2 finallyObj2 fixedObj2 floatObj2 forObj2 foreachObj2 formatExceptionObj2 friendObj2 fromObj2 fromJSONObj2 funcObj2 functionObj2 getObj2 globalObj2 goObj2 obj2DefaultObj2 obj2DoObj2 obj2ElseObj2 obj2FalseObj2) =
28582882 object $ foldMap (maybe [] pure)
28592883 [ Just $ "DateFormatter" .= dateFormatterObj2
28602884 , Just $ "DateOnly" .= dateOnlyObj2
@@ -2875,6 +2899,7 @@ instance ToJSON Obj2 where
28752899 , Just $ "del" .= delObj2
28762900 , Just $ "delegate" .= delegateObj2
28772901 , Just $ "delete" .= deleteObj2
2902+ , Just $ "DeserializationFeature" .= deserializationFeatureObj2
28782903 , Just $ "dict" .= dictObj2
28792904 , Just $ "dictionary" .= dictionaryObj2
28802905 , Just $ "didSet" .= didSetObj2
@@ -2916,7 +2941,6 @@ instance ToJSON Obj2 where
29162941 , Just $ "get" .= getObj2
29172942 , Just $ "global" .= globalObj2
29182943 , Just $ "go" .= goObj2
2919- , Just $ "goto" .= gotoObj2
29202944 , Just $ "default" .= obj2DefaultObj2
29212945 , Just $ "do" .= obj2DoObj2
29222946 , Just $ "else" .= obj2ElseObj2
@@ -2944,6 +2968,7 @@ instance FromJSON Obj2 where
29442968 <*> v .: "del"
29452969 <*> v .: "delegate"
29462970 <*> v .: "delete"
2971+ <*> v .: "DeserializationFeature"
29472972 <*> v .: "dict"
29482973 <*> v .: "dictionary"
29492974 <*> v .: "didSet"
@@ -2985,7 +3010,6 @@ instance FromJSON Obj2 where
29853010 <*> v .: "get"
29863011 <*> v .: "global"
29873012 <*> v .: "go"
2988- <*> v .: "goto"
29893013 <*> v .: "default"
29903014 <*> v .: "do"
29913015 <*> v .: "else"
@@ -3181,6 +3205,16 @@ instance FromJSON Delete where
31813205 parseJSON (Object v) = Delete
31823206 <$> v .: "delete"
31833207
3208+instance ToJSON DeserializationFeature where
3209+ toJSON (DeserializationFeature deserializationFeatureDeserializationFeature) =
3210+ object $ foldMap (maybe [] pure)
3211+ [ Just $ "DeserializationFeature" .= deserializationFeatureDeserializationFeature
3212+ ]
3213+
3214+instance FromJSON DeserializationFeature where
3215+ parseJSON (Object v) = DeserializationFeature
3216+ <$> v .: "DeserializationFeature"
3217+
31843218 instance ToJSON Dict where
31853219 toJSON (Dict dictDict) =
31863220 object $ foldMap (maybe [] pure)
@@ -3591,16 +3625,6 @@ instance FromJSON Go where
35913625 parseJSON (Object v) = Go
35923626 <$> v .: "go"
35933627
3594-instance ToJSON Goto where
3595- toJSON (Goto gotoGoto) =
3596- object $ foldMap (maybe [] pure)
3597- [ Just $ "goto" .= gotoGoto
3598- ]
3599-
3600-instance FromJSON Goto where
3601- parseJSON (Object v) = Goto
3602- <$> v .: "goto"
3603-
36043628 instance ToJSON Default where
36053629 toJSON (Default defaultDefaultDefault) =
36063630 object $ foldMap (maybe [] pure)
@@ -3642,9 +3666,10 @@ instance FromJSON Obj2False where
36423666 <$> v .: "false"
36433667
36443668 instance ToJSON Obj3 where
3645- toJSON (Obj3 dummyObj3 guardObj3 hasOwnPropertyObj3 hashCodeObj3 hashableObj3 hasherObj3 impObj3 implementsObj3 implicitObj3 indirectObj3 initObj3 inlineObj3 inoutObj3 instanceofObj3 intObj3 interfaceObj3 internalObj3 isObj3 isoDateTimeOffsetConverterObj3 iterableObj3 jdecObj3 jencObj3 jpipeObj3 jsonObj3 jsonAnyObj3 jsonCodingKeyObj3 jsonConverterObj3 jsonDecoderObj3 jsonEncoderObj3 jsonExceptionObj3 jsonGeneratorObj3 jsonNodeObj3 jsonNullObj3 jsonParserObj3 jsonReaderObj3 jsonSerializerObj3 jsonTokenObj3 jsonTokenTypeObj3 jsonWriterObj3 lambdaObj3 lazyObj3 leftObj3 listObj3 localeObj3 lockObj3 longObj3 mapObj3 mapEntryObj3 metadataPropertyHandlingObj3 mutableObj3 mutatingObj3 namespaceObj3 nativeObj3 newObj3 newtonsoftObj3 nilObj3 noObj3 noexceptObj3 obj3IDObj3 obj3IfObj3 obj3ImportObj3 obj3InObj3 obj3InfixObj3 obj3LetObj3 obj3ModuleObj3) =
3669+ toJSON (Obj3 dummyObj3 gotoObj3 guardObj3 hasOwnPropertyObj3 hashCodeObj3 hashableObj3 hasherObj3 impObj3 implementsObj3 implicitObj3 indirectObj3 initObj3 inlineObj3 inoutObj3 instanceofObj3 intObj3 interfaceObj3 internalObj3 isObj3 isoDateTimeOffsetConverterObj3 iterableObj3 jdecObj3 jencObj3 jpipeObj3 jsonObj3 jsonAnyObj3 jsonCodingKeyObj3 jsonConverterObj3 jsonDecoderObj3 jsonEncoderObj3 jsonExceptionObj3 jsonGeneratorObj3 jsonNodeObj3 jsonNullObj3 jsonParserObj3 jsonReaderObj3 jsonSerializerObj3 jsonTokenObj3 jsonTokenTypeObj3 jsonWriterObj3 lambdaObj3 lazyObj3 leftObj3 listObj3 localeObj3 lockObj3 longObj3 mapObj3 mapEntryObj3 metadataPropertyHandlingObj3 mutableObj3 mutatingObj3 namespaceObj3 nativeObj3 newObj3 newtonsoftObj3 nilObj3 noObj3 obj3IDObj3 obj3IfObj3 obj3ImportObj3 obj3InObj3 obj3InfixObj3 obj3LetObj3 obj3ModuleObj3) =
36463670 object $ foldMap (maybe [] pure)
36473671 [ Just $ "dummy" .= dummyObj3
3672+ , Just $ "goto" .= gotoObj3
36483673 , Just $ "guard" .= guardObj3
36493674 , Just $ "hasOwnProperty" .= hasOwnPropertyObj3
36503675 , Just $ "hashCode" .= hashCodeObj3
@@ -3701,7 +3726,6 @@ instance ToJSON Obj3 where
37013726 , Just $ "newtonsoft" .= newtonsoftObj3
37023727 , Just $ "nil" .= nilObj3
37033728 , Just $ "NO" .= noObj3
3704- , Just $ "noexcept" .= noexceptObj3
37053729 , Just $ "id" .= obj3IDObj3
37063730 , Just $ "if" .= obj3IfObj3
37073731 , Just $ "import" .= obj3ImportObj3
@@ -3714,6 +3738,7 @@ instance ToJSON Obj3 where
37143738 instance FromJSON Obj3 where
37153739 parseJSON (Object v) = Obj3
37163740 <$> v .: "dummy"
3741+ <*> v .: "goto"
37173742 <*> v .: "guard"
37183743 <*> v .: "hasOwnProperty"
37193744 <*> v .: "hashCode"
@@ -3770,7 +3795,6 @@ instance FromJSON Obj3 where
37703795 <*> v .: "newtonsoft"
37713796 <*> v .: "nil"
37723797 <*> v .: "NO"
3773- <*> v .: "noexcept"
37743798 <*> v .: "id"
37753799 <*> v .: "if"
37763800 <*> v .: "import"
@@ -3779,6 +3803,16 @@ instance FromJSON Obj3 where
37793803 <*> v .: "let"
37803804 <*> v .: "module"
37813805
3806+instance ToJSON Goto where
3807+ toJSON (Goto gotoGoto) =
3808+ object $ foldMap (maybe [] pure)
3809+ [ Just $ "goto" .= gotoGoto
3810+ ]
3811+
3812+instance FromJSON Goto where
3813+ parseJSON (Object v) = Goto
3814+ <$> v .: "goto"
3815+
37823816 instance ToJSON Guard where
37833817 toJSON (Guard guardGuard) =
37843818 object $ foldMap (maybe [] pure)
@@ -4339,16 +4373,6 @@ instance FromJSON No where
43394373 parseJSON (Object v) = No
43404374 <$> v .: "NO"
43414375
4342-instance ToJSON Noexcept where
4343- toJSON (Noexcept noexceptNoexcept) =
4344- object $ foldMap (maybe [] pure)
4345- [ Just $ "noexcept" .= noexceptNoexcept
4346- ]
4347-
4348-instance FromJSON Noexcept where
4349- parseJSON (Object v) = Noexcept
4350- <$> v .: "noexcept"
4351-
43524376 instance ToJSON ID where
43534377 toJSON (ID idIDID) =
43544378 object $ foldMap (maybe [] pure)
@@ -4420,10 +4444,11 @@ instance FromJSON Module where
44204444 <$> v .: "module"
44214445
44224446 instance ToJSON Obj4 where
4423- toJSON (Obj4 dummyObj4 noSuchMethodObj4 nonatomicObj4 noneObj4 nonlocalObj4 nonmutatingObj4 notObj4 notEqObj4 nsErrorObj4 nsObjectObj4 nsStringObj4 nullObj4 nullptrObj4 numberObj4 obj4NoneObj4 obj4NullObj4 obj4OfObj4 obj4ProtocolObj4 objectObj4 objectMapperObj4 onewayObj4 openObj4 operatorObj4 optionalObj4 orObj4 orEqObj4 outObj4 overrideObj4 packageObj4 paramsObj4 passObj4 portObj4 postfixObj4 precedenceObj4 prefixObj4 printObj4 printMembersObj4 printfObj4 privateObj4 protectedObj4 protocolObj4 publicObj4 quicktypeObj4 raiseObj4 rangeObj4 readonlyObj4 refObj4 regExpObj4 registerObj4 reinterpretCastObj4 repeatObj4 requireObj4 requiredObj4 requiresObj4 restrictObj4 retainObj4 rethrowsObj4 returnObj4 rightObj4 runtimeTypeObj4 sObj4 sbyteObj4 sealedObj4 selObj4 selectObj4) =
4447+ toJSON (Obj4 dummyObj4 noSuchMethodObj4 noexceptObj4 nonatomicObj4 noneObj4 nonlocalObj4 nonmutatingObj4 notObj4 notEqObj4 nsErrorObj4 nsObjectObj4 nsStringObj4 nullObj4 nullptrObj4 numberObj4 obj4NoneObj4 obj4NullObj4 obj4OfObj4 obj4ProtocolObj4 objectObj4 objectMapperObj4 objectReaderObj4 objectWriterObj4 onewayObj4 openObj4 operatorObj4 optionalObj4 orObj4 orEqObj4 outObj4 overrideObj4 packageObj4 paramsObj4 passObj4 portObj4 postfixObj4 precedenceObj4 prefixObj4 printObj4 printMembersObj4 printfObj4 privateObj4 protectedObj4 protocolObj4 publicObj4 quicktypeObj4 raiseObj4 rangeObj4 readonlyObj4 refObj4 regExpObj4 registerObj4 reinterpretCastObj4 repeatObj4 requireObj4 requiredObj4 requiresObj4 restrictObj4 retainObj4 rethrowsObj4 returnObj4 rightObj4 runtimeTypeObj4 sObj4 sbyteObj4) =
44244448 object $ foldMap (maybe [] pure)
44254449 [ Just $ "dummy" .= dummyObj4
44264450 , Just $ "noSuchMethod" .= noSuchMethodObj4
4451+ , Just $ "noexcept" .= noexceptObj4
44274452 , Just $ "nonatomic" .= nonatomicObj4
44284453 , Just $ "None" .= noneObj4
44294454 , Just $ "nonlocal" .= nonlocalObj4
@@ -4442,6 +4467,8 @@ instance ToJSON Obj4 where
44424467 , Just $ "protocol" .= obj4ProtocolObj4
44434468 , Just $ "object" .= objectObj4
44444469 , Just $ "ObjectMapper" .= objectMapperObj4
4470+ , Just $ "ObjectReader" .= objectReaderObj4
4471+ , Just $ "ObjectWriter" .= objectWriterObj4
44454472 , Just $ "oneway" .= onewayObj4
44464473 , Just $ "open" .= openObj4
44474474 , Just $ "operator" .= operatorObj4
@@ -4484,15 +4511,13 @@ instance ToJSON Obj4 where
44844511 , Just $ "runtimeType" .= runtimeTypeObj4
44854512 , Just $ "s" .= sObj4
44864513 , Just $ "sbyte" .= sbyteObj4
4487- , Just $ "sealed" .= sealedObj4
4488- , Just $ "SEL" .= selObj4
4489- , Just $ "select" .= selectObj4
44904514 ]
44914515
44924516 instance FromJSON Obj4 where
44934517 parseJSON (Object v) = Obj4
44944518 <$> v .: "dummy"
44954519 <*> v .: "noSuchMethod"
4520+ <*> v .: "noexcept"
44964521 <*> v .: "nonatomic"
44974522 <*> v .: "None"
44984523 <*> v .: "nonlocal"
@@ -4511,6 +4536,8 @@ instance FromJSON Obj4 where
45114536 <*> v .: "protocol"
45124537 <*> v .: "object"
45134538 <*> v .: "ObjectMapper"
4539+ <*> v .: "ObjectReader"
4540+ <*> v .: "ObjectWriter"
45144541 <*> v .: "oneway"
45154542 <*> v .: "open"
45164543 <*> v .: "operator"
@@ -4553,9 +4580,6 @@ instance FromJSON Obj4 where
45534580 <*> v .: "runtimeType"
45544581 <*> v .: "s"
45554582 <*> v .: "sbyte"
4556- <*> v .: "sealed"
4557- <*> v .: "SEL"
4558- <*> v .: "select"
45594583
45604584 instance ToJSON NoSuchMethod where
45614585 toJSON (NoSuchMethod noSuchMethodNoSuchMethod) =
@@ -4567,6 +4591,16 @@ instance FromJSON NoSuchMethod where
45674591 parseJSON (Object v) = NoSuchMethod
45684592 <$> v .: "noSuchMethod"
45694593
4594+instance ToJSON Noexcept where
4595+ toJSON (Noexcept noexceptNoexcept) =
4596+ object $ foldMap (maybe [] pure)
4597+ [ Just $ "noexcept" .= noexceptNoexcept
4598+ ]
4599+
4600+instance FromJSON Noexcept where
4601+ parseJSON (Object v) = Noexcept
4602+ <$> v .: "noexcept"
4603+
45704604 instance ToJSON Nonatomic where
45714605 toJSON (Nonatomic nonatomicNonatomic) =
45724606 object $ foldMap (maybe [] pure)
@@ -4747,6 +4781,26 @@ instance FromJSON ObjectMapper where
47474781 parseJSON (Object v) = ObjectMapper
47484782 <$> v .: "ObjectMapper"
47494783
4784+instance ToJSON ObjectReader where
4785+ toJSON (ObjectReader objectReaderObjectReader) =
4786+ object $ foldMap (maybe [] pure)
4787+ [ Just $ "ObjectReader" .= objectReaderObjectReader
4788+ ]
4789+
4790+instance FromJSON ObjectReader where
4791+ parseJSON (Object v) = ObjectReader
4792+ <$> v .: "ObjectReader"
4793+
4794+instance ToJSON ObjectWriter where
4795+ toJSON (ObjectWriter objectWriterObjectWriter) =
4796+ object $ foldMap (maybe [] pure)
4797+ [ Just $ "ObjectWriter" .= objectWriterObjectWriter
4798+ ]
4799+
4800+instance FromJSON ObjectWriter where
4801+ parseJSON (Object v) = ObjectWriter
4802+ <$> v .: "ObjectWriter"
4803+
47504804 instance ToJSON Oneway where
47514805 toJSON (Oneway onewayOneway) =
47524806 object $ foldMap (maybe [] pure)
@@ -5167,38 +5221,8 @@ instance FromJSON Sbyte where
51675221 parseJSON (Object v) = Sbyte
51685222 <$> v .: "sbyte"
51695223
5170-instance ToJSON Sealed where
5171- toJSON (Sealed sealedSealed) =
5172- object $ foldMap (maybe [] pure)
5173- [ Just $ "sealed" .= sealedSealed
5174- ]
5175-
5176-instance FromJSON Sealed where
5177- parseJSON (Object v) = Sealed
5178- <$> v .: "sealed"
5179-
5180-instance ToJSON Sel where
5181- toJSON (Sel selSel) =
5182- object $ foldMap (maybe [] pure)
5183- [ Just $ "SEL" .= selSel
5184- ]
5185-
5186-instance FromJSON Sel where
5187- parseJSON (Object v) = Sel
5188- <$> v .: "SEL"
5189-
5190-instance ToJSON Select where
5191- toJSON (Select selectSelect) =
5192- object $ foldMap (maybe [] pure)
5193- [ Just $ "select" .= selectSelect
5194- ]
5195-
5196-instance FromJSON Select where
5197- parseJSON (Object v) = Select
5198- <$> v .: "select"
5199-
52005224 instance ToJSON Obj5 where
5201- toJSON (Obj5 dummyObj5 obj5SelfObj5 obj5ThenObj5 obj5TrueObj5 obj5TypeObj5 purpleTypeObj5 selfObj5 sendableObj5 serializeObj5 serializerProviderObj5 setObj5 shortObj5 signedObj5 simpleModuleObj5 sizeofObj5 stackallocObj5 standardsObj5 staticObj5 staticAssertObj5 staticCastObj5 stdDeserializerObj5 stdSerializerObj5 strictfpObj5 stringObj5 structObj5 subscriptObj5 superObj5 switchObj5 symbolObj5 synchronizedObj5 systemObj5 templateObj5 thisObj5 threadLocalObj5 throwObj5 throwsObj5 timeOnlyObj5 timeOnlyConverterObj5 timeZoneObj5 toJSONObj5 toStringObj5 topLevelObj5 transientObj5 trueObj5 tryObj5 typealiasObj5 typedefObj5 typeidObj5 typenameObj5 typeofObj5 uintObj5 ulongObj5 uncheckedObj5 undefinedObj5 unionObj5 unownedObj5 unsafeObj5 unsignedObj5 ushortObj5 usingObj5 utf8JSONReaderObj5 utf8JSONWriterObj5 uuidObj5 varObj5 virtualObj5) =
5225+ toJSON (Obj5 dummyObj5 obj5SelfObj5 obj5ThenObj5 obj5TrueObj5 obj5TypeObj5 purpleTypeObj5 sealedObj5 selObj5 selectObj5 selfObj5 sendableObj5 serializationFeatureObj5 serializeObj5 serializerProviderObj5 setObj5 shortObj5 signedObj5 simpleModuleObj5 sizeofObj5 stackallocObj5 standardsObj5 staticObj5 staticAssertObj5 staticCastObj5 stdDeserializerObj5 stdSerializerObj5 strictfpObj5 stringObj5 structObj5 subscriptObj5 superObj5 switchObj5 symbolObj5 synchronizedObj5 systemObj5 templateObj5 thisObj5 threadLocalObj5 throwObj5 throwsObj5 timeOnlyObj5 timeOnlyConverterObj5 timeZoneObj5 toJSONObj5 toStringObj5 topLevelObj5 transientObj5 trueObj5 tryObj5 typealiasObj5 typedefObj5 typeidObj5 typenameObj5 typeofObj5 uintObj5 ulongObj5 uncheckedObj5 undefinedObj5 unionObj5 unownedObj5 unsafeObj5 unsignedObj5 ushortObj5 usingObj5 utf8JSONReaderObj5) =
52025226 object $ foldMap (maybe [] pure)
52035227 [ Just $ "dummy" .= dummyObj5
52045228 , Just $ "self" .= obj5SelfObj5
@@ -5206,8 +5230,12 @@ instance ToJSON Obj5 where
52065230 , Just $ "true" .= obj5TrueObj5
52075231 , Just $ "Type" .= obj5TypeObj5
52085232 , Just $ "type" .= purpleTypeObj5
5233+ , Just $ "sealed" .= sealedObj5
5234+ , Just $ "SEL" .= selObj5
5235+ , Just $ "select" .= selectObj5
52095236 , Just $ "Self" .= selfObj5
52105237 , Just $ "Sendable" .= sendableObj5
5238+ , Just $ "SerializationFeature" .= serializationFeatureObj5
52115239 , Just $ "serialize" .= serializeObj5
52125240 , Just $ "SerializerProvider" .= serializerProviderObj5
52135241 , Just $ "set" .= setObj5
@@ -5261,10 +5289,6 @@ instance ToJSON Obj5 where
52615289 , Just $ "ushort" .= ushortObj5
52625290 , Just $ "using" .= usingObj5
52635291 , Just $ "Utf8JsonReader" .= utf8JSONReaderObj5
5264- , Just $ "Utf8JsonWriter" .= utf8JSONWriterObj5
5265- , Just $ "UUID" .= uuidObj5
5266- , Just $ "var" .= varObj5
5267- , Just $ "virtual" .= virtualObj5
52685292 ]
52695293
52705294 instance FromJSON Obj5 where
@@ -5275,8 +5299,12 @@ instance FromJSON Obj5 where
52755299 <*> v .: "true"
52765300 <*> v .: "Type"
52775301 <*> v .: "type"
5302+ <*> v .: "sealed"
5303+ <*> v .: "SEL"
5304+ <*> v .: "select"
52785305 <*> v .: "Self"
52795306 <*> v .: "Sendable"
5307+ <*> v .: "SerializationFeature"
52805308 <*> v .: "serialize"
52815309 <*> v .: "SerializerProvider"
52825310 <*> v .: "set"
@@ -5330,10 +5358,6 @@ instance FromJSON Obj5 where
53305358 <*> v .: "ushort"
53315359 <*> v .: "using"
53325360 <*> v .: "Utf8JsonReader"
5333- <*> v .: "Utf8JsonWriter"
5334- <*> v .: "UUID"
5335- <*> v .: "var"
5336- <*> v .: "virtual"
53375361
53385362 instance ToJSON SelfClass where
53395363 toJSON (SelfClass selfSelfClass) =
@@ -5385,6 +5409,36 @@ instance FromJSON TypeClass where
53855409 parseJSON (Object v) = TypeClass
53865410 <$> v .: "type"
53875411
5412+instance ToJSON Sealed where
5413+ toJSON (Sealed sealedSealed) =
5414+ object $ foldMap (maybe [] pure)
5415+ [ Just $ "sealed" .= sealedSealed
5416+ ]
5417+
5418+instance FromJSON Sealed where
5419+ parseJSON (Object v) = Sealed
5420+ <$> v .: "sealed"
5421+
5422+instance ToJSON Sel where
5423+ toJSON (Sel selSel) =
5424+ object $ foldMap (maybe [] pure)
5425+ [ Just $ "SEL" .= selSel
5426+ ]
5427+
5428+instance FromJSON Sel where
5429+ parseJSON (Object v) = Sel
5430+ <$> v .: "SEL"
5431+
5432+instance ToJSON Select where
5433+ toJSON (Select selectSelect) =
5434+ object $ foldMap (maybe [] pure)
5435+ [ Just $ "select" .= selectSelect
5436+ ]
5437+
5438+instance FromJSON Select where
5439+ parseJSON (Object v) = Select
5440+ <$> v .: "select"
5441+
53885442 instance ToJSON Self where
53895443 toJSON (Self selfSelf) =
53905444 object $ foldMap (maybe [] pure)
@@ -5405,6 +5459,16 @@ instance FromJSON Sendable where
54055459 parseJSON (Object v) = Sendable
54065460 <$> v .: "Sendable"
54075461
5462+instance ToJSON SerializationFeature where
5463+ toJSON (SerializationFeature serializationFeatureSerializationFeature) =
5464+ object $ foldMap (maybe [] pure)
5465+ [ Just $ "SerializationFeature" .= serializationFeatureSerializationFeature
5466+ ]
5467+
5468+instance FromJSON SerializationFeature where
5469+ parseJSON (Object v) = SerializationFeature
5470+ <$> v .: "SerializationFeature"
5471+
54085472 instance ToJSON Serialize where
54095473 toJSON (Serialize serializeSerialize) =
54105474 object $ foldMap (maybe [] pure)
@@ -5935,51 +5999,15 @@ instance FromJSON Utf8JSONReader where
59355999 parseJSON (Object v) = Utf8JSONReader
59366000 <$> v .: "Utf8JsonReader"
59376001
5938-instance ToJSON Utf8JSONWriter where
5939- toJSON (Utf8JSONWriter utf8JSONWriterUtf8JSONWriter) =
5940- object $ foldMap (maybe [] pure)
5941- [ Just $ "Utf8JsonWriter" .= utf8JSONWriterUtf8JSONWriter
5942- ]
5943-
5944-instance FromJSON Utf8JSONWriter where
5945- parseJSON (Object v) = Utf8JSONWriter
5946- <$> v .: "Utf8JsonWriter"
5947-
5948-instance ToJSON UUID where
5949- toJSON (UUID uuidUUID) =
5950- object $ foldMap (maybe [] pure)
5951- [ Just $ "UUID" .= uuidUUID
5952- ]
5953-
5954-instance FromJSON UUID where
5955- parseJSON (Object v) = UUID
5956- <$> v .: "UUID"
5957-
5958-instance ToJSON Var where
5959- toJSON (Var varVar) =
5960- object $ foldMap (maybe [] pure)
5961- [ Just $ "var" .= varVar
5962- ]
5963-
5964-instance FromJSON Var where
5965- parseJSON (Object v) = Var
5966- <$> v .: "var"
5967-
5968-instance ToJSON Virtual where
5969- toJSON (Virtual virtualVirtual) =
5970- object $ foldMap (maybe [] pure)
5971- [ Just $ "virtual" .= virtualVirtual
5972- ]
5973-
5974-instance FromJSON Virtual where
5975- parseJSON (Object v) = Virtual
5976- <$> v .: "virtual"
5977-
59786002 instance ToJSON Obj6 where
5979- toJSON (Obj6 dummyObj6 obj6WhereObj6 voidObj6 volatileObj6 wcharTObj6 weakObj6 whileObj6 willSetObj6 withObj6 xorObj6 xorEqObj6 yesObj6 yieldObj6) =
6003+ toJSON (Obj6 dummyObj6 obj6WhereObj6 utf8JSONWriterObj6 uuidObj6 varObj6 virtualObj6 voidObj6 volatileObj6 wcharTObj6 weakObj6 whileObj6 willSetObj6 withObj6 xorObj6 xorEqObj6 yesObj6 yieldObj6) =
59806004 object $ foldMap (maybe [] pure)
59816005 [ Just $ "dummy" .= dummyObj6
59826006 , Just $ "where" .= obj6WhereObj6
6007+ , Just $ "Utf8JsonWriter" .= utf8JSONWriterObj6
6008+ , Just $ "UUID" .= uuidObj6
6009+ , Just $ "var" .= varObj6
6010+ , Just $ "virtual" .= virtualObj6
59836011 , Just $ "void" .= voidObj6
59846012 , Just $ "volatile" .= volatileObj6
59856013 , Just $ "wchar_t" .= wcharTObj6
@@ -5997,6 +6025,10 @@ instance FromJSON Obj6 where
59976025 parseJSON (Object v) = Obj6
59986026 <$> v .: "dummy"
59996027 <*> v .: "where"
6028+ <*> v .: "Utf8JsonWriter"
6029+ <*> v .: "UUID"
6030+ <*> v .: "var"
6031+ <*> v .: "virtual"
60006032 <*> v .: "void"
60016033 <*> v .: "volatile"
60026034 <*> v .: "wchar_t"
@@ -6019,6 +6051,46 @@ instance FromJSON Where where
60196051 parseJSON (Object v) = Where
60206052 <$> v .: "where"
60216053
6054+instance ToJSON Utf8JSONWriter where
6055+ toJSON (Utf8JSONWriter utf8JSONWriterUtf8JSONWriter) =
6056+ object $ foldMap (maybe [] pure)
6057+ [ Just $ "Utf8JsonWriter" .= utf8JSONWriterUtf8JSONWriter
6058+ ]
6059+
6060+instance FromJSON Utf8JSONWriter where
6061+ parseJSON (Object v) = Utf8JSONWriter
6062+ <$> v .: "Utf8JsonWriter"
6063+
6064+instance ToJSON UUID where
6065+ toJSON (UUID uuidUUID) =
6066+ object $ foldMap (maybe [] pure)
6067+ [ Just $ "UUID" .= uuidUUID
6068+ ]
6069+
6070+instance FromJSON UUID where
6071+ parseJSON (Object v) = UUID
6072+ <$> v .: "UUID"
6073+
6074+instance ToJSON Var where
6075+ toJSON (Var varVar) =
6076+ object $ foldMap (maybe [] pure)
6077+ [ Just $ "var" .= varVar
6078+ ]
6079+
6080+instance FromJSON Var where
6081+ parseJSON (Object v) = Var
6082+ <$> v .: "var"
6083+
6084+instance ToJSON Virtual where
6085+ toJSON (Virtual virtualVirtual) =
6086+ object $ foldMap (maybe [] pure)
6087+ [ Just $ "virtual" .= virtualVirtual
6088+ ]
6089+
6090+instance FromJSON Virtual where
6091+ parseJSON (Object v) = Virtual
6092+ <$> v .: "virtual"
6093+
60226094 instance ToJSON Void where
60236095 toJSON (Void voidVoid) =
60246096 object $ foldMap (maybe [] pure)
Ajava-datetime-legacydefault / src / main / java / io / quicktype / DeserializationFeatureClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class DeserializationFeatureClass {
6+ private long deserializationFeature;
7+
8+ @JsonProperty("DeserializationFeature")
9+ public long getDeserializationFeature() { return deserializationFeature; }
10+ @JsonProperty("DeserializationFeature")
11+ public void setDeserializationFeature(long value) { this.deserializationFeature = value; }
12+}
Mjava-datetime-legacydefault / src / main / java / io / quicktype / Obj2.java+6 −6
@@ -22,6 +22,7 @@ public class Obj2 {
2222 private Del del;
2323 private Delegate delegate;
2424 private Delete delete;
25+ private DeserializationFeatureClass deserializationFeature;
2526 private Dict dict;
2627 private Dictionary dictionary;
2728 private DidSet didSet;
@@ -66,7 +67,6 @@ public class Obj2 {
6667 private Finally obj2Finally;
6768 private Float obj2Float;
6869 private For obj2For;
69- private Goto obj2Goto;
7070 private FalseClass purpleFalse;
7171
7272 @JsonProperty("DateFormatter")
@@ -164,6 +164,11 @@ public class Obj2 {
164164 @JsonProperty("delete")
165165 public void setDelete(Delete value) { this.delete = value; }
166166
167+ @JsonProperty("DeserializationFeature")
168+ public DeserializationFeatureClass getDeserializationFeature() { return deserializationFeature; }
169+ @JsonProperty("DeserializationFeature")
170+ public void setDeserializationFeature(DeserializationFeatureClass value) { this.deserializationFeature = value; }
171+
167172 @JsonProperty("dict")
168173 public Dict getDict() { return dict; }
169174 @JsonProperty("dict")
@@ -384,11 +389,6 @@ public class Obj2 {
384389 @JsonProperty("for")
385390 public void setObj2For(For value) { this.obj2For = value; }
386391
387- @JsonProperty("goto")
388- public Goto getObj2Goto() { return obj2Goto; }
389- @JsonProperty("goto")
390- public void setObj2Goto(Goto value) { this.obj2Goto = value; }
391-
392392 @JsonProperty("false")
393393 public FalseClass getPurpleFalse() { return purpleFalse; }
394394 @JsonProperty("false")
Mjava-datetime-legacydefault / src / main / java / io / quicktype / Obj3.java+5 −5
@@ -58,7 +58,7 @@ public class Obj3 {
5858 private Newtonsoft newtonsoft;
5959 private Nil nil;
6060 private No no;
61- private Noexcept noexcept;
61+ private Goto obj3Goto;
6262 private If obj3If;
6363 private Implements obj3Implements;
6464 private Import obj3Import;
@@ -344,10 +344,10 @@ public class Obj3 {
344344 @JsonProperty("NO")
345345 public void setNo(No value) { this.no = value; }
346346
347- @JsonProperty("noexcept")
348- public Noexcept getNoexcept() { return noexcept; }
349- @JsonProperty("noexcept")
350- public void setNoexcept(Noexcept value) { this.noexcept = value; }
347+ @JsonProperty("goto")
348+ public Goto getObj3Goto() { return obj3Goto; }
349+ @JsonProperty("goto")
350+ public void setObj3Goto(Goto value) { this.obj3Goto = value; }
351351
352352 @JsonProperty("if")
353353 public If getObj3If() { return obj3If; }
Mjava-datetime-legacydefault / src / main / java / io / quicktype / Obj4.java+18 −18
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.*;
55 public class Obj4 {
66 private long dummy;
77 private NoSuchMethod noSuchMethod;
8+ private Noexcept noexcept;
89 private Nonatomic nonatomic;
910 private NoneClass none;
1011 private Nonlocal nonlocal;
@@ -27,6 +28,8 @@ public class Obj4 {
2728 private Return obj4Return;
2829 private ObjectClass object;
2930 private ObjectMapperClass objectMapper;
31+ private ObjectReaderClass objectReader;
32+ private ObjectWriterClass objectWriter;
3033 private Of of;
3134 private Oneway oneway;
3235 private Open open;
@@ -65,9 +68,6 @@ public class Obj4 {
6568 private RuntimeType runtimeType;
6669 private S s;
6770 private Sbyte sbyte;
68- private Sealed sealed;
69- private Sel sel;
70- private Select select;
7171
7272 @JsonProperty("dummy")
7373 public long getDummy() { return dummy; }
@@ -79,6 +79,11 @@ public class Obj4 {
7979 @JsonProperty("noSuchMethod")
8080 public void setNoSuchMethod(NoSuchMethod value) { this.noSuchMethod = value; }
8181
82+ @JsonProperty("noexcept")
83+ public Noexcept getNoexcept() { return noexcept; }
84+ @JsonProperty("noexcept")
85+ public void setNoexcept(Noexcept value) { this.noexcept = value; }
86+
8287 @JsonProperty("nonatomic")
8388 public Nonatomic getNonatomic() { return nonatomic; }
8489 @JsonProperty("nonatomic")
@@ -189,6 +194,16 @@ public class Obj4 {
189194 @JsonProperty("ObjectMapper")
190195 public void setObjectMapper(ObjectMapperClass value) { this.objectMapper = value; }
191196
197+ @JsonProperty("ObjectReader")
198+ public ObjectReaderClass getObjectReader() { return objectReader; }
199+ @JsonProperty("ObjectReader")
200+ public void setObjectReader(ObjectReaderClass value) { this.objectReader = value; }
201+
202+ @JsonProperty("ObjectWriter")
203+ public ObjectWriterClass getObjectWriter() { return objectWriter; }
204+ @JsonProperty("ObjectWriter")
205+ public void setObjectWriter(ObjectWriterClass value) { this.objectWriter = value; }
206+
192207 @JsonProperty("of")
193208 public Of getOf() { return of; }
194209 @JsonProperty("of")
@@ -378,19 +393,4 @@ public class Obj4 {
378393 public Sbyte getSbyte() { return sbyte; }
379394 @JsonProperty("sbyte")
380395 public void setSbyte(Sbyte value) { this.sbyte = value; }
381-
382- @JsonProperty("sealed")
383- public Sealed getSealed() { return sealed; }
384- @JsonProperty("sealed")
385- public void setSealed(Sealed value) { this.sealed = value; }
386-
387- @JsonProperty("SEL")
388- public Sel getSel() { return sel; }
389- @JsonProperty("SEL")
390- public void setSel(Sel value) { this.sel = value; }
391-
392- @JsonProperty("select")
393- public Select getSelect() { return select; }
394- @JsonProperty("select")
395- public void setSelect(Select value) { this.select = value; }
396396 }
Mjava-datetime-legacydefault / src / main / java / io / quicktype / Obj5.java+24 −24
@@ -19,8 +19,12 @@ public class Obj5 {
1919 private Try obj5Try;
2020 private TypeClass obj5Type;
2121 private TrueClass purpleTrue;
22+ private Sealed sealed;
23+ private Sel sel;
24+ private Select select;
2225 private Self self;
2326 private Sendable sendable;
27+ private SerializationFeatureClass serializationFeature;
2428 private Serialize serialize;
2529 private SerializerProviderClass serializerProvider;
2630 private Set set;
@@ -64,10 +68,6 @@ public class Obj5 {
6468 private Ushort ushort;
6569 private Using using;
6670 private Utf8JSONReader utf8JSONReader;
67- private Utf8JSONWriter utf8JSONWriter;
68- private UUIDClass uuid;
69- private Var var;
70- private Virtual virtual;
7171
7272 @JsonProperty("dummy")
7373 public long getDummy() { return dummy; }
@@ -149,6 +149,21 @@ public class Obj5 {
149149 @JsonProperty("true")
150150 public void setPurpleTrue(TrueClass value) { this.purpleTrue = value; }
151151
152+ @JsonProperty("sealed")
153+ public Sealed getSealed() { return sealed; }
154+ @JsonProperty("sealed")
155+ public void setSealed(Sealed value) { this.sealed = value; }
156+
157+ @JsonProperty("SEL")
158+ public Sel getSel() { return sel; }
159+ @JsonProperty("SEL")
160+ public void setSel(Sel value) { this.sel = value; }
161+
162+ @JsonProperty("select")
163+ public Select getSelect() { return select; }
164+ @JsonProperty("select")
165+ public void setSelect(Select value) { this.select = value; }
166+
152167 @JsonProperty("Self")
153168 public Self getSelf() { return self; }
154169 @JsonProperty("Self")
@@ -159,6 +174,11 @@ public class Obj5 {
159174 @JsonProperty("Sendable")
160175 public void setSendable(Sendable value) { this.sendable = value; }
161176
177+ @JsonProperty("SerializationFeature")
178+ public SerializationFeatureClass getSerializationFeature() { return serializationFeature; }
179+ @JsonProperty("SerializationFeature")
180+ public void setSerializationFeature(SerializationFeatureClass value) { this.serializationFeature = value; }
181+
162182 @JsonProperty("serialize")
163183 public Serialize getSerialize() { return serialize; }
164184 @JsonProperty("serialize")
@@ -373,24 +393,4 @@ public class Obj5 {
373393 public Utf8JSONReader getUtf8JSONReader() { return utf8JSONReader; }
374394 @JsonProperty("Utf8JsonReader")
375395 public void setUtf8JSONReader(Utf8JSONReader value) { this.utf8JSONReader = value; }
376-
377- @JsonProperty("Utf8JsonWriter")
378- public Utf8JSONWriter getUtf8JSONWriter() { return utf8JSONWriter; }
379- @JsonProperty("Utf8JsonWriter")
380- public void setUtf8JSONWriter(Utf8JSONWriter value) { this.utf8JSONWriter = value; }
381-
382- @JsonProperty("UUID")
383- public UUIDClass getUUID() { return uuid; }
384- @JsonProperty("UUID")
385- public void setUUID(UUIDClass value) { this.uuid = value; }
386-
387- @JsonProperty("var")
388- public Var getVar() { return var; }
389- @JsonProperty("var")
390- public void setVar(Var value) { this.var = value; }
391-
392- @JsonProperty("virtual")
393- public Virtual getVirtual() { return virtual; }
394- @JsonProperty("virtual")
395- public void setVirtual(Virtual value) { this.virtual = value; }
396396 }
Mjava-datetime-legacydefault / src / main / java / io / quicktype / Obj6.java+24 −0
@@ -7,6 +7,10 @@ public class Obj6 {
77 private Void obj6Void;
88 private Volatile obj6Volatile;
99 private While obj6While;
10+ private Utf8JSONWriter utf8JSONWriter;
11+ private UUIDClass uuid;
12+ private Var var;
13+ private Virtual virtual;
1014 private WcharT wcharT;
1115 private Weak weak;
1216 private Where where;
@@ -37,6 +41,26 @@ public class Obj6 {
3741 @JsonProperty("while")
3842 public void setObj6While(While value) { this.obj6While = value; }
3943
44+ @JsonProperty("Utf8JsonWriter")
45+ public Utf8JSONWriter getUtf8JSONWriter() { return utf8JSONWriter; }
46+ @JsonProperty("Utf8JsonWriter")
47+ public void setUtf8JSONWriter(Utf8JSONWriter value) { this.utf8JSONWriter = value; }
48+
49+ @JsonProperty("UUID")
50+ public UUIDClass getUUID() { return uuid; }
51+ @JsonProperty("UUID")
52+ public void setUUID(UUIDClass value) { this.uuid = value; }
53+
54+ @JsonProperty("var")
55+ public Var getVar() { return var; }
56+ @JsonProperty("var")
57+ public void setVar(Var value) { this.var = value; }
58+
59+ @JsonProperty("virtual")
60+ public Virtual getVirtual() { return virtual; }
61+ @JsonProperty("virtual")
62+ public void setVirtual(Virtual value) { this.virtual = value; }
63+
4064 @JsonProperty("wchar_t")
4165 public WcharT getWcharT() { return wcharT; }
4266 @JsonProperty("wchar_t")
Ajava-datetime-legacydefault / src / main / java / io / quicktype / ObjectReaderClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class ObjectReaderClass {
6+ private long objectReader;
7+
8+ @JsonProperty("ObjectReader")
9+ public long getObjectReader() { return objectReader; }
10+ @JsonProperty("ObjectReader")
11+ public void setObjectReader(long value) { this.objectReader = value; }
12+}
Ajava-datetime-legacydefault / src / main / java / io / quicktype / ObjectWriterClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class ObjectWriterClass {
6+ private long objectWriter;
7+
8+ @JsonProperty("ObjectWriter")
9+ public long getObjectWriter() { return objectWriter; }
10+ @JsonProperty("ObjectWriter")
11+ public void setObjectWriter(long value) { this.objectWriter = value; }
12+}
Ajava-datetime-legacydefault / src / main / java / io / quicktype / SerializationFeatureClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class SerializationFeatureClass {
6+ private long serializationFeature;
7+
8+ @JsonProperty("SerializationFeature")
9+ public long getSerializationFeature() { return serializationFeature; }
10+ @JsonProperty("SerializationFeature")
11+ public void setSerializationFeature(long value) { this.serializationFeature = value; }
12+}
Ajava-lombokdefault / src / main / java / io / quicktype / DeserializationFeatureClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class DeserializationFeatureClass {
6+ private long deserializationFeature;
7+
8+ @JsonProperty("DeserializationFeature")
9+ public long getDeserializationFeature() { return deserializationFeature; }
10+ @JsonProperty("DeserializationFeature")
11+ public void setDeserializationFeature(long value) { this.deserializationFeature = value; }
12+}
Mjava-lombokdefault / src / main / java / io / quicktype / Obj2.java+6 −6
@@ -22,6 +22,7 @@ public class Obj2 {
2222 private Del del;
2323 private Delegate delegate;
2424 private Delete delete;
25+ private DeserializationFeatureClass deserializationFeature;
2526 private Dict dict;
2627 private Dictionary dictionary;
2728 private DidSet didSet;
@@ -66,7 +67,6 @@ public class Obj2 {
6667 private Finally obj2Finally;
6768 private Float obj2Float;
6869 private For obj2For;
69- private Goto obj2Goto;
7070 private FalseClass purpleFalse;
7171
7272 @JsonProperty("DateFormatter")
@@ -164,6 +164,11 @@ public class Obj2 {
164164 @JsonProperty("delete")
165165 public void setDelete(Delete value) { this.delete = value; }
166166
167+ @JsonProperty("DeserializationFeature")
168+ public DeserializationFeatureClass getDeserializationFeature() { return deserializationFeature; }
169+ @JsonProperty("DeserializationFeature")
170+ public void setDeserializationFeature(DeserializationFeatureClass value) { this.deserializationFeature = value; }
171+
167172 @JsonProperty("dict")
168173 public Dict getDict() { return dict; }
169174 @JsonProperty("dict")
@@ -384,11 +389,6 @@ public class Obj2 {
384389 @JsonProperty("for")
385390 public void setObj2For(For value) { this.obj2For = value; }
386391
387- @JsonProperty("goto")
388- public Goto getObj2Goto() { return obj2Goto; }
389- @JsonProperty("goto")
390- public void setObj2Goto(Goto value) { this.obj2Goto = value; }
391-
392392 @JsonProperty("false")
393393 public FalseClass getPurpleFalse() { return purpleFalse; }
394394 @JsonProperty("false")
Mjava-lombokdefault / src / main / java / io / quicktype / Obj3.java+5 −5
@@ -58,7 +58,7 @@ public class Obj3 {
5858 private Newtonsoft newtonsoft;
5959 private Nil nil;
6060 private No no;
61- private Noexcept noexcept;
61+ private Goto obj3Goto;
6262 private If obj3If;
6363 private Implements obj3Implements;
6464 private Import obj3Import;
@@ -344,10 +344,10 @@ public class Obj3 {
344344 @JsonProperty("NO")
345345 public void setNo(No value) { this.no = value; }
346346
347- @JsonProperty("noexcept")
348- public Noexcept getNoexcept() { return noexcept; }
349- @JsonProperty("noexcept")
350- public void setNoexcept(Noexcept value) { this.noexcept = value; }
347+ @JsonProperty("goto")
348+ public Goto getObj3Goto() { return obj3Goto; }
349+ @JsonProperty("goto")
350+ public void setObj3Goto(Goto value) { this.obj3Goto = value; }
351351
352352 @JsonProperty("if")
353353 public If getObj3If() { return obj3If; }
Mjava-lombokdefault / src / main / java / io / quicktype / Obj4.java+18 −18
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.*;
55 public class Obj4 {
66 private long dummy;
77 private NoSuchMethod noSuchMethod;
8+ private Noexcept noexcept;
89 private Nonatomic nonatomic;
910 private NoneClass none;
1011 private Nonlocal nonlocal;
@@ -27,6 +28,8 @@ public class Obj4 {
2728 private Return obj4Return;
2829 private ObjectClass object;
2930 private ObjectMapperClass objectMapper;
31+ private ObjectReaderClass objectReader;
32+ private ObjectWriterClass objectWriter;
3033 private Of of;
3134 private Oneway oneway;
3235 private Open open;
@@ -65,9 +68,6 @@ public class Obj4 {
6568 private RuntimeType runtimeType;
6669 private S s;
6770 private Sbyte sbyte;
68- private Sealed sealed;
69- private Sel sel;
70- private Select select;
7171
7272 @JsonProperty("dummy")
7373 public long getDummy() { return dummy; }
@@ -79,6 +79,11 @@ public class Obj4 {
7979 @JsonProperty("noSuchMethod")
8080 public void setNoSuchMethod(NoSuchMethod value) { this.noSuchMethod = value; }
8181
82+ @JsonProperty("noexcept")
83+ public Noexcept getNoexcept() { return noexcept; }
84+ @JsonProperty("noexcept")
85+ public void setNoexcept(Noexcept value) { this.noexcept = value; }
86+
8287 @JsonProperty("nonatomic")
8388 public Nonatomic getNonatomic() { return nonatomic; }
8489 @JsonProperty("nonatomic")
@@ -189,6 +194,16 @@ public class Obj4 {
189194 @JsonProperty("ObjectMapper")
190195 public void setObjectMapper(ObjectMapperClass value) { this.objectMapper = value; }
191196
197+ @JsonProperty("ObjectReader")
198+ public ObjectReaderClass getObjectReader() { return objectReader; }
199+ @JsonProperty("ObjectReader")
200+ public void setObjectReader(ObjectReaderClass value) { this.objectReader = value; }
201+
202+ @JsonProperty("ObjectWriter")
203+ public ObjectWriterClass getObjectWriter() { return objectWriter; }
204+ @JsonProperty("ObjectWriter")
205+ public void setObjectWriter(ObjectWriterClass value) { this.objectWriter = value; }
206+
192207 @JsonProperty("of")
193208 public Of getOf() { return of; }
194209 @JsonProperty("of")
@@ -378,19 +393,4 @@ public class Obj4 {
378393 public Sbyte getSbyte() { return sbyte; }
379394 @JsonProperty("sbyte")
380395 public void setSbyte(Sbyte value) { this.sbyte = value; }
381-
382- @JsonProperty("sealed")
383- public Sealed getSealed() { return sealed; }
384- @JsonProperty("sealed")
385- public void setSealed(Sealed value) { this.sealed = value; }
386-
387- @JsonProperty("SEL")
388- public Sel getSel() { return sel; }
389- @JsonProperty("SEL")
390- public void setSel(Sel value) { this.sel = value; }
391-
392- @JsonProperty("select")
393- public Select getSelect() { return select; }
394- @JsonProperty("select")
395- public void setSelect(Select value) { this.select = value; }
396396 }
Mjava-lombokdefault / src / main / java / io / quicktype / Obj5.java+24 −24
@@ -19,8 +19,12 @@ public class Obj5 {
1919 private Try obj5Try;
2020 private TypeClass obj5Type;
2121 private TrueClass purpleTrue;
22+ private Sealed sealed;
23+ private Sel sel;
24+ private Select select;
2225 private Self self;
2326 private Sendable sendable;
27+ private SerializationFeatureClass serializationFeature;
2428 private Serialize serialize;
2529 private SerializerProviderClass serializerProvider;
2630 private Set set;
@@ -64,10 +68,6 @@ public class Obj5 {
6468 private Ushort ushort;
6569 private Using using;
6670 private Utf8JSONReader utf8JSONReader;
67- private Utf8JSONWriter utf8JSONWriter;
68- private UUIDClass uuid;
69- private Var var;
70- private Virtual virtual;
7171
7272 @JsonProperty("dummy")
7373 public long getDummy() { return dummy; }
@@ -149,6 +149,21 @@ public class Obj5 {
149149 @JsonProperty("true")
150150 public void setPurpleTrue(TrueClass value) { this.purpleTrue = value; }
151151
152+ @JsonProperty("sealed")
153+ public Sealed getSealed() { return sealed; }
154+ @JsonProperty("sealed")
155+ public void setSealed(Sealed value) { this.sealed = value; }
156+
157+ @JsonProperty("SEL")
158+ public Sel getSel() { return sel; }
159+ @JsonProperty("SEL")
160+ public void setSel(Sel value) { this.sel = value; }
161+
162+ @JsonProperty("select")
163+ public Select getSelect() { return select; }
164+ @JsonProperty("select")
165+ public void setSelect(Select value) { this.select = value; }
166+
152167 @JsonProperty("Self")
153168 public Self getSelf() { return self; }
154169 @JsonProperty("Self")
@@ -159,6 +174,11 @@ public class Obj5 {
159174 @JsonProperty("Sendable")
160175 public void setSendable(Sendable value) { this.sendable = value; }
161176
177+ @JsonProperty("SerializationFeature")
178+ public SerializationFeatureClass getSerializationFeature() { return serializationFeature; }
179+ @JsonProperty("SerializationFeature")
180+ public void setSerializationFeature(SerializationFeatureClass value) { this.serializationFeature = value; }
181+
162182 @JsonProperty("serialize")
163183 public Serialize getSerialize() { return serialize; }
164184 @JsonProperty("serialize")
@@ -373,24 +393,4 @@ public class Obj5 {
373393 public Utf8JSONReader getUtf8JSONReader() { return utf8JSONReader; }
374394 @JsonProperty("Utf8JsonReader")
375395 public void setUtf8JSONReader(Utf8JSONReader value) { this.utf8JSONReader = value; }
376-
377- @JsonProperty("Utf8JsonWriter")
378- public Utf8JSONWriter getUtf8JSONWriter() { return utf8JSONWriter; }
379- @JsonProperty("Utf8JsonWriter")
380- public void setUtf8JSONWriter(Utf8JSONWriter value) { this.utf8JSONWriter = value; }
381-
382- @JsonProperty("UUID")
383- public UUIDClass getUUID() { return uuid; }
384- @JsonProperty("UUID")
385- public void setUUID(UUIDClass value) { this.uuid = value; }
386-
387- @JsonProperty("var")
388- public Var getVar() { return var; }
389- @JsonProperty("var")
390- public void setVar(Var value) { this.var = value; }
391-
392- @JsonProperty("virtual")
393- public Virtual getVirtual() { return virtual; }
394- @JsonProperty("virtual")
395- public void setVirtual(Virtual value) { this.virtual = value; }
396396 }
Mjava-lombokdefault / src / main / java / io / quicktype / Obj6.java+24 −0
@@ -7,6 +7,10 @@ public class Obj6 {
77 private Void obj6Void;
88 private Volatile obj6Volatile;
99 private While obj6While;
10+ private Utf8JSONWriter utf8JSONWriter;
11+ private UUIDClass uuid;
12+ private Var var;
13+ private Virtual virtual;
1014 private WcharT wcharT;
1115 private Weak weak;
1216 private Where where;
@@ -37,6 +41,26 @@ public class Obj6 {
3741 @JsonProperty("while")
3842 public void setObj6While(While value) { this.obj6While = value; }
3943
44+ @JsonProperty("Utf8JsonWriter")
45+ public Utf8JSONWriter getUtf8JSONWriter() { return utf8JSONWriter; }
46+ @JsonProperty("Utf8JsonWriter")
47+ public void setUtf8JSONWriter(Utf8JSONWriter value) { this.utf8JSONWriter = value; }
48+
49+ @JsonProperty("UUID")
50+ public UUIDClass getUUID() { return uuid; }
51+ @JsonProperty("UUID")
52+ public void setUUID(UUIDClass value) { this.uuid = value; }
53+
54+ @JsonProperty("var")
55+ public Var getVar() { return var; }
56+ @JsonProperty("var")
57+ public void setVar(Var value) { this.var = value; }
58+
59+ @JsonProperty("virtual")
60+ public Virtual getVirtual() { return virtual; }
61+ @JsonProperty("virtual")
62+ public void setVirtual(Virtual value) { this.virtual = value; }
63+
4064 @JsonProperty("wchar_t")
4165 public WcharT getWcharT() { return wcharT; }
4266 @JsonProperty("wchar_t")
Ajava-lombokdefault / src / main / java / io / quicktype / ObjectReaderClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class ObjectReaderClass {
6+ private long objectReader;
7+
8+ @JsonProperty("ObjectReader")
9+ public long getObjectReader() { return objectReader; }
10+ @JsonProperty("ObjectReader")
11+ public void setObjectReader(long value) { this.objectReader = value; }
12+}
Ajava-lombokdefault / src / main / java / io / quicktype / ObjectWriterClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class ObjectWriterClass {
6+ private long objectWriter;
7+
8+ @JsonProperty("ObjectWriter")
9+ public long getObjectWriter() { return objectWriter; }
10+ @JsonProperty("ObjectWriter")
11+ public void setObjectWriter(long value) { this.objectWriter = value; }
12+}
Ajava-lombokdefault / src / main / java / io / quicktype / SerializationFeatureClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class SerializationFeatureClass {
6+ private long serializationFeature;
7+
8+ @JsonProperty("SerializationFeature")
9+ public long getSerializationFeature() { return serializationFeature; }
10+ @JsonProperty("SerializationFeature")
11+ public void setSerializationFeature(long value) { this.serializationFeature = value; }
12+}
Ajavadefault / src / main / java / io / quicktype / DeserializationFeatureClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class DeserializationFeatureClass {
6+ private long deserializationFeature;
7+
8+ @JsonProperty("DeserializationFeature")
9+ public long getDeserializationFeature() { return deserializationFeature; }
10+ @JsonProperty("DeserializationFeature")
11+ public void setDeserializationFeature(long value) { this.deserializationFeature = value; }
12+}
Mjavadefault / src / main / java / io / quicktype / Obj2.java+6 −6
@@ -22,6 +22,7 @@ public class Obj2 {
2222 private Del del;
2323 private Delegate delegate;
2424 private Delete delete;
25+ private DeserializationFeatureClass deserializationFeature;
2526 private Dict dict;
2627 private Dictionary dictionary;
2728 private DidSet didSet;
@@ -66,7 +67,6 @@ public class Obj2 {
6667 private Finally obj2Finally;
6768 private Float obj2Float;
6869 private For obj2For;
69- private Goto obj2Goto;
7070 private FalseClass purpleFalse;
7171
7272 @JsonProperty("DateFormatter")
@@ -164,6 +164,11 @@ public class Obj2 {
164164 @JsonProperty("delete")
165165 public void setDelete(Delete value) { this.delete = value; }
166166
167+ @JsonProperty("DeserializationFeature")
168+ public DeserializationFeatureClass getDeserializationFeature() { return deserializationFeature; }
169+ @JsonProperty("DeserializationFeature")
170+ public void setDeserializationFeature(DeserializationFeatureClass value) { this.deserializationFeature = value; }
171+
167172 @JsonProperty("dict")
168173 public Dict getDict() { return dict; }
169174 @JsonProperty("dict")
@@ -384,11 +389,6 @@ public class Obj2 {
384389 @JsonProperty("for")
385390 public void setObj2For(For value) { this.obj2For = value; }
386391
387- @JsonProperty("goto")
388- public Goto getObj2Goto() { return obj2Goto; }
389- @JsonProperty("goto")
390- public void setObj2Goto(Goto value) { this.obj2Goto = value; }
391-
392392 @JsonProperty("false")
393393 public FalseClass getPurpleFalse() { return purpleFalse; }
394394 @JsonProperty("false")
Mjavadefault / src / main / java / io / quicktype / Obj3.java+5 −5
@@ -58,7 +58,7 @@ public class Obj3 {
5858 private Newtonsoft newtonsoft;
5959 private Nil nil;
6060 private No no;
61- private Noexcept noexcept;
61+ private Goto obj3Goto;
6262 private If obj3If;
6363 private Implements obj3Implements;
6464 private Import obj3Import;
@@ -344,10 +344,10 @@ public class Obj3 {
344344 @JsonProperty("NO")
345345 public void setNo(No value) { this.no = value; }
346346
347- @JsonProperty("noexcept")
348- public Noexcept getNoexcept() { return noexcept; }
349- @JsonProperty("noexcept")
350- public void setNoexcept(Noexcept value) { this.noexcept = value; }
347+ @JsonProperty("goto")
348+ public Goto getObj3Goto() { return obj3Goto; }
349+ @JsonProperty("goto")
350+ public void setObj3Goto(Goto value) { this.obj3Goto = value; }
351351
352352 @JsonProperty("if")
353353 public If getObj3If() { return obj3If; }
Mjavadefault / src / main / java / io / quicktype / Obj4.java+18 −18
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.*;
55 public class Obj4 {
66 private long dummy;
77 private NoSuchMethod noSuchMethod;
8+ private Noexcept noexcept;
89 private Nonatomic nonatomic;
910 private NoneClass none;
1011 private Nonlocal nonlocal;
@@ -27,6 +28,8 @@ public class Obj4 {
2728 private Return obj4Return;
2829 private ObjectClass object;
2930 private ObjectMapperClass objectMapper;
31+ private ObjectReaderClass objectReader;
32+ private ObjectWriterClass objectWriter;
3033 private Of of;
3134 private Oneway oneway;
3235 private Open open;
@@ -65,9 +68,6 @@ public class Obj4 {
6568 private RuntimeType runtimeType;
6669 private S s;
6770 private Sbyte sbyte;
68- private Sealed sealed;
69- private Sel sel;
70- private Select select;
7171
7272 @JsonProperty("dummy")
7373 public long getDummy() { return dummy; }
@@ -79,6 +79,11 @@ public class Obj4 {
7979 @JsonProperty("noSuchMethod")
8080 public void setNoSuchMethod(NoSuchMethod value) { this.noSuchMethod = value; }
8181
82+ @JsonProperty("noexcept")
83+ public Noexcept getNoexcept() { return noexcept; }
84+ @JsonProperty("noexcept")
85+ public void setNoexcept(Noexcept value) { this.noexcept = value; }
86+
8287 @JsonProperty("nonatomic")
8388 public Nonatomic getNonatomic() { return nonatomic; }
8489 @JsonProperty("nonatomic")
@@ -189,6 +194,16 @@ public class Obj4 {
189194 @JsonProperty("ObjectMapper")
190195 public void setObjectMapper(ObjectMapperClass value) { this.objectMapper = value; }
191196
197+ @JsonProperty("ObjectReader")
198+ public ObjectReaderClass getObjectReader() { return objectReader; }
199+ @JsonProperty("ObjectReader")
200+ public void setObjectReader(ObjectReaderClass value) { this.objectReader = value; }
201+
202+ @JsonProperty("ObjectWriter")
203+ public ObjectWriterClass getObjectWriter() { return objectWriter; }
204+ @JsonProperty("ObjectWriter")
205+ public void setObjectWriter(ObjectWriterClass value) { this.objectWriter = value; }
206+
192207 @JsonProperty("of")
193208 public Of getOf() { return of; }
194209 @JsonProperty("of")
@@ -378,19 +393,4 @@ public class Obj4 {
378393 public Sbyte getSbyte() { return sbyte; }
379394 @JsonProperty("sbyte")
380395 public void setSbyte(Sbyte value) { this.sbyte = value; }
381-
382- @JsonProperty("sealed")
383- public Sealed getSealed() { return sealed; }
384- @JsonProperty("sealed")
385- public void setSealed(Sealed value) { this.sealed = value; }
386-
387- @JsonProperty("SEL")
388- public Sel getSel() { return sel; }
389- @JsonProperty("SEL")
390- public void setSel(Sel value) { this.sel = value; }
391-
392- @JsonProperty("select")
393- public Select getSelect() { return select; }
394- @JsonProperty("select")
395- public void setSelect(Select value) { this.select = value; }
396396 }
Mjavadefault / src / main / java / io / quicktype / Obj5.java+24 −24
@@ -19,8 +19,12 @@ public class Obj5 {
1919 private Try obj5Try;
2020 private TypeClass obj5Type;
2121 private TrueClass purpleTrue;
22+ private Sealed sealed;
23+ private Sel sel;
24+ private Select select;
2225 private Self self;
2326 private Sendable sendable;
27+ private SerializationFeatureClass serializationFeature;
2428 private Serialize serialize;
2529 private SerializerProviderClass serializerProvider;
2630 private Set set;
@@ -64,10 +68,6 @@ public class Obj5 {
6468 private Ushort ushort;
6569 private Using using;
6670 private Utf8JSONReader utf8JSONReader;
67- private Utf8JSONWriter utf8JSONWriter;
68- private UUIDClass uuid;
69- private Var var;
70- private Virtual virtual;
7171
7272 @JsonProperty("dummy")
7373 public long getDummy() { return dummy; }
@@ -149,6 +149,21 @@ public class Obj5 {
149149 @JsonProperty("true")
150150 public void setPurpleTrue(TrueClass value) { this.purpleTrue = value; }
151151
152+ @JsonProperty("sealed")
153+ public Sealed getSealed() { return sealed; }
154+ @JsonProperty("sealed")
155+ public void setSealed(Sealed value) { this.sealed = value; }
156+
157+ @JsonProperty("SEL")
158+ public Sel getSel() { return sel; }
159+ @JsonProperty("SEL")
160+ public void setSel(Sel value) { this.sel = value; }
161+
162+ @JsonProperty("select")
163+ public Select getSelect() { return select; }
164+ @JsonProperty("select")
165+ public void setSelect(Select value) { this.select = value; }
166+
152167 @JsonProperty("Self")
153168 public Self getSelf() { return self; }
154169 @JsonProperty("Self")
@@ -159,6 +174,11 @@ public class Obj5 {
159174 @JsonProperty("Sendable")
160175 public void setSendable(Sendable value) { this.sendable = value; }
161176
177+ @JsonProperty("SerializationFeature")
178+ public SerializationFeatureClass getSerializationFeature() { return serializationFeature; }
179+ @JsonProperty("SerializationFeature")
180+ public void setSerializationFeature(SerializationFeatureClass value) { this.serializationFeature = value; }
181+
162182 @JsonProperty("serialize")
163183 public Serialize getSerialize() { return serialize; }
164184 @JsonProperty("serialize")
@@ -373,24 +393,4 @@ public class Obj5 {
373393 public Utf8JSONReader getUtf8JSONReader() { return utf8JSONReader; }
374394 @JsonProperty("Utf8JsonReader")
375395 public void setUtf8JSONReader(Utf8JSONReader value) { this.utf8JSONReader = value; }
376-
377- @JsonProperty("Utf8JsonWriter")
378- public Utf8JSONWriter getUtf8JSONWriter() { return utf8JSONWriter; }
379- @JsonProperty("Utf8JsonWriter")
380- public void setUtf8JSONWriter(Utf8JSONWriter value) { this.utf8JSONWriter = value; }
381-
382- @JsonProperty("UUID")
383- public UUIDClass getUUID() { return uuid; }
384- @JsonProperty("UUID")
385- public void setUUID(UUIDClass value) { this.uuid = value; }
386-
387- @JsonProperty("var")
388- public Var getVar() { return var; }
389- @JsonProperty("var")
390- public void setVar(Var value) { this.var = value; }
391-
392- @JsonProperty("virtual")
393- public Virtual getVirtual() { return virtual; }
394- @JsonProperty("virtual")
395- public void setVirtual(Virtual value) { this.virtual = value; }
396396 }
Mjavadefault / src / main / java / io / quicktype / Obj6.java+24 −0
@@ -7,6 +7,10 @@ public class Obj6 {
77 private Void obj6Void;
88 private Volatile obj6Volatile;
99 private While obj6While;
10+ private Utf8JSONWriter utf8JSONWriter;
11+ private UUIDClass uuid;
12+ private Var var;
13+ private Virtual virtual;
1014 private WcharT wcharT;
1115 private Weak weak;
1216 private Where where;
@@ -37,6 +41,26 @@ public class Obj6 {
3741 @JsonProperty("while")
3842 public void setObj6While(While value) { this.obj6While = value; }
3943
44+ @JsonProperty("Utf8JsonWriter")
45+ public Utf8JSONWriter getUtf8JSONWriter() { return utf8JSONWriter; }
46+ @JsonProperty("Utf8JsonWriter")
47+ public void setUtf8JSONWriter(Utf8JSONWriter value) { this.utf8JSONWriter = value; }
48+
49+ @JsonProperty("UUID")
50+ public UUIDClass getUUID() { return uuid; }
51+ @JsonProperty("UUID")
52+ public void setUUID(UUIDClass value) { this.uuid = value; }
53+
54+ @JsonProperty("var")
55+ public Var getVar() { return var; }
56+ @JsonProperty("var")
57+ public void setVar(Var value) { this.var = value; }
58+
59+ @JsonProperty("virtual")
60+ public Virtual getVirtual() { return virtual; }
61+ @JsonProperty("virtual")
62+ public void setVirtual(Virtual value) { this.virtual = value; }
63+
4064 @JsonProperty("wchar_t")
4165 public WcharT getWcharT() { return wcharT; }
4266 @JsonProperty("wchar_t")
Ajavadefault / src / main / java / io / quicktype / ObjectReaderClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class ObjectReaderClass {
6+ private long objectReader;
7+
8+ @JsonProperty("ObjectReader")
9+ public long getObjectReader() { return objectReader; }
10+ @JsonProperty("ObjectReader")
11+ public void setObjectReader(long value) { this.objectReader = value; }
12+}
Ajavadefault / src / main / java / io / quicktype / ObjectWriterClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class ObjectWriterClass {
6+ private long objectWriter;
7+
8+ @JsonProperty("ObjectWriter")
9+ public long getObjectWriter() { return objectWriter; }
10+ @JsonProperty("ObjectWriter")
11+ public void setObjectWriter(long value) { this.objectWriter = value; }
12+}
Ajavadefault / src / main / java / io / quicktype / SerializationFeatureClass.java+12 −0
@@ -0,0 +1,12 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+public class SerializationFeatureClass {
6+ private long serializationFeature;
7+
8+ @JsonProperty("SerializationFeature")
9+ public long getSerializationFeature() { return serializationFeature; }
10+ @JsonProperty("SerializationFeature")
11+ public void setSerializationFeature(long value) { this.serializationFeature = value; }
12+}
Mjavascript-prop-typesdefault / toplevel.js+64 −44
@@ -87,6 +87,7 @@ let _DateTime;
8787 let _DateTimeStyles;
8888 let _Decoder;
8989 let _DecodingError;
90+let _DeserializationFeature;
9091 let _Encoder;
9192 let _EnumValues;
9293 let _Equatable;
@@ -143,7 +144,6 @@ let _Function;
143144 let _Get;
144145 let _Global;
145146 let _Go;
146-let _Goto;
147147 let _Obj3;
148148 let _Hashable;
149149 let _Hasher;
@@ -163,6 +163,7 @@ let _JSONTokenType;
163163 let _Locale;
164164 let _MapEntry;
165165 let _No;
166+let _Goto;
166167 let _Guard;
167168 let _HasOwnProperty;
168169 let _HashCode;
@@ -208,7 +209,6 @@ let _Native;
208209 let _New;
209210 let _Newtonsoft;
210211 let _Nil;
211-let _Noexcept;
212212 let _Obj4;
213213 let _NSError;
214214 let _NSObject;
@@ -216,10 +216,12 @@ let _NSString;
216216 let _Null;
217217 let _None;
218218 let _ObjectMapper;
219+let _ObjectReader;
220+let _ObjectWriter;
219221 let _Protocol;
220222 let _RegExp;
221-let _Sel;
222223 let _NoSuchMethod;
224+let _Noexcept;
223225 let _Nonatomic;
224226 let _NoneClass;
225227 let _Nonlocal;
@@ -272,11 +274,11 @@ let _Right;
272274 let _RuntimeType;
273275 let _S;
274276 let _Sbyte;
275-let _Sealed;
276-let _Select;
277277 let _Obj5;
278+let _Sel;
278279 let _Self;
279280 let _Sendable;
281+let _SerializationFeature;
280282 let _SerializerProvider;
281283 let _SimpleModule;
282284 let _Standards;
@@ -287,9 +289,9 @@ let _TimeOnlyConverter;
287289 let _TimeZone;
288290 let _True;
289291 let _Type;
290-let _UUID;
291292 let _Utf8JSONReader;
292-let _Utf8JSONWriter;
293+let _Sealed;
294+let _Select;
293295 let _SelfClass;
294296 let _Serialize;
295297 let _Set;
@@ -337,10 +339,12 @@ let _Unsafe;
337339 let _Unsigned;
338340 let _Ushort;
339341 let _Using;
340-let _Var;
341-let _Virtual;
342342 let _Obj6;
343+let _UUID;
344+let _Utf8JSONWriter;
343345 let _Yes;
346+let _Var;
347+let _Virtual;
344348 let _Void;
345349 let _Volatile;
346350 let _WcharT;
@@ -633,6 +637,9 @@ _Decoder = PropTypes.shape({
633637 _DecodingError = PropTypes.shape({
634638 "DecodingError": PropTypes.oneOfType([Integer]).isRequired,
635639 });
640+_DeserializationFeature = PropTypes.shape({
641+ "DeserializationFeature": PropTypes.oneOfType([Integer]).isRequired,
642+});
636643 _Encoder = PropTypes.shape({
637644 "Encoder": PropTypes.oneOfType([Integer]).isRequired,
638645 });
@@ -801,9 +808,6 @@ _Global = PropTypes.shape({
801808 _Go = PropTypes.shape({
802809 "go": PropTypes.oneOfType([Integer]).isRequired,
803810 });
804-_Goto = PropTypes.shape({
805- "goto": PropTypes.oneOfType([Integer]).isRequired,
806-});
807811 _Obj2 = PropTypes.shape({
808812 "DateFormatter": _DateFormatter,
809813 "DateOnly": _DateOnly,
@@ -812,6 +816,7 @@ _Obj2 = PropTypes.shape({
812816 "DateTimeStyles": _DateTimeStyles,
813817 "Decoder": _Decoder,
814818 "DecodingError": _DecodingError,
819+ "DeserializationFeature": _DeserializationFeature,
815820 "Encoder": _Encoder,
816821 "EnumValues": _EnumValues,
817822 "Equatable": _Equatable,
@@ -869,7 +874,6 @@ _Obj2 = PropTypes.shape({
869874 "get": _Get,
870875 "global": _Global,
871876 "go": _Go,
872- "goto": _Goto,
873877 });
874878 _Hashable = PropTypes.shape({
875879 "Hashable": PropTypes.oneOfType([Integer]).isRequired,
@@ -925,6 +929,9 @@ _MapEntry = PropTypes.shape({
925929 _No = PropTypes.shape({
926930 "NO": PropTypes.oneOfType([Integer]).isRequired,
927931 });
932+_Goto = PropTypes.shape({
933+ "goto": PropTypes.oneOfType([Integer]).isRequired,
934+});
928935 _Guard = PropTypes.shape({
929936 "guard": PropTypes.oneOfType([Integer]).isRequired,
930937 });
@@ -1060,9 +1067,6 @@ _Newtonsoft = PropTypes.shape({
10601067 _Nil = PropTypes.shape({
10611068 "nil": PropTypes.oneOfType([Integer]).isRequired,
10621069 });
1063-_Noexcept = PropTypes.shape({
1064- "noexcept": PropTypes.oneOfType([Integer]).isRequired,
1065-});
10661070 _Obj3 = PropTypes.shape({
10671071 "Hashable": _Hashable,
10681072 "Hasher": _Hasher,
@@ -1083,6 +1087,7 @@ _Obj3 = PropTypes.shape({
10831087 "MapEntry": _MapEntry,
10841088 "NO": _No,
10851089 "dummy": PropTypes.oneOfType([Integer]).isRequired,
1090+ "goto": _Goto,
10861091 "guard": _Guard,
10871092 "hasOwnProperty": _HasOwnProperty,
10881093 "hashCode": _HashCode,
@@ -1128,7 +1133,6 @@ _Obj3 = PropTypes.shape({
11281133 "new": _New,
11291134 "newtonsoft": _Newtonsoft,
11301135 "nil": _Nil,
1131- "noexcept": _Noexcept,
11321136 });
11331137 _NSError = PropTypes.shape({
11341138 "NSError": PropTypes.oneOfType([Integer]).isRequired,
@@ -1148,18 +1152,24 @@ _None = PropTypes.shape({
11481152 _ObjectMapper = PropTypes.shape({
11491153 "ObjectMapper": PropTypes.oneOfType([Integer]).isRequired,
11501154 });
1155+_ObjectReader = PropTypes.shape({
1156+ "ObjectReader": PropTypes.oneOfType([Integer]).isRequired,
1157+});
1158+_ObjectWriter = PropTypes.shape({
1159+ "ObjectWriter": PropTypes.oneOfType([Integer]).isRequired,
1160+});
11511161 _Protocol = PropTypes.shape({
11521162 "Protocol": PropTypes.oneOfType([Integer]).isRequired,
11531163 });
11541164 _RegExp = PropTypes.shape({
11551165 "RegExp": PropTypes.oneOfType([(props, name) => props[name] == null || /^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i.test(props[name]) ? null : new Error("Expected UUID")]).isRequired,
11561166 });
1157-_Sel = PropTypes.shape({
1158- "SEL": PropTypes.oneOfType([Integer]).isRequired,
1159-});
11601167 _NoSuchMethod = PropTypes.shape({
11611168 "noSuchMethod": PropTypes.oneOfType([Integer]).isRequired,
11621169 });
1170+_Noexcept = PropTypes.shape({
1171+ "noexcept": PropTypes.oneOfType([Integer]).isRequired,
1172+});
11631173 _Nonatomic = PropTypes.shape({
11641174 "nonatomic": PropTypes.oneOfType([Integer]).isRequired,
11651175 });
@@ -1316,12 +1326,6 @@ _S = PropTypes.shape({
13161326 _Sbyte = PropTypes.shape({
13171327 "sbyte": PropTypes.oneOfType([Integer]).isRequired,
13181328 });
1319-_Sealed = PropTypes.shape({
1320- "sealed": PropTypes.oneOfType([Integer]).isRequired,
1321-});
1322-_Select = PropTypes.shape({
1323- "select": PropTypes.oneOfType([Integer]).isRequired,
1324-});
13251329 _Obj4 = PropTypes.shape({
13261330 "NSError": _NSError,
13271331 "NSObject": _NSObject,
@@ -1329,11 +1333,13 @@ _Obj4 = PropTypes.shape({
13291333 "NULL": _Null,
13301334 "None": _None,
13311335 "ObjectMapper": _ObjectMapper,
1336+ "ObjectReader": _ObjectReader,
1337+ "ObjectWriter": _ObjectWriter,
13321338 "Protocol": _Protocol,
13331339 "RegExp": _RegExp,
1334- "SEL": _Sel,
13351340 "dummy": PropTypes.oneOfType([Integer]).isRequired,
13361341 "noSuchMethod": _NoSuchMethod,
1342+ "noexcept": _Noexcept,
13371343 "nonatomic": _Nonatomic,
13381344 "none": _NoneClass,
13391345 "nonlocal": _Nonlocal,
@@ -1386,8 +1392,9 @@ _Obj4 = PropTypes.shape({
13861392 "runtimeType": _RuntimeType,
13871393 "s": _S,
13881394 "sbyte": _Sbyte,
1389- "sealed": _Sealed,
1390- "select": _Select,
1395+});
1396+_Sel = PropTypes.shape({
1397+ "SEL": PropTypes.oneOfType([Integer]).isRequired,
13911398 });
13921399 _Self = PropTypes.shape({
13931400 "Self": PropTypes.oneOfType([Integer]).isRequired,
@@ -1395,6 +1402,9 @@ _Self = PropTypes.shape({
13951402 _Sendable = PropTypes.shape({
13961403 "Sendable": PropTypes.oneOfType([Integer]).isRequired,
13971404 });
1405+_SerializationFeature = PropTypes.shape({
1406+ "SerializationFeature": PropTypes.oneOfType([Integer]).isRequired,
1407+});
13981408 _SerializerProvider = PropTypes.shape({
13991409 "SerializerProvider": PropTypes.oneOfType([Integer]).isRequired,
14001410 });
@@ -1425,14 +1435,14 @@ _True = PropTypes.shape({
14251435 _Type = PropTypes.shape({
14261436 "Type": PropTypes.oneOfType([Integer]).isRequired,
14271437 });
1428-_UUID = PropTypes.shape({
1429- "UUID": PropTypes.oneOfType([Integer]).isRequired,
1430-});
14311438 _Utf8JSONReader = PropTypes.shape({
14321439 "Utf8JsonReader": PropTypes.oneOfType([Integer]).isRequired,
14331440 });
1434-_Utf8JSONWriter = PropTypes.shape({
1435- "Utf8JsonWriter": PropTypes.oneOfType([Integer]).isRequired,
1441+_Sealed = PropTypes.shape({
1442+ "sealed": PropTypes.oneOfType([Integer]).isRequired,
1443+});
1444+_Select = PropTypes.shape({
1445+ "select": PropTypes.oneOfType([Integer]).isRequired,
14361446 });
14371447 _SelfClass = PropTypes.shape({
14381448 "self": PropTypes.oneOfType([Integer]).isRequired,
@@ -1575,15 +1585,11 @@ _Ushort = PropTypes.shape({
15751585 _Using = PropTypes.shape({
15761586 "using": PropTypes.oneOfType([Integer]).isRequired,
15771587 });
1578-_Var = PropTypes.shape({
1579- "var": PropTypes.oneOfType([Integer]).isRequired,
1580-});
1581-_Virtual = PropTypes.shape({
1582- "virtual": PropTypes.oneOfType([Integer]).isRequired,
1583-});
15841588 _Obj5 = PropTypes.shape({
1589+ "SEL": _Sel,
15851590 "Self": _Self,
15861591 "Sendable": _Sendable,
1592+ "SerializationFeature": _SerializationFeature,
15871593 "SerializerProvider": _SerializerProvider,
15881594 "SimpleModule": _SimpleModule,
15891595 "Standards": _Standards,
@@ -1594,10 +1600,10 @@ _Obj5 = PropTypes.shape({
15941600 "TimeZone": _TimeZone,
15951601 "True": _True,
15961602 "Type": _Type,
1597- "UUID": _UUID,
15981603 "Utf8JsonReader": _Utf8JSONReader,
1599- "Utf8JsonWriter": _Utf8JSONWriter,
16001604 "dummy": PropTypes.oneOfType([Integer]).isRequired,
1605+ "sealed": _Sealed,
1606+ "select": _Select,
16011607 "self": _SelfClass,
16021608 "serialize": _Serialize,
16031609 "set": _Set,
@@ -1645,12 +1651,22 @@ _Obj5 = PropTypes.shape({
16451651 "unsigned": _Unsigned,
16461652 "ushort": _Ushort,
16471653 "using": _Using,
1648- "var": _Var,
1649- "virtual": _Virtual,
1654+});
1655+_UUID = PropTypes.shape({
1656+ "UUID": PropTypes.oneOfType([Integer]).isRequired,
1657+});
1658+_Utf8JSONWriter = PropTypes.shape({
1659+ "Utf8JsonWriter": PropTypes.oneOfType([Integer]).isRequired,
16501660 });
16511661 _Yes = PropTypes.shape({
16521662 "YES": PropTypes.oneOfType([Integer]).isRequired,
16531663 });
1664+_Var = PropTypes.shape({
1665+ "var": PropTypes.oneOfType([Integer]).isRequired,
1666+});
1667+_Virtual = PropTypes.shape({
1668+ "virtual": PropTypes.oneOfType([Integer]).isRequired,
1669+});
16541670 _Void = PropTypes.shape({
16551671 "void": PropTypes.oneOfType([Integer]).isRequired,
16561672 });
@@ -1685,8 +1701,12 @@ _Yield = PropTypes.shape({
16851701 "yield": PropTypes.oneOfType([Integer]).isRequired,
16861702 });
16871703 _Obj6 = PropTypes.shape({
1704+ "UUID": _UUID,
1705+ "Utf8JsonWriter": _Utf8JSONWriter,
16881706 "YES": _Yes,
16891707 "dummy": PropTypes.oneOfType([Integer]).isRequired,
1708+ "var": _Var,
1709+ "virtual": _Virtual,
16901710 "void": _Void,
16911711 "volatile": _Volatile,
16921712 "wchar_t": _WcharT,
Mjavascriptdefault / TopLevel.js+51 −35
@@ -469,6 +469,7 @@ const typeMap = {
469469 { json: "DateTimeStyles", js: "DateTimeStyles", typ: r("DateTimeStyles") },
470470 { json: "Decoder", js: "Decoder", typ: r("Decoder") },
471471 { json: "DecodingError", js: "DecodingError", typ: r("DecodingError") },
472+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: r("DeserializationFeature") },
472473 { json: "Encoder", js: "Encoder", typ: r("Encoder") },
473474 { json: "EnumValues", js: "EnumValues", typ: r("EnumValues") },
474475 { json: "Equatable", js: "Equatable", typ: r("Equatable") },
@@ -526,7 +527,6 @@ const typeMap = {
526527 { json: "get", js: "get", typ: r("Get") },
527528 { json: "global", js: "global", typ: r("Global") },
528529 { json: "go", js: "go", typ: r("Go") },
529- { json: "goto", js: "goto", typ: r("Goto") },
530530 ], false),
531531 "DateFormatter": o([
532532 { json: "DateFormatter", js: "DateFormatter", typ: i(0) },
@@ -549,6 +549,9 @@ const typeMap = {
549549 "DecodingError": o([
550550 { json: "DecodingError", js: "DecodingError", typ: i(0) },
551551 ], false),
552+ "DeserializationFeature": o([
553+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: i(0) },
554+ ], false),
552555 "Encoder": o([
553556 { json: "Encoder", js: "Encoder", typ: i(0) },
554557 ], false),
@@ -717,9 +720,6 @@ const typeMap = {
717720 "Go": o([
718721 { json: "go", js: "go", typ: i(0) },
719722 ], false),
720- "Goto": o([
721- { json: "goto", js: "goto", typ: i(0) },
722- ], false),
723723 "Obj3": o([
724724 { json: "Hashable", js: "Hashable", typ: r("Hashable") },
725725 { json: "Hasher", js: "Hasher", typ: r("Hasher") },
@@ -740,6 +740,7 @@ const typeMap = {
740740 { json: "MapEntry", js: "MapEntry", typ: r("MapEntry") },
741741 { json: "NO", js: "NO", typ: r("No") },
742742 { json: "dummy", js: "dummy", typ: i(0) },
743+ { json: "goto", js: "goto", typ: r("Goto") },
743744 { json: "guard", js: "guard", typ: r("Guard") },
744745 { json: "hasOwnProperty", js: "hasOwnProperty", typ: r("HasOwnProperty") },
745746 { json: "hashCode", js: "hashCode", typ: r("HashCode") },
@@ -785,7 +786,6 @@ const typeMap = {
785786 { json: "new", js: "new", typ: r("New") },
786787 { json: "newtonsoft", js: "newtonsoft", typ: r("Newtonsoft") },
787788 { json: "nil", js: "nil", typ: r("Nil") },
788- { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
789789 ], false),
790790 "Hashable": o([
791791 { json: "Hashable", js: "Hashable", typ: i(0) },
@@ -841,6 +841,9 @@ const typeMap = {
841841 "No": o([
842842 { json: "NO", js: "NO", typ: i(0) },
843843 ], false),
844+ "Goto": o([
845+ { json: "goto", js: "goto", typ: i(0) },
846+ ], false),
844847 "Guard": o([
845848 { json: "guard", js: "guard", typ: i(0) },
846849 ], false),
@@ -976,9 +979,6 @@ const typeMap = {
976979 "Nil": o([
977980 { json: "nil", js: "nil", typ: i(0) },
978981 ], false),
979- "Noexcept": o([
980- { json: "noexcept", js: "noexcept", typ: i(0) },
981- ], false),
982982 "Obj4": o([
983983 { json: "NSError", js: "NSError", typ: r("NSError") },
984984 { json: "NSObject", js: "NSObject", typ: r("NSObject") },
@@ -986,11 +986,13 @@ const typeMap = {
986986 { json: "NULL", js: "NULL", typ: r("Null") },
987987 { json: "None", js: "None", typ: r("None") },
988988 { json: "ObjectMapper", js: "ObjectMapper", typ: r("ObjectMapper") },
989+ { json: "ObjectReader", js: "ObjectReader", typ: r("ObjectReader") },
990+ { json: "ObjectWriter", js: "ObjectWriter", typ: r("ObjectWriter") },
989991 { json: "Protocol", js: "Protocol", typ: r("Protocol") },
990992 { json: "RegExp", js: "RegExp", typ: r("RegExp") },
991- { json: "SEL", js: "SEL", typ: r("Sel") },
992993 { json: "dummy", js: "dummy", typ: i(0) },
993994 { json: "noSuchMethod", js: "noSuchMethod", typ: r("NoSuchMethod") },
995+ { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
994996 { json: "nonatomic", js: "nonatomic", typ: r("Nonatomic") },
995997 { json: "none", js: "none", typ: r("NoneClass") },
996998 { json: "nonlocal", js: "nonlocal", typ: r("Nonlocal") },
@@ -1043,8 +1045,6 @@ const typeMap = {
10431045 { json: "runtimeType", js: "runtimeType", typ: r("RuntimeType") },
10441046 { json: "s", js: "s", typ: r("S") },
10451047 { json: "sbyte", js: "sbyte", typ: r("Sbyte") },
1046- { json: "sealed", js: "sealed", typ: r("Sealed") },
1047- { json: "select", js: "select", typ: r("Select") },
10481048 ], false),
10491049 "NSError": o([
10501050 { json: "NSError", js: "NSError", typ: i(0) },
@@ -1064,18 +1064,24 @@ const typeMap = {
10641064 "ObjectMapper": o([
10651065 { json: "ObjectMapper", js: "ObjectMapper", typ: i(0) },
10661066 ], false),
1067+ "ObjectReader": o([
1068+ { json: "ObjectReader", js: "ObjectReader", typ: i(0) },
1069+ ], false),
1070+ "ObjectWriter": o([
1071+ { json: "ObjectWriter", js: "ObjectWriter", typ: i(0) },
1072+ ], false),
10671073 "Protocol": o([
10681074 { json: "Protocol", js: "Protocol", typ: i(0) },
10691075 ], false),
10701076 "RegExp": o([
10711077 { json: "RegExp", js: "RegExp", typ: { uuid: "" } },
10721078 ], false),
1073- "Sel": o([
1074- { json: "SEL", js: "SEL", typ: i(0) },
1075- ], false),
10761079 "NoSuchMethod": o([
10771080 { json: "noSuchMethod", js: "noSuchMethod", typ: i(0) },
10781081 ], false),
1082+ "Noexcept": o([
1083+ { json: "noexcept", js: "noexcept", typ: i(0) },
1084+ ], false),
10791085 "Nonatomic": o([
10801086 { json: "nonatomic", js: "nonatomic", typ: i(0) },
10811087 ], false),
@@ -1232,15 +1238,11 @@ const typeMap = {
12321238 "Sbyte": o([
12331239 { json: "sbyte", js: "sbyte", typ: i(0) },
12341240 ], false),
1235- "Sealed": o([
1236- { json: "sealed", js: "sealed", typ: i(0) },
1237- ], false),
1238- "Select": o([
1239- { json: "select", js: "select", typ: i(0) },
1240- ], false),
12411241 "Obj5": o([
1242+ { json: "SEL", js: "SEL", typ: r("Sel") },
12421243 { json: "Self", js: "Self", typ: r("Self") },
12431244 { json: "Sendable", js: "Sendable", typ: r("Sendable") },
1245+ { json: "SerializationFeature", js: "SerializationFeature", typ: r("SerializationFeature") },
12441246 { json: "SerializerProvider", js: "SerializerProvider", typ: r("SerializerProvider") },
12451247 { json: "SimpleModule", js: "SimpleModule", typ: r("SimpleModule") },
12461248 { json: "Standards", js: "Standards", typ: r("Standards") },
@@ -1251,10 +1253,10 @@ const typeMap = {
12511253 { json: "TimeZone", js: "TimeZone", typ: r("TimeZone") },
12521254 { json: "True", js: "True", typ: r("True") },
12531255 { json: "Type", js: "Type", typ: r("Type") },
1254- { json: "UUID", js: "UUID", typ: r("UUID") },
12551256 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: r("Utf8JSONReader") },
1256- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
12571257 { json: "dummy", js: "dummy", typ: i(0) },
1258+ { json: "sealed", js: "sealed", typ: r("Sealed") },
1259+ { json: "select", js: "select", typ: r("Select") },
12581260 { json: "self", js: "self", typ: r("SelfClass") },
12591261 { json: "serialize", js: "serialize", typ: r("Serialize") },
12601262 { json: "set", js: "set", typ: r("Set") },
@@ -1302,8 +1304,9 @@ const typeMap = {
13021304 { json: "unsigned", js: "unsigned", typ: r("Unsigned") },
13031305 { json: "ushort", js: "ushort", typ: r("Ushort") },
13041306 { json: "using", js: "using", typ: r("Using") },
1305- { json: "var", js: "var", typ: r("Var") },
1306- { json: "virtual", js: "virtual", typ: r("Virtual") },
1307+ ], false),
1308+ "Sel": o([
1309+ { json: "SEL", js: "SEL", typ: i(0) },
13071310 ], false),
13081311 "Self": o([
13091312 { json: "Self", js: "Self", typ: i(0) },
@@ -1311,6 +1314,9 @@ const typeMap = {
13111314 "Sendable": o([
13121315 { json: "Sendable", js: "Sendable", typ: i(0) },
13131316 ], false),
1317+ "SerializationFeature": o([
1318+ { json: "SerializationFeature", js: "SerializationFeature", typ: i(0) },
1319+ ], false),
13141320 "SerializerProvider": o([
13151321 { json: "SerializerProvider", js: "SerializerProvider", typ: i(0) },
13161322 ], false),
@@ -1341,14 +1347,14 @@ const typeMap = {
13411347 "Type": o([
13421348 { json: "Type", js: "Type", typ: i(0) },
13431349 ], false),
1344- "UUID": o([
1345- { json: "UUID", js: "UUID", typ: i(0) },
1346- ], false),
13471350 "Utf8JSONReader": o([
13481351 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: i(0) },
13491352 ], false),
1350- "Utf8JSONWriter": o([
1351- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
1353+ "Sealed": o([
1354+ { json: "sealed", js: "sealed", typ: i(0) },
1355+ ], false),
1356+ "Select": o([
1357+ { json: "select", js: "select", typ: i(0) },
13521358 ], false),
13531359 "SelfClass": o([
13541360 { json: "self", js: "self", typ: i(0) },
@@ -1491,15 +1497,13 @@ const typeMap = {
14911497 "Using": o([
14921498 { json: "using", js: "using", typ: i(0) },
14931499 ], false),
1494- "Var": o([
1495- { json: "var", js: "var", typ: i(0) },
1496- ], false),
1497- "Virtual": o([
1498- { json: "virtual", js: "virtual", typ: i(0) },
1499- ], false),
15001500 "Obj6": o([
1501+ { json: "UUID", js: "UUID", typ: r("UUID") },
1502+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
15011503 { json: "YES", js: "YES", typ: r("Yes") },
15021504 { json: "dummy", js: "dummy", typ: i(0) },
1505+ { json: "var", js: "var", typ: r("Var") },
1506+ { json: "virtual", js: "virtual", typ: r("Virtual") },
15031507 { json: "void", js: "void", typ: r("Void") },
15041508 { json: "volatile", js: "volatile", typ: r("Volatile") },
15051509 { json: "wchar_t", js: "wchar_t", typ: r("WcharT") },
@@ -1512,9 +1516,21 @@ const typeMap = {
15121516 { json: "xor_eq", js: "xor_eq", typ: r("XorEq") },
15131517 { json: "yield", js: "yield", typ: r("Yield") },
15141518 ], false),
1519+ "UUID": o([
1520+ { json: "UUID", js: "UUID", typ: i(0) },
1521+ ], false),
1522+ "Utf8JSONWriter": o([
1523+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
1524+ ], false),
15151525 "Yes": o([
15161526 { json: "YES", js: "YES", typ: i(0) },
15171527 ], false),
1528+ "Var": o([
1529+ { json: "var", js: "var", typ: i(0) },
1530+ ], false),
1531+ "Virtual": o([
1532+ { json: "virtual", js: "virtual", typ: i(0) },
1533+ ], false),
15181534 "Void": o([
15191535 { json: "void", js: "void", typ: i(0) },
15201536 ], false),
Mkotlin-jacksondefault / TopLevel.kt+106 −74
@@ -641,6 +641,9 @@ data class Obj2 (
641641 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
642642 val delete: Delete,
643643
644+ @get:JsonProperty("DeserializationFeature", required=true)@field:JsonProperty("DeserializationFeature", required=true)
645+ val deserializationFeature: DeserializationFeature,
646+
644647 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
645648 val dict: Dict,
646649
@@ -758,9 +761,6 @@ data class Obj2 (
758761 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
759762 val go: Go,
760763
761- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
762- val goto: Goto,
763-
764764 @get:JsonProperty("do", required=true)@field:JsonProperty("do", required=true)
765765 val obj2Do: Do,
766766
@@ -877,6 +877,11 @@ data class Delete (
877877 val delete: Long
878878 )
879879
880+data class DeserializationFeature (
881+ @get:JsonProperty("DeserializationFeature", required=true)@field:JsonProperty("DeserializationFeature", required=true)
882+ val deserializationFeature: Long
883+)
884+
880885 data class Dict (
881886 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
882887 val dict: Long
@@ -1080,11 +1085,6 @@ data class Go (
10801085 val go: Long
10811086 )
10821087
1083-data class Goto (
1084- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1085- val goto: Long
1086-)
1087-
10881088 data class Do (
10891089 @get:JsonProperty("do", required=true)@field:JsonProperty("do", required=true)
10901090 val doDo: Long
@@ -1114,6 +1114,9 @@ data class Obj3 (
11141114 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
11151115 val dummy: Long,
11161116
1117+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1118+ val goto: Goto,
1119+
11171120 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
11181121 val guard: Guard,
11191122
@@ -1291,9 +1294,6 @@ data class Obj3 (
12911294 @get:JsonProperty("NO", required=true)@field:JsonProperty("NO", required=true)
12921295 val no: No,
12931296
1294- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1295- val noexcept: Noexcept,
1296-
12971297 @get:JsonProperty("if", required=true)@field:JsonProperty("if", required=true)
12981298 val obj3If: If,
12991299
@@ -1307,6 +1307,11 @@ data class Obj3 (
13071307 val obj3Is: Is
13081308 )
13091309
1310+data class Goto (
1311+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1312+ val goto: Long
1313+)
1314+
13101315 data class Guard (
13111316 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
13121317 val guard: Long
@@ -1602,11 +1607,6 @@ data class No (
16021607 val no: Long
16031608 )
16041609
1605-data class Noexcept (
1606- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1607- val noexcept: Long
1608-)
1609-
16101610 data class If (
16111611 @get:JsonProperty("if", required=true)@field:JsonProperty("if", required=true)
16121612 val ifIf: Long
@@ -1634,6 +1634,9 @@ data class Obj4 (
16341634 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
16351635 val noSuchMethod: NoSuchMethod,
16361636
1637+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1638+ val noexcept: Noexcept,
1639+
16371640 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
16381641 val nonatomic: Nonatomic,
16391642
@@ -1691,6 +1694,12 @@ data class Obj4 (
16911694 @get:JsonProperty("ObjectMapper", required=true)@field:JsonProperty("ObjectMapper", required=true)
16921695 val objectMapper: ObjectMapperClass,
16931696
1697+ @get:JsonProperty("ObjectReader", required=true)@field:JsonProperty("ObjectReader", required=true)
1698+ val objectReader: ObjectReader,
1699+
1700+ @get:JsonProperty("ObjectWriter", required=true)@field:JsonProperty("ObjectWriter", required=true)
1701+ val objectWriter: ObjectWriter,
1702+
16941703 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
16951704 val of: Of,
16961705
@@ -1812,16 +1821,7 @@ data class Obj4 (
18121821 val s: S,
18131822
18141823 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1815- val sbyte: Sbyte,
1816-
1817- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1818- val sealed: Sealed,
1819-
1820- @get:JsonProperty("SEL", required=true)@field:JsonProperty("SEL", required=true)
1821- val sel: Sel,
1822-
1823- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1824- val select: Select
1824+ val sbyte: Sbyte
18251825 )
18261826
18271827 data class NoSuchMethod (
@@ -1829,6 +1829,11 @@ data class NoSuchMethod (
18291829 val noSuchMethod: Long
18301830 )
18311831
1832+data class Noexcept (
1833+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
1834+ val noexcept: Long
1835+)
1836+
18321837 data class Nonatomic (
18331838 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
18341839 val nonatomic: Long
@@ -1924,6 +1929,16 @@ data class ObjectMapperClass (
19241929 val objectMapper: Long
19251930 )
19261931
1932+data class ObjectReader (
1933+ @get:JsonProperty("ObjectReader", required=true)@field:JsonProperty("ObjectReader", required=true)
1934+ val objectReader: Long
1935+)
1936+
1937+data class ObjectWriter (
1938+ @get:JsonProperty("ObjectWriter", required=true)@field:JsonProperty("ObjectWriter", required=true)
1939+ val objectWriter: Long
1940+)
1941+
19271942 data class Of (
19281943 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
19291944 val of: Long
@@ -2129,21 +2144,6 @@ data class Sbyte (
21292144 val sbyte: Long
21302145 )
21312146
2132-data class Sealed (
2133- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2134- val sealed: Long
2135-)
2136-
2137-data class Sel (
2138- @get:JsonProperty("SEL", required=true)@field:JsonProperty("SEL", required=true)
2139- val sel: Long
2140-)
2141-
2142-data class Select (
2143- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2144- val select: Long
2145-)
2146-
21472147 data class Obj5 (
21482148 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
21492149 val dummy: Long,
@@ -2175,18 +2175,27 @@ data class Obj5 (
21752175 @get:JsonProperty("typeof", required=true)@field:JsonProperty("typeof", required=true)
21762176 val obj5Typeof: Typeof,
21772177
2178- @get:JsonProperty("var", required=true)@field:JsonProperty("var", required=true)
2179- val obj5Var: Var,
2180-
21812178 @get:JsonProperty("true", required=true)@field:JsonProperty("true", required=true)
21822179 val purpleTrue: TrueClass,
21832180
2181+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2182+ val sealed: Sealed,
2183+
2184+ @get:JsonProperty("SEL", required=true)@field:JsonProperty("SEL", required=true)
2185+ val sel: Sel,
2186+
2187+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2188+ val select: Select,
2189+
21842190 @get:JsonProperty("Self", required=true)@field:JsonProperty("Self", required=true)
21852191 val self: Self,
21862192
21872193 @get:JsonProperty("Sendable", required=true)@field:JsonProperty("Sendable", required=true)
21882194 val sendable: Sendable,
21892195
2196+ @get:JsonProperty("SerializationFeature", required=true)@field:JsonProperty("SerializationFeature", required=true)
2197+ val serializationFeature: SerializationFeature,
2198+
21902199 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
21912200 val serialize: Serialize,
21922201
@@ -2329,16 +2338,7 @@ data class Obj5 (
23292338 val using: Using,
23302339
23312340 @get:JsonProperty("Utf8JsonReader", required=true)@field:JsonProperty("Utf8JsonReader", required=true)
2332- val utf8JSONReader: Utf8JSONReader,
2333-
2334- @get:JsonProperty("Utf8JsonWriter", required=true)@field:JsonProperty("Utf8JsonWriter", required=true)
2335- val utf8JSONWriter: Utf8JSONWriter,
2336-
2337- @get:JsonProperty("UUID", required=true)@field:JsonProperty("UUID", required=true)
2338- val uuid: UUID,
2339-
2340- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2341- val virtual: Virtual
2341+ val utf8JSONReader: Utf8JSONReader
23422342 )
23432343
23442344 data class SelfClass (
@@ -2386,16 +2386,26 @@ data class Typeof (
23862386 val typeofTypeof: Long
23872387 )
23882388
2389-data class Var (
2390- @get:JsonProperty("var", required=true)@field:JsonProperty("var", required=true)
2391- val varVar: Long
2392-)
2393-
23942389 data class TrueClass (
23952390 @get:JsonProperty("true", required=true)@field:JsonProperty("true", required=true)
23962391 val trueTrue: Long
23972392 )
23982393
2394+data class Sealed (
2395+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2396+ val sealed: Long
2397+)
2398+
2399+data class Sel (
2400+ @get:JsonProperty("SEL", required=true)@field:JsonProperty("SEL", required=true)
2401+ val sel: Long
2402+)
2403+
2404+data class Select (
2405+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2406+ val select: Long
2407+)
2408+
23992409 data class Self (
24002410 @get:JsonProperty("Self", required=true)@field:JsonProperty("Self", required=true)
24012411 val self: Long
@@ -2406,6 +2416,11 @@ data class Sendable (
24062416 val sendable: Long
24072417 )
24082418
2419+data class SerializationFeature (
2420+ @get:JsonProperty("SerializationFeature", required=true)@field:JsonProperty("SerializationFeature", required=true)
2421+ val serializationFeature: Long
2422+)
2423+
24092424 data class Serialize (
24102425 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
24112426 val serialize: Long
@@ -2646,28 +2661,25 @@ data class Utf8JSONReader (
26462661 val utf8JSONReader: Long
26472662 )
26482663
2649-data class Utf8JSONWriter (
2650- @get:JsonProperty("Utf8JsonWriter", required=true)@field:JsonProperty("Utf8JsonWriter", required=true)
2651- val utf8JSONWriter: Long
2652-)
2653-
2654-data class UUID (
2655- @get:JsonProperty("UUID", required=true)@field:JsonProperty("UUID", required=true)
2656- val uuid: Long
2657-)
2658-
2659-data class Virtual (
2660- @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2661- val virtual: Long
2662-)
2663-
26642664 data class Obj6 (
26652665 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
26662666 val dummy: Long,
26672667
2668+ @get:JsonProperty("var", required=true)@field:JsonProperty("var", required=true)
2669+ val obj6Var: Var,
2670+
26682671 @get:JsonProperty("while", required=true)@field:JsonProperty("while", required=true)
26692672 val obj6While: While,
26702673
2674+ @get:JsonProperty("Utf8JsonWriter", required=true)@field:JsonProperty("Utf8JsonWriter", required=true)
2675+ val utf8JSONWriter: Utf8JSONWriter,
2676+
2677+ @get:JsonProperty("UUID", required=true)@field:JsonProperty("UUID", required=true)
2678+ val uuid: UUID,
2679+
2680+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2681+ val virtual: Virtual,
2682+
26712683 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
26722684 val void: Void,
26732685
@@ -2702,11 +2714,31 @@ data class Obj6 (
27022714 val yield: Yield
27032715 )
27042716
2717+data class Var (
2718+ @get:JsonProperty("var", required=true)@field:JsonProperty("var", required=true)
2719+ val varVar: Long
2720+)
2721+
27052722 data class While (
27062723 @get:JsonProperty("while", required=true)@field:JsonProperty("while", required=true)
27072724 val whileWhile: Long
27082725 )
27092726
2727+data class Utf8JSONWriter (
2728+ @get:JsonProperty("Utf8JsonWriter", required=true)@field:JsonProperty("Utf8JsonWriter", required=true)
2729+ val utf8JSONWriter: Long
2730+)
2731+
2732+data class UUID (
2733+ @get:JsonProperty("UUID", required=true)@field:JsonProperty("UUID", required=true)
2734+ val uuid: Long
2735+)
2736+
2737+data class Virtual (
2738+ @get:JsonProperty(required=true)@field:JsonProperty(required=true)
2739+ val virtual: Long
2740+)
2741+
27102742 data class Void (
27112743 @get:JsonProperty(required=true)@field:JsonProperty(required=true)
27122744 val void: Long
Mkotlindefault / TopLevel.kt+94 −62
@@ -491,6 +491,10 @@ data class Obj2 (
491491 val del: Del,
492492 val delegate: Delegate,
493493 val delete: Delete,
494+
495+ @Json(name = "DeserializationFeature")
496+ val deserializationFeature: DeserializationFeature,
497+
494498 val dict: Dict,
495499 val dictionary: Dictionary,
496500 val didSet: DidSet,
@@ -550,7 +554,6 @@ data class Obj2 (
550554 val get: Get,
551555 val global: Global,
552556 val go: Go,
553- val goto: Goto,
554557
555558 @Json(name = "do")
556559 val obj2Do: Do,
@@ -657,6 +660,11 @@ data class Delete (
657660 val delete: Long
658661 )
659662
663+data class DeserializationFeature (
664+ @Json(name = "DeserializationFeature")
665+ val deserializationFeature: Long
666+)
667+
660668 data class Dict (
661669 val dict: Long
662670 )
@@ -829,10 +837,6 @@ data class Go (
829837 val go: Long
830838 )
831839
832-data class Goto (
833- val goto: Long
834-)
835-
836840 data class Do (
837841 @Json(name = "do")
838842 val doDo: Long
@@ -860,6 +864,7 @@ data class FalseClass (
860864
861865 data class Obj3 (
862866 val dummy: Long,
867+ val goto: Goto,
863868 val guard: Guard,
864869 val hasOwnProperty: HasOwnProperty,
865870 val hashCode: HashCode,
@@ -972,8 +977,6 @@ data class Obj3 (
972977 @Json(name = "NO")
973978 val no: No,
974979
975- val noexcept: Noexcept,
976-
977980 @Json(name = "if")
978981 val obj3If: If,
979982
@@ -987,6 +990,10 @@ data class Obj3 (
987990 val obj3Is: Is
988991 )
989992
993+data class Goto (
994+ val goto: Long
995+)
996+
990997 data class Guard (
991998 val guard: Long
992999 )
@@ -1246,10 +1253,6 @@ data class No (
12461253 val no: Long
12471254 )
12481255
1249-data class Noexcept (
1250- val noexcept: Long
1251-)
1252-
12531256 data class If (
12541257 @Json(name = "if")
12551258 val ifIf: Long
@@ -1273,6 +1276,7 @@ data class Is (
12731276 data class Obj4 (
12741277 val dummy: Long,
12751278 val noSuchMethod: NoSuchMethod,
1279+ val noexcept: Noexcept,
12761280 val nonatomic: Nonatomic,
12771281
12781282 @Json(name = "None")
@@ -1321,6 +1325,12 @@ data class Obj4 (
13211325 @Json(name = "ObjectMapper")
13221326 val objectMapper: ObjectMapper,
13231327
1328+ @Json(name = "ObjectReader")
1329+ val objectReader: ObjectReader,
1330+
1331+ @Json(name = "ObjectWriter")
1332+ val objectWriter: ObjectWriter,
1333+
13241334 val of: Of,
13251335 val oneway: Oneway,
13261336 val open: Open,
@@ -1373,19 +1383,17 @@ data class Obj4 (
13731383 val right: Right,
13741384 val runtimeType: RuntimeType,
13751385 val s: S,
1376- val sbyte: Sbyte,
1377- val sealed: Sealed,
1378-
1379- @Json(name = "SEL")
1380- val sel: Sel,
1381-
1382- val select: Select
1386+ val sbyte: Sbyte
13831387 )
13841388
13851389 data class NoSuchMethod (
13861390 val noSuchMethod: Long
13871391 )
13881392
1393+data class Noexcept (
1394+ val noexcept: Long
1395+)
1396+
13891397 data class Nonatomic (
13901398 val nonatomic: Long
13911399 )
@@ -1473,6 +1481,16 @@ data class ObjectMapper (
14731481 val objectMapper: Long
14741482 )
14751483
1484+data class ObjectReader (
1485+ @Json(name = "ObjectReader")
1486+ val objectReader: Long
1487+)
1488+
1489+data class ObjectWriter (
1490+ @Json(name = "ObjectWriter")
1491+ val objectWriter: Long
1492+)
1493+
14761494 data class Of (
14771495 val of: Long
14781496 )
@@ -1641,19 +1659,6 @@ data class Sbyte (
16411659 val sbyte: Long
16421660 )
16431661
1644-data class Sealed (
1645- val sealed: Long
1646-)
1647-
1648-data class Sel (
1649- @Json(name = "SEL")
1650- val sel: Long
1651-)
1652-
1653-data class Select (
1654- val select: Long
1655-)
1656-
16571662 data class Obj5 (
16581663 val dummy: Long,
16591664
@@ -1684,18 +1689,25 @@ data class Obj5 (
16841689 @Json(name = "typeof")
16851690 val obj5Typeof: Typeof,
16861691
1687- @Json(name = "var")
1688- val obj5Var: Var,
1689-
16901692 @Json(name = "true")
16911693 val purpleTrue: TrueClass,
16921694
1695+ val sealed: Sealed,
1696+
1697+ @Json(name = "SEL")
1698+ val sel: Sel,
1699+
1700+ val select: Select,
1701+
16931702 @Json(name = "Self")
16941703 val self: Self,
16951704
16961705 @Json(name = "Sendable")
16971706 val sendable: Sendable,
16981707
1708+ @Json(name = "SerializationFeature")
1709+ val serializationFeature: SerializationFeature,
1710+
16991711 val serialize: Serialize,
17001712
17011713 @Json(name = "SerializerProvider")
@@ -1781,15 +1793,7 @@ data class Obj5 (
17811793 val using: Using,
17821794
17831795 @Json(name = "Utf8JsonReader")
1784- val utf8JSONReader: Utf8JSONReader,
1785-
1786- @Json(name = "Utf8JsonWriter")
1787- val utf8JSONWriter: Utf8JSONWriter,
1788-
1789- @Json(name = "UUID")
1790- val uuid: UUID,
1791-
1792- val virtual: Virtual
1796+ val utf8JSONReader: Utf8JSONReader
17931797 )
17941798
17951799 data class SelfClass (
@@ -1835,16 +1839,24 @@ data class Typeof (
18351839 val typeofTypeof: Long
18361840 )
18371841
1838-data class Var (
1839- @Json(name = "var")
1840- val varVar: Long
1841-)
1842-
18431842 data class TrueClass (
18441843 @Json(name = "true")
18451844 val trueTrue: Long
18461845 )
18471846
1847+data class Sealed (
1848+ val sealed: Long
1849+)
1850+
1851+data class Sel (
1852+ @Json(name = "SEL")
1853+ val sel: Long
1854+)
1855+
1856+data class Select (
1857+ val select: Long
1858+)
1859+
18481860 data class Self (
18491861 @Json(name = "Self")
18501862 val self: Long
@@ -1855,6 +1867,11 @@ data class Sendable (
18551867 val sendable: Long
18561868 )
18571869
1870+data class SerializationFeature (
1871+ @Json(name = "SerializationFeature")
1872+ val serializationFeature: Long
1873+)
1874+
18581875 data class Serialize (
18591876 val serialize: Long
18601877 )
@@ -2062,26 +2079,22 @@ data class Utf8JSONReader (
20622079 val utf8JSONReader: Long
20632080 )
20642081
2065-data class Utf8JSONWriter (
2066- @Json(name = "Utf8JsonWriter")
2067- val utf8JSONWriter: Long
2068-)
2069-
2070-data class UUID (
2071- @Json(name = "UUID")
2072- val uuid: Long
2073-)
2074-
2075-data class Virtual (
2076- val virtual: Long
2077-)
2078-
20792082 data class Obj6 (
20802083 val dummy: Long,
20812084
2085+ @Json(name = "var")
2086+ val obj6Var: Var,
2087+
20822088 @Json(name = "while")
20832089 val obj6While: While,
20842090
2091+ @Json(name = "Utf8JsonWriter")
2092+ val utf8JSONWriter: Utf8JSONWriter,
2093+
2094+ @Json(name = "UUID")
2095+ val uuid: UUID,
2096+
2097+ val virtual: Virtual,
20852098 val void: Void,
20862099 val volatile: Volatile,
20872100
@@ -2103,11 +2116,30 @@ data class Obj6 (
21032116 val yield: Yield
21042117 )
21052118
2119+data class Var (
2120+ @Json(name = "var")
2121+ val varVar: Long
2122+)
2123+
21062124 data class While (
21072125 @Json(name = "while")
21082126 val whileWhile: Long
21092127 )
21102128
2129+data class Utf8JSONWriter (
2130+ @Json(name = "Utf8JsonWriter")
2131+ val utf8JSONWriter: Long
2132+)
2133+
2134+data class UUID (
2135+ @Json(name = "UUID")
2136+ val uuid: Long
2137+)
2138+
2139+data class Virtual (
2140+ val virtual: Long
2141+)
2142+
21112143 data class Void (
21122144 val void: Long
21132145 )
Mkotlinxdefault / TopLevel.kt+107 −71
@@ -546,6 +546,10 @@ data class Obj2 (
546546 val del: Del,
547547 val delegate: Delegate,
548548 val delete: Delete,
549+
550+ @SerialName("DeserializationFeature")
551+ val deserializationFeature: DeserializationFeature,
552+
549553 val dict: Dict,
550554 val dictionary: Dictionary,
551555 val didSet: DidSet,
@@ -605,7 +609,6 @@ data class Obj2 (
605609 val get: Get,
606610 val global: Global,
607611 val go: Go,
608- val goto: Goto,
609612
610613 @SerialName("do")
611614 val obj2Do: Do,
@@ -732,6 +735,12 @@ data class Delete (
732735 val delete: Long
733736 )
734737
738+@Serializable
739+data class DeserializationFeature (
740+ @SerialName("DeserializationFeature")
741+ val deserializationFeature: Long
742+)
743+
735744 @Serializable
736745 data class Dict (
737746 val dict: Long
@@ -935,11 +944,6 @@ data class Go (
935944 val go: Long
936945 )
937946
938-@Serializable
939-data class Goto (
940- val goto: Long
941-)
942-
943947 @Serializable
944948 data class Do (
945949 @SerialName("do")
@@ -973,6 +977,7 @@ data class FalseClass (
973977 @Serializable
974978 data class Obj3 (
975979 val dummy: Long,
980+ val goto: Goto,
976981 val guard: Guard,
977982 val hasOwnProperty: HasOwnProperty,
978983 val hashCode: HashCode,
@@ -1085,8 +1090,6 @@ data class Obj3 (
10851090 @SerialName("NO")
10861091 val no: No,
10871092
1088- val noexcept: Noexcept,
1089-
10901093 @SerialName("if")
10911094 val obj3If: If,
10921095
@@ -1100,6 +1103,11 @@ data class Obj3 (
11001103 val obj3Is: Is
11011104 )
11021105
1106+@Serializable
1107+data class Goto (
1108+ val goto: Long
1109+)
1110+
11031111 @Serializable
11041112 data class Guard (
11051113 val guard: Long
@@ -1418,11 +1426,6 @@ data class No (
14181426 val no: Long
14191427 )
14201428
1421-@Serializable
1422-data class Noexcept (
1423- val noexcept: Long
1424-)
1425-
14261429 @Serializable
14271430 data class If (
14281431 @SerialName("if")
@@ -1451,6 +1454,7 @@ data class Is (
14511454 data class Obj4 (
14521455 val dummy: Long,
14531456 val noSuchMethod: NoSuchMethod,
1457+ val noexcept: Noexcept,
14541458 val nonatomic: Nonatomic,
14551459
14561460 @SerialName("None")
@@ -1499,6 +1503,12 @@ data class Obj4 (
14991503 @SerialName("ObjectMapper")
15001504 val objectMapper: ObjectMapper,
15011505
1506+ @SerialName("ObjectReader")
1507+ val objectReader: ObjectReader,
1508+
1509+ @SerialName("ObjectWriter")
1510+ val objectWriter: ObjectWriter,
1511+
15021512 val of: Of,
15031513 val oneway: Oneway,
15041514 val open: Open,
@@ -1551,13 +1561,7 @@ data class Obj4 (
15511561 val right: Right,
15521562 val runtimeType: RuntimeType,
15531563 val s: S,
1554- val sbyte: Sbyte,
1555- val sealed: Sealed,
1556-
1557- @SerialName("SEL")
1558- val sel: Sel,
1559-
1560- val select: Select
1564+ val sbyte: Sbyte
15611565 )
15621566
15631567 @Serializable
@@ -1565,6 +1569,11 @@ data class NoSuchMethod (
15651569 val noSuchMethod: Long
15661570 )
15671571
1572+@Serializable
1573+data class Noexcept (
1574+ val noexcept: Long
1575+)
1576+
15681577 @Serializable
15691578 data class Nonatomic (
15701579 val nonatomic: Long
@@ -1671,6 +1680,18 @@ data class ObjectMapper (
16711680 val objectMapper: Long
16721681 )
16731682
1683+@Serializable
1684+data class ObjectReader (
1685+ @SerialName("ObjectReader")
1686+ val objectReader: Long
1687+)
1688+
1689+@Serializable
1690+data class ObjectWriter (
1691+ @SerialName("ObjectWriter")
1692+ val objectWriter: Long
1693+)
1694+
16741695 @Serializable
16751696 data class Of (
16761697 val of: Long
@@ -1880,22 +1901,6 @@ data class Sbyte (
18801901 val sbyte: Long
18811902 )
18821903
1883-@Serializable
1884-data class Sealed (
1885- val sealed: Long
1886-)
1887-
1888-@Serializable
1889-data class Sel (
1890- @SerialName("SEL")
1891- val sel: Long
1892-)
1893-
1894-@Serializable
1895-data class Select (
1896- val select: Long
1897-)
1898-
18991904 @Serializable
19001905 data class Obj5 (
19011906 val dummy: Long,
@@ -1927,18 +1932,25 @@ data class Obj5 (
19271932 @SerialName("typeof")
19281933 val obj5Typeof: Typeof,
19291934
1930- @SerialName("var")
1931- val obj5Var: Var,
1932-
19331935 @SerialName("true")
19341936 val purpleTrue: TrueClass,
19351937
1938+ val sealed: Sealed,
1939+
1940+ @SerialName("SEL")
1941+ val sel: Sel,
1942+
1943+ val select: Select,
1944+
19361945 @SerialName("Self")
19371946 val self: Self,
19381947
19391948 @SerialName("Sendable")
19401949 val sendable: Sendable,
19411950
1951+ @SerialName("SerializationFeature")
1952+ val serializationFeature: SerializationFeature,
1953+
19421954 val serialize: Serialize,
19431955
19441956 @SerialName("SerializerProvider")
@@ -2024,15 +2036,7 @@ data class Obj5 (
20242036 val using: Using,
20252037
20262038 @SerialName("Utf8JsonReader")
2027- val utf8JSONReader: Utf8JSONReader,
2028-
2029- @SerialName("Utf8JsonWriter")
2030- val utf8JSONWriter: Utf8JSONWriter,
2031-
2032- @SerialName("UUID")
2033- val uuid: UUID,
2034-
2035- val virtual: Virtual
2039+ val utf8JSONReader: Utf8JSONReader
20362040 )
20372041
20382042 @Serializable
@@ -2087,18 +2091,28 @@ data class Typeof (
20872091 val typeofTypeof: Long
20882092 )
20892093
2090-@Serializable
2091-data class Var (
2092- @SerialName("var")
2093- val varVar: Long
2094-)
2095-
20962094 @Serializable
20972095 data class TrueClass (
20982096 @SerialName("true")
20992097 val trueTrue: Long
21002098 )
21012099
2100+@Serializable
2101+data class Sealed (
2102+ val sealed: Long
2103+)
2104+
2105+@Serializable
2106+data class Sel (
2107+ @SerialName("SEL")
2108+ val sel: Long
2109+)
2110+
2111+@Serializable
2112+data class Select (
2113+ val select: Long
2114+)
2115+
21022116 @Serializable
21032117 data class Self (
21042118 @SerialName("Self")
@@ -2111,6 +2125,12 @@ data class Sendable (
21112125 val sendable: Long
21122126 )
21132127
2128+@Serializable
2129+data class SerializationFeature (
2130+ @SerialName("SerializationFeature")
2131+ val serializationFeature: Long
2132+)
2133+
21142134 @Serializable
21152135 data class Serialize (
21162136 val serialize: Long
@@ -2366,30 +2386,23 @@ data class Utf8JSONReader (
23662386 val utf8JSONReader: Long
23672387 )
23682388
2369-@Serializable
2370-data class Utf8JSONWriter (
2371- @SerialName("Utf8JsonWriter")
2372- val utf8JSONWriter: Long
2373-)
2374-
2375-@Serializable
2376-data class UUID (
2377- @SerialName("UUID")
2378- val uuid: Long
2379-)
2380-
2381-@Serializable
2382-data class Virtual (
2383- val virtual: Long
2384-)
2385-
23862389 @Serializable
23872390 data class Obj6 (
23882391 val dummy: Long,
23892392
2393+ @SerialName("var")
2394+ val obj6Var: Var,
2395+
23902396 @SerialName("while")
23912397 val obj6While: While,
23922398
2399+ @SerialName("Utf8JsonWriter")
2400+ val utf8JSONWriter: Utf8JSONWriter,
2401+
2402+ @SerialName("UUID")
2403+ val uuid: UUID,
2404+
2405+ val virtual: Virtual,
23932406 val void: Void,
23942407 val volatile: Volatile,
23952408
@@ -2411,12 +2424,35 @@ data class Obj6 (
24112424 val yield: Yield
24122425 )
24132426
2427+@Serializable
2428+data class Var (
2429+ @SerialName("var")
2430+ val varVar: Long
2431+)
2432+
24142433 @Serializable
24152434 data class While (
24162435 @SerialName("while")
24172436 val whileWhile: Long
24182437 )
24192438
2439+@Serializable
2440+data class Utf8JSONWriter (
2441+ @SerialName("Utf8JsonWriter")
2442+ val utf8JSONWriter: Long
2443+)
2444+
2445+@Serializable
2446+data class UUID (
2447+ @SerialName("UUID")
2448+ val uuid: Long
2449+)
2450+
2451+@Serializable
2452+data class Virtual (
2453+ val virtual: Long
2454+)
2455+
24202456 @Serializable
24212457 data class Void (
24222458 val void: Long
Mobjective-cdefault / QTTopLevel.h+76 −52
@@ -91,6 +91,7 @@
9191 @class QTDel;
9292 @class QTDelegate;
9393 @class QTDelete;
94+@class QTDeserializationFeature;
9495 @class QTDict;
9596 @class QTDictionary;
9697 @class QTDidSet;
@@ -135,7 +136,6 @@
135136 @class QTFalse;
136137 @class QTFloat;
137138 @class QTFor;
138-@class QTGoto;
139139 @class QTFalseClass;
140140 @class QTObj3;
141141 @class QTGuard;
@@ -193,7 +193,7 @@
193193 @class QTNative;
194194 @class QTNewtonsoft;
195195 @class QTNo;
196-@class QTNoexcept;
196+@class QTGoto;
197197 @class QTIf;
198198 @class QTInline;
199199 @class QTInt;
@@ -204,6 +204,7 @@
204204 @class QTNew;
205205 @class QTObj4;
206206 @class QTNoSuchMethod;
207+@class QTNoexcept;
207208 @class QTNone;
208209 @class QTNonlocal;
209210 @class QTNonmutating;
@@ -225,6 +226,8 @@
225226 @class QTReturn;
226227 @class QTObject;
227228 @class QTObjectMapper;
229+@class QTObjectReader;
230+@class QTObjectWriter;
228231 @class QTOf;
229232 @class QTOneway;
230233 @class QTOpen;
@@ -264,9 +267,6 @@
264267 @class QTRuntimeType;
265268 @class QTS;
266269 @class QTSbyte;
267-@class QTSealed;
268-@class QTSel;
269-@class QTSelect;
270270 @class QTObj5;
271271 @class QTSelfClass;
272272 @class QTShort;
@@ -281,8 +281,12 @@
281281 @class QTTypeof;
282282 @class QTUnion;
283283 @class QTUnsigned;
284+@class QTSealed;
285+@class QTSel;
286+@class QTSelect;
284287 @class QTSelf;
285288 @class QTSendable;
289+@class QTSerializationFeature;
286290 @class QTSerialize;
287291 @class QTSerializerProvider;
288292 @class QTSet;
@@ -328,14 +332,14 @@
328332 @class QTUshort;
329333 @class QTUsing;
330334 @class QTUtf8JSONReader;
331-@class QTUtf8JSONWriter;
332-@class QTUUID;
333-@class QTVar;
334-@class QTVirtual;
335335 @class QTObj6;
336336 @class QTVoid;
337337 @class QTVolatile;
338338 @class QTWhile;
339+@class QTUtf8JSONWriter;
340+@class QTUUID;
341+@class QTVar;
342+@class QTVirtual;
339343 @class QTWcharT;
340344 @class QTWeak;
341345 @class QTWhere;
@@ -725,6 +729,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
725729 @property (nonatomic, strong) QTDel *del;
726730 @property (nonatomic, strong) QTDelegate *delegate;
727731 @property (nonatomic, strong) QTDelete *delete;
732+@property (nonatomic, strong) QTDeserializationFeature *deserializationFeature;
728733 @property (nonatomic, strong) QTDict *dict;
729734 @property (nonatomic, strong) QTDictionary *dictionary;
730735 @property (nonatomic, strong) QTDidSet *didSet;
@@ -769,7 +774,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
769774 @property (nonatomic, strong) QTFalse *obj2False;
770775 @property (nonatomic, strong) QTFloat *obj2Float;
771776 @property (nonatomic, strong) QTFor *obj2For;
772-@property (nonatomic, strong) QTGoto *obj2Goto;
773777 @property (nonatomic, strong) QTFalseClass *theFalse;
774778 @end
775779
@@ -849,6 +853,10 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
849853 @property (nonatomic, assign) NSInteger delete;
850854 @end
851855
856+@interface QTDeserializationFeature : NSObject
857+@property (nonatomic, assign) NSInteger deserializationFeature;
858+@end
859+
852860 @interface QTDict : NSObject
853861 @property (nonatomic, assign) NSInteger dict;
854862 @end
@@ -1021,10 +1029,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
10211029 @property (nonatomic, assign) NSInteger forFor;
10221030 @end
10231031
1024-@interface QTGoto : NSObject
1025-@property (nonatomic, assign) NSInteger gotoGoto;
1026-@end
1027-
10281032 @interface QTFalseClass : NSObject
10291033 @property (nonatomic, assign) NSInteger falseFalse;
10301034 @end
@@ -1086,7 +1090,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
10861090 @property (nonatomic, strong) QTNative *native;
10871091 @property (nonatomic, strong) QTNewtonsoft *newtonsoft;
10881092 @property (nonatomic, strong) QTNo *no;
1089-@property (nonatomic, strong) QTNoexcept *noexcept;
1093+@property (nonatomic, strong) QTGoto *obj3Goto;
10901094 @property (nonatomic, strong) QTIf *obj3If;
10911095 @property (nonatomic, strong) QTInline *obj3Inline;
10921096 @property (nonatomic, strong) QTInt *obj3Int;
@@ -1317,8 +1321,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
13171321 @property (nonatomic, assign) NSInteger no;
13181322 @end
13191323
1320-@interface QTNoexcept : NSObject
1321-@property (nonatomic, assign) NSInteger noexcept;
1324+@interface QTGoto : NSObject
1325+@property (nonatomic, assign) NSInteger gotoGoto;
13221326 @end
13231327
13241328 @interface QTIf : NSObject
@@ -1356,6 +1360,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
13561360 @interface QTObj4 : NSObject
13571361 @property (nonatomic, assign) NSInteger dummy;
13581362 @property (nonatomic, strong) QTNoSuchMethod *noSuchMethod;
1363+@property (nonatomic, strong) QTNoexcept *noexcept;
13591364 @property (nonatomic, strong) QTNone *none;
13601365 @property (nonatomic, strong) QTNonlocal *nonlocal;
13611366 @property (nonatomic, strong) QTNonmutating *nonmutating;
@@ -1377,6 +1382,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
13771382 @property (nonatomic, strong) QTReturn *obj4Return;
13781383 @property (nonatomic, strong) QTObject *object;
13791384 @property (nonatomic, strong) QTObjectMapper *objectMapper;
1385+@property (nonatomic, strong) QTObjectReader *objectReader;
1386+@property (nonatomic, strong) QTObjectWriter *objectWriter;
13801387 @property (nonatomic, strong) QTOf *of;
13811388 @property (nonatomic, strong) QTOneway *oneway;
13821389 @property (nonatomic, strong) QTOpen *open;
@@ -1416,15 +1423,16 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
14161423 @property (nonatomic, strong) QTRuntimeType *runtimeType;
14171424 @property (nonatomic, strong) QTS *s;
14181425 @property (nonatomic, strong) QTSbyte *sbyte;
1419-@property (nonatomic, strong) QTSealed *sealed;
1420-@property (nonatomic, strong) QTSel *sel;
1421-@property (nonatomic, strong) QTSelect *select;
14221426 @end
14231427
14241428 @interface QTNoSuchMethod : NSObject
14251429 @property (nonatomic, assign) NSInteger noSuchMethod;
14261430 @end
14271431
1432+@interface QTNoexcept : NSObject
1433+@property (nonatomic, assign) NSInteger noexcept;
1434+@end
1435+
14281436 @interface QTNone : NSObject
14291437 @property (nonatomic, assign) NSInteger none;
14301438 @end
@@ -1509,6 +1517,14 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
15091517 @property (nonatomic, assign) NSInteger objectMapper;
15101518 @end
15111519
1520+@interface QTObjectReader : NSObject
1521+@property (nonatomic, assign) NSInteger objectReader;
1522+@end
1523+
1524+@interface QTObjectWriter : NSObject
1525+@property (nonatomic, assign) NSInteger objectWriter;
1526+@end
1527+
15121528 @interface QTOf : NSObject
15131529 @property (nonatomic, assign) NSInteger of;
15141530 @end
@@ -1665,18 +1681,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
16651681 @property (nonatomic, assign) NSInteger sbyte;
16661682 @end
16671683
1668-@interface QTSealed : NSObject
1669-@property (nonatomic, assign) NSInteger sealed;
1670-@end
1671-
1672-@interface QTSel : NSObject
1673-@property (nonatomic, assign) NSInteger sel;
1674-@end
1675-
1676-@interface QTSelect : NSObject
1677-@property (nonatomic, assign) NSInteger select;
1678-@end
1679-
16801684 @interface QTObj5 : NSObject
16811685 @property (nonatomic, assign) NSInteger dummy;
16821686 @property (nonatomic, strong) QTSelfClass *obj5Self;
@@ -1692,8 +1696,12 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
16921696 @property (nonatomic, strong) QTTypeof *obj5Typeof;
16931697 @property (nonatomic, strong) QTUnion *obj5Union;
16941698 @property (nonatomic, strong) QTUnsigned *obj5Unsigned;
1699+@property (nonatomic, strong) QTSealed *sealed;
1700+@property (nonatomic, strong) QTSel *sel;
1701+@property (nonatomic, strong) QTSelect *select;
16951702 @property (nonatomic, strong) QTSelf *self;
16961703 @property (nonatomic, strong) QTSendable *sendable;
1704+@property (nonatomic, strong) QTSerializationFeature *serializationFeature;
16971705 @property (nonatomic, strong) QTSerialize *serialize;
16981706 @property (nonatomic, strong) QTSerializerProvider *serializerProvider;
16991707 @property (nonatomic, strong) QTSet *set;
@@ -1739,10 +1747,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
17391747 @property (nonatomic, strong) QTUshort *ushort;
17401748 @property (nonatomic, strong) QTUsing *using;
17411749 @property (nonatomic, strong) QTUtf8JSONReader *utf8JSONReader;
1742-@property (nonatomic, strong) QTUtf8JSONWriter *utf8JSONWriter;
1743-@property (nonatomic, strong) QTUUID *uuid;
1744-@property (nonatomic, strong) QTVar *var;
1745-@property (nonatomic, strong) QTVirtual *virtual;
17461750 @end
17471751
17481752 @interface QTSelfClass : NSObject
@@ -1797,6 +1801,18 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
17971801 @property (nonatomic, assign) NSInteger unsignedUnsigned;
17981802 @end
17991803
1804+@interface QTSealed : NSObject
1805+@property (nonatomic, assign) NSInteger sealed;
1806+@end
1807+
1808+@interface QTSel : NSObject
1809+@property (nonatomic, assign) NSInteger sel;
1810+@end
1811+
1812+@interface QTSelect : NSObject
1813+@property (nonatomic, assign) NSInteger select;
1814+@end
1815+
18001816 @interface QTSelf : NSObject
18011817 @property (nonatomic, assign) NSInteger self;
18021818 @end
@@ -1805,6 +1821,10 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
18051821 @property (nonatomic, assign) NSInteger sendable;
18061822 @end
18071823
1824+@interface QTSerializationFeature : NSObject
1825+@property (nonatomic, assign) NSInteger serializationFeature;
1826+@end
1827+
18081828 @interface QTSerialize : NSObject
18091829 @property (nonatomic, assign) NSInteger serialize;
18101830 @end
@@ -1985,27 +2005,15 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
19852005 @property (nonatomic, assign) NSInteger utf8JSONReader;
19862006 @end
19872007
1988-@interface QTUtf8JSONWriter : NSObject
1989-@property (nonatomic, assign) NSInteger utf8JSONWriter;
1990-@end
1991-
1992-@interface QTUUID : NSObject
1993-@property (nonatomic, assign) NSInteger uuid;
1994-@end
1995-
1996-@interface QTVar : NSObject
1997-@property (nonatomic, assign) NSInteger var;
1998-@end
1999-
2000-@interface QTVirtual : NSObject
2001-@property (nonatomic, assign) NSInteger virtual;
2002-@end
2003-
20042008 @interface QTObj6 : NSObject
20052009 @property (nonatomic, assign) NSInteger dummy;
20062010 @property (nonatomic, strong) QTVoid *obj6Void;
20072011 @property (nonatomic, strong) QTVolatile *obj6Volatile;
20082012 @property (nonatomic, strong) QTWhile *obj6While;
2013+@property (nonatomic, strong) QTUtf8JSONWriter *utf8JSONWriter;
2014+@property (nonatomic, strong) QTUUID *uuid;
2015+@property (nonatomic, strong) QTVar *var;
2016+@property (nonatomic, strong) QTVirtual *virtual;
20092017 @property (nonatomic, strong) QTWcharT *wcharT;
20102018 @property (nonatomic, strong) QTWeak *weak;
20112019 @property (nonatomic, strong) QTWhere *where;
@@ -2029,6 +2037,22 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
20292037 @property (nonatomic, assign) NSInteger whileWhile;
20302038 @end
20312039
2040+@interface QTUtf8JSONWriter : NSObject
2041+@property (nonatomic, assign) NSInteger utf8JSONWriter;
2042+@end
2043+
2044+@interface QTUUID : NSObject
2045+@property (nonatomic, assign) NSInteger uuid;
2046+@end
2047+
2048+@interface QTVar : NSObject
2049+@property (nonatomic, assign) NSInteger var;
2050+@end
2051+
2052+@interface QTVirtual : NSObject
2053+@property (nonatomic, assign) NSInteger virtual;
2054+@end
2055+
20322056 @interface QTWcharT : NSObject
20332057 @property (nonatomic, assign) NSInteger wcharT;
20342058 @end
Mobjective-cdefault / QTTopLevel.m+824 −576
@@ -438,6 +438,11 @@ NS_ASSUME_NONNULL_BEGIN
438438 - (NSDictionary *)JSONDictionary;
439439 @end
440440
441+@interface QTDeserializationFeature (JSONConversion)
442++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
443+- (NSDictionary *)JSONDictionary;
444+@end
445+
441446 @interface QTDict (JSONConversion)
442447 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
443448 - (NSDictionary *)JSONDictionary;
@@ -653,11 +658,6 @@ NS_ASSUME_NONNULL_BEGIN
653658 - (NSDictionary *)JSONDictionary;
654659 @end
655660
656-@interface QTGoto (JSONConversion)
657-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
658-- (NSDictionary *)JSONDictionary;
659-@end
660-
661661 @interface QTFalseClass (JSONConversion)
662662 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
663663 - (NSDictionary *)JSONDictionary;
@@ -943,7 +943,7 @@ NS_ASSUME_NONNULL_BEGIN
943943 - (NSDictionary *)JSONDictionary;
944944 @end
945945
946-@interface QTNoexcept (JSONConversion)
946+@interface QTGoto (JSONConversion)
947947 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
948948 - (NSDictionary *)JSONDictionary;
949949 @end
@@ -998,6 +998,11 @@ NS_ASSUME_NONNULL_BEGIN
998998 - (NSDictionary *)JSONDictionary;
999999 @end
10001000
1001+@interface QTNoexcept (JSONConversion)
1002++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1003+- (NSDictionary *)JSONDictionary;
1004+@end
1005+
10011006 @interface QTNone (JSONConversion)
10021007 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
10031008 - (NSDictionary *)JSONDictionary;
@@ -1103,6 +1108,16 @@ NS_ASSUME_NONNULL_BEGIN
11031108 - (NSDictionary *)JSONDictionary;
11041109 @end
11051110
1111+@interface QTObjectReader (JSONConversion)
1112++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1113+- (NSDictionary *)JSONDictionary;
1114+@end
1115+
1116+@interface QTObjectWriter (JSONConversion)
1117++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1118+- (NSDictionary *)JSONDictionary;
1119+@end
1120+
11061121 @interface QTOf (JSONConversion)
11071122 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
11081123 - (NSDictionary *)JSONDictionary;
@@ -1298,21 +1313,6 @@ NS_ASSUME_NONNULL_BEGIN
12981313 - (NSDictionary *)JSONDictionary;
12991314 @end
13001315
1301-@interface QTSealed (JSONConversion)
1302-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1303-- (NSDictionary *)JSONDictionary;
1304-@end
1305-
1306-@interface QTSel (JSONConversion)
1307-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1308-- (NSDictionary *)JSONDictionary;
1309-@end
1310-
1311-@interface QTSelect (JSONConversion)
1312-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1313-- (NSDictionary *)JSONDictionary;
1314-@end
1315-
13161316 @interface QTObj5 (JSONConversion)
13171317 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
13181318 - (NSDictionary *)JSONDictionary;
@@ -1383,6 +1383,21 @@ NS_ASSUME_NONNULL_BEGIN
13831383 - (NSDictionary *)JSONDictionary;
13841384 @end
13851385
1386+@interface QTSealed (JSONConversion)
1387++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1388+- (NSDictionary *)JSONDictionary;
1389+@end
1390+
1391+@interface QTSel (JSONConversion)
1392++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1393+- (NSDictionary *)JSONDictionary;
1394+@end
1395+
1396+@interface QTSelect (JSONConversion)
1397++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1398+- (NSDictionary *)JSONDictionary;
1399+@end
1400+
13861401 @interface QTSelf (JSONConversion)
13871402 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
13881403 - (NSDictionary *)JSONDictionary;
@@ -1393,6 +1408,11 @@ NS_ASSUME_NONNULL_BEGIN
13931408 - (NSDictionary *)JSONDictionary;
13941409 @end
13951410
1411+@interface QTSerializationFeature (JSONConversion)
1412++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1413+- (NSDictionary *)JSONDictionary;
1414+@end
1415+
13961416 @interface QTSerialize (JSONConversion)
13971417 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
13981418 - (NSDictionary *)JSONDictionary;
@@ -1618,42 +1638,42 @@ NS_ASSUME_NONNULL_BEGIN
16181638 - (NSDictionary *)JSONDictionary;
16191639 @end
16201640
1621-@interface QTUtf8JSONWriter (JSONConversion)
1641+@interface QTObj6 (JSONConversion)
16221642 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16231643 - (NSDictionary *)JSONDictionary;
16241644 @end
16251645
1626-@interface QTUUID (JSONConversion)
1646+@interface QTVoid (JSONConversion)
16271647 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16281648 - (NSDictionary *)JSONDictionary;
16291649 @end
16301650
1631-@interface QTVar (JSONConversion)
1651+@interface QTVolatile (JSONConversion)
16321652 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16331653 - (NSDictionary *)JSONDictionary;
16341654 @end
16351655
1636-@interface QTVirtual (JSONConversion)
1656+@interface QTWhile (JSONConversion)
16371657 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16381658 - (NSDictionary *)JSONDictionary;
16391659 @end
16401660
1641-@interface QTObj6 (JSONConversion)
1661+@interface QTUtf8JSONWriter (JSONConversion)
16421662 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16431663 - (NSDictionary *)JSONDictionary;
16441664 @end
16451665
1646-@interface QTVoid (JSONConversion)
1666+@interface QTUUID (JSONConversion)
16471667 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16481668 - (NSDictionary *)JSONDictionary;
16491669 @end
16501670
1651-@interface QTVolatile (JSONConversion)
1671+@interface QTVar (JSONConversion)
16521672 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16531673 - (NSDictionary *)JSONDictionary;
16541674 @end
16551675
1656-@interface QTWhile (JSONConversion)
1676+@interface QTVirtual (JSONConversion)
16571677 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
16581678 - (NSDictionary *)JSONDictionary;
16591679 @end
@@ -5272,6 +5292,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
52725292 @"del": @"del",
52735293 @"delegate": @"delegate",
52745294 @"delete": @"delete",
5295+ @"DeserializationFeature": @"deserializationFeature",
52755296 @"dict": @"dict",
52765297 @"dictionary": @"dictionary",
52775298 @"didSet": @"didSet",
@@ -5316,7 +5337,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
53165337 @"False": @"obj2False",
53175338 @"float": @"obj2Float",
53185339 @"for": @"obj2For",
5319- @"goto": @"obj2Goto",
53205340 @"false": @"theFalse",
53215341 };
53225342 }
@@ -5348,6 +5368,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
53485368 if (![dict[@"del"] isKindOfClass:NSDictionary.class]) return nil;
53495369 if (![dict[@"delegate"] isKindOfClass:NSDictionary.class]) return nil;
53505370 if (![dict[@"delete"] isKindOfClass:NSDictionary.class]) return nil;
5371+ if (![dict[@"DeserializationFeature"] isKindOfClass:NSDictionary.class]) return nil;
53515372 if (![dict[@"dict"] isKindOfClass:NSDictionary.class]) return nil;
53525373 if (![dict[@"dictionary"] isKindOfClass:NSDictionary.class]) return nil;
53535374 if (![dict[@"didSet"] isKindOfClass:NSDictionary.class]) return nil;
@@ -5393,7 +5414,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
53935414 if (![dict[@"False"] isKindOfClass:NSDictionary.class]) return nil;
53945415 if (![dict[@"float"] isKindOfClass:NSDictionary.class]) return nil;
53955416 if (![dict[@"for"] isKindOfClass:NSDictionary.class]) return nil;
5396- if (![dict[@"goto"] isKindOfClass:NSDictionary.class]) return nil;
53975417 if (![dict[@"false"] isKindOfClass:NSDictionary.class]) return nil;
53985418 [self setValuesForKeysWithDictionary:dict];
53995419 _dateFormatter = [QTDateFormatter fromJSONDictionary:(id)_dateFormatter];
@@ -5434,6 +5454,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
54345454 if (!_delegate && dict[@"delegate"] && ![dict[@"delegate"] isKindOfClass:NSNull.class]) return nil;
54355455 _delete = [QTDelete fromJSONDictionary:(id)_delete];
54365456 if (!_delete && dict[@"delete"] && ![dict[@"delete"] isKindOfClass:NSNull.class]) return nil;
5457+ _deserializationFeature = [QTDeserializationFeature fromJSONDictionary:(id)_deserializationFeature];
5458+ if (!_deserializationFeature && dict[@"DeserializationFeature"] && ![dict[@"DeserializationFeature"] isKindOfClass:NSNull.class]) return nil;
54375459 _dict = [QTDict fromJSONDictionary:(id)_dict];
54385460 if (!_dict && dict[@"dict"] && ![dict[@"dict"] isKindOfClass:NSNull.class]) return nil;
54395461 _dictionary = [QTDictionary fromJSONDictionary:(id)_dictionary];
@@ -5520,8 +5542,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
55205542 if (!_obj2Float && dict[@"float"] && ![dict[@"float"] isKindOfClass:NSNull.class]) return nil;
55215543 _obj2For = [QTFor fromJSONDictionary:(id)_obj2For];
55225544 if (!_obj2For && dict[@"for"] && ![dict[@"for"] isKindOfClass:NSNull.class]) return nil;
5523- _obj2Goto = [QTGoto fromJSONDictionary:(id)_obj2Goto];
5524- if (!_obj2Goto && dict[@"goto"] && ![dict[@"goto"] isKindOfClass:NSNull.class]) return nil;
55255545 _theFalse = [QTFalseClass fromJSONDictionary:(id)_theFalse];
55265546 if (!_theFalse && dict[@"false"] && ![dict[@"false"] isKindOfClass:NSNull.class]) return nil;
55275547 }
@@ -5572,6 +5592,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
55725592 @"del": [_del JSONDictionary],
55735593 @"delegate": [_delegate JSONDictionary],
55745594 @"delete": [_delete JSONDictionary],
5595+ @"DeserializationFeature": [_deserializationFeature JSONDictionary],
55755596 @"dict": [_dict JSONDictionary],
55765597 @"dictionary": [_dictionary JSONDictionary],
55775598 @"didSet": [_didSet JSONDictionary],
@@ -5615,7 +5636,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
56155636 @"False": [_obj2False JSONDictionary],
56165637 @"float": [_obj2Float JSONDictionary],
56175638 @"for": [_obj2For JSONDictionary],
5618- @"goto": [_obj2Goto JSONDictionary],
56195639 @"false": [_theFalse JSONDictionary],
56205640 }];
56215641
@@ -6511,6 +6531,58 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
65116531 }
65126532 @end
65136533
6534+@implementation QTDeserializationFeature
6535++ (NSDictionary<NSString *, NSString *> *)properties
6536+{
6537+ static NSDictionary<NSString *, NSString *> *properties;
6538+ return properties = properties ? properties : @{
6539+ @"DeserializationFeature": @"deserializationFeature",
6540+ };
6541+}
6542+
6543++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
6544+{
6545+ return [dict isKindOfClass:NSDictionary.class] ? [[QTDeserializationFeature alloc] initWithJSONDictionary:dict] : nil;
6546+}
6547+
6548+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
6549+{
6550+ if (self = [super init]) {
6551+ if (![dict[@"DeserializationFeature"] isKindOfClass:NSNumber.class]) return nil;
6552+ if ([dict[@"DeserializationFeature"] doubleValue] != [dict[@"DeserializationFeature"] longLongValue]) return nil;
6553+ [self setValuesForKeysWithDictionary:dict];
6554+ }
6555+ return self;
6556+}
6557+
6558+- (void)setValue:(nullable id)value forKey:(NSString *)key
6559+{
6560+ id resolved = QTDeserializationFeature.properties[key];
6561+ if (resolved) [super setValue:value forKey:resolved];
6562+}
6563+
6564+- (void)setNilValueForKey:(NSString *)key
6565+{
6566+ id resolved = QTDeserializationFeature.properties[key];
6567+ if (resolved) [super setValue:@(0) forKey:resolved];
6568+}
6569+
6570+- (NSDictionary *)JSONDictionary
6571+{
6572+ id dict = [[self dictionaryWithValuesForKeys:QTDeserializationFeature.properties.allValues] mutableCopy];
6573+
6574+ for (id jsonName in QTDeserializationFeature.properties) {
6575+ id propertyName = QTDeserializationFeature.properties[jsonName];
6576+ if (![jsonName isEqualToString:propertyName]) {
6577+ dict[jsonName] = dict[propertyName];
6578+ [dict removeObjectForKey:propertyName];
6579+ }
6580+ }
6581+
6582+ return dict;
6583+}
6584+@end
6585+
65146586 @implementation QTDict
65156587 + (NSDictionary<NSString *, NSString *> *)properties
65166588 {
@@ -8481,58 +8553,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
84818553 }
84828554 @end
84838555
8484-@implementation QTGoto
8485-+ (NSDictionary<NSString *, NSString *> *)properties
8486-{
8487- static NSDictionary<NSString *, NSString *> *properties;
8488- return properties = properties ? properties : @{
8489- @"goto": @"gotoGoto",
8490- };
8491-}
8492-
8493-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict
8494-{
8495- return [dict isKindOfClass:NSDictionary.class] ? [[QTGoto alloc] initWithJSONDictionary:dict] : nil;
8496-}
8497-
8498-- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
8499-{
8500- if (self = [super init]) {
8501- if (![dict[@"goto"] isKindOfClass:NSNumber.class]) return nil;
8502- if ([dict[@"goto"] doubleValue] != [dict[@"goto"] longLongValue]) return nil;
8503- [self setValuesForKeysWithDictionary:dict];
8504- }
8505- return self;
8506-}
8507-
8508-- (void)setValue:(nullable id)value forKey:(NSString *)key
8509-{
8510- id resolved = QTGoto.properties[key];
8511- if (resolved) [super setValue:value forKey:resolved];
8512-}
8513-
8514-- (void)setNilValueForKey:(NSString *)key
8515-{
8516- id resolved = QTGoto.properties[key];
8517- if (resolved) [super setValue:@(0) forKey:resolved];
8518-}
8519-
8520-- (NSDictionary *)JSONDictionary
8521-{
8522- id dict = [[self dictionaryWithValuesForKeys:QTGoto.properties.allValues] mutableCopy];
8523-
8524- for (id jsonName in QTGoto.properties) {
8525- id propertyName = QTGoto.properties[jsonName];
8526- if (![jsonName isEqualToString:propertyName]) {
8527- dict[jsonName] = dict[propertyName];
8528- [dict removeObjectForKey:propertyName];
8529- }
8530- }
8531-
8532- return dict;
8533-}
8534-@end
8535-
85368556 @implementation QTFalseClass
85378557 + (NSDictionary<NSString *, NSString *> *)properties
85388558 {
@@ -8646,7 +8666,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
86468666 @"native": @"native",
86478667 @"newtonsoft": @"newtonsoft",
86488668 @"NO": @"no",
8649- @"noexcept": @"noexcept",
8669+ @"goto": @"obj3Goto",
86508670 @"if": @"obj3If",
86518671 @"inline": @"obj3Inline",
86528672 @"int": @"obj3Int",
@@ -8723,7 +8743,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
87238743 if (![dict[@"native"] isKindOfClass:NSDictionary.class]) return nil;
87248744 if (![dict[@"newtonsoft"] isKindOfClass:NSDictionary.class]) return nil;
87258745 if (![dict[@"NO"] isKindOfClass:NSDictionary.class]) return nil;
8726- if (![dict[@"noexcept"] isKindOfClass:NSDictionary.class]) return nil;
8746+ if (![dict[@"goto"] isKindOfClass:NSDictionary.class]) return nil;
87278747 if (![dict[@"if"] isKindOfClass:NSDictionary.class]) return nil;
87288748 if (![dict[@"inline"] isKindOfClass:NSDictionary.class]) return nil;
87298749 if (![dict[@"int"] isKindOfClass:NSDictionary.class]) return nil;
@@ -8843,8 +8863,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
88438863 if (!_newtonsoft && dict[@"newtonsoft"] && ![dict[@"newtonsoft"] isKindOfClass:NSNull.class]) return nil;
88448864 _no = [QTNo fromJSONDictionary:(id)_no];
88458865 if (!_no && dict[@"NO"] && ![dict[@"NO"] isKindOfClass:NSNull.class]) return nil;
8846- _noexcept = [QTNoexcept fromJSONDictionary:(id)_noexcept];
8847- if (!_noexcept && dict[@"noexcept"] && ![dict[@"noexcept"] isKindOfClass:NSNull.class]) return nil;
8866+ _obj3Goto = [QTGoto fromJSONDictionary:(id)_obj3Goto];
8867+ if (!_obj3Goto && dict[@"goto"] && ![dict[@"goto"] isKindOfClass:NSNull.class]) return nil;
88488868 _obj3If = [QTIf fromJSONDictionary:(id)_obj3If];
88498869 if (!_obj3If && dict[@"if"] && ![dict[@"if"] isKindOfClass:NSNull.class]) return nil;
88508870 _obj3Inline = [QTInline fromJSONDictionary:(id)_obj3Inline];
@@ -8945,7 +8965,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
89458965 @"native": [_native JSONDictionary],
89468966 @"newtonsoft": [_newtonsoft JSONDictionary],
89478967 @"NO": [_no JSONDictionary],
8948- @"noexcept": [_noexcept JSONDictionary],
8968+ @"goto": [_obj3Goto JSONDictionary],
89498969 @"if": [_obj3If JSONDictionary],
89508970 @"inline": [_obj3Inline JSONDictionary],
89518971 @"int": [_obj3Int JSONDictionary],
@@ -11509,25 +11529,25 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1150911529 }
1151011530 @end
1151111531
11512-@implementation QTNoexcept
11532+@implementation QTGoto
1151311533 + (NSDictionary<NSString *, NSString *> *)properties
1151411534 {
1151511535 static NSDictionary<NSString *, NSString *> *properties;
1151611536 return properties = properties ? properties : @{
11517- @"noexcept": @"noexcept",
11537+ @"goto": @"gotoGoto",
1151811538 };
1151911539 }
1152011540
1152111541 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1152211542 {
11523- return [dict isKindOfClass:NSDictionary.class] ? [[QTNoexcept alloc] initWithJSONDictionary:dict] : nil;
11543+ return [dict isKindOfClass:NSDictionary.class] ? [[QTGoto alloc] initWithJSONDictionary:dict] : nil;
1152411544 }
1152511545
1152611546 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1152711547 {
1152811548 if (self = [super init]) {
11529- if (![dict[@"noexcept"] isKindOfClass:NSNumber.class]) return nil;
11530- if ([dict[@"noexcept"] doubleValue] != [dict[@"noexcept"] longLongValue]) return nil;
11549+ if (![dict[@"goto"] isKindOfClass:NSNumber.class]) return nil;
11550+ if ([dict[@"goto"] doubleValue] != [dict[@"goto"] longLongValue]) return nil;
1153111551 [self setValuesForKeysWithDictionary:dict];
1153211552 }
1153311553 return self;
@@ -11535,19 +11555,29 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1153511555
1153611556 - (void)setValue:(nullable id)value forKey:(NSString *)key
1153711557 {
11538- id resolved = QTNoexcept.properties[key];
11558+ id resolved = QTGoto.properties[key];
1153911559 if (resolved) [super setValue:value forKey:resolved];
1154011560 }
1154111561
1154211562 - (void)setNilValueForKey:(NSString *)key
1154311563 {
11544- id resolved = QTNoexcept.properties[key];
11564+ id resolved = QTGoto.properties[key];
1154511565 if (resolved) [super setValue:@(0) forKey:resolved];
1154611566 }
1154711567
1154811568 - (NSDictionary *)JSONDictionary
1154911569 {
11550- return [self dictionaryWithValuesForKeys:QTNoexcept.properties.allValues];
11570+ id dict = [[self dictionaryWithValuesForKeys:QTGoto.properties.allValues] mutableCopy];
11571+
11572+ for (id jsonName in QTGoto.properties) {
11573+ id propertyName = QTGoto.properties[jsonName];
11574+ if (![jsonName isEqualToString:propertyName]) {
11575+ dict[jsonName] = dict[propertyName];
11576+ [dict removeObjectForKey:propertyName];
11577+ }
11578+ }
11579+
11580+ return dict;
1155111581 }
1155211582 @end
1155311583
@@ -11974,6 +12004,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1197412004 return properties = properties ? properties : @{
1197512005 @"dummy": @"dummy",
1197612006 @"noSuchMethod": @"noSuchMethod",
12007+ @"noexcept": @"noexcept",
1197712008 @"None": @"none",
1197812009 @"nonlocal": @"nonlocal",
1197912010 @"nonmutating": @"nonmutating",
@@ -11995,6 +12026,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1199512026 @"return": @"obj4Return",
1199612027 @"object": @"object",
1199712028 @"ObjectMapper": @"objectMapper",
12029+ @"ObjectReader": @"objectReader",
12030+ @"ObjectWriter": @"objectWriter",
1199812031 @"of": @"of",
1199912032 @"oneway": @"oneway",
1200012033 @"open": @"open",
@@ -12034,9 +12067,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1203412067 @"runtimeType": @"runtimeType",
1203512068 @"s": @"s",
1203612069 @"sbyte": @"sbyte",
12037- @"sealed": @"sealed",
12038- @"SEL": @"sel",
12039- @"select": @"select",
1204012070 };
1204112071 }
1204212072
@@ -12051,6 +12081,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1205112081 if (![dict[@"dummy"] isKindOfClass:NSNumber.class]) return nil;
1205212082 if ([dict[@"dummy"] doubleValue] != [dict[@"dummy"] longLongValue]) return nil;
1205312083 if (![dict[@"noSuchMethod"] isKindOfClass:NSDictionary.class]) return nil;
12084+ if (![dict[@"noexcept"] isKindOfClass:NSDictionary.class]) return nil;
1205412085 if (![dict[@"None"] isKindOfClass:NSDictionary.class]) return nil;
1205512086 if (![dict[@"nonlocal"] isKindOfClass:NSDictionary.class]) return nil;
1205612087 if (![dict[@"nonmutating"] isKindOfClass:NSDictionary.class]) return nil;
@@ -12072,6 +12103,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1207212103 if (![dict[@"return"] isKindOfClass:NSDictionary.class]) return nil;
1207312104 if (![dict[@"object"] isKindOfClass:NSDictionary.class]) return nil;
1207412105 if (![dict[@"ObjectMapper"] isKindOfClass:NSDictionary.class]) return nil;
12106+ if (![dict[@"ObjectReader"] isKindOfClass:NSDictionary.class]) return nil;
12107+ if (![dict[@"ObjectWriter"] isKindOfClass:NSDictionary.class]) return nil;
1207512108 if (![dict[@"of"] isKindOfClass:NSDictionary.class]) return nil;
1207612109 if (![dict[@"oneway"] isKindOfClass:NSDictionary.class]) return nil;
1207712110 if (![dict[@"open"] isKindOfClass:NSDictionary.class]) return nil;
@@ -12111,12 +12144,11 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1211112144 if (![dict[@"runtimeType"] isKindOfClass:NSDictionary.class]) return nil;
1211212145 if (![dict[@"s"] isKindOfClass:NSDictionary.class]) return nil;
1211312146 if (![dict[@"sbyte"] isKindOfClass:NSDictionary.class]) return nil;
12114- if (![dict[@"sealed"] isKindOfClass:NSDictionary.class]) return nil;
12115- if (![dict[@"SEL"] isKindOfClass:NSDictionary.class]) return nil;
12116- if (![dict[@"select"] isKindOfClass:NSDictionary.class]) return nil;
1211712147 [self setValuesForKeysWithDictionary:dict];
1211812148 _noSuchMethod = [QTNoSuchMethod fromJSONDictionary:(id)_noSuchMethod];
1211912149 if (!_noSuchMethod && dict[@"noSuchMethod"] && ![dict[@"noSuchMethod"] isKindOfClass:NSNull.class]) return nil;
12150+ _noexcept = [QTNoexcept fromJSONDictionary:(id)_noexcept];
12151+ if (!_noexcept && dict[@"noexcept"] && ![dict[@"noexcept"] isKindOfClass:NSNull.class]) return nil;
1212012152 _none = [QTNone fromJSONDictionary:(id)_none];
1212112153 if (!_none && dict[@"None"] && ![dict[@"None"] isKindOfClass:NSNull.class]) return nil;
1212212154 _nonlocal = [QTNonlocal fromJSONDictionary:(id)_nonlocal];
@@ -12159,6 +12191,10 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1215912191 if (!_object && dict[@"object"] && ![dict[@"object"] isKindOfClass:NSNull.class]) return nil;
1216012192 _objectMapper = [QTObjectMapper fromJSONDictionary:(id)_objectMapper];
1216112193 if (!_objectMapper && dict[@"ObjectMapper"] && ![dict[@"ObjectMapper"] isKindOfClass:NSNull.class]) return nil;
12194+ _objectReader = [QTObjectReader fromJSONDictionary:(id)_objectReader];
12195+ if (!_objectReader && dict[@"ObjectReader"] && ![dict[@"ObjectReader"] isKindOfClass:NSNull.class]) return nil;
12196+ _objectWriter = [QTObjectWriter fromJSONDictionary:(id)_objectWriter];
12197+ if (!_objectWriter && dict[@"ObjectWriter"] && ![dict[@"ObjectWriter"] isKindOfClass:NSNull.class]) return nil;
1216212198 _of = [QTOf fromJSONDictionary:(id)_of];
1216312199 if (!_of && dict[@"of"] && ![dict[@"of"] isKindOfClass:NSNull.class]) return nil;
1216412200 _oneway = [QTOneway fromJSONDictionary:(id)_oneway];
@@ -12237,12 +12273,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1223712273 if (!_s && dict[@"s"] && ![dict[@"s"] isKindOfClass:NSNull.class]) return nil;
1223812274 _sbyte = [QTSbyte fromJSONDictionary:(id)_sbyte];
1223912275 if (!_sbyte && dict[@"sbyte"] && ![dict[@"sbyte"] isKindOfClass:NSNull.class]) return nil;
12240- _sealed = [QTSealed fromJSONDictionary:(id)_sealed];
12241- if (!_sealed && dict[@"sealed"] && ![dict[@"sealed"] isKindOfClass:NSNull.class]) return nil;
12242- _sel = [QTSel fromJSONDictionary:(id)_sel];
12243- if (!_sel && dict[@"SEL"] && ![dict[@"SEL"] isKindOfClass:NSNull.class]) return nil;
12244- _select = [QTSelect fromJSONDictionary:(id)_select];
12245- if (!_select && dict[@"select"] && ![dict[@"select"] isKindOfClass:NSNull.class]) return nil;
1224612276 }
1224712277 return self;
1224812278 }
@@ -12273,6 +12303,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1227312303
1227412304 [dict addEntriesFromDictionary:@{
1227512305 @"noSuchMethod": [_noSuchMethod JSONDictionary],
12306+ @"noexcept": [_noexcept JSONDictionary],
1227612307 @"None": [_none JSONDictionary],
1227712308 @"nonlocal": [_nonlocal JSONDictionary],
1227812309 @"nonmutating": [_nonmutating JSONDictionary],
@@ -12294,6 +12325,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1229412325 @"return": [_obj4Return JSONDictionary],
1229512326 @"object": [_object JSONDictionary],
1229612327 @"ObjectMapper": [_objectMapper JSONDictionary],
12328+ @"ObjectReader": [_objectReader JSONDictionary],
12329+ @"ObjectWriter": [_objectWriter JSONDictionary],
1229712330 @"of": [_of JSONDictionary],
1229812331 @"oneway": [_oneway JSONDictionary],
1229912332 @"open": [_open JSONDictionary],
@@ -12333,9 +12366,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1233312366 @"runtimeType": [_runtimeType JSONDictionary],
1233412367 @"s": [_s JSONDictionary],
1233512368 @"sbyte": [_sbyte JSONDictionary],
12336- @"sealed": [_sealed JSONDictionary],
12337- @"SEL": [_sel JSONDictionary],
12338- @"select": [_select JSONDictionary],
1233912369 }];
1234012370
1234112371 return dict;
@@ -12384,25 +12414,25 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1238412414 }
1238512415 @end
1238612416
12387-@implementation QTNone
12417+@implementation QTNoexcept
1238812418 + (NSDictionary<NSString *, NSString *> *)properties
1238912419 {
1239012420 static NSDictionary<NSString *, NSString *> *properties;
1239112421 return properties = properties ? properties : @{
12392- @"None": @"none",
12422+ @"noexcept": @"noexcept",
1239312423 };
1239412424 }
1239512425
1239612426 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1239712427 {
12398- return [dict isKindOfClass:NSDictionary.class] ? [[QTNone alloc] initWithJSONDictionary:dict] : nil;
12428+ return [dict isKindOfClass:NSDictionary.class] ? [[QTNoexcept alloc] initWithJSONDictionary:dict] : nil;
1239912429 }
1240012430
1240112431 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1240212432 {
1240312433 if (self = [super init]) {
12404- if (![dict[@"None"] isKindOfClass:NSNumber.class]) return nil;
12405- if ([dict[@"None"] doubleValue] != [dict[@"None"] longLongValue]) return nil;
12434+ if (![dict[@"noexcept"] isKindOfClass:NSNumber.class]) return nil;
12435+ if ([dict[@"noexcept"] doubleValue] != [dict[@"noexcept"] longLongValue]) return nil;
1240612436 [self setValuesForKeysWithDictionary:dict];
1240712437 }
1240812438 return self;
@@ -12410,52 +12440,94 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1241012440
1241112441 - (void)setValue:(nullable id)value forKey:(NSString *)key
1241212442 {
12413- id resolved = QTNone.properties[key];
12443+ id resolved = QTNoexcept.properties[key];
1241412444 if (resolved) [super setValue:value forKey:resolved];
1241512445 }
1241612446
1241712447 - (void)setNilValueForKey:(NSString *)key
1241812448 {
12419- id resolved = QTNone.properties[key];
12449+ id resolved = QTNoexcept.properties[key];
1242012450 if (resolved) [super setValue:@(0) forKey:resolved];
1242112451 }
1242212452
1242312453 - (NSDictionary *)JSONDictionary
1242412454 {
12425- id dict = [[self dictionaryWithValuesForKeys:QTNone.properties.allValues] mutableCopy];
12426-
12427- for (id jsonName in QTNone.properties) {
12428- id propertyName = QTNone.properties[jsonName];
12429- if (![jsonName isEqualToString:propertyName]) {
12430- dict[jsonName] = dict[propertyName];
12431- [dict removeObjectForKey:propertyName];
12432- }
12433- }
12434-
12435- return dict;
12455+ return [self dictionaryWithValuesForKeys:QTNoexcept.properties.allValues];
1243612456 }
1243712457 @end
1243812458
12439-@implementation QTNonlocal
12459+@implementation QTNone
1244012460 + (NSDictionary<NSString *, NSString *> *)properties
1244112461 {
1244212462 static NSDictionary<NSString *, NSString *> *properties;
1244312463 return properties = properties ? properties : @{
12444- @"nonlocal": @"nonlocal",
12464+ @"None": @"none",
1244512465 };
1244612466 }
1244712467
1244812468 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1244912469 {
12450- return [dict isKindOfClass:NSDictionary.class] ? [[QTNonlocal alloc] initWithJSONDictionary:dict] : nil;
12470+ return [dict isKindOfClass:NSDictionary.class] ? [[QTNone alloc] initWithJSONDictionary:dict] : nil;
1245112471 }
1245212472
1245312473 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1245412474 {
1245512475 if (self = [super init]) {
12456- if (![dict[@"nonlocal"] isKindOfClass:NSNumber.class]) return nil;
12457- if ([dict[@"nonlocal"] doubleValue] != [dict[@"nonlocal"] longLongValue]) return nil;
12458- [self setValuesForKeysWithDictionary:dict];
12476+ if (![dict[@"None"] isKindOfClass:NSNumber.class]) return nil;
12477+ if ([dict[@"None"] doubleValue] != [dict[@"None"] longLongValue]) return nil;
12478+ [self setValuesForKeysWithDictionary:dict];
12479+ }
12480+ return self;
12481+}
12482+
12483+- (void)setValue:(nullable id)value forKey:(NSString *)key
12484+{
12485+ id resolved = QTNone.properties[key];
12486+ if (resolved) [super setValue:value forKey:resolved];
12487+}
12488+
12489+- (void)setNilValueForKey:(NSString *)key
12490+{
12491+ id resolved = QTNone.properties[key];
12492+ if (resolved) [super setValue:@(0) forKey:resolved];
12493+}
12494+
12495+- (NSDictionary *)JSONDictionary
12496+{
12497+ id dict = [[self dictionaryWithValuesForKeys:QTNone.properties.allValues] mutableCopy];
12498+
12499+ for (id jsonName in QTNone.properties) {
12500+ id propertyName = QTNone.properties[jsonName];
12501+ if (![jsonName isEqualToString:propertyName]) {
12502+ dict[jsonName] = dict[propertyName];
12503+ [dict removeObjectForKey:propertyName];
12504+ }
12505+ }
12506+
12507+ return dict;
12508+}
12509+@end
12510+
12511+@implementation QTNonlocal
12512++ (NSDictionary<NSString *, NSString *> *)properties
12513+{
12514+ static NSDictionary<NSString *, NSString *> *properties;
12515+ return properties = properties ? properties : @{
12516+ @"nonlocal": @"nonlocal",
12517+ };
12518+}
12519+
12520++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
12521+{
12522+ return [dict isKindOfClass:NSDictionary.class] ? [[QTNonlocal alloc] initWithJSONDictionary:dict] : nil;
12523+}
12524+
12525+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
12526+{
12527+ if (self = [super init]) {
12528+ if (![dict[@"nonlocal"] isKindOfClass:NSNumber.class]) return nil;
12529+ if ([dict[@"nonlocal"] doubleValue] != [dict[@"nonlocal"] longLongValue]) return nil;
12530+ [self setValuesForKeysWithDictionary:dict];
1245912531 }
1246012532 return self;
1246112533 }
@@ -13386,6 +13458,110 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1338613458 }
1338713459 @end
1338813460
13461+@implementation QTObjectReader
13462++ (NSDictionary<NSString *, NSString *> *)properties
13463+{
13464+ static NSDictionary<NSString *, NSString *> *properties;
13465+ return properties = properties ? properties : @{
13466+ @"ObjectReader": @"objectReader",
13467+ };
13468+}
13469+
13470++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
13471+{
13472+ return [dict isKindOfClass:NSDictionary.class] ? [[QTObjectReader alloc] initWithJSONDictionary:dict] : nil;
13473+}
13474+
13475+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
13476+{
13477+ if (self = [super init]) {
13478+ if (![dict[@"ObjectReader"] isKindOfClass:NSNumber.class]) return nil;
13479+ if ([dict[@"ObjectReader"] doubleValue] != [dict[@"ObjectReader"] longLongValue]) return nil;
13480+ [self setValuesForKeysWithDictionary:dict];
13481+ }
13482+ return self;
13483+}
13484+
13485+- (void)setValue:(nullable id)value forKey:(NSString *)key
13486+{
13487+ id resolved = QTObjectReader.properties[key];
13488+ if (resolved) [super setValue:value forKey:resolved];
13489+}
13490+
13491+- (void)setNilValueForKey:(NSString *)key
13492+{
13493+ id resolved = QTObjectReader.properties[key];
13494+ if (resolved) [super setValue:@(0) forKey:resolved];
13495+}
13496+
13497+- (NSDictionary *)JSONDictionary
13498+{
13499+ id dict = [[self dictionaryWithValuesForKeys:QTObjectReader.properties.allValues] mutableCopy];
13500+
13501+ for (id jsonName in QTObjectReader.properties) {
13502+ id propertyName = QTObjectReader.properties[jsonName];
13503+ if (![jsonName isEqualToString:propertyName]) {
13504+ dict[jsonName] = dict[propertyName];
13505+ [dict removeObjectForKey:propertyName];
13506+ }
13507+ }
13508+
13509+ return dict;
13510+}
13511+@end
13512+
13513+@implementation QTObjectWriter
13514++ (NSDictionary<NSString *, NSString *> *)properties
13515+{
13516+ static NSDictionary<NSString *, NSString *> *properties;
13517+ return properties = properties ? properties : @{
13518+ @"ObjectWriter": @"objectWriter",
13519+ };
13520+}
13521+
13522++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
13523+{
13524+ return [dict isKindOfClass:NSDictionary.class] ? [[QTObjectWriter alloc] initWithJSONDictionary:dict] : nil;
13525+}
13526+
13527+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
13528+{
13529+ if (self = [super init]) {
13530+ if (![dict[@"ObjectWriter"] isKindOfClass:NSNumber.class]) return nil;
13531+ if ([dict[@"ObjectWriter"] doubleValue] != [dict[@"ObjectWriter"] longLongValue]) return nil;
13532+ [self setValuesForKeysWithDictionary:dict];
13533+ }
13534+ return self;
13535+}
13536+
13537+- (void)setValue:(nullable id)value forKey:(NSString *)key
13538+{
13539+ id resolved = QTObjectWriter.properties[key];
13540+ if (resolved) [super setValue:value forKey:resolved];
13541+}
13542+
13543+- (void)setNilValueForKey:(NSString *)key
13544+{
13545+ id resolved = QTObjectWriter.properties[key];
13546+ if (resolved) [super setValue:@(0) forKey:resolved];
13547+}
13548+
13549+- (NSDictionary *)JSONDictionary
13550+{
13551+ id dict = [[self dictionaryWithValuesForKeys:QTObjectWriter.properties.allValues] mutableCopy];
13552+
13553+ for (id jsonName in QTObjectWriter.properties) {
13554+ id propertyName = QTObjectWriter.properties[jsonName];
13555+ if (![jsonName isEqualToString:propertyName]) {
13556+ dict[jsonName] = dict[propertyName];
13557+ [dict removeObjectForKey:propertyName];
13558+ }
13559+ }
13560+
13561+ return dict;
13562+}
13563+@end
13564+
1338913565 @implementation QTOf
1339013566 + (NSDictionary<NSString *, NSString *> *)properties
1339113567 {
@@ -15064,218 +15240,82 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1506415240 }
1506515241 @end
1506615242
15067-@implementation QTSealed
15243+@implementation QTObj5
1506815244 + (NSDictionary<NSString *, NSString *> *)properties
1506915245 {
1507015246 static NSDictionary<NSString *, NSString *> *properties;
1507115247 return properties = properties ? properties : @{
15248+ @"dummy": @"dummy",
15249+ @"self": @"obj5Self",
15250+ @"short": @"obj5Short",
15251+ @"signed": @"obj5Signed",
15252+ @"sizeof": @"obj5Sizeof",
15253+ @"static": @"obj5Static",
15254+ @"struct": @"obj5Struct",
15255+ @"switch": @"obj5Switch",
15256+ @"True": @"obj5True",
15257+ @"type": @"obj5Type",
15258+ @"typedef": @"obj5Typedef",
15259+ @"typeof": @"obj5Typeof",
15260+ @"union": @"obj5Union",
15261+ @"unsigned": @"obj5Unsigned",
1507215262 @"sealed": @"sealed",
15073- };
15074-}
15075-
15076-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict
15077-{
15078- return [dict isKindOfClass:NSDictionary.class] ? [[QTSealed alloc] initWithJSONDictionary:dict] : nil;
15079-}
15080-
15081-- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
15082-{
15083- if (self = [super init]) {
15084- if (![dict[@"sealed"] isKindOfClass:NSNumber.class]) return nil;
15085- if ([dict[@"sealed"] doubleValue] != [dict[@"sealed"] longLongValue]) return nil;
15086- [self setValuesForKeysWithDictionary:dict];
15087- }
15088- return self;
15089-}
15090-
15091-- (void)setValue:(nullable id)value forKey:(NSString *)key
15092-{
15093- id resolved = QTSealed.properties[key];
15094- if (resolved) [super setValue:value forKey:resolved];
15095-}
15096-
15097-- (void)setNilValueForKey:(NSString *)key
15098-{
15099- id resolved = QTSealed.properties[key];
15100- if (resolved) [super setValue:@(0) forKey:resolved];
15101-}
15102-
15103-- (NSDictionary *)JSONDictionary
15104-{
15105- return [self dictionaryWithValuesForKeys:QTSealed.properties.allValues];
15106-}
15107-@end
15108-
15109-@implementation QTSel
15110-+ (NSDictionary<NSString *, NSString *> *)properties
15111-{
15112- static NSDictionary<NSString *, NSString *> *properties;
15113- return properties = properties ? properties : @{
1511415263 @"SEL": @"sel",
15264+ @"select": @"select",
15265+ @"Self": @"self",
15266+ @"Sendable": @"sendable",
15267+ @"SerializationFeature": @"serializationFeature",
15268+ @"serialize": @"serialize",
15269+ @"SerializerProvider": @"serializerProvider",
15270+ @"set": @"set",
15271+ @"SimpleModule": @"simpleModule",
15272+ @"stackalloc": @"stackalloc",
15273+ @"Standards": @"standards",
15274+ @"static_assert": @"staticAssert",
15275+ @"static_cast": @"staticCast",
15276+ @"StdDeserializer": @"stdDeserializer",
15277+ @"StdSerializer": @"stdSerializer",
15278+ @"strictfp": @"strictfp",
15279+ @"string": @"string",
15280+ @"subscript": @"subscript",
15281+ @"super": @"super",
15282+ @"symbol": @"symbol",
15283+ @"synchronized": @"synchronized",
15284+ @"system": @"system",
15285+ @"template": @"template",
15286+ @"true": @"theTrue",
15287+ @"then": @"then",
15288+ @"this": @"this",
15289+ @"thread_local": @"threadLocal",
15290+ @"throw": @"throw",
15291+ @"throws": @"throws",
15292+ @"TimeOnly": @"timeOnly",
15293+ @"TimeOnlyConverter": @"timeOnlyConverter",
15294+ @"TimeZone": @"timeZone",
15295+ @"to_json": @"toJSON",
15296+ @"toString": @"toString",
15297+ @"top_level": @"topLevel",
15298+ @"transient": @"transient",
15299+ @"try": @"try",
15300+ @"Type": @"type",
15301+ @"typealias": @"typealias",
15302+ @"typeid": @"typeid",
15303+ @"typename": @"typename",
15304+ @"uint": @"uint",
15305+ @"ulong": @"ulong",
15306+ @"unchecked": @"unchecked",
15307+ @"undefined": @"undefined",
15308+ @"unowned": @"unowned",
15309+ @"unsafe": @"unsafe",
15310+ @"ushort": @"ushort",
15311+ @"using": @"using",
15312+ @"Utf8JsonReader": @"utf8JSONReader",
1511515313 };
1511615314 }
1511715315
1511815316 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1511915317 {
15120- return [dict isKindOfClass:NSDictionary.class] ? [[QTSel alloc] initWithJSONDictionary:dict] : nil;
15121-}
15122-
15123-- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
15124-{
15125- if (self = [super init]) {
15126- if (![dict[@"SEL"] isKindOfClass:NSNumber.class]) return nil;
15127- if ([dict[@"SEL"] doubleValue] != [dict[@"SEL"] longLongValue]) return nil;
15128- [self setValuesForKeysWithDictionary:dict];
15129- }
15130- return self;
15131-}
15132-
15133-- (void)setValue:(nullable id)value forKey:(NSString *)key
15134-{
15135- id resolved = QTSel.properties[key];
15136- if (resolved) [super setValue:value forKey:resolved];
15137-}
15138-
15139-- (void)setNilValueForKey:(NSString *)key
15140-{
15141- id resolved = QTSel.properties[key];
15142- if (resolved) [super setValue:@(0) forKey:resolved];
15143-}
15144-
15145-- (NSDictionary *)JSONDictionary
15146-{
15147- id dict = [[self dictionaryWithValuesForKeys:QTSel.properties.allValues] mutableCopy];
15148-
15149- for (id jsonName in QTSel.properties) {
15150- id propertyName = QTSel.properties[jsonName];
15151- if (![jsonName isEqualToString:propertyName]) {
15152- dict[jsonName] = dict[propertyName];
15153- [dict removeObjectForKey:propertyName];
15154- }
15155- }
15156-
15157- return dict;
15158-}
15159-@end
15160-
15161-@implementation QTSelect
15162-+ (NSDictionary<NSString *, NSString *> *)properties
15163-{
15164- static NSDictionary<NSString *, NSString *> *properties;
15165- return properties = properties ? properties : @{
15166- @"select": @"select",
15167- };
15168-}
15169-
15170-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict
15171-{
15172- return [dict isKindOfClass:NSDictionary.class] ? [[QTSelect alloc] initWithJSONDictionary:dict] : nil;
15173-}
15174-
15175-- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
15176-{
15177- if (self = [super init]) {
15178- if (![dict[@"select"] isKindOfClass:NSNumber.class]) return nil;
15179- if ([dict[@"select"] doubleValue] != [dict[@"select"] longLongValue]) return nil;
15180- [self setValuesForKeysWithDictionary:dict];
15181- }
15182- return self;
15183-}
15184-
15185-- (void)setValue:(nullable id)value forKey:(NSString *)key
15186-{
15187- id resolved = QTSelect.properties[key];
15188- if (resolved) [super setValue:value forKey:resolved];
15189-}
15190-
15191-- (void)setNilValueForKey:(NSString *)key
15192-{
15193- id resolved = QTSelect.properties[key];
15194- if (resolved) [super setValue:@(0) forKey:resolved];
15195-}
15196-
15197-- (NSDictionary *)JSONDictionary
15198-{
15199- return [self dictionaryWithValuesForKeys:QTSelect.properties.allValues];
15200-}
15201-@end
15202-
15203-@implementation QTObj5
15204-+ (NSDictionary<NSString *, NSString *> *)properties
15205-{
15206- static NSDictionary<NSString *, NSString *> *properties;
15207- return properties = properties ? properties : @{
15208- @"dummy": @"dummy",
15209- @"self": @"obj5Self",
15210- @"short": @"obj5Short",
15211- @"signed": @"obj5Signed",
15212- @"sizeof": @"obj5Sizeof",
15213- @"static": @"obj5Static",
15214- @"struct": @"obj5Struct",
15215- @"switch": @"obj5Switch",
15216- @"True": @"obj5True",
15217- @"type": @"obj5Type",
15218- @"typedef": @"obj5Typedef",
15219- @"typeof": @"obj5Typeof",
15220- @"union": @"obj5Union",
15221- @"unsigned": @"obj5Unsigned",
15222- @"Self": @"self",
15223- @"Sendable": @"sendable",
15224- @"serialize": @"serialize",
15225- @"SerializerProvider": @"serializerProvider",
15226- @"set": @"set",
15227- @"SimpleModule": @"simpleModule",
15228- @"stackalloc": @"stackalloc",
15229- @"Standards": @"standards",
15230- @"static_assert": @"staticAssert",
15231- @"static_cast": @"staticCast",
15232- @"StdDeserializer": @"stdDeserializer",
15233- @"StdSerializer": @"stdSerializer",
15234- @"strictfp": @"strictfp",
15235- @"string": @"string",
15236- @"subscript": @"subscript",
15237- @"super": @"super",
15238- @"symbol": @"symbol",
15239- @"synchronized": @"synchronized",
15240- @"system": @"system",
15241- @"template": @"template",
15242- @"true": @"theTrue",
15243- @"then": @"then",
15244- @"this": @"this",
15245- @"thread_local": @"threadLocal",
15246- @"throw": @"throw",
15247- @"throws": @"throws",
15248- @"TimeOnly": @"timeOnly",
15249- @"TimeOnlyConverter": @"timeOnlyConverter",
15250- @"TimeZone": @"timeZone",
15251- @"to_json": @"toJSON",
15252- @"toString": @"toString",
15253- @"top_level": @"topLevel",
15254- @"transient": @"transient",
15255- @"try": @"try",
15256- @"Type": @"type",
15257- @"typealias": @"typealias",
15258- @"typeid": @"typeid",
15259- @"typename": @"typename",
15260- @"uint": @"uint",
15261- @"ulong": @"ulong",
15262- @"unchecked": @"unchecked",
15263- @"undefined": @"undefined",
15264- @"unowned": @"unowned",
15265- @"unsafe": @"unsafe",
15266- @"ushort": @"ushort",
15267- @"using": @"using",
15268- @"Utf8JsonReader": @"utf8JSONReader",
15269- @"Utf8JsonWriter": @"utf8JSONWriter",
15270- @"UUID": @"uuid",
15271- @"var": @"var",
15272- @"virtual": @"virtual",
15273- };
15274-}
15275-
15276-+ (instancetype)fromJSONDictionary:(NSDictionary *)dict
15277-{
15278- return [dict isKindOfClass:NSDictionary.class] ? [[QTObj5 alloc] initWithJSONDictionary:dict] : nil;
15318+ return [dict isKindOfClass:NSDictionary.class] ? [[QTObj5 alloc] initWithJSONDictionary:dict] : nil;
1527915319 }
1528015320
1528115321 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
@@ -15296,8 +15336,12 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1529615336 if (![dict[@"typeof"] isKindOfClass:NSDictionary.class]) return nil;
1529715337 if (![dict[@"union"] isKindOfClass:NSDictionary.class]) return nil;
1529815338 if (![dict[@"unsigned"] isKindOfClass:NSDictionary.class]) return nil;
15339+ if (![dict[@"sealed"] isKindOfClass:NSDictionary.class]) return nil;
15340+ if (![dict[@"SEL"] isKindOfClass:NSDictionary.class]) return nil;
15341+ if (![dict[@"select"] isKindOfClass:NSDictionary.class]) return nil;
1529915342 if (![dict[@"Self"] isKindOfClass:NSDictionary.class]) return nil;
1530015343 if (![dict[@"Sendable"] isKindOfClass:NSDictionary.class]) return nil;
15344+ if (![dict[@"SerializationFeature"] isKindOfClass:NSDictionary.class]) return nil;
1530115345 if (![dict[@"serialize"] isKindOfClass:NSDictionary.class]) return nil;
1530215346 if (![dict[@"SerializerProvider"] isKindOfClass:NSDictionary.class]) return nil;
1530315347 if (![dict[@"set"] isKindOfClass:NSDictionary.class]) return nil;
@@ -15343,10 +15387,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1534315387 if (![dict[@"ushort"] isKindOfClass:NSDictionary.class]) return nil;
1534415388 if (![dict[@"using"] isKindOfClass:NSDictionary.class]) return nil;
1534515389 if (![dict[@"Utf8JsonReader"] isKindOfClass:NSDictionary.class]) return nil;
15346- if (![dict[@"Utf8JsonWriter"] isKindOfClass:NSDictionary.class]) return nil;
15347- if (![dict[@"UUID"] isKindOfClass:NSDictionary.class]) return nil;
15348- if (![dict[@"var"] isKindOfClass:NSDictionary.class]) return nil;
15349- if (![dict[@"virtual"] isKindOfClass:NSDictionary.class]) return nil;
1535015390 [self setValuesForKeysWithDictionary:dict];
1535115391 _obj5Self = [QTSelfClass fromJSONDictionary:(id)_obj5Self];
1535215392 if (!_obj5Self && dict[@"self"] && ![dict[@"self"] isKindOfClass:NSNull.class]) return nil;
@@ -15374,10 +15414,18 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1537415414 if (!_obj5Union && dict[@"union"] && ![dict[@"union"] isKindOfClass:NSNull.class]) return nil;
1537515415 _obj5Unsigned = [QTUnsigned fromJSONDictionary:(id)_obj5Unsigned];
1537615416 if (!_obj5Unsigned && dict[@"unsigned"] && ![dict[@"unsigned"] isKindOfClass:NSNull.class]) return nil;
15417+ _sealed = [QTSealed fromJSONDictionary:(id)_sealed];
15418+ if (!_sealed && dict[@"sealed"] && ![dict[@"sealed"] isKindOfClass:NSNull.class]) return nil;
15419+ _sel = [QTSel fromJSONDictionary:(id)_sel];
15420+ if (!_sel && dict[@"SEL"] && ![dict[@"SEL"] isKindOfClass:NSNull.class]) return nil;
15421+ _select = [QTSelect fromJSONDictionary:(id)_select];
15422+ if (!_select && dict[@"select"] && ![dict[@"select"] isKindOfClass:NSNull.class]) return nil;
1537715423 _self = [QTSelf fromJSONDictionary:(id)_self];
1537815424 if (!_self && dict[@"Self"] && ![dict[@"Self"] isKindOfClass:NSNull.class]) return nil;
1537915425 _sendable = [QTSendable fromJSONDictionary:(id)_sendable];
1538015426 if (!_sendable && dict[@"Sendable"] && ![dict[@"Sendable"] isKindOfClass:NSNull.class]) return nil;
15427+ _serializationFeature = [QTSerializationFeature fromJSONDictionary:(id)_serializationFeature];
15428+ if (!_serializationFeature && dict[@"SerializationFeature"] && ![dict[@"SerializationFeature"] isKindOfClass:NSNull.class]) return nil;
1538115429 _serialize = [QTSerialize fromJSONDictionary:(id)_serialize];
1538215430 if (!_serialize && dict[@"serialize"] && ![dict[@"serialize"] isKindOfClass:NSNull.class]) return nil;
1538315431 _serializerProvider = [QTSerializerProvider fromJSONDictionary:(id)_serializerProvider];
@@ -15468,14 +15516,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1546815516 if (!_using && dict[@"using"] && ![dict[@"using"] isKindOfClass:NSNull.class]) return nil;
1546915517 _utf8JSONReader = [QTUtf8JSONReader fromJSONDictionary:(id)_utf8JSONReader];
1547015518 if (!_utf8JSONReader && dict[@"Utf8JsonReader"] && ![dict[@"Utf8JsonReader"] isKindOfClass:NSNull.class]) return nil;
15471- _utf8JSONWriter = [QTUtf8JSONWriter fromJSONDictionary:(id)_utf8JSONWriter];
15472- if (!_utf8JSONWriter && dict[@"Utf8JsonWriter"] && ![dict[@"Utf8JsonWriter"] isKindOfClass:NSNull.class]) return nil;
15473- _uuid = [QTUUID fromJSONDictionary:(id)_uuid];
15474- if (!_uuid && dict[@"UUID"] && ![dict[@"UUID"] isKindOfClass:NSNull.class]) return nil;
15475- _var = [QTVar fromJSONDictionary:(id)_var];
15476- if (!_var && dict[@"var"] && ![dict[@"var"] isKindOfClass:NSNull.class]) return nil;
15477- _virtual = [QTVirtual fromJSONDictionary:(id)_virtual];
15478- if (!_virtual && dict[@"virtual"] && ![dict[@"virtual"] isKindOfClass:NSNull.class]) return nil;
1547915519 }
1548015520 return self;
1548115521 }
@@ -15518,8 +15558,12 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1551815558 @"typeof": [_obj5Typeof JSONDictionary],
1551915559 @"union": [_obj5Union JSONDictionary],
1552015560 @"unsigned": [_obj5Unsigned JSONDictionary],
15561+ @"sealed": [_sealed JSONDictionary],
15562+ @"SEL": [_sel JSONDictionary],
15563+ @"select": [_select JSONDictionary],
1552115564 @"Self": [_self JSONDictionary],
1552215565 @"Sendable": [_sendable JSONDictionary],
15566+ @"SerializationFeature": [_serializationFeature JSONDictionary],
1552315567 @"serialize": [_serialize JSONDictionary],
1552415568 @"SerializerProvider": [_serializerProvider JSONDictionary],
1552515569 @"set": [_set JSONDictionary],
@@ -15565,10 +15609,6 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1556515609 @"ushort": [_ushort JSONDictionary],
1556615610 @"using": [_using JSONDictionary],
1556715611 @"Utf8JsonReader": [_utf8JSONReader JSONDictionary],
15568- @"Utf8JsonWriter": [_utf8JSONWriter JSONDictionary],
15569- @"UUID": [_uuid JSONDictionary],
15570- @"var": [_var JSONDictionary],
15571- @"virtual": [_virtual JSONDictionary],
1557215612 }];
1557315613
1557415614 return dict;
@@ -16231,25 +16271,25 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1623116271 }
1623216272 @end
1623316273
16234-@implementation QTSelf
16274+@implementation QTSealed
1623516275 + (NSDictionary<NSString *, NSString *> *)properties
1623616276 {
1623716277 static NSDictionary<NSString *, NSString *> *properties;
1623816278 return properties = properties ? properties : @{
16239- @"Self": @"self",
16279+ @"sealed": @"sealed",
1624016280 };
1624116281 }
1624216282
1624316283 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1624416284 {
16245- return [dict isKindOfClass:NSDictionary.class] ? [[QTSelf alloc] initWithJSONDictionary:dict] : nil;
16285+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSealed alloc] initWithJSONDictionary:dict] : nil;
1624616286 }
1624716287
1624816288 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1624916289 {
1625016290 if (self = [super init]) {
16251- if (![dict[@"Self"] isKindOfClass:NSNumber.class]) return nil;
16252- if ([dict[@"Self"] doubleValue] != [dict[@"Self"] longLongValue]) return nil;
16291+ if (![dict[@"sealed"] isKindOfClass:NSNumber.class]) return nil;
16292+ if ([dict[@"sealed"] doubleValue] != [dict[@"sealed"] longLongValue]) return nil;
1625316293 [self setValuesForKeysWithDictionary:dict];
1625416294 }
1625516295 return self;
@@ -16257,51 +16297,41 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1625716297
1625816298 - (void)setValue:(nullable id)value forKey:(NSString *)key
1625916299 {
16260- id resolved = QTSelf.properties[key];
16300+ id resolved = QTSealed.properties[key];
1626116301 if (resolved) [super setValue:value forKey:resolved];
1626216302 }
1626316303
1626416304 - (void)setNilValueForKey:(NSString *)key
1626516305 {
16266- id resolved = QTSelf.properties[key];
16306+ id resolved = QTSealed.properties[key];
1626716307 if (resolved) [super setValue:@(0) forKey:resolved];
1626816308 }
1626916309
1627016310 - (NSDictionary *)JSONDictionary
1627116311 {
16272- id dict = [[self dictionaryWithValuesForKeys:QTSelf.properties.allValues] mutableCopy];
16273-
16274- for (id jsonName in QTSelf.properties) {
16275- id propertyName = QTSelf.properties[jsonName];
16276- if (![jsonName isEqualToString:propertyName]) {
16277- dict[jsonName] = dict[propertyName];
16278- [dict removeObjectForKey:propertyName];
16279- }
16280- }
16281-
16282- return dict;
16312+ return [self dictionaryWithValuesForKeys:QTSealed.properties.allValues];
1628316313 }
1628416314 @end
1628516315
16286-@implementation QTSendable
16316+@implementation QTSel
1628716317 + (NSDictionary<NSString *, NSString *> *)properties
1628816318 {
1628916319 static NSDictionary<NSString *, NSString *> *properties;
1629016320 return properties = properties ? properties : @{
16291- @"Sendable": @"sendable",
16321+ @"SEL": @"sel",
1629216322 };
1629316323 }
1629416324
1629516325 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1629616326 {
16297- return [dict isKindOfClass:NSDictionary.class] ? [[QTSendable alloc] initWithJSONDictionary:dict] : nil;
16327+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSel alloc] initWithJSONDictionary:dict] : nil;
1629816328 }
1629916329
1630016330 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1630116331 {
1630216332 if (self = [super init]) {
16303- if (![dict[@"Sendable"] isKindOfClass:NSNumber.class]) return nil;
16304- if ([dict[@"Sendable"] doubleValue] != [dict[@"Sendable"] longLongValue]) return nil;
16333+ if (![dict[@"SEL"] isKindOfClass:NSNumber.class]) return nil;
16334+ if ([dict[@"SEL"] doubleValue] != [dict[@"SEL"] longLongValue]) return nil;
1630516335 [self setValuesForKeysWithDictionary:dict];
1630616336 }
1630716337 return self;
@@ -16309,22 +16339,22 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1630916339
1631016340 - (void)setValue:(nullable id)value forKey:(NSString *)key
1631116341 {
16312- id resolved = QTSendable.properties[key];
16342+ id resolved = QTSel.properties[key];
1631316343 if (resolved) [super setValue:value forKey:resolved];
1631416344 }
1631516345
1631616346 - (void)setNilValueForKey:(NSString *)key
1631716347 {
16318- id resolved = QTSendable.properties[key];
16348+ id resolved = QTSel.properties[key];
1631916349 if (resolved) [super setValue:@(0) forKey:resolved];
1632016350 }
1632116351
1632216352 - (NSDictionary *)JSONDictionary
1632316353 {
16324- id dict = [[self dictionaryWithValuesForKeys:QTSendable.properties.allValues] mutableCopy];
16354+ id dict = [[self dictionaryWithValuesForKeys:QTSel.properties.allValues] mutableCopy];
1632516355
16326- for (id jsonName in QTSendable.properties) {
16327- id propertyName = QTSendable.properties[jsonName];
16356+ for (id jsonName in QTSel.properties) {
16357+ id propertyName = QTSel.properties[jsonName];
1632816358 if (![jsonName isEqualToString:propertyName]) {
1632916359 dict[jsonName] = dict[propertyName];
1633016360 [dict removeObjectForKey:propertyName];
@@ -16335,25 +16365,25 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1633516365 }
1633616366 @end
1633716367
16338-@implementation QTSerialize
16368+@implementation QTSelect
1633916369 + (NSDictionary<NSString *, NSString *> *)properties
1634016370 {
1634116371 static NSDictionary<NSString *, NSString *> *properties;
1634216372 return properties = properties ? properties : @{
16343- @"serialize": @"serialize",
16373+ @"select": @"select",
1634416374 };
1634516375 }
1634616376
1634716377 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1634816378 {
16349- return [dict isKindOfClass:NSDictionary.class] ? [[QTSerialize alloc] initWithJSONDictionary:dict] : nil;
16379+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSelect alloc] initWithJSONDictionary:dict] : nil;
1635016380 }
1635116381
1635216382 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1635316383 {
1635416384 if (self = [super init]) {
16355- if (![dict[@"serialize"] isKindOfClass:NSNumber.class]) return nil;
16356- if ([dict[@"serialize"] doubleValue] != [dict[@"serialize"] longLongValue]) return nil;
16385+ if (![dict[@"select"] isKindOfClass:NSNumber.class]) return nil;
16386+ if ([dict[@"select"] doubleValue] != [dict[@"select"] longLongValue]) return nil;
1635716387 [self setValuesForKeysWithDictionary:dict];
1635816388 }
1635916389 return self;
@@ -16361,41 +16391,41 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1636116391
1636216392 - (void)setValue:(nullable id)value forKey:(NSString *)key
1636316393 {
16364- id resolved = QTSerialize.properties[key];
16394+ id resolved = QTSelect.properties[key];
1636516395 if (resolved) [super setValue:value forKey:resolved];
1636616396 }
1636716397
1636816398 - (void)setNilValueForKey:(NSString *)key
1636916399 {
16370- id resolved = QTSerialize.properties[key];
16400+ id resolved = QTSelect.properties[key];
1637116401 if (resolved) [super setValue:@(0) forKey:resolved];
1637216402 }
1637316403
1637416404 - (NSDictionary *)JSONDictionary
1637516405 {
16376- return [self dictionaryWithValuesForKeys:QTSerialize.properties.allValues];
16406+ return [self dictionaryWithValuesForKeys:QTSelect.properties.allValues];
1637716407 }
1637816408 @end
1637916409
16380-@implementation QTSerializerProvider
16410+@implementation QTSelf
1638116411 + (NSDictionary<NSString *, NSString *> *)properties
1638216412 {
1638316413 static NSDictionary<NSString *, NSString *> *properties;
1638416414 return properties = properties ? properties : @{
16385- @"SerializerProvider": @"serializerProvider",
16415+ @"Self": @"self",
1638616416 };
1638716417 }
1638816418
1638916419 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1639016420 {
16391- return [dict isKindOfClass:NSDictionary.class] ? [[QTSerializerProvider alloc] initWithJSONDictionary:dict] : nil;
16421+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSelf alloc] initWithJSONDictionary:dict] : nil;
1639216422 }
1639316423
1639416424 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1639516425 {
1639616426 if (self = [super init]) {
16397- if (![dict[@"SerializerProvider"] isKindOfClass:NSNumber.class]) return nil;
16398- if ([dict[@"SerializerProvider"] doubleValue] != [dict[@"SerializerProvider"] longLongValue]) return nil;
16427+ if (![dict[@"Self"] isKindOfClass:NSNumber.class]) return nil;
16428+ if ([dict[@"Self"] doubleValue] != [dict[@"Self"] longLongValue]) return nil;
1639916429 [self setValuesForKeysWithDictionary:dict];
1640016430 }
1640116431 return self;
@@ -16403,22 +16433,220 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1640316433
1640416434 - (void)setValue:(nullable id)value forKey:(NSString *)key
1640516435 {
16406- id resolved = QTSerializerProvider.properties[key];
16436+ id resolved = QTSelf.properties[key];
1640716437 if (resolved) [super setValue:value forKey:resolved];
1640816438 }
1640916439
1641016440 - (void)setNilValueForKey:(NSString *)key
1641116441 {
16412- id resolved = QTSerializerProvider.properties[key];
16442+ id resolved = QTSelf.properties[key];
1641316443 if (resolved) [super setValue:@(0) forKey:resolved];
1641416444 }
1641516445
1641616446 - (NSDictionary *)JSONDictionary
1641716447 {
16418- id dict = [[self dictionaryWithValuesForKeys:QTSerializerProvider.properties.allValues] mutableCopy];
16448+ id dict = [[self dictionaryWithValuesForKeys:QTSelf.properties.allValues] mutableCopy];
1641916449
16420- for (id jsonName in QTSerializerProvider.properties) {
16421- id propertyName = QTSerializerProvider.properties[jsonName];
16450+ for (id jsonName in QTSelf.properties) {
16451+ id propertyName = QTSelf.properties[jsonName];
16452+ if (![jsonName isEqualToString:propertyName]) {
16453+ dict[jsonName] = dict[propertyName];
16454+ [dict removeObjectForKey:propertyName];
16455+ }
16456+ }
16457+
16458+ return dict;
16459+}
16460+@end
16461+
16462+@implementation QTSendable
16463++ (NSDictionary<NSString *, NSString *> *)properties
16464+{
16465+ static NSDictionary<NSString *, NSString *> *properties;
16466+ return properties = properties ? properties : @{
16467+ @"Sendable": @"sendable",
16468+ };
16469+}
16470+
16471++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
16472+{
16473+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSendable alloc] initWithJSONDictionary:dict] : nil;
16474+}
16475+
16476+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
16477+{
16478+ if (self = [super init]) {
16479+ if (![dict[@"Sendable"] isKindOfClass:NSNumber.class]) return nil;
16480+ if ([dict[@"Sendable"] doubleValue] != [dict[@"Sendable"] longLongValue]) return nil;
16481+ [self setValuesForKeysWithDictionary:dict];
16482+ }
16483+ return self;
16484+}
16485+
16486+- (void)setValue:(nullable id)value forKey:(NSString *)key
16487+{
16488+ id resolved = QTSendable.properties[key];
16489+ if (resolved) [super setValue:value forKey:resolved];
16490+}
16491+
16492+- (void)setNilValueForKey:(NSString *)key
16493+{
16494+ id resolved = QTSendable.properties[key];
16495+ if (resolved) [super setValue:@(0) forKey:resolved];
16496+}
16497+
16498+- (NSDictionary *)JSONDictionary
16499+{
16500+ id dict = [[self dictionaryWithValuesForKeys:QTSendable.properties.allValues] mutableCopy];
16501+
16502+ for (id jsonName in QTSendable.properties) {
16503+ id propertyName = QTSendable.properties[jsonName];
16504+ if (![jsonName isEqualToString:propertyName]) {
16505+ dict[jsonName] = dict[propertyName];
16506+ [dict removeObjectForKey:propertyName];
16507+ }
16508+ }
16509+
16510+ return dict;
16511+}
16512+@end
16513+
16514+@implementation QTSerializationFeature
16515++ (NSDictionary<NSString *, NSString *> *)properties
16516+{
16517+ static NSDictionary<NSString *, NSString *> *properties;
16518+ return properties = properties ? properties : @{
16519+ @"SerializationFeature": @"serializationFeature",
16520+ };
16521+}
16522+
16523++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
16524+{
16525+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSerializationFeature alloc] initWithJSONDictionary:dict] : nil;
16526+}
16527+
16528+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
16529+{
16530+ if (self = [super init]) {
16531+ if (![dict[@"SerializationFeature"] isKindOfClass:NSNumber.class]) return nil;
16532+ if ([dict[@"SerializationFeature"] doubleValue] != [dict[@"SerializationFeature"] longLongValue]) return nil;
16533+ [self setValuesForKeysWithDictionary:dict];
16534+ }
16535+ return self;
16536+}
16537+
16538+- (void)setValue:(nullable id)value forKey:(NSString *)key
16539+{
16540+ id resolved = QTSerializationFeature.properties[key];
16541+ if (resolved) [super setValue:value forKey:resolved];
16542+}
16543+
16544+- (void)setNilValueForKey:(NSString *)key
16545+{
16546+ id resolved = QTSerializationFeature.properties[key];
16547+ if (resolved) [super setValue:@(0) forKey:resolved];
16548+}
16549+
16550+- (NSDictionary *)JSONDictionary
16551+{
16552+ id dict = [[self dictionaryWithValuesForKeys:QTSerializationFeature.properties.allValues] mutableCopy];
16553+
16554+ for (id jsonName in QTSerializationFeature.properties) {
16555+ id propertyName = QTSerializationFeature.properties[jsonName];
16556+ if (![jsonName isEqualToString:propertyName]) {
16557+ dict[jsonName] = dict[propertyName];
16558+ [dict removeObjectForKey:propertyName];
16559+ }
16560+ }
16561+
16562+ return dict;
16563+}
16564+@end
16565+
16566+@implementation QTSerialize
16567++ (NSDictionary<NSString *, NSString *> *)properties
16568+{
16569+ static NSDictionary<NSString *, NSString *> *properties;
16570+ return properties = properties ? properties : @{
16571+ @"serialize": @"serialize",
16572+ };
16573+}
16574+
16575++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
16576+{
16577+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSerialize alloc] initWithJSONDictionary:dict] : nil;
16578+}
16579+
16580+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
16581+{
16582+ if (self = [super init]) {
16583+ if (![dict[@"serialize"] isKindOfClass:NSNumber.class]) return nil;
16584+ if ([dict[@"serialize"] doubleValue] != [dict[@"serialize"] longLongValue]) return nil;
16585+ [self setValuesForKeysWithDictionary:dict];
16586+ }
16587+ return self;
16588+}
16589+
16590+- (void)setValue:(nullable id)value forKey:(NSString *)key
16591+{
16592+ id resolved = QTSerialize.properties[key];
16593+ if (resolved) [super setValue:value forKey:resolved];
16594+}
16595+
16596+- (void)setNilValueForKey:(NSString *)key
16597+{
16598+ id resolved = QTSerialize.properties[key];
16599+ if (resolved) [super setValue:@(0) forKey:resolved];
16600+}
16601+
16602+- (NSDictionary *)JSONDictionary
16603+{
16604+ return [self dictionaryWithValuesForKeys:QTSerialize.properties.allValues];
16605+}
16606+@end
16607+
16608+@implementation QTSerializerProvider
16609++ (NSDictionary<NSString *, NSString *> *)properties
16610+{
16611+ static NSDictionary<NSString *, NSString *> *properties;
16612+ return properties = properties ? properties : @{
16613+ @"SerializerProvider": @"serializerProvider",
16614+ };
16615+}
16616+
16617++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
16618+{
16619+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSerializerProvider alloc] initWithJSONDictionary:dict] : nil;
16620+}
16621+
16622+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
16623+{
16624+ if (self = [super init]) {
16625+ if (![dict[@"SerializerProvider"] isKindOfClass:NSNumber.class]) return nil;
16626+ if ([dict[@"SerializerProvider"] doubleValue] != [dict[@"SerializerProvider"] longLongValue]) return nil;
16627+ [self setValuesForKeysWithDictionary:dict];
16628+ }
16629+ return self;
16630+}
16631+
16632+- (void)setValue:(nullable id)value forKey:(NSString *)key
16633+{
16634+ id resolved = QTSerializerProvider.properties[key];
16635+ if (resolved) [super setValue:value forKey:resolved];
16636+}
16637+
16638+- (void)setNilValueForKey:(NSString *)key
16639+{
16640+ id resolved = QTSerializerProvider.properties[key];
16641+ if (resolved) [super setValue:@(0) forKey:resolved];
16642+}
16643+
16644+- (NSDictionary *)JSONDictionary
16645+{
16646+ id dict = [[self dictionaryWithValuesForKeys:QTSerializerProvider.properties.allValues] mutableCopy];
16647+
16648+ for (id jsonName in QTSerializerProvider.properties) {
16649+ id propertyName = QTSerializerProvider.properties[jsonName];
1642216650 if (![jsonName isEqualToString:propertyName]) {
1642316651 dict[jsonName] = dict[propertyName];
1642416652 [dict removeObjectForKey:propertyName];
@@ -18385,77 +18613,160 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1838518613 }
1838618614 @end
1838718615
18388-@implementation QTUtf8JSONWriter
18616+@implementation QTObj6
1838918617 + (NSDictionary<NSString *, NSString *> *)properties
1839018618 {
1839118619 static NSDictionary<NSString *, NSString *> *properties;
1839218620 return properties = properties ? properties : @{
18621+ @"dummy": @"dummy",
18622+ @"void": @"obj6Void",
18623+ @"volatile": @"obj6Volatile",
18624+ @"while": @"obj6While",
1839318625 @"Utf8JsonWriter": @"utf8JSONWriter",
18626+ @"UUID": @"uuid",
18627+ @"var": @"var",
18628+ @"virtual": @"virtual",
18629+ @"wchar_t": @"wcharT",
18630+ @"weak": @"weak",
18631+ @"where": @"where",
18632+ @"willSet": @"willSet",
18633+ @"with": @"with",
18634+ @"xor": @"xor",
18635+ @"xor_eq": @"xorEq",
18636+ @"YES": @"yes",
18637+ @"yield": @"yield",
1839418638 };
1839518639 }
1839618640
1839718641 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1839818642 {
18399- return [dict isKindOfClass:NSDictionary.class] ? [[QTUtf8JSONWriter alloc] initWithJSONDictionary:dict] : nil;
18643+ return [dict isKindOfClass:NSDictionary.class] ? [[QTObj6 alloc] initWithJSONDictionary:dict] : nil;
1840018644 }
1840118645
1840218646 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1840318647 {
1840418648 if (self = [super init]) {
18405- if (![dict[@"Utf8JsonWriter"] isKindOfClass:NSNumber.class]) return nil;
18406- if ([dict[@"Utf8JsonWriter"] doubleValue] != [dict[@"Utf8JsonWriter"] longLongValue]) return nil;
18649+ if (![dict[@"dummy"] isKindOfClass:NSNumber.class]) return nil;
18650+ if ([dict[@"dummy"] doubleValue] != [dict[@"dummy"] longLongValue]) return nil;
18651+ if (![dict[@"void"] isKindOfClass:NSDictionary.class]) return nil;
18652+ if (![dict[@"volatile"] isKindOfClass:NSDictionary.class]) return nil;
18653+ if (![dict[@"while"] isKindOfClass:NSDictionary.class]) return nil;
18654+ if (![dict[@"Utf8JsonWriter"] isKindOfClass:NSDictionary.class]) return nil;
18655+ if (![dict[@"UUID"] isKindOfClass:NSDictionary.class]) return nil;
18656+ if (![dict[@"var"] isKindOfClass:NSDictionary.class]) return nil;
18657+ if (![dict[@"virtual"] isKindOfClass:NSDictionary.class]) return nil;
18658+ if (![dict[@"wchar_t"] isKindOfClass:NSDictionary.class]) return nil;
18659+ if (![dict[@"weak"] isKindOfClass:NSDictionary.class]) return nil;
18660+ if (![dict[@"where"] isKindOfClass:NSDictionary.class]) return nil;
18661+ if (![dict[@"willSet"] isKindOfClass:NSDictionary.class]) return nil;
18662+ if (![dict[@"with"] isKindOfClass:NSDictionary.class]) return nil;
18663+ if (![dict[@"xor"] isKindOfClass:NSDictionary.class]) return nil;
18664+ if (![dict[@"xor_eq"] isKindOfClass:NSDictionary.class]) return nil;
18665+ if (![dict[@"YES"] isKindOfClass:NSDictionary.class]) return nil;
18666+ if (![dict[@"yield"] isKindOfClass:NSDictionary.class]) return nil;
1840718667 [self setValuesForKeysWithDictionary:dict];
18668+ _obj6Void = [QTVoid fromJSONDictionary:(id)_obj6Void];
18669+ if (!_obj6Void && dict[@"void"] && ![dict[@"void"] isKindOfClass:NSNull.class]) return nil;
18670+ _obj6Volatile = [QTVolatile fromJSONDictionary:(id)_obj6Volatile];
18671+ if (!_obj6Volatile && dict[@"volatile"] && ![dict[@"volatile"] isKindOfClass:NSNull.class]) return nil;
18672+ _obj6While = [QTWhile fromJSONDictionary:(id)_obj6While];
18673+ if (!_obj6While && dict[@"while"] && ![dict[@"while"] isKindOfClass:NSNull.class]) return nil;
18674+ _utf8JSONWriter = [QTUtf8JSONWriter fromJSONDictionary:(id)_utf8JSONWriter];
18675+ if (!_utf8JSONWriter && dict[@"Utf8JsonWriter"] && ![dict[@"Utf8JsonWriter"] isKindOfClass:NSNull.class]) return nil;
18676+ _uuid = [QTUUID fromJSONDictionary:(id)_uuid];
18677+ if (!_uuid && dict[@"UUID"] && ![dict[@"UUID"] isKindOfClass:NSNull.class]) return nil;
18678+ _var = [QTVar fromJSONDictionary:(id)_var];
18679+ if (!_var && dict[@"var"] && ![dict[@"var"] isKindOfClass:NSNull.class]) return nil;
18680+ _virtual = [QTVirtual fromJSONDictionary:(id)_virtual];
18681+ if (!_virtual && dict[@"virtual"] && ![dict[@"virtual"] isKindOfClass:NSNull.class]) return nil;
18682+ _wcharT = [QTWcharT fromJSONDictionary:(id)_wcharT];
18683+ if (!_wcharT && dict[@"wchar_t"] && ![dict[@"wchar_t"] isKindOfClass:NSNull.class]) return nil;
18684+ _weak = [QTWeak fromJSONDictionary:(id)_weak];
18685+ if (!_weak && dict[@"weak"] && ![dict[@"weak"] isKindOfClass:NSNull.class]) return nil;
18686+ _where = [QTWhere fromJSONDictionary:(id)_where];
18687+ if (!_where && dict[@"where"] && ![dict[@"where"] isKindOfClass:NSNull.class]) return nil;
18688+ _willSet = [QTWillSet fromJSONDictionary:(id)_willSet];
18689+ if (!_willSet && dict[@"willSet"] && ![dict[@"willSet"] isKindOfClass:NSNull.class]) return nil;
18690+ _with = [QTWith fromJSONDictionary:(id)_with];
18691+ if (!_with && dict[@"with"] && ![dict[@"with"] isKindOfClass:NSNull.class]) return nil;
18692+ _xor = [QTXor fromJSONDictionary:(id)_xor];
18693+ if (!_xor && dict[@"xor"] && ![dict[@"xor"] isKindOfClass:NSNull.class]) return nil;
18694+ _xorEq = [QTXorEq fromJSONDictionary:(id)_xorEq];
18695+ if (!_xorEq && dict[@"xor_eq"] && ![dict[@"xor_eq"] isKindOfClass:NSNull.class]) return nil;
18696+ _yes = [QTYes fromJSONDictionary:(id)_yes];
18697+ if (!_yes && dict[@"YES"] && ![dict[@"YES"] isKindOfClass:NSNull.class]) return nil;
18698+ _yield = [QTYield fromJSONDictionary:(id)_yield];
18699+ if (!_yield && dict[@"yield"] && ![dict[@"yield"] isKindOfClass:NSNull.class]) return nil;
18700+ }
18701+ return self;
18702+}
18703+
18704+- (void)setValue:(nullable id)value forKey:(NSString *)key
18705+{
18706+ id resolved = QTObj6.properties[key];
18707+ if (resolved) [super setValue:value forKey:resolved];
18708+}
18709+
18710+- (void)setNilValueForKey:(NSString *)key
18711+{
18712+ id resolved = QTObj6.properties[key];
18713+ if (resolved) [super setValue:@(0) forKey:resolved];
18714+}
18715+
18716+- (NSDictionary *)JSONDictionary
18717+{
18718+ id dict = [[self dictionaryWithValuesForKeys:QTObj6.properties.allValues] mutableCopy];
18719+
18720+ for (id jsonName in QTObj6.properties) {
18721+ id propertyName = QTObj6.properties[jsonName];
18722+ if (![jsonName isEqualToString:propertyName]) {
18723+ dict[jsonName] = dict[propertyName];
18724+ [dict removeObjectForKey:propertyName];
18725+ }
1840818726 }
18409- return self;
18410-}
18411-
18412-- (void)setValue:(nullable id)value forKey:(NSString *)key
18413-{
18414- id resolved = QTUtf8JSONWriter.properties[key];
18415- if (resolved) [super setValue:value forKey:resolved];
18416-}
18417-
18418-- (void)setNilValueForKey:(NSString *)key
18419-{
18420- id resolved = QTUtf8JSONWriter.properties[key];
18421- if (resolved) [super setValue:@(0) forKey:resolved];
18422-}
18423-
18424-- (NSDictionary *)JSONDictionary
18425-{
18426- id dict = [[self dictionaryWithValuesForKeys:QTUtf8JSONWriter.properties.allValues] mutableCopy];
18427-
18428- for (id jsonName in QTUtf8JSONWriter.properties) {
18429- id propertyName = QTUtf8JSONWriter.properties[jsonName];
18430- if (![jsonName isEqualToString:propertyName]) {
18431- dict[jsonName] = dict[propertyName];
18432- [dict removeObjectForKey:propertyName];
18433- }
18434- }
18727+
18728+ [dict addEntriesFromDictionary:@{
18729+ @"void": [_obj6Void JSONDictionary],
18730+ @"volatile": [_obj6Volatile JSONDictionary],
18731+ @"while": [_obj6While JSONDictionary],
18732+ @"Utf8JsonWriter": [_utf8JSONWriter JSONDictionary],
18733+ @"UUID": [_uuid JSONDictionary],
18734+ @"var": [_var JSONDictionary],
18735+ @"virtual": [_virtual JSONDictionary],
18736+ @"wchar_t": [_wcharT JSONDictionary],
18737+ @"weak": [_weak JSONDictionary],
18738+ @"where": [_where JSONDictionary],
18739+ @"willSet": [_willSet JSONDictionary],
18740+ @"with": [_with JSONDictionary],
18741+ @"xor": [_xor JSONDictionary],
18742+ @"xor_eq": [_xorEq JSONDictionary],
18743+ @"YES": [_yes JSONDictionary],
18744+ @"yield": [_yield JSONDictionary],
18745+ }];
1843518746
1843618747 return dict;
1843718748 }
1843818749 @end
1843918750
18440-@implementation QTUUID
18751+@implementation QTVoid
1844118752 + (NSDictionary<NSString *, NSString *> *)properties
1844218753 {
1844318754 static NSDictionary<NSString *, NSString *> *properties;
1844418755 return properties = properties ? properties : @{
18445- @"UUID": @"uuid",
18756+ @"void": @"voidVoid",
1844618757 };
1844718758 }
1844818759
1844918760 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1845018761 {
18451- return [dict isKindOfClass:NSDictionary.class] ? [[QTUUID alloc] initWithJSONDictionary:dict] : nil;
18762+ return [dict isKindOfClass:NSDictionary.class] ? [[QTVoid alloc] initWithJSONDictionary:dict] : nil;
1845218763 }
1845318764
1845418765 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1845518766 {
1845618767 if (self = [super init]) {
18457- if (![dict[@"UUID"] isKindOfClass:NSNumber.class]) return nil;
18458- if ([dict[@"UUID"] doubleValue] != [dict[@"UUID"] longLongValue]) return nil;
18768+ if (![dict[@"void"] isKindOfClass:NSNumber.class]) return nil;
18769+ if ([dict[@"void"] doubleValue] != [dict[@"void"] longLongValue]) return nil;
1845918770 [self setValuesForKeysWithDictionary:dict];
1846018771 }
1846118772 return self;
@@ -18463,22 +18774,22 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1846318774
1846418775 - (void)setValue:(nullable id)value forKey:(NSString *)key
1846518776 {
18466- id resolved = QTUUID.properties[key];
18777+ id resolved = QTVoid.properties[key];
1846718778 if (resolved) [super setValue:value forKey:resolved];
1846818779 }
1846918780
1847018781 - (void)setNilValueForKey:(NSString *)key
1847118782 {
18472- id resolved = QTUUID.properties[key];
18783+ id resolved = QTVoid.properties[key];
1847318784 if (resolved) [super setValue:@(0) forKey:resolved];
1847418785 }
1847518786
1847618787 - (NSDictionary *)JSONDictionary
1847718788 {
18478- id dict = [[self dictionaryWithValuesForKeys:QTUUID.properties.allValues] mutableCopy];
18789+ id dict = [[self dictionaryWithValuesForKeys:QTVoid.properties.allValues] mutableCopy];
1847918790
18480- for (id jsonName in QTUUID.properties) {
18481- id propertyName = QTUUID.properties[jsonName];
18791+ for (id jsonName in QTVoid.properties) {
18792+ id propertyName = QTVoid.properties[jsonName];
1848218793 if (![jsonName isEqualToString:propertyName]) {
1848318794 dict[jsonName] = dict[propertyName];
1848418795 [dict removeObjectForKey:propertyName];
@@ -18489,25 +18800,25 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1848918800 }
1849018801 @end
1849118802
18492-@implementation QTVar
18803+@implementation QTVolatile
1849318804 + (NSDictionary<NSString *, NSString *> *)properties
1849418805 {
1849518806 static NSDictionary<NSString *, NSString *> *properties;
1849618807 return properties = properties ? properties : @{
18497- @"var": @"var",
18808+ @"volatile": @"volatileVolatile",
1849818809 };
1849918810 }
1850018811
1850118812 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1850218813 {
18503- return [dict isKindOfClass:NSDictionary.class] ? [[QTVar alloc] initWithJSONDictionary:dict] : nil;
18814+ return [dict isKindOfClass:NSDictionary.class] ? [[QTVolatile alloc] initWithJSONDictionary:dict] : nil;
1850418815 }
1850518816
1850618817 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1850718818 {
1850818819 if (self = [super init]) {
18509- if (![dict[@"var"] isKindOfClass:NSNumber.class]) return nil;
18510- if ([dict[@"var"] doubleValue] != [dict[@"var"] longLongValue]) return nil;
18820+ if (![dict[@"volatile"] isKindOfClass:NSNumber.class]) return nil;
18821+ if ([dict[@"volatile"] doubleValue] != [dict[@"volatile"] longLongValue]) return nil;
1851118822 [self setValuesForKeysWithDictionary:dict];
1851218823 }
1851318824 return self;
@@ -18515,41 +18826,51 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1851518826
1851618827 - (void)setValue:(nullable id)value forKey:(NSString *)key
1851718828 {
18518- id resolved = QTVar.properties[key];
18829+ id resolved = QTVolatile.properties[key];
1851918830 if (resolved) [super setValue:value forKey:resolved];
1852018831 }
1852118832
1852218833 - (void)setNilValueForKey:(NSString *)key
1852318834 {
18524- id resolved = QTVar.properties[key];
18835+ id resolved = QTVolatile.properties[key];
1852518836 if (resolved) [super setValue:@(0) forKey:resolved];
1852618837 }
1852718838
1852818839 - (NSDictionary *)JSONDictionary
1852918840 {
18530- return [self dictionaryWithValuesForKeys:QTVar.properties.allValues];
18841+ id dict = [[self dictionaryWithValuesForKeys:QTVolatile.properties.allValues] mutableCopy];
18842+
18843+ for (id jsonName in QTVolatile.properties) {
18844+ id propertyName = QTVolatile.properties[jsonName];
18845+ if (![jsonName isEqualToString:propertyName]) {
18846+ dict[jsonName] = dict[propertyName];
18847+ [dict removeObjectForKey:propertyName];
18848+ }
18849+ }
18850+
18851+ return dict;
1853118852 }
1853218853 @end
1853318854
18534-@implementation QTVirtual
18855+@implementation QTWhile
1853518856 + (NSDictionary<NSString *, NSString *> *)properties
1853618857 {
1853718858 static NSDictionary<NSString *, NSString *> *properties;
1853818859 return properties = properties ? properties : @{
18539- @"virtual": @"virtual",
18860+ @"while": @"whileWhile",
1854018861 };
1854118862 }
1854218863
1854318864 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1854418865 {
18545- return [dict isKindOfClass:NSDictionary.class] ? [[QTVirtual alloc] initWithJSONDictionary:dict] : nil;
18866+ return [dict isKindOfClass:NSDictionary.class] ? [[QTWhile alloc] initWithJSONDictionary:dict] : nil;
1854618867 }
1854718868
1854818869 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1854918870 {
1855018871 if (self = [super init]) {
18551- if (![dict[@"virtual"] isKindOfClass:NSNumber.class]) return nil;
18552- if ([dict[@"virtual"] doubleValue] != [dict[@"virtual"] longLongValue]) return nil;
18872+ if (![dict[@"while"] isKindOfClass:NSNumber.class]) return nil;
18873+ if ([dict[@"while"] doubleValue] != [dict[@"while"] longLongValue]) return nil;
1855318874 [self setValuesForKeysWithDictionary:dict];
1855418875 }
1855518876 return self;
@@ -18557,156 +18878,103 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1855718878
1855818879 - (void)setValue:(nullable id)value forKey:(NSString *)key
1855918880 {
18560- id resolved = QTVirtual.properties[key];
18881+ id resolved = QTWhile.properties[key];
1856118882 if (resolved) [super setValue:value forKey:resolved];
1856218883 }
1856318884
1856418885 - (void)setNilValueForKey:(NSString *)key
1856518886 {
18566- id resolved = QTVirtual.properties[key];
18887+ id resolved = QTWhile.properties[key];
1856718888 if (resolved) [super setValue:@(0) forKey:resolved];
1856818889 }
1856918890
1857018891 - (NSDictionary *)JSONDictionary
1857118892 {
18572- return [self dictionaryWithValuesForKeys:QTVirtual.properties.allValues];
18893+ id dict = [[self dictionaryWithValuesForKeys:QTWhile.properties.allValues] mutableCopy];
18894+
18895+ for (id jsonName in QTWhile.properties) {
18896+ id propertyName = QTWhile.properties[jsonName];
18897+ if (![jsonName isEqualToString:propertyName]) {
18898+ dict[jsonName] = dict[propertyName];
18899+ [dict removeObjectForKey:propertyName];
18900+ }
18901+ }
18902+
18903+ return dict;
1857318904 }
1857418905 @end
1857518906
18576-@implementation QTObj6
18907+@implementation QTUtf8JSONWriter
1857718908 + (NSDictionary<NSString *, NSString *> *)properties
1857818909 {
1857918910 static NSDictionary<NSString *, NSString *> *properties;
1858018911 return properties = properties ? properties : @{
18581- @"dummy": @"dummy",
18582- @"void": @"obj6Void",
18583- @"volatile": @"obj6Volatile",
18584- @"while": @"obj6While",
18585- @"wchar_t": @"wcharT",
18586- @"weak": @"weak",
18587- @"where": @"where",
18588- @"willSet": @"willSet",
18589- @"with": @"with",
18590- @"xor": @"xor",
18591- @"xor_eq": @"xorEq",
18592- @"YES": @"yes",
18593- @"yield": @"yield",
18912+ @"Utf8JsonWriter": @"utf8JSONWriter",
1859418913 };
1859518914 }
1859618915
1859718916 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1859818917 {
18599- return [dict isKindOfClass:NSDictionary.class] ? [[QTObj6 alloc] initWithJSONDictionary:dict] : nil;
18918+ return [dict isKindOfClass:NSDictionary.class] ? [[QTUtf8JSONWriter alloc] initWithJSONDictionary:dict] : nil;
1860018919 }
1860118920
1860218921 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1860318922 {
1860418923 if (self = [super init]) {
18605- if (![dict[@"dummy"] isKindOfClass:NSNumber.class]) return nil;
18606- if ([dict[@"dummy"] doubleValue] != [dict[@"dummy"] longLongValue]) return nil;
18607- if (![dict[@"void"] isKindOfClass:NSDictionary.class]) return nil;
18608- if (![dict[@"volatile"] isKindOfClass:NSDictionary.class]) return nil;
18609- if (![dict[@"while"] isKindOfClass:NSDictionary.class]) return nil;
18610- if (![dict[@"wchar_t"] isKindOfClass:NSDictionary.class]) return nil;
18611- if (![dict[@"weak"] isKindOfClass:NSDictionary.class]) return nil;
18612- if (![dict[@"where"] isKindOfClass:NSDictionary.class]) return nil;
18613- if (![dict[@"willSet"] isKindOfClass:NSDictionary.class]) return nil;
18614- if (![dict[@"with"] isKindOfClass:NSDictionary.class]) return nil;
18615- if (![dict[@"xor"] isKindOfClass:NSDictionary.class]) return nil;
18616- if (![dict[@"xor_eq"] isKindOfClass:NSDictionary.class]) return nil;
18617- if (![dict[@"YES"] isKindOfClass:NSDictionary.class]) return nil;
18618- if (![dict[@"yield"] isKindOfClass:NSDictionary.class]) return nil;
18924+ if (![dict[@"Utf8JsonWriter"] isKindOfClass:NSNumber.class]) return nil;
18925+ if ([dict[@"Utf8JsonWriter"] doubleValue] != [dict[@"Utf8JsonWriter"] longLongValue]) return nil;
1861918926 [self setValuesForKeysWithDictionary:dict];
18620- _obj6Void = [QTVoid fromJSONDictionary:(id)_obj6Void];
18621- if (!_obj6Void && dict[@"void"] && ![dict[@"void"] isKindOfClass:NSNull.class]) return nil;
18622- _obj6Volatile = [QTVolatile fromJSONDictionary:(id)_obj6Volatile];
18623- if (!_obj6Volatile && dict[@"volatile"] && ![dict[@"volatile"] isKindOfClass:NSNull.class]) return nil;
18624- _obj6While = [QTWhile fromJSONDictionary:(id)_obj6While];
18625- if (!_obj6While && dict[@"while"] && ![dict[@"while"] isKindOfClass:NSNull.class]) return nil;
18626- _wcharT = [QTWcharT fromJSONDictionary:(id)_wcharT];
18627- if (!_wcharT && dict[@"wchar_t"] && ![dict[@"wchar_t"] isKindOfClass:NSNull.class]) return nil;
18628- _weak = [QTWeak fromJSONDictionary:(id)_weak];
18629- if (!_weak && dict[@"weak"] && ![dict[@"weak"] isKindOfClass:NSNull.class]) return nil;
18630- _where = [QTWhere fromJSONDictionary:(id)_where];
18631- if (!_where && dict[@"where"] && ![dict[@"where"] isKindOfClass:NSNull.class]) return nil;
18632- _willSet = [QTWillSet fromJSONDictionary:(id)_willSet];
18633- if (!_willSet && dict[@"willSet"] && ![dict[@"willSet"] isKindOfClass:NSNull.class]) return nil;
18634- _with = [QTWith fromJSONDictionary:(id)_with];
18635- if (!_with && dict[@"with"] && ![dict[@"with"] isKindOfClass:NSNull.class]) return nil;
18636- _xor = [QTXor fromJSONDictionary:(id)_xor];
18637- if (!_xor && dict[@"xor"] && ![dict[@"xor"] isKindOfClass:NSNull.class]) return nil;
18638- _xorEq = [QTXorEq fromJSONDictionary:(id)_xorEq];
18639- if (!_xorEq && dict[@"xor_eq"] && ![dict[@"xor_eq"] isKindOfClass:NSNull.class]) return nil;
18640- _yes = [QTYes fromJSONDictionary:(id)_yes];
18641- if (!_yes && dict[@"YES"] && ![dict[@"YES"] isKindOfClass:NSNull.class]) return nil;
18642- _yield = [QTYield fromJSONDictionary:(id)_yield];
18643- if (!_yield && dict[@"yield"] && ![dict[@"yield"] isKindOfClass:NSNull.class]) return nil;
1864418927 }
1864518928 return self;
1864618929 }
1864718930
1864818931 - (void)setValue:(nullable id)value forKey:(NSString *)key
1864918932 {
18650- id resolved = QTObj6.properties[key];
18933+ id resolved = QTUtf8JSONWriter.properties[key];
1865118934 if (resolved) [super setValue:value forKey:resolved];
1865218935 }
1865318936
1865418937 - (void)setNilValueForKey:(NSString *)key
1865518938 {
18656- id resolved = QTObj6.properties[key];
18939+ id resolved = QTUtf8JSONWriter.properties[key];
1865718940 if (resolved) [super setValue:@(0) forKey:resolved];
1865818941 }
1865918942
1866018943 - (NSDictionary *)JSONDictionary
1866118944 {
18662- id dict = [[self dictionaryWithValuesForKeys:QTObj6.properties.allValues] mutableCopy];
18945+ id dict = [[self dictionaryWithValuesForKeys:QTUtf8JSONWriter.properties.allValues] mutableCopy];
1866318946
18664- for (id jsonName in QTObj6.properties) {
18665- id propertyName = QTObj6.properties[jsonName];
18947+ for (id jsonName in QTUtf8JSONWriter.properties) {
18948+ id propertyName = QTUtf8JSONWriter.properties[jsonName];
1866618949 if (![jsonName isEqualToString:propertyName]) {
1866718950 dict[jsonName] = dict[propertyName];
1866818951 [dict removeObjectForKey:propertyName];
1866918952 }
1867018953 }
1867118954
18672- [dict addEntriesFromDictionary:@{
18673- @"void": [_obj6Void JSONDictionary],
18674- @"volatile": [_obj6Volatile JSONDictionary],
18675- @"while": [_obj6While JSONDictionary],
18676- @"wchar_t": [_wcharT JSONDictionary],
18677- @"weak": [_weak JSONDictionary],
18678- @"where": [_where JSONDictionary],
18679- @"willSet": [_willSet JSONDictionary],
18680- @"with": [_with JSONDictionary],
18681- @"xor": [_xor JSONDictionary],
18682- @"xor_eq": [_xorEq JSONDictionary],
18683- @"YES": [_yes JSONDictionary],
18684- @"yield": [_yield JSONDictionary],
18685- }];
18686-
1868718955 return dict;
1868818956 }
1868918957 @end
1869018958
18691-@implementation QTVoid
18959+@implementation QTUUID
1869218960 + (NSDictionary<NSString *, NSString *> *)properties
1869318961 {
1869418962 static NSDictionary<NSString *, NSString *> *properties;
1869518963 return properties = properties ? properties : @{
18696- @"void": @"voidVoid",
18964+ @"UUID": @"uuid",
1869718965 };
1869818966 }
1869918967
1870018968 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1870118969 {
18702- return [dict isKindOfClass:NSDictionary.class] ? [[QTVoid alloc] initWithJSONDictionary:dict] : nil;
18970+ return [dict isKindOfClass:NSDictionary.class] ? [[QTUUID alloc] initWithJSONDictionary:dict] : nil;
1870318971 }
1870418972
1870518973 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1870618974 {
1870718975 if (self = [super init]) {
18708- if (![dict[@"void"] isKindOfClass:NSNumber.class]) return nil;
18709- if ([dict[@"void"] doubleValue] != [dict[@"void"] longLongValue]) return nil;
18976+ if (![dict[@"UUID"] isKindOfClass:NSNumber.class]) return nil;
18977+ if ([dict[@"UUID"] doubleValue] != [dict[@"UUID"] longLongValue]) return nil;
1871018978 [self setValuesForKeysWithDictionary:dict];
1871118979 }
1871218980 return self;
@@ -18714,22 +18982,22 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1871418982
1871518983 - (void)setValue:(nullable id)value forKey:(NSString *)key
1871618984 {
18717- id resolved = QTVoid.properties[key];
18985+ id resolved = QTUUID.properties[key];
1871818986 if (resolved) [super setValue:value forKey:resolved];
1871918987 }
1872018988
1872118989 - (void)setNilValueForKey:(NSString *)key
1872218990 {
18723- id resolved = QTVoid.properties[key];
18991+ id resolved = QTUUID.properties[key];
1872418992 if (resolved) [super setValue:@(0) forKey:resolved];
1872518993 }
1872618994
1872718995 - (NSDictionary *)JSONDictionary
1872818996 {
18729- id dict = [[self dictionaryWithValuesForKeys:QTVoid.properties.allValues] mutableCopy];
18997+ id dict = [[self dictionaryWithValuesForKeys:QTUUID.properties.allValues] mutableCopy];
1873018998
18731- for (id jsonName in QTVoid.properties) {
18732- id propertyName = QTVoid.properties[jsonName];
18999+ for (id jsonName in QTUUID.properties) {
19000+ id propertyName = QTUUID.properties[jsonName];
1873319001 if (![jsonName isEqualToString:propertyName]) {
1873419002 dict[jsonName] = dict[propertyName];
1873519003 [dict removeObjectForKey:propertyName];
@@ -18740,25 +19008,25 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1874019008 }
1874119009 @end
1874219010
18743-@implementation QTVolatile
19011+@implementation QTVar
1874419012 + (NSDictionary<NSString *, NSString *> *)properties
1874519013 {
1874619014 static NSDictionary<NSString *, NSString *> *properties;
1874719015 return properties = properties ? properties : @{
18748- @"volatile": @"volatileVolatile",
19016+ @"var": @"var",
1874919017 };
1875019018 }
1875119019
1875219020 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1875319021 {
18754- return [dict isKindOfClass:NSDictionary.class] ? [[QTVolatile alloc] initWithJSONDictionary:dict] : nil;
19022+ return [dict isKindOfClass:NSDictionary.class] ? [[QTVar alloc] initWithJSONDictionary:dict] : nil;
1875519023 }
1875619024
1875719025 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1875819026 {
1875919027 if (self = [super init]) {
18760- if (![dict[@"volatile"] isKindOfClass:NSNumber.class]) return nil;
18761- if ([dict[@"volatile"] doubleValue] != [dict[@"volatile"] longLongValue]) return nil;
19028+ if (![dict[@"var"] isKindOfClass:NSNumber.class]) return nil;
19029+ if ([dict[@"var"] doubleValue] != [dict[@"var"] longLongValue]) return nil;
1876219030 [self setValuesForKeysWithDictionary:dict];
1876319031 }
1876419032 return self;
@@ -18766,51 +19034,41 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1876619034
1876719035 - (void)setValue:(nullable id)value forKey:(NSString *)key
1876819036 {
18769- id resolved = QTVolatile.properties[key];
19037+ id resolved = QTVar.properties[key];
1877019038 if (resolved) [super setValue:value forKey:resolved];
1877119039 }
1877219040
1877319041 - (void)setNilValueForKey:(NSString *)key
1877419042 {
18775- id resolved = QTVolatile.properties[key];
19043+ id resolved = QTVar.properties[key];
1877619044 if (resolved) [super setValue:@(0) forKey:resolved];
1877719045 }
1877819046
1877919047 - (NSDictionary *)JSONDictionary
1878019048 {
18781- id dict = [[self dictionaryWithValuesForKeys:QTVolatile.properties.allValues] mutableCopy];
18782-
18783- for (id jsonName in QTVolatile.properties) {
18784- id propertyName = QTVolatile.properties[jsonName];
18785- if (![jsonName isEqualToString:propertyName]) {
18786- dict[jsonName] = dict[propertyName];
18787- [dict removeObjectForKey:propertyName];
18788- }
18789- }
18790-
18791- return dict;
19049+ return [self dictionaryWithValuesForKeys:QTVar.properties.allValues];
1879219050 }
1879319051 @end
1879419052
18795-@implementation QTWhile
19053+@implementation QTVirtual
1879619054 + (NSDictionary<NSString *, NSString *> *)properties
1879719055 {
1879819056 static NSDictionary<NSString *, NSString *> *properties;
1879919057 return properties = properties ? properties : @{
18800- @"while": @"whileWhile",
19058+ @"virtual": @"virtual",
1880119059 };
1880219060 }
1880319061
1880419062 + (instancetype)fromJSONDictionary:(NSDictionary *)dict
1880519063 {
18806- return [dict isKindOfClass:NSDictionary.class] ? [[QTWhile alloc] initWithJSONDictionary:dict] : nil;
19064+ return [dict isKindOfClass:NSDictionary.class] ? [[QTVirtual alloc] initWithJSONDictionary:dict] : nil;
1880719065 }
1880819066
1880919067 - (instancetype)initWithJSONDictionary:(NSDictionary *)dict
1881019068 {
1881119069 if (self = [super init]) {
18812- if (![dict[@"while"] isKindOfClass:NSNumber.class]) return nil;
18813- if ([dict[@"while"] doubleValue] != [dict[@"while"] longLongValue]) return nil;
19070+ if (![dict[@"virtual"] isKindOfClass:NSNumber.class]) return nil;
19071+ if ([dict[@"virtual"] doubleValue] != [dict[@"virtual"] longLongValue]) return nil;
1881419072 [self setValuesForKeysWithDictionary:dict];
1881519073 }
1881619074 return self;
@@ -18818,29 +19076,19 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1881819076
1881919077 - (void)setValue:(nullable id)value forKey:(NSString *)key
1882019078 {
18821- id resolved = QTWhile.properties[key];
19079+ id resolved = QTVirtual.properties[key];
1882219080 if (resolved) [super setValue:value forKey:resolved];
1882319081 }
1882419082
1882519083 - (void)setNilValueForKey:(NSString *)key
1882619084 {
18827- id resolved = QTWhile.properties[key];
19085+ id resolved = QTVirtual.properties[key];
1882819086 if (resolved) [super setValue:@(0) forKey:resolved];
1882919087 }
1883019088
1883119089 - (NSDictionary *)JSONDictionary
1883219090 {
18833- id dict = [[self dictionaryWithValuesForKeys:QTWhile.properties.allValues] mutableCopy];
18834-
18835- for (id jsonName in QTWhile.properties) {
18836- id propertyName = QTWhile.properties[jsonName];
18837- if (![jsonName isEqualToString:propertyName]) {
18838- dict[jsonName] = dict[propertyName];
18839- [dict removeObjectForKey:propertyName];
18840- }
18841- }
18842-
18843- return dict;
19091+ return [self dictionaryWithValuesForKeys:QTVirtual.properties.allValues];
1884419092 }
1884519093 @end
Mphpdefault / TopLevel.php+2,433 −1,797
@@ -10750,6 +10750,7 @@ class Obj2 {
1075010750 private Del $del; // json:del Required
1075110751 private Delegate $delegate; // json:delegate Required
1075210752 private Delete $delete; // json:delete Required
10753+ private DeserializationFeature $deserializationFeature; // json:DeserializationFeature Required
1075310754 private Dict $dict; // json:dict Required
1075410755 private Dictionary $dictionary; // json:dictionary Required
1075510756 private DidSet $didSet; // json:didSet Required
@@ -10793,7 +10794,6 @@ class Obj2 {
1079310794 private Get $get; // json:get Required
1079410795 private GlobalClass $global; // json:global Required
1079510796 private Go $go; // json:go Required
10796- private GotoClass $goto; // json:goto Required
1079710797 private Obj2False $obj2False; // json:false Required
1079810798
1079910799 /**
@@ -10817,6 +10817,7 @@ class Obj2 {
1081710817 * @param Del $del
1081810818 * @param Delegate $delegate
1081910819 * @param Delete $delete
10820+ * @param DeserializationFeature $deserializationFeature
1082010821 * @param Dict $dict
1082110822 * @param Dictionary $dictionary
1082210823 * @param DidSet $didSet
@@ -10860,10 +10861,9 @@ class Obj2 {
1086010861 * @param Get $get
1086110862 * @param GlobalClass $global
1086210863 * @param Go $go
10863- * @param GotoClass $goto
1086410864 * @param Obj2False $obj2False
1086510865 */
10866- public function __construct(DateFormatter $dateFormatter, DateOnly $dateOnly, DateOnlyConverter $dateOnlyConverter, DateParseHandling $dateParseHandling, DateTimeClass $dateTime, DateTimeStyles $dateTimeStyles, Debugger $debugger, Decimal $decimal, DeclareClass $declare, Decltype $decltype, DecodeString $decodeString, Decoder $decoder, DecodingError $decodingError, Def $def, DefaultClass $default, Defer $defer, Deinit $deinit, Del $del, Delegate $delegate, Delete $delete, Dict $dict, Dictionary $dictionary, DidSet $didSet, DoClass $do, Double $double, int $dummy, Dynamic $dynamic, DynamicCast $dynamicCast, Elif $elif, ElseClass $else, EncodeQuickType $encodeQuickType, Encoder $encoder, EnumClass $enum, EnumValues $enumValues, EqualityContract $equalityContract, Equatable $equatable, Event $event, Except $except, ExceptionClass $exception, Explicit $explicit, Export $export, Exposing $exposing, ExtendsClass $extends, Extension $extension, Extern $extern, Fallthrough $fallthrough, FalseClass $false, Fileprivate $fileprivate, FinalClass $final, FinallyClass $finally, Fixed $fixed, FloatClass $float, ForClass $for, ForeachClass $foreach, FormatException $formatException, Friend $friend, From $from, FromJSON $fromJSON, Func $func, FunctionClass $function, Get $get, GlobalClass $global, Go $go, GotoClass $goto, Obj2False $obj2False) {
10866+ public function __construct(DateFormatter $dateFormatter, DateOnly $dateOnly, DateOnlyConverter $dateOnlyConverter, DateParseHandling $dateParseHandling, DateTimeClass $dateTime, DateTimeStyles $dateTimeStyles, Debugger $debugger, Decimal $decimal, DeclareClass $declare, Decltype $decltype, DecodeString $decodeString, Decoder $decoder, DecodingError $decodingError, Def $def, DefaultClass $default, Defer $defer, Deinit $deinit, Del $del, Delegate $delegate, Delete $delete, DeserializationFeature $deserializationFeature, Dict $dict, Dictionary $dictionary, DidSet $didSet, DoClass $do, Double $double, int $dummy, Dynamic $dynamic, DynamicCast $dynamicCast, Elif $elif, ElseClass $else, EncodeQuickType $encodeQuickType, Encoder $encoder, EnumClass $enum, EnumValues $enumValues, EqualityContract $equalityContract, Equatable $equatable, Event $event, Except $except, ExceptionClass $exception, Explicit $explicit, Export $export, Exposing $exposing, ExtendsClass $extends, Extension $extension, Extern $extern, Fallthrough $fallthrough, FalseClass $false, Fileprivate $fileprivate, FinalClass $final, FinallyClass $finally, Fixed $fixed, FloatClass $float, ForClass $for, ForeachClass $foreach, FormatException $formatException, Friend $friend, From $from, FromJSON $fromJSON, Func $func, FunctionClass $function, Get $get, GlobalClass $global, Go $go, Obj2False $obj2False) {
1086710867 $this->dateFormatter = $dateFormatter;
1086810868 $this->dateOnly = $dateOnly;
1086910869 $this->dateOnlyConverter = $dateOnlyConverter;
@@ -10884,6 +10884,7 @@ class Obj2 {
1088410884 $this->del = $del;
1088510885 $this->delegate = $delegate;
1088610886 $this->delete = $delete;
10887+ $this->deserializationFeature = $deserializationFeature;
1088710888 $this->dict = $dict;
1088810889 $this->dictionary = $dictionary;
1088910890 $this->didSet = $didSet;
@@ -10927,7 +10928,6 @@ class Obj2 {
1092710928 $this->get = $get;
1092810929 $this->global = $global;
1092910930 $this->go = $go;
10930- $this->goto = $goto;
1093110931 $this->obj2False = $obj2False;
1093210932 }
1093310933
@@ -11891,6 +11891,54 @@ class Obj2 {
1189111891 return Delete::sample(); /*50:delete*/
1189211892 }
1189311893
11894+ /**
11895+ * @param stdClass $value
11896+ * @throws Exception
11897+ * @return DeserializationFeature
11898+ */
11899+ public static function fromDeserializationFeature(stdClass $value): DeserializationFeature {
11900+ return DeserializationFeature::from($value); /*class*/
11901+ }
11902+
11903+ /**
11904+ * @throws Exception
11905+ * @return stdClass
11906+ */
11907+ public function toDeserializationFeature(): stdClass {
11908+ if (Obj2::validateDeserializationFeature($this->deserializationFeature)) {
11909+ return $this->deserializationFeature->to(); /*class*/
11910+ }
11911+ throw new Exception('never get to this Obj2::deserializationFeature');
11912+ }
11913+
11914+ /**
11915+ * @param DeserializationFeature
11916+ * @return bool
11917+ * @throws Exception
11918+ */
11919+ public static function validateDeserializationFeature(DeserializationFeature $value): bool {
11920+ $value->validate();
11921+ return true;
11922+ }
11923+
11924+ /**
11925+ * @throws Exception
11926+ * @return DeserializationFeature
11927+ */
11928+ public function getDeserializationFeature(): DeserializationFeature {
11929+ if (Obj2::validateDeserializationFeature($this->deserializationFeature)) {
11930+ return $this->deserializationFeature;
11931+ }
11932+ throw new Exception('never get to getDeserializationFeature Obj2::deserializationFeature');
11933+ }
11934+
11935+ /**
11936+ * @return DeserializationFeature
11937+ */
11938+ public static function sampleDeserializationFeature(): DeserializationFeature {
11939+ return DeserializationFeature::sample(); /*51:deserializationFeature*/
11940+ }
11941+
1189411942 /**
1189511943 * @param stdClass $value
1189611944 * @throws Exception
@@ -11936,7 +11984,7 @@ class Obj2 {
1193611984 * @return Dict
1193711985 */
1193811986 public static function sampleDict(): Dict {
11939- return Dict::sample(); /*51:dict*/
11987+ return Dict::sample(); /*52:dict*/
1194011988 }
1194111989
1194211990 /**
@@ -11984,7 +12032,7 @@ class Obj2 {
1198412032 * @return Dictionary
1198512033 */
1198612034 public static function sampleDictionary(): Dictionary {
11987- return Dictionary::sample(); /*52:dictionary*/
12035+ return Dictionary::sample(); /*53:dictionary*/
1198812036 }
1198912037
1199012038 /**
@@ -12032,7 +12080,7 @@ class Obj2 {
1203212080 * @return DidSet
1203312081 */
1203412082 public static function sampleDidSet(): DidSet {
12035- return DidSet::sample(); /*53:didSet*/
12083+ return DidSet::sample(); /*54:didSet*/
1203612084 }
1203712085
1203812086 /**
@@ -12080,7 +12128,7 @@ class Obj2 {
1208012128 * @return DoClass
1208112129 */
1208212130 public static function sampleDo(): DoClass {
12083- return DoClass::sample(); /*54:do*/
12131+ return DoClass::sample(); /*55:do*/
1208412132 }
1208512133
1208612134 /**
@@ -12128,7 +12176,7 @@ class Obj2 {
1212812176 * @return Double
1212912177 */
1213012178 public static function sampleDouble(): Double {
12131- return Double::sample(); /*55:double*/
12179+ return Double::sample(); /*56:double*/
1213212180 }
1213312181
1213412182 /**
@@ -12175,7 +12223,7 @@ class Obj2 {
1217512223 * @return int
1217612224 */
1217712225 public static function sampleDummy(): int {
12178- return 56; /*56:dummy*/
12226+ return 57; /*57:dummy*/
1217912227 }
1218012228
1218112229 /**
@@ -12223,7 +12271,7 @@ class Obj2 {
1222312271 * @return Dynamic
1222412272 */
1222512273 public static function sampleDynamic(): Dynamic {
12226- return Dynamic::sample(); /*57:dynamic*/
12274+ return Dynamic::sample(); /*58:dynamic*/
1222712275 }
1222812276
1222912277 /**
@@ -12271,7 +12319,7 @@ class Obj2 {
1227112319 * @return DynamicCast
1227212320 */
1227312321 public static function sampleDynamicCast(): DynamicCast {
12274- return DynamicCast::sample(); /*58:dynamicCast*/
12322+ return DynamicCast::sample(); /*59:dynamicCast*/
1227512323 }
1227612324
1227712325 /**
@@ -12319,7 +12367,7 @@ class Obj2 {
1231912367 * @return Elif
1232012368 */
1232112369 public static function sampleElif(): Elif {
12322- return Elif::sample(); /*59:elif*/
12370+ return Elif::sample(); /*60:elif*/
1232312371 }
1232412372
1232512373 /**
@@ -12367,7 +12415,7 @@ class Obj2 {
1236712415 * @return ElseClass
1236812416 */
1236912417 public static function sampleElse(): ElseClass {
12370- return ElseClass::sample(); /*60:else*/
12418+ return ElseClass::sample(); /*61:else*/
1237112419 }
1237212420
1237312421 /**
@@ -12415,7 +12463,7 @@ class Obj2 {
1241512463 * @return EncodeQuickType
1241612464 */
1241712465 public static function sampleEncodeQuickType(): EncodeQuickType {
12418- return EncodeQuickType::sample(); /*61:encodeQuickType*/
12466+ return EncodeQuickType::sample(); /*62:encodeQuickType*/
1241912467 }
1242012468
1242112469 /**
@@ -12463,7 +12511,7 @@ class Obj2 {
1246312511 * @return Encoder
1246412512 */
1246512513 public static function sampleEncoder(): Encoder {
12466- return Encoder::sample(); /*62:encoder*/
12514+ return Encoder::sample(); /*63:encoder*/
1246712515 }
1246812516
1246912517 /**
@@ -12511,7 +12559,7 @@ class Obj2 {
1251112559 * @return EnumClass
1251212560 */
1251312561 public static function sampleEnum(): EnumClass {
12514- return EnumClass::sample(); /*63:enum*/
12562+ return EnumClass::sample(); /*64:enum*/
1251512563 }
1251612564
1251712565 /**
@@ -12559,7 +12607,7 @@ class Obj2 {
1255912607 * @return EnumValues
1256012608 */
1256112609 public static function sampleEnumValues(): EnumValues {
12562- return EnumValues::sample(); /*64:enumValues*/
12610+ return EnumValues::sample(); /*65:enumValues*/
1256312611 }
1256412612
1256512613 /**
@@ -12607,7 +12655,7 @@ class Obj2 {
1260712655 * @return EqualityContract
1260812656 */
1260912657 public static function sampleEqualityContract(): EqualityContract {
12610- return EqualityContract::sample(); /*65:equalityContract*/
12658+ return EqualityContract::sample(); /*66:equalityContract*/
1261112659 }
1261212660
1261312661 /**
@@ -12655,7 +12703,7 @@ class Obj2 {
1265512703 * @return Equatable
1265612704 */
1265712705 public static function sampleEquatable(): Equatable {
12658- return Equatable::sample(); /*66:equatable*/
12706+ return Equatable::sample(); /*67:equatable*/
1265912707 }
1266012708
1266112709 /**
@@ -12703,7 +12751,7 @@ class Obj2 {
1270312751 * @return Event
1270412752 */
1270512753 public static function sampleEvent(): Event {
12706- return Event::sample(); /*67:event*/
12754+ return Event::sample(); /*68:event*/
1270712755 }
1270812756
1270912757 /**
@@ -12751,7 +12799,7 @@ class Obj2 {
1275112799 * @return Except
1275212800 */
1275312801 public static function sampleExcept(): Except {
12754- return Except::sample(); /*68:except*/
12802+ return Except::sample(); /*69:except*/
1275512803 }
1275612804
1275712805 /**
@@ -12799,7 +12847,7 @@ class Obj2 {
1279912847 * @return ExceptionClass
1280012848 */
1280112849 public static function sampleException(): ExceptionClass {
12802- return ExceptionClass::sample(); /*69:exception*/
12850+ return ExceptionClass::sample(); /*70:exception*/
1280312851 }
1280412852
1280512853 /**
@@ -12847,7 +12895,7 @@ class Obj2 {
1284712895 * @return Explicit
1284812896 */
1284912897 public static function sampleExplicit(): Explicit {
12850- return Explicit::sample(); /*70:explicit*/
12898+ return Explicit::sample(); /*71:explicit*/
1285112899 }
1285212900
1285312901 /**
@@ -12895,7 +12943,7 @@ class Obj2 {
1289512943 * @return Export
1289612944 */
1289712945 public static function sampleExport(): Export {
12898- return Export::sample(); /*71:export*/
12946+ return Export::sample(); /*72:export*/
1289912947 }
1290012948
1290112949 /**
@@ -12943,7 +12991,7 @@ class Obj2 {
1294312991 * @return Exposing
1294412992 */
1294512993 public static function sampleExposing(): Exposing {
12946- return Exposing::sample(); /*72:exposing*/
12994+ return Exposing::sample(); /*73:exposing*/
1294712995 }
1294812996
1294912997 /**
@@ -12991,7 +13039,7 @@ class Obj2 {
1299113039 * @return ExtendsClass
1299213040 */
1299313041 public static function sampleExtends(): ExtendsClass {
12994- return ExtendsClass::sample(); /*73:extends*/
13042+ return ExtendsClass::sample(); /*74:extends*/
1299513043 }
1299613044
1299713045 /**
@@ -13039,7 +13087,7 @@ class Obj2 {
1303913087 * @return Extension
1304013088 */
1304113089 public static function sampleExtension(): Extension {
13042- return Extension::sample(); /*74:extension*/
13090+ return Extension::sample(); /*75:extension*/
1304313091 }
1304413092
1304513093 /**
@@ -13087,7 +13135,7 @@ class Obj2 {
1308713135 * @return Extern
1308813136 */
1308913137 public static function sampleExtern(): Extern {
13090- return Extern::sample(); /*75:extern*/
13138+ return Extern::sample(); /*76:extern*/
1309113139 }
1309213140
1309313141 /**
@@ -13135,7 +13183,7 @@ class Obj2 {
1313513183 * @return Fallthrough
1313613184 */
1313713185 public static function sampleFallthrough(): Fallthrough {
13138- return Fallthrough::sample(); /*76:fallthrough*/
13186+ return Fallthrough::sample(); /*77:fallthrough*/
1313913187 }
1314013188
1314113189 /**
@@ -13183,7 +13231,7 @@ class Obj2 {
1318313231 * @return FalseClass
1318413232 */
1318513233 public static function sampleFalse(): FalseClass {
13186- return FalseClass::sample(); /*77:false*/
13234+ return FalseClass::sample(); /*78:false*/
1318713235 }
1318813236
1318913237 /**
@@ -13231,7 +13279,7 @@ class Obj2 {
1323113279 * @return Fileprivate
1323213280 */
1323313281 public static function sampleFileprivate(): Fileprivate {
13234- return Fileprivate::sample(); /*78:fileprivate*/
13282+ return Fileprivate::sample(); /*79:fileprivate*/
1323513283 }
1323613284
1323713285 /**
@@ -13279,7 +13327,7 @@ class Obj2 {
1327913327 * @return FinalClass
1328013328 */
1328113329 public static function sampleFinal(): FinalClass {
13282- return FinalClass::sample(); /*79:final*/
13330+ return FinalClass::sample(); /*80:final*/
1328313331 }
1328413332
1328513333 /**
@@ -13327,7 +13375,7 @@ class Obj2 {
1332713375 * @return FinallyClass
1332813376 */
1332913377 public static function sampleFinally(): FinallyClass {
13330- return FinallyClass::sample(); /*80:finally*/
13378+ return FinallyClass::sample(); /*81:finally*/
1333113379 }
1333213380
1333313381 /**
@@ -13375,7 +13423,7 @@ class Obj2 {
1337513423 * @return Fixed
1337613424 */
1337713425 public static function sampleFixed(): Fixed {
13378- return Fixed::sample(); /*81:fixed*/
13426+ return Fixed::sample(); /*82:fixed*/
1337913427 }
1338013428
1338113429 /**
@@ -13423,7 +13471,7 @@ class Obj2 {
1342313471 * @return FloatClass
1342413472 */
1342513473 public static function sampleFloat(): FloatClass {
13426- return FloatClass::sample(); /*82:float*/
13474+ return FloatClass::sample(); /*83:float*/
1342713475 }
1342813476
1342913477 /**
@@ -13471,7 +13519,7 @@ class Obj2 {
1347113519 * @return ForClass
1347213520 */
1347313521 public static function sampleFor(): ForClass {
13474- return ForClass::sample(); /*83:for*/
13522+ return ForClass::sample(); /*84:for*/
1347513523 }
1347613524
1347713525 /**
@@ -13519,7 +13567,7 @@ class Obj2 {
1351913567 * @return ForeachClass
1352013568 */
1352113569 public static function sampleForeach(): ForeachClass {
13522- return ForeachClass::sample(); /*84:foreach*/
13570+ return ForeachClass::sample(); /*85:foreach*/
1352313571 }
1352413572
1352513573 /**
@@ -13567,7 +13615,7 @@ class Obj2 {
1356713615 * @return FormatException
1356813616 */
1356913617 public static function sampleFormatException(): FormatException {
13570- return FormatException::sample(); /*85:formatException*/
13618+ return FormatException::sample(); /*86:formatException*/
1357113619 }
1357213620
1357313621 /**
@@ -13615,7 +13663,7 @@ class Obj2 {
1361513663 * @return Friend
1361613664 */
1361713665 public static function sampleFriend(): Friend {
13618- return Friend::sample(); /*86:friend*/
13666+ return Friend::sample(); /*87:friend*/
1361913667 }
1362013668
1362113669 /**
@@ -13663,7 +13711,7 @@ class Obj2 {
1366313711 * @return From
1366413712 */
1366513713 public static function sampleFrom(): From {
13666- return From::sample(); /*87:from*/
13714+ return From::sample(); /*88:from*/
1366713715 }
1366813716
1366913717 /**
@@ -13711,7 +13759,7 @@ class Obj2 {
1371113759 * @return FromJSON
1371213760 */
1371313761 public static function sampleFromJSON(): FromJSON {
13714- return FromJSON::sample(); /*88:fromJSON*/
13762+ return FromJSON::sample(); /*89:fromJSON*/
1371513763 }
1371613764
1371713765 /**
@@ -13759,7 +13807,7 @@ class Obj2 {
1375913807 * @return Func
1376013808 */
1376113809 public static function sampleFunc(): Func {
13762- return Func::sample(); /*89:func*/
13810+ return Func::sample(); /*90:func*/
1376313811 }
1376413812
1376513813 /**
@@ -13807,7 +13855,7 @@ class Obj2 {
1380713855 * @return FunctionClass
1380813856 */
1380913857 public static function sampleFunction(): FunctionClass {
13810- return FunctionClass::sample(); /*90:function*/
13858+ return FunctionClass::sample(); /*91:function*/
1381113859 }
1381213860
1381313861 /**
@@ -13855,7 +13903,7 @@ class Obj2 {
1385513903 * @return Get
1385613904 */
1385713905 public static function sampleGet(): Get {
13858- return Get::sample(); /*91:get*/
13906+ return Get::sample(); /*92:get*/
1385913907 }
1386013908
1386113909 /**
@@ -13903,7 +13951,7 @@ class Obj2 {
1390313951 * @return GlobalClass
1390413952 */
1390513953 public static function sampleGlobal(): GlobalClass {
13906- return GlobalClass::sample(); /*92:global*/
13954+ return GlobalClass::sample(); /*93:global*/
1390713955 }
1390813956
1390913957 /**
@@ -13951,55 +13999,7 @@ class Obj2 {
1395113999 * @return Go
1395214000 */
1395314001 public static function sampleGo(): Go {
13954- return Go::sample(); /*93:go*/
13955- }
13956-
13957- /**
13958- * @param stdClass $value
13959- * @throws Exception
13960- * @return GotoClass
13961- */
13962- public static function fromGoto(stdClass $value): GotoClass {
13963- return GotoClass::from($value); /*class*/
13964- }
13965-
13966- /**
13967- * @throws Exception
13968- * @return stdClass
13969- */
13970- public function toGoto(): stdClass {
13971- if (Obj2::validateGoto($this->goto)) {
13972- return $this->goto->to(); /*class*/
13973- }
13974- throw new Exception('never get to this Obj2::goto');
13975- }
13976-
13977- /**
13978- * @param GotoClass
13979- * @return bool
13980- * @throws Exception
13981- */
13982- public static function validateGoto(GotoClass $value): bool {
13983- $value->validate();
13984- return true;
13985- }
13986-
13987- /**
13988- * @throws Exception
13989- * @return GotoClass
13990- */
13991- public function getGoto(): GotoClass {
13992- if (Obj2::validateGoto($this->goto)) {
13993- return $this->goto;
13994- }
13995- throw new Exception('never get to getGoto Obj2::goto');
13996- }
13997-
13998- /**
13999- * @return GotoClass
14000- */
14001- public static function sampleGoto(): GotoClass {
14002- return GotoClass::sample(); /*94:goto*/
14002+ return Go::sample(); /*94:go*/
1400314003 }
1400414004
1400514005 /**
@@ -14075,6 +14075,7 @@ class Obj2 {
1407514075 || Obj2::validateDel($this->del)
1407614076 || Obj2::validateDelegate($this->delegate)
1407714077 || Obj2::validateDelete($this->delete)
14078+ || Obj2::validateDeserializationFeature($this->deserializationFeature)
1407814079 || Obj2::validateDict($this->dict)
1407914080 || Obj2::validateDictionary($this->dictionary)
1408014081 || Obj2::validateDidSet($this->didSet)
@@ -14118,7 +14119,6 @@ class Obj2 {
1411814119 || Obj2::validateGet($this->get)
1411914120 || Obj2::validateGlobal($this->global)
1412014121 || Obj2::validateGo($this->go)
14121- || Obj2::validateGoto($this->goto)
1412214122 || Obj2::validateObj2False($this->obj2False);
1412314123 }
1412414124
@@ -14148,6 +14148,7 @@ class Obj2 {
1414814148 $out->{'del'} = $this->toDel();
1414914149 $out->{'delegate'} = $this->toDelegate();
1415014150 $out->{'delete'} = $this->toDelete();
14151+ $out->{'DeserializationFeature'} = $this->toDeserializationFeature();
1415114152 $out->{'dict'} = $this->toDict();
1415214153 $out->{'dictionary'} = $this->toDictionary();
1415314154 $out->{'didSet'} = $this->toDidSet();
@@ -14191,7 +14192,6 @@ class Obj2 {
1419114192 $out->{'get'} = $this->toGet();
1419214193 $out->{'global'} = $this->toGlobal();
1419314194 $out->{'go'} = $this->toGo();
14194- $out->{'goto'} = $this->toGoto();
1419514195 $out->{'false'} = $this->toObj2False();
1419614196 return $out;
1419714197 }
@@ -14262,6 +14262,9 @@ class Obj2 {
1426214262 if (!property_exists($obj, 'delete')) {
1426314263 throw new Exception("Missing required property");
1426414264 }
14265+ if (!property_exists($obj, 'DeserializationFeature')) {
14266+ throw new Exception("Missing required property");
14267+ }
1426514268 if (!property_exists($obj, 'dict')) {
1426614269 throw new Exception("Missing required property");
1426714270 }
@@ -14391,9 +14394,6 @@ class Obj2 {
1439114394 if (!property_exists($obj, 'go')) {
1439214395 throw new Exception("Missing required property");
1439314396 }
14394- if (!property_exists($obj, 'goto')) {
14395- throw new Exception("Missing required property");
14396- }
1439714397 if (!property_exists($obj, 'false')) {
1439814398 throw new Exception("Missing required property");
1439914399 }
@@ -14418,6 +14418,7 @@ class Obj2 {
1441814418 ,Obj2::fromDel($obj->{'del'})
1441914419 ,Obj2::fromDelegate($obj->{'delegate'})
1442014420 ,Obj2::fromDelete($obj->{'delete'})
14421+ ,Obj2::fromDeserializationFeature($obj->{'DeserializationFeature'})
1442114422 ,Obj2::fromDict($obj->{'dict'})
1442214423 ,Obj2::fromDictionary($obj->{'dictionary'})
1442314424 ,Obj2::fromDidSet($obj->{'didSet'})
@@ -14461,7 +14462,6 @@ class Obj2 {
1446114462 ,Obj2::fromGet($obj->{'get'})
1446214463 ,Obj2::fromGlobal($obj->{'global'})
1446314464 ,Obj2::fromGo($obj->{'go'})
14464- ,Obj2::fromGoto($obj->{'goto'})
1446514465 ,Obj2::fromObj2False($obj->{'false'})
1446614466 );
1446714467 }
@@ -14491,6 +14491,7 @@ class Obj2 {
1449114491 ,Obj2::sampleDel()
1449214492 ,Obj2::sampleDelegate()
1449314493 ,Obj2::sampleDelete()
14494+ ,Obj2::sampleDeserializationFeature()
1449414495 ,Obj2::sampleDict()
1449514496 ,Obj2::sampleDictionary()
1449614497 ,Obj2::sampleDidSet()
@@ -14534,7 +14535,6 @@ class Obj2 {
1453414535 ,Obj2::sampleGet()
1453514536 ,Obj2::sampleGlobal()
1453614537 ,Obj2::sampleGo()
14537- ,Obj2::sampleGoto()
1453814538 ,Obj2::sampleObj2False()
1453914539 );
1454014540 }
@@ -16567,6 +16567,107 @@ class Delete {
1656716567 }
1656816568 }
1656916569
16570+// This is an autogenerated file:DeserializationFeature
16571+
16572+class DeserializationFeature {
16573+ private int $deserializationFeature; // json:DeserializationFeature Required
16574+
16575+ /**
16576+ * @param int $deserializationFeature
16577+ */
16578+ public function __construct(int $deserializationFeature) {
16579+ $this->deserializationFeature = $deserializationFeature;
16580+ }
16581+
16582+ /**
16583+ * @param int $value
16584+ * @throws Exception
16585+ * @return int
16586+ */
16587+ public static function fromDeserializationFeature(int $value): int {
16588+ return $value; /*int*/
16589+ }
16590+
16591+ /**
16592+ * @throws Exception
16593+ * @return int
16594+ */
16595+ public function toDeserializationFeature(): int {
16596+ if (DeserializationFeature::validateDeserializationFeature($this->deserializationFeature)) {
16597+ return $this->deserializationFeature; /*int*/
16598+ }
16599+ throw new Exception('never get to this DeserializationFeature::deserializationFeature');
16600+ }
16601+
16602+ /**
16603+ * @param int
16604+ * @return bool
16605+ * @throws Exception
16606+ */
16607+ public static function validateDeserializationFeature(int $value): bool {
16608+ return true;
16609+ }
16610+
16611+ /**
16612+ * @throws Exception
16613+ * @return int
16614+ */
16615+ public function getDeserializationFeature(): int {
16616+ if (DeserializationFeature::validateDeserializationFeature($this->deserializationFeature)) {
16617+ return $this->deserializationFeature;
16618+ }
16619+ throw new Exception('never get to getDeserializationFeature DeserializationFeature::deserializationFeature');
16620+ }
16621+
16622+ /**
16623+ * @return int
16624+ */
16625+ public static function sampleDeserializationFeature(): int {
16626+ return 31; /*31:deserializationFeature*/
16627+ }
16628+
16629+ /**
16630+ * @throws Exception
16631+ * @return bool
16632+ */
16633+ public function validate(): bool {
16634+ return DeserializationFeature::validateDeserializationFeature($this->deserializationFeature);
16635+ }
16636+
16637+ /**
16638+ * @return stdClass
16639+ * @throws Exception
16640+ */
16641+ public function to(): stdClass {
16642+ $out = new stdClass();
16643+ $out->{'DeserializationFeature'} = $this->toDeserializationFeature();
16644+ return $out;
16645+ }
16646+
16647+ /**
16648+ * @param stdClass $obj
16649+ * @return DeserializationFeature
16650+ * @throws Exception
16651+ */
16652+ public static function from(stdClass $obj): DeserializationFeature {
16653+ if (!property_exists($obj, 'DeserializationFeature')) {
16654+ throw new Exception("Missing required property");
16655+ }
16656+ return new DeserializationFeature(
16657+ DeserializationFeature::fromDeserializationFeature($obj->{'DeserializationFeature'})
16658+ );
16659+ }
16660+
16661+ /**
16662+ * @return DeserializationFeature
16663+ */
16664+ public static function sample(): DeserializationFeature {
16665+ return new DeserializationFeature(
16666+ DeserializationFeature::sampleDeserializationFeature()
16667+ );
16668+ }
16669+}
16670+
1657016671 // This is an autogenerated file:Dict
1657116672
1657216673 class Dict {
@@ -20870,107 +20971,6 @@ class Go {
2087020971 }
2087120972 }
2087220973
20873-// This is an autogenerated file:GotoClass
20874-
20875-class GotoClass {
20876- private int $goto; // json:goto Required
20877-
20878- /**
20879- * @param int $goto
20880- */
20881- public function __construct(int $goto) {
20882- $this->goto = $goto;
20883- }
20884-
20885- /**
20886- * @param int $value
20887- * @throws Exception
20888- * @return int
20889- */
20890- public static function fromGoto(int $value): int {
20891- return $value; /*int*/
20892- }
20893-
20894- /**
20895- * @throws Exception
20896- * @return int
20897- */
20898- public function toGoto(): int {
20899- if (GotoClass::validateGoto($this->goto)) {
20900- return $this->goto; /*int*/
20901- }
20902- throw new Exception('never get to this GotoClass::goto');
20903- }
20904-
20905- /**
20906- * @param int
20907- * @return bool
20908- * @throws Exception
20909- */
20910- public static function validateGoto(int $value): bool {
20911- return true;
20912- }
20913-
20914- /**
20915- * @throws Exception
20916- * @return int
20917- */
20918- public function getGoto(): int {
20919- if (GotoClass::validateGoto($this->goto)) {
20920- return $this->goto;
20921- }
20922- throw new Exception('never get to getGoto GotoClass::goto');
20923- }
20924-
20925- /**
20926- * @return int
20927- */
20928- public static function sampleGoto(): int {
20929- return 31; /*31:goto*/
20930- }
20931-
20932- /**
20933- * @throws Exception
20934- * @return bool
20935- */
20936- public function validate(): bool {
20937- return GotoClass::validateGoto($this->goto);
20938- }
20939-
20940- /**
20941- * @return stdClass
20942- * @throws Exception
20943- */
20944- public function to(): stdClass {
20945- $out = new stdClass();
20946- $out->{'goto'} = $this->toGoto();
20947- return $out;
20948- }
20949-
20950- /**
20951- * @param stdClass $obj
20952- * @return GotoClass
20953- * @throws Exception
20954- */
20955- public static function from(stdClass $obj): GotoClass {
20956- if (!property_exists($obj, 'goto')) {
20957- throw new Exception("Missing required property");
20958- }
20959- return new GotoClass(
20960- GotoClass::fromGoto($obj->{'goto'})
20961- );
20962- }
20963-
20964- /**
20965- * @return GotoClass
20966- */
20967- public static function sample(): GotoClass {
20968- return new GotoClass(
20969- GotoClass::sampleGoto()
20970- );
20971- }
20972-}
20973-
2097420974 // This is an autogenerated file:Obj2False
2097520975
2097620976 class Obj2False {
@@ -21076,6 +21076,7 @@ class Obj2False {
2107621076
2107721077 class Obj3 {
2107821078 private int $dummy; // json:dummy Required
21079+ private GotoClass $goto; // json:goto Required
2107921080 private Guard $guard; // json:guard Required
2108021081 private HasOwnProperty $hasOwnProperty; // json:hasOwnProperty Required
2108121082 private HashCode $hashCode; // json:hashCode Required
@@ -21139,10 +21140,10 @@ class Obj3 {
2113921140 private Newtonsoft $newtonsoft; // json:newtonsoft Required
2114021141 private Nil $nil; // json:nil Required
2114121142 private No $no; // json:NO Required
21142- private Noexcept $noexcept; // json:noexcept Required
2114321143
2114421144 /**
2114521145 * @param int $dummy
21146+ * @param GotoClass $goto
2114621147 * @param Guard $guard
2114721148 * @param HasOwnProperty $hasOwnProperty
2114821149 * @param HashCode $hashCode
@@ -21206,10 +21207,10 @@ class Obj3 {
2120621207 * @param Newtonsoft $newtonsoft
2120721208 * @param Nil $nil
2120821209 * @param No $no
21209- * @param Noexcept $noexcept
2121021210 */
21211- public function __construct(int $dummy, Guard $guard, HasOwnProperty $hasOwnProperty, HashCode $hashCode, Hashable $hashable, Hasher $hasher, ID $id, IfClass $if, Imp $imp, ImplementsClass $implements, Implicit $implicit, Import $import, In $in, Indirect $indirect, Infix $infix, Init $init, Inline $inline, Inout $inout, InstanceofClass $instanceof, IntClass $int, InterfaceClass $interface, Internal $internal, Is $is, ISODateTimeOffsetConverter $isoDateTimeOffsetConverter, IterableClass $iterable, Jdec $jdec, Jenc $jenc, Jpipe $jpipe, JSON $json, JSONAny $jsonAny, JSONCodingKey $jsonCodingKey, JSONConverter $jsonConverter, JSONDecoder $jsonDecoder, JSONEncoder $jsonEncoder, JSONExceptionClass $jsonException, JSONGenerator $jsonGenerator, JSONNode $jsonNode, JSONNull $jsonNull, JSONParser $jsonParser, JSONReader $jsonReader, JSONSerializer $jsonSerializer, JSONToken $jsonToken, JSONTokenType $jsonTokenType, JSONWriter $jsonWriter, Lambda $lambda, Lazy $lazy, Left $left, Let $let, ListClass $list, LocaleClass $locale, Lock $lock, Long $long, Map $map, MapEntry $mapEntry, MetadataPropertyHandling $metadataPropertyHandling, Module $module, Mutable $mutable, Mutating $mutating, NamespaceClass $namespace, Native $native, NewClass $new, Newtonsoft $newtonsoft, Nil $nil, No $no, Noexcept $noexcept) {
21211+ public function __construct(int $dummy, GotoClass $goto, Guard $guard, HasOwnProperty $hasOwnProperty, HashCode $hashCode, Hashable $hashable, Hasher $hasher, ID $id, IfClass $if, Imp $imp, ImplementsClass $implements, Implicit $implicit, Import $import, In $in, Indirect $indirect, Infix $infix, Init $init, Inline $inline, Inout $inout, InstanceofClass $instanceof, IntClass $int, InterfaceClass $interface, Internal $internal, Is $is, ISODateTimeOffsetConverter $isoDateTimeOffsetConverter, IterableClass $iterable, Jdec $jdec, Jenc $jenc, Jpipe $jpipe, JSON $json, JSONAny $jsonAny, JSONCodingKey $jsonCodingKey, JSONConverter $jsonConverter, JSONDecoder $jsonDecoder, JSONEncoder $jsonEncoder, JSONExceptionClass $jsonException, JSONGenerator $jsonGenerator, JSONNode $jsonNode, JSONNull $jsonNull, JSONParser $jsonParser, JSONReader $jsonReader, JSONSerializer $jsonSerializer, JSONToken $jsonToken, JSONTokenType $jsonTokenType, JSONWriter $jsonWriter, Lambda $lambda, Lazy $lazy, Left $left, Let $let, ListClass $list, LocaleClass $locale, Lock $lock, Long $long, Map $map, MapEntry $mapEntry, MetadataPropertyHandling $metadataPropertyHandling, Module $module, Mutable $mutable, Mutating $mutating, NamespaceClass $namespace, Native $native, NewClass $new, Newtonsoft $newtonsoft, Nil $nil, No $no) {
2121221212 $this->dummy = $dummy;
21213+ $this->goto = $goto;
2121321214 $this->guard = $guard;
2121421215 $this->hasOwnProperty = $hasOwnProperty;
2121521216 $this->hashCode = $hashCode;
@@ -21273,7 +21274,6 @@ class Obj3 {
2127321274 $this->newtonsoft = $newtonsoft;
2127421275 $this->nil = $nil;
2127521276 $this->no = $no;
21276- $this->noexcept = $noexcept;
2127721277 }
2127821278
2127921279 /**
@@ -21323,6 +21323,54 @@ class Obj3 {
2132321323 return 31; /*31:dummy*/
2132421324 }
2132521325
21326+ /**
21327+ * @param stdClass $value
21328+ * @throws Exception
21329+ * @return GotoClass
21330+ */
21331+ public static function fromGoto(stdClass $value): GotoClass {
21332+ return GotoClass::from($value); /*class*/
21333+ }
21334+
21335+ /**
21336+ * @throws Exception
21337+ * @return stdClass
21338+ */
21339+ public function toGoto(): stdClass {
21340+ if (Obj3::validateGoto($this->goto)) {
21341+ return $this->goto->to(); /*class*/
21342+ }
21343+ throw new Exception('never get to this Obj3::goto');
21344+ }
21345+
21346+ /**
21347+ * @param GotoClass
21348+ * @return bool
21349+ * @throws Exception
21350+ */
21351+ public static function validateGoto(GotoClass $value): bool {
21352+ $value->validate();
21353+ return true;
21354+ }
21355+
21356+ /**
21357+ * @throws Exception
21358+ * @return GotoClass
21359+ */
21360+ public function getGoto(): GotoClass {
21361+ if (Obj3::validateGoto($this->goto)) {
21362+ return $this->goto;
21363+ }
21364+ throw new Exception('never get to getGoto Obj3::goto');
21365+ }
21366+
21367+ /**
21368+ * @return GotoClass
21369+ */
21370+ public static function sampleGoto(): GotoClass {
21371+ return GotoClass::sample(); /*32:goto*/
21372+ }
21373+
2132621374 /**
2132721375 * @param stdClass $value
2132821376 * @throws Exception
@@ -21368,7 +21416,7 @@ class Obj3 {
2136821416 * @return Guard
2136921417 */
2137021418 public static function sampleGuard(): Guard {
21371- return Guard::sample(); /*32:guard*/
21419+ return Guard::sample(); /*33:guard*/
2137221420 }
2137321421
2137421422 /**
@@ -21416,7 +21464,7 @@ class Obj3 {
2141621464 * @return HasOwnProperty
2141721465 */
2141821466 public static function sampleHasOwnProperty(): HasOwnProperty {
21419- return HasOwnProperty::sample(); /*33:hasOwnProperty*/
21467+ return HasOwnProperty::sample(); /*34:hasOwnProperty*/
2142021468 }
2142121469
2142221470 /**
@@ -21464,7 +21512,7 @@ class Obj3 {
2146421512 * @return HashCode
2146521513 */
2146621514 public static function sampleHashCode(): HashCode {
21467- return HashCode::sample(); /*34:hashCode*/
21515+ return HashCode::sample(); /*35:hashCode*/
2146821516 }
2146921517
2147021518 /**
@@ -21512,7 +21560,7 @@ class Obj3 {
2151221560 * @return Hashable
2151321561 */
2151421562 public static function sampleHashable(): Hashable {
21515- return Hashable::sample(); /*35:hashable*/
21563+ return Hashable::sample(); /*36:hashable*/
2151621564 }
2151721565
2151821566 /**
@@ -21560,7 +21608,7 @@ class Obj3 {
2156021608 * @return Hasher
2156121609 */
2156221610 public static function sampleHasher(): Hasher {
21563- return Hasher::sample(); /*36:hasher*/
21611+ return Hasher::sample(); /*37:hasher*/
2156421612 }
2156521613
2156621614 /**
@@ -21608,7 +21656,7 @@ class Obj3 {
2160821656 * @return ID
2160921657 */
2161021658 public static function sampleID(): ID {
21611- return ID::sample(); /*37:id*/
21659+ return ID::sample(); /*38:id*/
2161221660 }
2161321661
2161421662 /**
@@ -21656,7 +21704,7 @@ class Obj3 {
2165621704 * @return IfClass
2165721705 */
2165821706 public static function sampleIf(): IfClass {
21659- return IfClass::sample(); /*38:if*/
21707+ return IfClass::sample(); /*39:if*/
2166021708 }
2166121709
2166221710 /**
@@ -21704,7 +21752,7 @@ class Obj3 {
2170421752 * @return Imp
2170521753 */
2170621754 public static function sampleImp(): Imp {
21707- return Imp::sample(); /*39:imp*/
21755+ return Imp::sample(); /*40:imp*/
2170821756 }
2170921757
2171021758 /**
@@ -21752,7 +21800,7 @@ class Obj3 {
2175221800 * @return ImplementsClass
2175321801 */
2175421802 public static function sampleImplements(): ImplementsClass {
21755- return ImplementsClass::sample(); /*40:implements*/
21803+ return ImplementsClass::sample(); /*41:implements*/
2175621804 }
2175721805
2175821806 /**
@@ -21800,7 +21848,7 @@ class Obj3 {
2180021848 * @return Implicit
2180121849 */
2180221850 public static function sampleImplicit(): Implicit {
21803- return Implicit::sample(); /*41:implicit*/
21851+ return Implicit::sample(); /*42:implicit*/
2180421852 }
2180521853
2180621854 /**
@@ -21848,7 +21896,7 @@ class Obj3 {
2184821896 * @return Import
2184921897 */
2185021898 public static function sampleImport(): Import {
21851- return Import::sample(); /*42:import*/
21899+ return Import::sample(); /*43:import*/
2185221900 }
2185321901
2185421902 /**
@@ -21896,7 +21944,7 @@ class Obj3 {
2189621944 * @return In
2189721945 */
2189821946 public static function sampleIn(): In {
21899- return In::sample(); /*43:in*/
21947+ return In::sample(); /*44:in*/
2190021948 }
2190121949
2190221950 /**
@@ -21944,7 +21992,7 @@ class Obj3 {
2194421992 * @return Indirect
2194521993 */
2194621994 public static function sampleIndirect(): Indirect {
21947- return Indirect::sample(); /*44:indirect*/
21995+ return Indirect::sample(); /*45:indirect*/
2194821996 }
2194921997
2195021998 /**
@@ -21992,7 +22040,7 @@ class Obj3 {
2199222040 * @return Infix
2199322041 */
2199422042 public static function sampleInfix(): Infix {
21995- return Infix::sample(); /*45:infix*/
22043+ return Infix::sample(); /*46:infix*/
2199622044 }
2199722045
2199822046 /**
@@ -22040,7 +22088,7 @@ class Obj3 {
2204022088 * @return Init
2204122089 */
2204222090 public static function sampleInit(): Init {
22043- return Init::sample(); /*46:init*/
22091+ return Init::sample(); /*47:init*/
2204422092 }
2204522093
2204622094 /**
@@ -22088,7 +22136,7 @@ class Obj3 {
2208822136 * @return Inline
2208922137 */
2209022138 public static function sampleInline(): Inline {
22091- return Inline::sample(); /*47:inline*/
22139+ return Inline::sample(); /*48:inline*/
2209222140 }
2209322141
2209422142 /**
@@ -22136,7 +22184,7 @@ class Obj3 {
2213622184 * @return Inout
2213722185 */
2213822186 public static function sampleInout(): Inout {
22139- return Inout::sample(); /*48:inout*/
22187+ return Inout::sample(); /*49:inout*/
2214022188 }
2214122189
2214222190 /**
@@ -22184,7 +22232,7 @@ class Obj3 {
2218422232 * @return InstanceofClass
2218522233 */
2218622234 public static function sampleInstanceof(): InstanceofClass {
22187- return InstanceofClass::sample(); /*49:instanceof*/
22235+ return InstanceofClass::sample(); /*50:instanceof*/
2218822236 }
2218922237
2219022238 /**
@@ -22232,7 +22280,7 @@ class Obj3 {
2223222280 * @return IntClass
2223322281 */
2223422282 public static function sampleInt(): IntClass {
22235- return IntClass::sample(); /*50:int*/
22283+ return IntClass::sample(); /*51:int*/
2223622284 }
2223722285
2223822286 /**
@@ -22280,7 +22328,7 @@ class Obj3 {
2228022328 * @return InterfaceClass
2228122329 */
2228222330 public static function sampleInterface(): InterfaceClass {
22283- return InterfaceClass::sample(); /*51:interface*/
22331+ return InterfaceClass::sample(); /*52:interface*/
2228422332 }
2228522333
2228622334 /**
@@ -22328,7 +22376,7 @@ class Obj3 {
2232822376 * @return Internal
2232922377 */
2233022378 public static function sampleInternal(): Internal {
22331- return Internal::sample(); /*52:internal*/
22379+ return Internal::sample(); /*53:internal*/
2233222380 }
2233322381
2233422382 /**
@@ -22376,7 +22424,7 @@ class Obj3 {
2237622424 * @return Is
2237722425 */
2237822426 public static function sampleIs(): Is {
22379- return Is::sample(); /*53:is*/
22427+ return Is::sample(); /*54:is*/
2238022428 }
2238122429
2238222430 /**
@@ -22424,7 +22472,7 @@ class Obj3 {
2242422472 * @return ISODateTimeOffsetConverter
2242522473 */
2242622474 public static function sampleISODateTimeOffsetConverter(): ISODateTimeOffsetConverter {
22427- return ISODateTimeOffsetConverter::sample(); /*54:isoDateTimeOffsetConverter*/
22475+ return ISODateTimeOffsetConverter::sample(); /*55:isoDateTimeOffsetConverter*/
2242822476 }
2242922477
2243022478 /**
@@ -22472,7 +22520,7 @@ class Obj3 {
2247222520 * @return IterableClass
2247322521 */
2247422522 public static function sampleIterable(): IterableClass {
22475- return IterableClass::sample(); /*55:iterable*/
22523+ return IterableClass::sample(); /*56:iterable*/
2247622524 }
2247722525
2247822526 /**
@@ -22520,7 +22568,7 @@ class Obj3 {
2252022568 * @return Jdec
2252122569 */
2252222570 public static function sampleJdec(): Jdec {
22523- return Jdec::sample(); /*56:jdec*/
22571+ return Jdec::sample(); /*57:jdec*/
2252422572 }
2252522573
2252622574 /**
@@ -22568,7 +22616,7 @@ class Obj3 {
2256822616 * @return Jenc
2256922617 */
2257022618 public static function sampleJenc(): Jenc {
22571- return Jenc::sample(); /*57:jenc*/
22619+ return Jenc::sample(); /*58:jenc*/
2257222620 }
2257322621
2257422622 /**
@@ -22616,7 +22664,7 @@ class Obj3 {
2261622664 * @return Jpipe
2261722665 */
2261822666 public static function sampleJpipe(): Jpipe {
22619- return Jpipe::sample(); /*58:jpipe*/
22667+ return Jpipe::sample(); /*59:jpipe*/
2262022668 }
2262122669
2262222670 /**
@@ -22664,7 +22712,7 @@ class Obj3 {
2266422712 * @return JSON
2266522713 */
2266622714 public static function sampleJSON(): JSON {
22667- return JSON::sample(); /*59:json*/
22715+ return JSON::sample(); /*60:json*/
2266822716 }
2266922717
2267022718 /**
@@ -22712,7 +22760,7 @@ class Obj3 {
2271222760 * @return JSONAny
2271322761 */
2271422762 public static function sampleJSONAny(): JSONAny {
22715- return JSONAny::sample(); /*60:jsonAny*/
22763+ return JSONAny::sample(); /*61:jsonAny*/
2271622764 }
2271722765
2271822766 /**
@@ -22760,7 +22808,7 @@ class Obj3 {
2276022808 * @return JSONCodingKey
2276122809 */
2276222810 public static function sampleJSONCodingKey(): JSONCodingKey {
22763- return JSONCodingKey::sample(); /*61:jsonCodingKey*/
22811+ return JSONCodingKey::sample(); /*62:jsonCodingKey*/
2276422812 }
2276522813
2276622814 /**
@@ -22808,7 +22856,7 @@ class Obj3 {
2280822856 * @return JSONConverter
2280922857 */
2281022858 public static function sampleJSONConverter(): JSONConverter {
22811- return JSONConverter::sample(); /*62:jsonConverter*/
22859+ return JSONConverter::sample(); /*63:jsonConverter*/
2281222860 }
2281322861
2281422862 /**
@@ -22856,7 +22904,7 @@ class Obj3 {
2285622904 * @return JSONDecoder
2285722905 */
2285822906 public static function sampleJSONDecoder(): JSONDecoder {
22859- return JSONDecoder::sample(); /*63:jsonDecoder*/
22907+ return JSONDecoder::sample(); /*64:jsonDecoder*/
2286022908 }
2286122909
2286222910 /**
@@ -22904,7 +22952,7 @@ class Obj3 {
2290422952 * @return JSONEncoder
2290522953 */
2290622954 public static function sampleJSONEncoder(): JSONEncoder {
22907- return JSONEncoder::sample(); /*64:jsonEncoder*/
22955+ return JSONEncoder::sample(); /*65:jsonEncoder*/
2290822956 }
2290922957
2291022958 /**
@@ -22952,7 +23000,7 @@ class Obj3 {
2295223000 * @return JSONExceptionClass
2295323001 */
2295423002 public static function sampleJSONException(): JSONExceptionClass {
22955- return JSONExceptionClass::sample(); /*65:jsonException*/
23003+ return JSONExceptionClass::sample(); /*66:jsonException*/
2295623004 }
2295723005
2295823006 /**
@@ -23000,7 +23048,7 @@ class Obj3 {
2300023048 * @return JSONGenerator
2300123049 */
2300223050 public static function sampleJSONGenerator(): JSONGenerator {
23003- return JSONGenerator::sample(); /*66:jsonGenerator*/
23051+ return JSONGenerator::sample(); /*67:jsonGenerator*/
2300423052 }
2300523053
2300623054 /**
@@ -23048,7 +23096,7 @@ class Obj3 {
2304823096 * @return JSONNode
2304923097 */
2305023098 public static function sampleJSONNode(): JSONNode {
23051- return JSONNode::sample(); /*67:jsonNode*/
23099+ return JSONNode::sample(); /*68:jsonNode*/
2305223100 }
2305323101
2305423102 /**
@@ -23096,7 +23144,7 @@ class Obj3 {
2309623144 * @return JSONNull
2309723145 */
2309823146 public static function sampleJSONNull(): JSONNull {
23099- return JSONNull::sample(); /*68:jsonNull*/
23147+ return JSONNull::sample(); /*69:jsonNull*/
2310023148 }
2310123149
2310223150 /**
@@ -23144,7 +23192,7 @@ class Obj3 {
2314423192 * @return JSONParser
2314523193 */
2314623194 public static function sampleJSONParser(): JSONParser {
23147- return JSONParser::sample(); /*69:jsonParser*/
23195+ return JSONParser::sample(); /*70:jsonParser*/
2314823196 }
2314923197
2315023198 /**
@@ -23192,7 +23240,7 @@ class Obj3 {
2319223240 * @return JSONReader
2319323241 */
2319423242 public static function sampleJSONReader(): JSONReader {
23195- return JSONReader::sample(); /*70:jsonReader*/
23243+ return JSONReader::sample(); /*71:jsonReader*/
2319623244 }
2319723245
2319823246 /**
@@ -23240,7 +23288,7 @@ class Obj3 {
2324023288 * @return JSONSerializer
2324123289 */
2324223290 public static function sampleJSONSerializer(): JSONSerializer {
23243- return JSONSerializer::sample(); /*71:jsonSerializer*/
23291+ return JSONSerializer::sample(); /*72:jsonSerializer*/
2324423292 }
2324523293
2324623294 /**
@@ -23288,7 +23336,7 @@ class Obj3 {
2328823336 * @return JSONToken
2328923337 */
2329023338 public static function sampleJSONToken(): JSONToken {
23291- return JSONToken::sample(); /*72:jsonToken*/
23339+ return JSONToken::sample(); /*73:jsonToken*/
2329223340 }
2329323341
2329423342 /**
@@ -23336,7 +23384,7 @@ class Obj3 {
2333623384 * @return JSONTokenType
2333723385 */
2333823386 public static function sampleJSONTokenType(): JSONTokenType {
23339- return JSONTokenType::sample(); /*73:jsonTokenType*/
23387+ return JSONTokenType::sample(); /*74:jsonTokenType*/
2334023388 }
2334123389
2334223390 /**
@@ -23384,7 +23432,7 @@ class Obj3 {
2338423432 * @return JSONWriter
2338523433 */
2338623434 public static function sampleJSONWriter(): JSONWriter {
23387- return JSONWriter::sample(); /*74:jsonWriter*/
23435+ return JSONWriter::sample(); /*75:jsonWriter*/
2338823436 }
2338923437
2339023438 /**
@@ -23432,7 +23480,7 @@ class Obj3 {
2343223480 * @return Lambda
2343323481 */
2343423482 public static function sampleLambda(): Lambda {
23435- return Lambda::sample(); /*75:lambda*/
23483+ return Lambda::sample(); /*76:lambda*/
2343623484 }
2343723485
2343823486 /**
@@ -23480,7 +23528,7 @@ class Obj3 {
2348023528 * @return Lazy
2348123529 */
2348223530 public static function sampleLazy(): Lazy {
23483- return Lazy::sample(); /*76:lazy*/
23531+ return Lazy::sample(); /*77:lazy*/
2348423532 }
2348523533
2348623534 /**
@@ -23528,7 +23576,7 @@ class Obj3 {
2352823576 * @return Left
2352923577 */
2353023578 public static function sampleLeft(): Left {
23531- return Left::sample(); /*77:left*/
23579+ return Left::sample(); /*78:left*/
2353223580 }
2353323581
2353423582 /**
@@ -23576,7 +23624,7 @@ class Obj3 {
2357623624 * @return Let
2357723625 */
2357823626 public static function sampleLet(): Let {
23579- return Let::sample(); /*78:let*/
23627+ return Let::sample(); /*79:let*/
2358023628 }
2358123629
2358223630 /**
@@ -23624,7 +23672,7 @@ class Obj3 {
2362423672 * @return ListClass
2362523673 */
2362623674 public static function sampleList(): ListClass {
23627- return ListClass::sample(); /*79:list*/
23675+ return ListClass::sample(); /*80:list*/
2362823676 }
2362923677
2363023678 /**
@@ -23672,7 +23720,7 @@ class Obj3 {
2367223720 * @return LocaleClass
2367323721 */
2367423722 public static function sampleLocale(): LocaleClass {
23675- return LocaleClass::sample(); /*80:locale*/
23723+ return LocaleClass::sample(); /*81:locale*/
2367623724 }
2367723725
2367823726 /**
@@ -23720,7 +23768,7 @@ class Obj3 {
2372023768 * @return Lock
2372123769 */
2372223770 public static function sampleLock(): Lock {
23723- return Lock::sample(); /*81:lock*/
23771+ return Lock::sample(); /*82:lock*/
2372423772 }
2372523773
2372623774 /**
@@ -23768,7 +23816,7 @@ class Obj3 {
2376823816 * @return Long
2376923817 */
2377023818 public static function sampleLong(): Long {
23771- return Long::sample(); /*82:long*/
23819+ return Long::sample(); /*83:long*/
2377223820 }
2377323821
2377423822 /**
@@ -23816,7 +23864,7 @@ class Obj3 {
2381623864 * @return Map
2381723865 */
2381823866 public static function sampleMap(): Map {
23819- return Map::sample(); /*83:map*/
23867+ return Map::sample(); /*84:map*/
2382023868 }
2382123869
2382223870 /**
@@ -23864,7 +23912,7 @@ class Obj3 {
2386423912 * @return MapEntry
2386523913 */
2386623914 public static function sampleMapEntry(): MapEntry {
23867- return MapEntry::sample(); /*84:mapEntry*/
23915+ return MapEntry::sample(); /*85:mapEntry*/
2386823916 }
2386923917
2387023918 /**
@@ -23912,7 +23960,7 @@ class Obj3 {
2391223960 * @return MetadataPropertyHandling
2391323961 */
2391423962 public static function sampleMetadataPropertyHandling(): MetadataPropertyHandling {
23915- return MetadataPropertyHandling::sample(); /*85:metadataPropertyHandling*/
23963+ return MetadataPropertyHandling::sample(); /*86:metadataPropertyHandling*/
2391623964 }
2391723965
2391823966 /**
@@ -23960,7 +24008,7 @@ class Obj3 {
2396024008 * @return Module
2396124009 */
2396224010 public static function sampleModule(): Module {
23963- return Module::sample(); /*86:module*/
24011+ return Module::sample(); /*87:module*/
2396424012 }
2396524013
2396624014 /**
@@ -24008,7 +24056,7 @@ class Obj3 {
2400824056 * @return Mutable
2400924057 */
2401024058 public static function sampleMutable(): Mutable {
24011- return Mutable::sample(); /*87:mutable*/
24059+ return Mutable::sample(); /*88:mutable*/
2401224060 }
2401324061
2401424062 /**
@@ -24056,7 +24104,7 @@ class Obj3 {
2405624104 * @return Mutating
2405724105 */
2405824106 public static function sampleMutating(): Mutating {
24059- return Mutating::sample(); /*88:mutating*/
24107+ return Mutating::sample(); /*89:mutating*/
2406024108 }
2406124109
2406224110 /**
@@ -24104,7 +24152,7 @@ class Obj3 {
2410424152 * @return NamespaceClass
2410524153 */
2410624154 public static function sampleNamespace(): NamespaceClass {
24107- return NamespaceClass::sample(); /*89:namespace*/
24155+ return NamespaceClass::sample(); /*90:namespace*/
2410824156 }
2410924157
2411024158 /**
@@ -24152,7 +24200,7 @@ class Obj3 {
2415224200 * @return Native
2415324201 */
2415424202 public static function sampleNative(): Native {
24155- return Native::sample(); /*90:native*/
24203+ return Native::sample(); /*91:native*/
2415624204 }
2415724205
2415824206 /**
@@ -24200,7 +24248,7 @@ class Obj3 {
2420024248 * @return NewClass
2420124249 */
2420224250 public static function sampleNew(): NewClass {
24203- return NewClass::sample(); /*91:new*/
24251+ return NewClass::sample(); /*92:new*/
2420424252 }
2420524253
2420624254 /**
@@ -24248,7 +24296,7 @@ class Obj3 {
2424824296 * @return Newtonsoft
2424924297 */
2425024298 public static function sampleNewtonsoft(): Newtonsoft {
24251- return Newtonsoft::sample(); /*92:newtonsoft*/
24299+ return Newtonsoft::sample(); /*93:newtonsoft*/
2425224300 }
2425324301
2425424302 /**
@@ -24296,7 +24344,7 @@ class Obj3 {
2429624344 * @return Nil
2429724345 */
2429824346 public static function sampleNil(): Nil {
24299- return Nil::sample(); /*93:nil*/
24347+ return Nil::sample(); /*94:nil*/
2430024348 }
2430124349
2430224350 /**
@@ -24344,55 +24392,7 @@ class Obj3 {
2434424392 * @return No
2434524393 */
2434624394 public static function sampleNo(): No {
24347- return No::sample(); /*94:no*/
24348- }
24349-
24350- /**
24351- * @param stdClass $value
24352- * @throws Exception
24353- * @return Noexcept
24354- */
24355- public static function fromNoexcept(stdClass $value): Noexcept {
24356- return Noexcept::from($value); /*class*/
24357- }
24358-
24359- /**
24360- * @throws Exception
24361- * @return stdClass
24362- */
24363- public function toNoexcept(): stdClass {
24364- if (Obj3::validateNoexcept($this->noexcept)) {
24365- return $this->noexcept->to(); /*class*/
24366- }
24367- throw new Exception('never get to this Obj3::noexcept');
24368- }
24369-
24370- /**
24371- * @param Noexcept
24372- * @return bool
24373- * @throws Exception
24374- */
24375- public static function validateNoexcept(Noexcept $value): bool {
24376- $value->validate();
24377- return true;
24378- }
24379-
24380- /**
24381- * @throws Exception
24382- * @return Noexcept
24383- */
24384- public function getNoexcept(): Noexcept {
24385- if (Obj3::validateNoexcept($this->noexcept)) {
24386- return $this->noexcept;
24387- }
24388- throw new Exception('never get to getNoexcept Obj3::noexcept');
24389- }
24390-
24391- /**
24392- * @return Noexcept
24393- */
24394- public static function sampleNoexcept(): Noexcept {
24395- return Noexcept::sample(); /*95:noexcept*/
24395+ return No::sample(); /*95:no*/
2439624396 }
2439724397
2439824398 /**
@@ -24401,6 +24401,7 @@ class Obj3 {
2440124401 */
2440224402 public function validate(): bool {
2440324403 return Obj3::validateDummy($this->dummy)
24404+ || Obj3::validateGoto($this->goto)
2440424405 || Obj3::validateGuard($this->guard)
2440524406 || Obj3::validateHasOwnProperty($this->hasOwnProperty)
2440624407 || Obj3::validateHashCode($this->hashCode)
@@ -24463,8 +24464,7 @@ class Obj3 {
2446324464 || Obj3::validateNew($this->new)
2446424465 || Obj3::validateNewtonsoft($this->newtonsoft)
2446524466 || Obj3::validateNil($this->nil)
24466- || Obj3::validateNo($this->no)
24467- || Obj3::validateNoexcept($this->noexcept);
24467+ || Obj3::validateNo($this->no);
2446824468 }
2446924469
2447024470 /**
@@ -24474,6 +24474,7 @@ class Obj3 {
2447424474 public function to(): stdClass {
2447524475 $out = new stdClass();
2447624476 $out->{'dummy'} = $this->toDummy();
24477+ $out->{'goto'} = $this->toGoto();
2447724478 $out->{'guard'} = $this->toGuard();
2447824479 $out->{'hasOwnProperty'} = $this->toHasOwnProperty();
2447924480 $out->{'hashCode'} = $this->toHashCode();
@@ -24537,7 +24538,6 @@ class Obj3 {
2453724538 $out->{'newtonsoft'} = $this->toNewtonsoft();
2453824539 $out->{'nil'} = $this->toNil();
2453924540 $out->{'NO'} = $this->toNo();
24540- $out->{'noexcept'} = $this->toNoexcept();
2454124541 return $out;
2454224542 }
2454324543
@@ -24550,6 +24550,9 @@ class Obj3 {
2455024550 if (!property_exists($obj, 'dummy')) {
2455124551 throw new Exception("Missing required property");
2455224552 }
24553+ if (!property_exists($obj, 'goto')) {
24554+ throw new Exception("Missing required property");
24555+ }
2455324556 if (!property_exists($obj, 'guard')) {
2455424557 throw new Exception("Missing required property");
2455524558 }
@@ -24739,11 +24742,9 @@ class Obj3 {
2473924742 if (!property_exists($obj, 'NO')) {
2474024743 throw new Exception("Missing required property");
2474124744 }
24742- if (!property_exists($obj, 'noexcept')) {
24743- throw new Exception("Missing required property");
24744- }
2474524745 return new Obj3(
2474624746 Obj3::fromDummy($obj->{'dummy'})
24747+ ,Obj3::fromGoto($obj->{'goto'})
2474724748 ,Obj3::fromGuard($obj->{'guard'})
2474824749 ,Obj3::fromHasOwnProperty($obj->{'hasOwnProperty'})
2474924750 ,Obj3::fromHashCode($obj->{'hashCode'})
@@ -24807,7 +24808,6 @@ class Obj3 {
2480724808 ,Obj3::fromNewtonsoft($obj->{'newtonsoft'})
2480824809 ,Obj3::fromNil($obj->{'nil'})
2480924810 ,Obj3::fromNo($obj->{'NO'})
24810- ,Obj3::fromNoexcept($obj->{'noexcept'})
2481124811 );
2481224812 }
2481324813
@@ -24817,6 +24817,7 @@ class Obj3 {
2481724817 public static function sample(): Obj3 {
2481824818 return new Obj3(
2481924819 Obj3::sampleDummy()
24820+ ,Obj3::sampleGoto()
2482024821 ,Obj3::sampleGuard()
2482124822 ,Obj3::sampleHasOwnProperty()
2482224823 ,Obj3::sampleHashCode()
@@ -24880,7 +24881,107 @@ class Obj3 {
2488024881 ,Obj3::sampleNewtonsoft()
2488124882 ,Obj3::sampleNil()
2488224883 ,Obj3::sampleNo()
24883- ,Obj3::sampleNoexcept()
24884+ );
24885+ }
24886+}
24887+
24888+// This is an autogenerated file:GotoClass
24889+
24890+class GotoClass {
24891+ private int $goto; // json:goto Required
24892+
24893+ /**
24894+ * @param int $goto
24895+ */
24896+ public function __construct(int $goto) {
24897+ $this->goto = $goto;
24898+ }
24899+
24900+ /**
24901+ * @param int $value
24902+ * @throws Exception
24903+ * @return int
24904+ */
24905+ public static function fromGoto(int $value): int {
24906+ return $value; /*int*/
24907+ }
24908+
24909+ /**
24910+ * @throws Exception
24911+ * @return int
24912+ */
24913+ public function toGoto(): int {
24914+ if (GotoClass::validateGoto($this->goto)) {
24915+ return $this->goto; /*int*/
24916+ }
24917+ throw new Exception('never get to this GotoClass::goto');
24918+ }
24919+
24920+ /**
24921+ * @param int
24922+ * @return bool
24923+ * @throws Exception
24924+ */
24925+ public static function validateGoto(int $value): bool {
24926+ return true;
24927+ }
24928+
24929+ /**
24930+ * @throws Exception
24931+ * @return int
24932+ */
24933+ public function getGoto(): int {
24934+ if (GotoClass::validateGoto($this->goto)) {
24935+ return $this->goto;
24936+ }
24937+ throw new Exception('never get to getGoto GotoClass::goto');
24938+ }
24939+
24940+ /**
24941+ * @return int
24942+ */
24943+ public static function sampleGoto(): int {
24944+ return 31; /*31:goto*/
24945+ }
24946+
24947+ /**
24948+ * @throws Exception
24949+ * @return bool
24950+ */
24951+ public function validate(): bool {
24952+ return GotoClass::validateGoto($this->goto);
24953+ }
24954+
24955+ /**
24956+ * @return stdClass
24957+ * @throws Exception
24958+ */
24959+ public function to(): stdClass {
24960+ $out = new stdClass();
24961+ $out->{'goto'} = $this->toGoto();
24962+ return $out;
24963+ }
24964+
24965+ /**
24966+ * @param stdClass $obj
24967+ * @return GotoClass
24968+ * @throws Exception
24969+ */
24970+ public static function from(stdClass $obj): GotoClass {
24971+ if (!property_exists($obj, 'goto')) {
24972+ throw new Exception("Missing required property");
24973+ }
24974+ return new GotoClass(
24975+ GotoClass::fromGoto($obj->{'goto'})
24976+ );
24977+ }
24978+
24979+ /**
24980+ * @return GotoClass
24981+ */
24982+ public static function sample(): GotoClass {
24983+ return new GotoClass(
24984+ GotoClass::sampleGoto()
2488424985 );
2488524986 }
2488624987 }
@@ -31251,112 +31352,12 @@ class No {
3125131352 }
3125231353 }
3125331354
31254-// This is an autogenerated file:Noexcept
31255-
31256-class Noexcept {
31257- private int $noexcept; // json:noexcept Required
31258-
31259- /**
31260- * @param int $noexcept
31261- */
31262- public function __construct(int $noexcept) {
31263- $this->noexcept = $noexcept;
31264- }
31265-
31266- /**
31267- * @param int $value
31268- * @throws Exception
31269- * @return int
31270- */
31271- public static function fromNoexcept(int $value): int {
31272- return $value; /*int*/
31273- }
31274-
31275- /**
31276- * @throws Exception
31277- * @return int
31278- */
31279- public function toNoexcept(): int {
31280- if (Noexcept::validateNoexcept($this->noexcept)) {
31281- return $this->noexcept; /*int*/
31282- }
31283- throw new Exception('never get to this Noexcept::noexcept');
31284- }
31285-
31286- /**
31287- * @param int
31288- * @return bool
31289- * @throws Exception
31290- */
31291- public static function validateNoexcept(int $value): bool {
31292- return true;
31293- }
31294-
31295- /**
31296- * @throws Exception
31297- * @return int
31298- */
31299- public function getNoexcept(): int {
31300- if (Noexcept::validateNoexcept($this->noexcept)) {
31301- return $this->noexcept;
31302- }
31303- throw new Exception('never get to getNoexcept Noexcept::noexcept');
31304- }
31305-
31306- /**
31307- * @return int
31308- */
31309- public static function sampleNoexcept(): int {
31310- return 31; /*31:noexcept*/
31311- }
31312-
31313- /**
31314- * @throws Exception
31315- * @return bool
31316- */
31317- public function validate(): bool {
31318- return Noexcept::validateNoexcept($this->noexcept);
31319- }
31320-
31321- /**
31322- * @return stdClass
31323- * @throws Exception
31324- */
31325- public function to(): stdClass {
31326- $out = new stdClass();
31327- $out->{'noexcept'} = $this->toNoexcept();
31328- return $out;
31329- }
31330-
31331- /**
31332- * @param stdClass $obj
31333- * @return Noexcept
31334- * @throws Exception
31335- */
31336- public static function from(stdClass $obj): Noexcept {
31337- if (!property_exists($obj, 'noexcept')) {
31338- throw new Exception("Missing required property");
31339- }
31340- return new Noexcept(
31341- Noexcept::fromNoexcept($obj->{'noexcept'})
31342- );
31343- }
31344-
31345- /**
31346- * @return Noexcept
31347- */
31348- public static function sample(): Noexcept {
31349- return new Noexcept(
31350- Noexcept::sampleNoexcept()
31351- );
31352- }
31353-}
31354-
3135531355 // This is an autogenerated file:Obj4
3135631356
3135731357 class Obj4 {
3135831358 private int $dummy; // json:dummy Required
3135931359 private NoSuchMethod $noSuchMethod; // json:noSuchMethod Required
31360+ private Noexcept $noexcept; // json:noexcept Required
3136031361 private Nonatomic $nonatomic; // json:nonatomic Required
3136131362 private None $none; // json:None Required
3136231363 private Nonlocal $nonlocal; // json:nonlocal Required
@@ -31374,6 +31375,8 @@ class Obj4 {
3137431375 private ProtocolClass $obj4Protocol; // json:protocol Required
3137531376 private ObjectClass $object; // json:object Required
3137631377 private ObjectMapper $objectMapper; // json:ObjectMapper Required
31378+ private ObjectReader $objectReader; // json:ObjectReader Required
31379+ private ObjectWriter $objectWriter; // json:ObjectWriter Required
3137731380 private Of $of; // json:of Required
3137831381 private Oneway $oneway; // json:oneway Required
3137931382 private Open $open; // json:open Required
@@ -31417,13 +31420,11 @@ class Obj4 {
3141731420 private RuntimeType $runtimeType; // json:runtimeType Required
3141831421 private S $s; // json:s Required
3141931422 private Sbyte $sbyte; // json:sbyte Required
31420- private Sealed $sealed; // json:sealed Required
31421- private Sel $sel; // json:SEL Required
31422- private Select $select; // json:select Required
3142331423
3142431424 /**
3142531425 * @param int $dummy
3142631426 * @param NoSuchMethod $noSuchMethod
31427+ * @param Noexcept $noexcept
3142731428 * @param Nonatomic $nonatomic
3142831429 * @param None $none
3142931430 * @param Nonlocal $nonlocal
@@ -31441,6 +31442,8 @@ class Obj4 {
3144131442 * @param ProtocolClass $obj4Protocol
3144231443 * @param ObjectClass $object
3144331444 * @param ObjectMapper $objectMapper
31445+ * @param ObjectReader $objectReader
31446+ * @param ObjectWriter $objectWriter
3144431447 * @param Of $of
3144531448 * @param Oneway $oneway
3144631449 * @param Open $open
@@ -31484,13 +31487,11 @@ class Obj4 {
3148431487 * @param RuntimeType $runtimeType
3148531488 * @param S $s
3148631489 * @param Sbyte $sbyte
31487- * @param Sealed $sealed
31488- * @param Sel $sel
31489- * @param Select $select
3149031490 */
31491- public function __construct(int $dummy, NoSuchMethod $noSuchMethod, Nonatomic $nonatomic, None $none, Nonlocal $nonlocal, Nonmutating $nonmutating, Not $not, NotEq $notEq, NSError $nsError, NSObject $nsObject, NSString $nsString, NULLClass $null, Nullptr $nullptr, Number $number, NoneClass $obj4None, Obj4Null $obj4Null, ProtocolClass $obj4Protocol, ObjectClass $object, ObjectMapper $objectMapper, Of $of, Oneway $oneway, Open $open, Operator $operator, Optional $optional, OrClass $or, OrEq $orEq, Out $out, OverrideClass $override, Package $package, Params $params, Pass $pass, Port $port, Postfix $postfix, Precedence $precedence, Prefix $prefix, PrintClass $print, PrintMembers $printMembers, Printf $printf, PrivateClass $private, ProtectedClass $protected, Protocol $protocol, PublicClass $public, Quicktype $quicktype, Raise $raise, Range $range, ReadonlyClass $readonly, Ref $ref, RegExp $regExp, Register $register, ReinterpretCast $reinterpretCast, Repeat $repeat, RequireClass $require, Required $required, Requires $requires, Restrict $restrict, Retain $retain, Rethrows $rethrows, ReturnClass $return, Right $right, RuntimeType $runtimeType, S $s, Sbyte $sbyte, Sealed $sealed, Sel $sel, Select $select) {
31491+ public function __construct(int $dummy, NoSuchMethod $noSuchMethod, Noexcept $noexcept, Nonatomic $nonatomic, None $none, Nonlocal $nonlocal, Nonmutating $nonmutating, Not $not, NotEq $notEq, NSError $nsError, NSObject $nsObject, NSString $nsString, NULLClass $null, Nullptr $nullptr, Number $number, NoneClass $obj4None, Obj4Null $obj4Null, ProtocolClass $obj4Protocol, ObjectClass $object, ObjectMapper $objectMapper, ObjectReader $objectReader, ObjectWriter $objectWriter, Of $of, Oneway $oneway, Open $open, Operator $operator, Optional $optional, OrClass $or, OrEq $orEq, Out $out, OverrideClass $override, Package $package, Params $params, Pass $pass, Port $port, Postfix $postfix, Precedence $precedence, Prefix $prefix, PrintClass $print, PrintMembers $printMembers, Printf $printf, PrivateClass $private, ProtectedClass $protected, Protocol $protocol, PublicClass $public, Quicktype $quicktype, Raise $raise, Range $range, ReadonlyClass $readonly, Ref $ref, RegExp $regExp, Register $register, ReinterpretCast $reinterpretCast, Repeat $repeat, RequireClass $require, Required $required, Requires $requires, Restrict $restrict, Retain $retain, Rethrows $rethrows, ReturnClass $return, Right $right, RuntimeType $runtimeType, S $s, Sbyte $sbyte) {
3149231492 $this->dummy = $dummy;
3149331493 $this->noSuchMethod = $noSuchMethod;
31494+ $this->noexcept = $noexcept;
3149431495 $this->nonatomic = $nonatomic;
3149531496 $this->none = $none;
3149631497 $this->nonlocal = $nonlocal;
@@ -31508,6 +31509,8 @@ class Obj4 {
3150831509 $this->obj4Protocol = $obj4Protocol;
3150931510 $this->object = $object;
3151031511 $this->objectMapper = $objectMapper;
31512+ $this->objectReader = $objectReader;
31513+ $this->objectWriter = $objectWriter;
3151131514 $this->of = $of;
3151231515 $this->oneway = $oneway;
3151331516 $this->open = $open;
@@ -31551,9 +31554,6 @@ class Obj4 {
3155131554 $this->runtimeType = $runtimeType;
3155231555 $this->s = $s;
3155331556 $this->sbyte = $sbyte;
31554- $this->sealed = $sealed;
31555- $this->sel = $sel;
31556- $this->select = $select;
3155731557 }
3155831558
3155931559 /**
@@ -31651,6 +31651,54 @@ class Obj4 {
3165131651 return NoSuchMethod::sample(); /*32:noSuchMethod*/
3165231652 }
3165331653
31654+ /**
31655+ * @param stdClass $value
31656+ * @throws Exception
31657+ * @return Noexcept
31658+ */
31659+ public static function fromNoexcept(stdClass $value): Noexcept {
31660+ return Noexcept::from($value); /*class*/
31661+ }
31662+
31663+ /**
31664+ * @throws Exception
31665+ * @return stdClass
31666+ */
31667+ public function toNoexcept(): stdClass {
31668+ if (Obj4::validateNoexcept($this->noexcept)) {
31669+ return $this->noexcept->to(); /*class*/
31670+ }
31671+ throw new Exception('never get to this Obj4::noexcept');
31672+ }
31673+
31674+ /**
31675+ * @param Noexcept
31676+ * @return bool
31677+ * @throws Exception
31678+ */
31679+ public static function validateNoexcept(Noexcept $value): bool {
31680+ $value->validate();
31681+ return true;
31682+ }
31683+
31684+ /**
31685+ * @throws Exception
31686+ * @return Noexcept
31687+ */
31688+ public function getNoexcept(): Noexcept {
31689+ if (Obj4::validateNoexcept($this->noexcept)) {
31690+ return $this->noexcept;
31691+ }
31692+ throw new Exception('never get to getNoexcept Obj4::noexcept');
31693+ }
31694+
31695+ /**
31696+ * @return Noexcept
31697+ */
31698+ public static function sampleNoexcept(): Noexcept {
31699+ return Noexcept::sample(); /*33:noexcept*/
31700+ }
31701+
3165431702 /**
3165531703 * @param stdClass $value
3165631704 * @throws Exception
@@ -31696,7 +31744,7 @@ class Obj4 {
3169631744 * @return Nonatomic
3169731745 */
3169831746 public static function sampleNonatomic(): Nonatomic {
31699- return Nonatomic::sample(); /*33:nonatomic*/
31747+ return Nonatomic::sample(); /*34:nonatomic*/
3170031748 }
3170131749
3170231750 /**
@@ -31744,7 +31792,7 @@ class Obj4 {
3174431792 * @return None
3174531793 */
3174631794 public static function sampleNone(): None {
31747- return None::sample(); /*34:none*/
31795+ return None::sample(); /*35:none*/
3174831796 }
3174931797
3175031798 /**
@@ -31792,7 +31840,7 @@ class Obj4 {
3179231840 * @return Nonlocal
3179331841 */
3179431842 public static function sampleNonlocal(): Nonlocal {
31795- return Nonlocal::sample(); /*35:nonlocal*/
31843+ return Nonlocal::sample(); /*36:nonlocal*/
3179631844 }
3179731845
3179831846 /**
@@ -31840,7 +31888,7 @@ class Obj4 {
3184031888 * @return Nonmutating
3184131889 */
3184231890 public static function sampleNonmutating(): Nonmutating {
31843- return Nonmutating::sample(); /*36:nonmutating*/
31891+ return Nonmutating::sample(); /*37:nonmutating*/
3184431892 }
3184531893
3184631894 /**
@@ -31888,7 +31936,7 @@ class Obj4 {
3188831936 * @return Not
3188931937 */
3189031938 public static function sampleNot(): Not {
31891- return Not::sample(); /*37:not*/
31939+ return Not::sample(); /*38:not*/
3189231940 }
3189331941
3189431942 /**
@@ -31936,7 +31984,7 @@ class Obj4 {
3193631984 * @return NotEq
3193731985 */
3193831986 public static function sampleNotEq(): NotEq {
31939- return NotEq::sample(); /*38:notEq*/
31987+ return NotEq::sample(); /*39:notEq*/
3194031988 }
3194131989
3194231990 /**
@@ -31984,7 +32032,7 @@ class Obj4 {
3198432032 * @return NSError
3198532033 */
3198632034 public static function sampleNSError(): NSError {
31987- return NSError::sample(); /*39:nsError*/
32035+ return NSError::sample(); /*40:nsError*/
3198832036 }
3198932037
3199032038 /**
@@ -32032,7 +32080,7 @@ class Obj4 {
3203232080 * @return NSObject
3203332081 */
3203432082 public static function sampleNSObject(): NSObject {
32035- return NSObject::sample(); /*40:nsObject*/
32083+ return NSObject::sample(); /*41:nsObject*/
3203632084 }
3203732085
3203832086 /**
@@ -32080,7 +32128,7 @@ class Obj4 {
3208032128 * @return NSString
3208132129 */
3208232130 public static function sampleNSString(): NSString {
32083- return NSString::sample(); /*41:nsString*/
32131+ return NSString::sample(); /*42:nsString*/
3208432132 }
3208532133
3208632134 /**
@@ -32128,7 +32176,7 @@ class Obj4 {
3212832176 * @return NULLClass
3212932177 */
3213032178 public static function sampleNull(): NULLClass {
32131- return NULLClass::sample(); /*42:null*/
32179+ return NULLClass::sample(); /*43:null*/
3213232180 }
3213332181
3213432182 /**
@@ -32176,7 +32224,7 @@ class Obj4 {
3217632224 * @return Nullptr
3217732225 */
3217832226 public static function sampleNullptr(): Nullptr {
32179- return Nullptr::sample(); /*43:nullptr*/
32227+ return Nullptr::sample(); /*44:nullptr*/
3218032228 }
3218132229
3218232230 /**
@@ -32224,7 +32272,7 @@ class Obj4 {
3222432272 * @return Number
3222532273 */
3222632274 public static function sampleNumber(): Number {
32227- return Number::sample(); /*44:number*/
32275+ return Number::sample(); /*45:number*/
3222832276 }
3222932277
3223032278 /**
@@ -32272,7 +32320,7 @@ class Obj4 {
3227232320 * @return NoneClass
3227332321 */
3227432322 public static function sampleObj4None(): NoneClass {
32275- return NoneClass::sample(); /*45:obj4None*/
32323+ return NoneClass::sample(); /*46:obj4None*/
3227632324 }
3227732325
3227832326 /**
@@ -32320,7 +32368,7 @@ class Obj4 {
3232032368 * @return Obj4Null
3232132369 */
3232232370 public static function sampleObj4Null(): Obj4Null {
32323- return Obj4Null::sample(); /*46:obj4Null*/
32371+ return Obj4Null::sample(); /*47:obj4Null*/
3232432372 }
3232532373
3232632374 /**
@@ -32368,7 +32416,7 @@ class Obj4 {
3236832416 * @return ProtocolClass
3236932417 */
3237032418 public static function sampleObj4Protocol(): ProtocolClass {
32371- return ProtocolClass::sample(); /*47:obj4Protocol*/
32419+ return ProtocolClass::sample(); /*48:obj4Protocol*/
3237232420 }
3237332421
3237432422 /**
@@ -32416,7 +32464,7 @@ class Obj4 {
3241632464 * @return ObjectClass
3241732465 */
3241832466 public static function sampleObject(): ObjectClass {
32419- return ObjectClass::sample(); /*48:object*/
32467+ return ObjectClass::sample(); /*49:object*/
3242032468 }
3242132469
3242232470 /**
@@ -32464,7 +32512,103 @@ class Obj4 {
3246432512 * @return ObjectMapper
3246532513 */
3246632514 public static function sampleObjectMapper(): ObjectMapper {
32467- return ObjectMapper::sample(); /*49:objectMapper*/
32515+ return ObjectMapper::sample(); /*50:objectMapper*/
32516+ }
32517+
32518+ /**
32519+ * @param stdClass $value
32520+ * @throws Exception
32521+ * @return ObjectReader
32522+ */
32523+ public static function fromObjectReader(stdClass $value): ObjectReader {
32524+ return ObjectReader::from($value); /*class*/
32525+ }
32526+
32527+ /**
32528+ * @throws Exception
32529+ * @return stdClass
32530+ */
32531+ public function toObjectReader(): stdClass {
32532+ if (Obj4::validateObjectReader($this->objectReader)) {
32533+ return $this->objectReader->to(); /*class*/
32534+ }
32535+ throw new Exception('never get to this Obj4::objectReader');
32536+ }
32537+
32538+ /**
32539+ * @param ObjectReader
32540+ * @return bool
32541+ * @throws Exception
32542+ */
32543+ public static function validateObjectReader(ObjectReader $value): bool {
32544+ $value->validate();
32545+ return true;
32546+ }
32547+
32548+ /**
32549+ * @throws Exception
32550+ * @return ObjectReader
32551+ */
32552+ public function getObjectReader(): ObjectReader {
32553+ if (Obj4::validateObjectReader($this->objectReader)) {
32554+ return $this->objectReader;
32555+ }
32556+ throw new Exception('never get to getObjectReader Obj4::objectReader');
32557+ }
32558+
32559+ /**
32560+ * @return ObjectReader
32561+ */
32562+ public static function sampleObjectReader(): ObjectReader {
32563+ return ObjectReader::sample(); /*51:objectReader*/
32564+ }
32565+
32566+ /**
32567+ * @param stdClass $value
32568+ * @throws Exception
32569+ * @return ObjectWriter
32570+ */
32571+ public static function fromObjectWriter(stdClass $value): ObjectWriter {
32572+ return ObjectWriter::from($value); /*class*/
32573+ }
32574+
32575+ /**
32576+ * @throws Exception
32577+ * @return stdClass
32578+ */
32579+ public function toObjectWriter(): stdClass {
32580+ if (Obj4::validateObjectWriter($this->objectWriter)) {
32581+ return $this->objectWriter->to(); /*class*/
32582+ }
32583+ throw new Exception('never get to this Obj4::objectWriter');
32584+ }
32585+
32586+ /**
32587+ * @param ObjectWriter
32588+ * @return bool
32589+ * @throws Exception
32590+ */
32591+ public static function validateObjectWriter(ObjectWriter $value): bool {
32592+ $value->validate();
32593+ return true;
32594+ }
32595+
32596+ /**
32597+ * @throws Exception
32598+ * @return ObjectWriter
32599+ */
32600+ public function getObjectWriter(): ObjectWriter {
32601+ if (Obj4::validateObjectWriter($this->objectWriter)) {
32602+ return $this->objectWriter;
32603+ }
32604+ throw new Exception('never get to getObjectWriter Obj4::objectWriter');
32605+ }
32606+
32607+ /**
32608+ * @return ObjectWriter
32609+ */
32610+ public static function sampleObjectWriter(): ObjectWriter {
32611+ return ObjectWriter::sample(); /*52:objectWriter*/
3246832612 }
3246932613
3247032614 /**
@@ -32512,7 +32656,7 @@ class Obj4 {
3251232656 * @return Of
3251332657 */
3251432658 public static function sampleOf(): Of {
32515- return Of::sample(); /*50:of*/
32659+ return Of::sample(); /*53:of*/
3251632660 }
3251732661
3251832662 /**
@@ -32560,7 +32704,7 @@ class Obj4 {
3256032704 * @return Oneway
3256132705 */
3256232706 public static function sampleOneway(): Oneway {
32563- return Oneway::sample(); /*51:oneway*/
32707+ return Oneway::sample(); /*54:oneway*/
3256432708 }
3256532709
3256632710 /**
@@ -32608,7 +32752,7 @@ class Obj4 {
3260832752 * @return Open
3260932753 */
3261032754 public static function sampleOpen(): Open {
32611- return Open::sample(); /*52:open*/
32755+ return Open::sample(); /*55:open*/
3261232756 }
3261332757
3261432758 /**
@@ -32656,7 +32800,7 @@ class Obj4 {
3265632800 * @return Operator
3265732801 */
3265832802 public static function sampleOperator(): Operator {
32659- return Operator::sample(); /*53:operator*/
32803+ return Operator::sample(); /*56:operator*/
3266032804 }
3266132805
3266232806 /**
@@ -32704,7 +32848,7 @@ class Obj4 {
3270432848 * @return Optional
3270532849 */
3270632850 public static function sampleOptional(): Optional {
32707- return Optional::sample(); /*54:optional*/
32851+ return Optional::sample(); /*57:optional*/
3270832852 }
3270932853
3271032854 /**
@@ -32752,7 +32896,7 @@ class Obj4 {
3275232896 * @return OrClass
3275332897 */
3275432898 public static function sampleOr(): OrClass {
32755- return OrClass::sample(); /*55:or*/
32899+ return OrClass::sample(); /*58:or*/
3275632900 }
3275732901
3275832902 /**
@@ -32800,7 +32944,7 @@ class Obj4 {
3280032944 * @return OrEq
3280132945 */
3280232946 public static function sampleOrEq(): OrEq {
32803- return OrEq::sample(); /*56:orEq*/
32947+ return OrEq::sample(); /*59:orEq*/
3280432948 }
3280532949
3280632950 /**
@@ -32848,7 +32992,7 @@ class Obj4 {
3284832992 * @return Out
3284932993 */
3285032994 public static function sampleOut(): Out {
32851- return Out::sample(); /*57:out*/
32995+ return Out::sample(); /*60:out*/
3285232996 }
3285332997
3285432998 /**
@@ -32896,7 +33040,7 @@ class Obj4 {
3289633040 * @return OverrideClass
3289733041 */
3289833042 public static function sampleOverride(): OverrideClass {
32899- return OverrideClass::sample(); /*58:override*/
33043+ return OverrideClass::sample(); /*61:override*/
3290033044 }
3290133045
3290233046 /**
@@ -32944,7 +33088,7 @@ class Obj4 {
3294433088 * @return Package
3294533089 */
3294633090 public static function samplePackage(): Package {
32947- return Package::sample(); /*59:package*/
33091+ return Package::sample(); /*62:package*/
3294833092 }
3294933093
3295033094 /**
@@ -32992,7 +33136,7 @@ class Obj4 {
3299233136 * @return Params
3299333137 */
3299433138 public static function sampleParams(): Params {
32995- return Params::sample(); /*60:params*/
33139+ return Params::sample(); /*63:params*/
3299633140 }
3299733141
3299833142 /**
@@ -33040,7 +33184,7 @@ class Obj4 {
3304033184 * @return Pass
3304133185 */
3304233186 public static function samplePass(): Pass {
33043- return Pass::sample(); /*61:pass*/
33187+ return Pass::sample(); /*64:pass*/
3304433188 }
3304533189
3304633190 /**
@@ -33088,7 +33232,7 @@ class Obj4 {
3308833232 * @return Port
3308933233 */
3309033234 public static function samplePort(): Port {
33091- return Port::sample(); /*62:port*/
33235+ return Port::sample(); /*65:port*/
3309233236 }
3309333237
3309433238 /**
@@ -33136,7 +33280,7 @@ class Obj4 {
3313633280 * @return Postfix
3313733281 */
3313833282 public static function samplePostfix(): Postfix {
33139- return Postfix::sample(); /*63:postfix*/
33283+ return Postfix::sample(); /*66:postfix*/
3314033284 }
3314133285
3314233286 /**
@@ -33184,7 +33328,7 @@ class Obj4 {
3318433328 * @return Precedence
3318533329 */
3318633330 public static function samplePrecedence(): Precedence {
33187- return Precedence::sample(); /*64:precedence*/
33331+ return Precedence::sample(); /*67:precedence*/
3318833332 }
3318933333
3319033334 /**
@@ -33232,7 +33376,7 @@ class Obj4 {
3323233376 * @return Prefix
3323333377 */
3323433378 public static function samplePrefix(): Prefix {
33235- return Prefix::sample(); /*65:prefix*/
33379+ return Prefix::sample(); /*68:prefix*/
3323633380 }
3323733381
3323833382 /**
@@ -33280,7 +33424,7 @@ class Obj4 {
3328033424 * @return PrintClass
3328133425 */
3328233426 public static function samplePrint(): PrintClass {
33283- return PrintClass::sample(); /*66:print*/
33427+ return PrintClass::sample(); /*69:print*/
3328433428 }
3328533429
3328633430 /**
@@ -33328,7 +33472,7 @@ class Obj4 {
3332833472 * @return PrintMembers
3332933473 */
3333033474 public static function samplePrintMembers(): PrintMembers {
33331- return PrintMembers::sample(); /*67:printMembers*/
33475+ return PrintMembers::sample(); /*70:printMembers*/
3333233476 }
3333333477
3333433478 /**
@@ -33376,7 +33520,7 @@ class Obj4 {
3337633520 * @return Printf
3337733521 */
3337833522 public static function samplePrintf(): Printf {
33379- return Printf::sample(); /*68:printf*/
33523+ return Printf::sample(); /*71:printf*/
3338033524 }
3338133525
3338233526 /**
@@ -33424,7 +33568,7 @@ class Obj4 {
3342433568 * @return PrivateClass
3342533569 */
3342633570 public static function samplePrivate(): PrivateClass {
33427- return PrivateClass::sample(); /*69:private*/
33571+ return PrivateClass::sample(); /*72:private*/
3342833572 }
3342933573
3343033574 /**
@@ -33472,7 +33616,7 @@ class Obj4 {
3347233616 * @return ProtectedClass
3347333617 */
3347433618 public static function sampleProtected(): ProtectedClass {
33475- return ProtectedClass::sample(); /*70:protected*/
33619+ return ProtectedClass::sample(); /*73:protected*/
3347633620 }
3347733621
3347833622 /**
@@ -33520,7 +33664,7 @@ class Obj4 {
3352033664 * @return Protocol
3352133665 */
3352233666 public static function sampleProtocol(): Protocol {
33523- return Protocol::sample(); /*71:protocol*/
33667+ return Protocol::sample(); /*74:protocol*/
3352433668 }
3352533669
3352633670 /**
@@ -33568,7 +33712,7 @@ class Obj4 {
3356833712 * @return PublicClass
3356933713 */
3357033714 public static function samplePublic(): PublicClass {
33571- return PublicClass::sample(); /*72:public*/
33715+ return PublicClass::sample(); /*75:public*/
3357233716 }
3357333717
3357433718 /**
@@ -33616,7 +33760,7 @@ class Obj4 {
3361633760 * @return Quicktype
3361733761 */
3361833762 public static function sampleQuicktype(): Quicktype {
33619- return Quicktype::sample(); /*73:quicktype*/
33763+ return Quicktype::sample(); /*76:quicktype*/
3362033764 }
3362133765
3362233766 /**
@@ -33664,7 +33808,7 @@ class Obj4 {
3366433808 * @return Raise
3366533809 */
3366633810 public static function sampleRaise(): Raise {
33667- return Raise::sample(); /*74:raise*/
33811+ return Raise::sample(); /*77:raise*/
3366833812 }
3366933813
3367033814 /**
@@ -33712,7 +33856,7 @@ class Obj4 {
3371233856 * @return Range
3371333857 */
3371433858 public static function sampleRange(): Range {
33715- return Range::sample(); /*75:range*/
33859+ return Range::sample(); /*78:range*/
3371633860 }
3371733861
3371833862 /**
@@ -33760,7 +33904,7 @@ class Obj4 {
3376033904 * @return ReadonlyClass
3376133905 */
3376233906 public static function sampleReadonly(): ReadonlyClass {
33763- return ReadonlyClass::sample(); /*76:readonly*/
33907+ return ReadonlyClass::sample(); /*79:readonly*/
3376433908 }
3376533909
3376633910 /**
@@ -33808,7 +33952,7 @@ class Obj4 {
3380833952 * @return Ref
3380933953 */
3381033954 public static function sampleRef(): Ref {
33811- return Ref::sample(); /*77:ref*/
33955+ return Ref::sample(); /*80:ref*/
3381233956 }
3381333957
3381433958 /**
@@ -33856,7 +34000,7 @@ class Obj4 {
3385634000 * @return RegExp
3385734001 */
3385834002 public static function sampleRegExp(): RegExp {
33859- return RegExp::sample(); /*78:regExp*/
34003+ return RegExp::sample(); /*81:regExp*/
3386034004 }
3386134005
3386234006 /**
@@ -33904,7 +34048,7 @@ class Obj4 {
3390434048 * @return Register
3390534049 */
3390634050 public static function sampleRegister(): Register {
33907- return Register::sample(); /*79:register*/
34051+ return Register::sample(); /*82:register*/
3390834052 }
3390934053
3391034054 /**
@@ -33952,7 +34096,7 @@ class Obj4 {
3395234096 * @return ReinterpretCast
3395334097 */
3395434098 public static function sampleReinterpretCast(): ReinterpretCast {
33955- return ReinterpretCast::sample(); /*80:reinterpretCast*/
34099+ return ReinterpretCast::sample(); /*83:reinterpretCast*/
3395634100 }
3395734101
3395834102 /**
@@ -34000,7 +34144,7 @@ class Obj4 {
3400034144 * @return Repeat
3400134145 */
3400234146 public static function sampleRepeat(): Repeat {
34003- return Repeat::sample(); /*81:repeat*/
34147+ return Repeat::sample(); /*84:repeat*/
3400434148 }
3400534149
3400634150 /**
@@ -34048,7 +34192,7 @@ class Obj4 {
3404834192 * @return RequireClass
3404934193 */
3405034194 public static function sampleRequire(): RequireClass {
34051- return RequireClass::sample(); /*82:require*/
34195+ return RequireClass::sample(); /*85:require*/
3405234196 }
3405334197
3405434198 /**
@@ -34096,7 +34240,7 @@ class Obj4 {
3409634240 * @return Required
3409734241 */
3409834242 public static function sampleRequired(): Required {
34099- return Required::sample(); /*83:required*/
34243+ return Required::sample(); /*86:required*/
3410034244 }
3410134245
3410234246 /**
@@ -34144,7 +34288,7 @@ class Obj4 {
3414434288 * @return Requires
3414534289 */
3414634290 public static function sampleRequires(): Requires {
34147- return Requires::sample(); /*84:requires*/
34291+ return Requires::sample(); /*87:requires*/
3414834292 }
3414934293
3415034294 /**
@@ -34192,7 +34336,7 @@ class Obj4 {
3419234336 * @return Restrict
3419334337 */
3419434338 public static function sampleRestrict(): Restrict {
34195- return Restrict::sample(); /*85:restrict*/
34339+ return Restrict::sample(); /*88:restrict*/
3419634340 }
3419734341
3419834342 /**
@@ -34240,7 +34384,7 @@ class Obj4 {
3424034384 * @return Retain
3424134385 */
3424234386 public static function sampleRetain(): Retain {
34243- return Retain::sample(); /*86:retain*/
34387+ return Retain::sample(); /*89:retain*/
3424434388 }
3424534389
3424634390 /**
@@ -34288,7 +34432,7 @@ class Obj4 {
3428834432 * @return Rethrows
3428934433 */
3429034434 public static function sampleRethrows(): Rethrows {
34291- return Rethrows::sample(); /*87:rethrows*/
34435+ return Rethrows::sample(); /*90:rethrows*/
3429234436 }
3429334437
3429434438 /**
@@ -34336,7 +34480,7 @@ class Obj4 {
3433634480 * @return ReturnClass
3433734481 */
3433834482 public static function sampleReturn(): ReturnClass {
34339- return ReturnClass::sample(); /*88:return*/
34483+ return ReturnClass::sample(); /*91:return*/
3434034484 }
3434134485
3434234486 /**
@@ -34384,7 +34528,7 @@ class Obj4 {
3438434528 * @return Right
3438534529 */
3438634530 public static function sampleRight(): Right {
34387- return Right::sample(); /*89:right*/
34531+ return Right::sample(); /*92:right*/
3438834532 }
3438934533
3439034534 /**
@@ -34432,7 +34576,7 @@ class Obj4 {
3443234576 * @return RuntimeType
3443334577 */
3443434578 public static function sampleRuntimeType(): RuntimeType {
34435- return RuntimeType::sample(); /*90:runtimeType*/
34579+ return RuntimeType::sample(); /*93:runtimeType*/
3443634580 }
3443734581
3443834582 /**
@@ -34480,7 +34624,7 @@ class Obj4 {
3448034624 * @return S
3448134625 */
3448234626 public static function sampleS(): S {
34483- return S::sample(); /*91:s*/
34627+ return S::sample(); /*94:s*/
3448434628 }
3448534629
3448634630 /**
@@ -34528,151 +34672,7 @@ class Obj4 {
3452834672 * @return Sbyte
3452934673 */
3453034674 public static function sampleSbyte(): Sbyte {
34531- return Sbyte::sample(); /*92:sbyte*/
34532- }
34533-
34534- /**
34535- * @param stdClass $value
34536- * @throws Exception
34537- * @return Sealed
34538- */
34539- public static function fromSealed(stdClass $value): Sealed {
34540- return Sealed::from($value); /*class*/
34541- }
34542-
34543- /**
34544- * @throws Exception
34545- * @return stdClass
34546- */
34547- public function toSealed(): stdClass {
34548- if (Obj4::validateSealed($this->sealed)) {
34549- return $this->sealed->to(); /*class*/
34550- }
34551- throw new Exception('never get to this Obj4::sealed');
34552- }
34553-
34554- /**
34555- * @param Sealed
34556- * @return bool
34557- * @throws Exception
34558- */
34559- public static function validateSealed(Sealed $value): bool {
34560- $value->validate();
34561- return true;
34562- }
34563-
34564- /**
34565- * @throws Exception
34566- * @return Sealed
34567- */
34568- public function getSealed(): Sealed {
34569- if (Obj4::validateSealed($this->sealed)) {
34570- return $this->sealed;
34571- }
34572- throw new Exception('never get to getSealed Obj4::sealed');
34573- }
34574-
34575- /**
34576- * @return Sealed
34577- */
34578- public static function sampleSealed(): Sealed {
34579- return Sealed::sample(); /*93:sealed*/
34580- }
34581-
34582- /**
34583- * @param stdClass $value
34584- * @throws Exception
34585- * @return Sel
34586- */
34587- public static function fromSel(stdClass $value): Sel {
34588- return Sel::from($value); /*class*/
34589- }
34590-
34591- /**
34592- * @throws Exception
34593- * @return stdClass
34594- */
34595- public function toSel(): stdClass {
34596- if (Obj4::validateSel($this->sel)) {
34597- return $this->sel->to(); /*class*/
34598- }
34599- throw new Exception('never get to this Obj4::sel');
34600- }
34601-
34602- /**
34603- * @param Sel
34604- * @return bool
34605- * @throws Exception
34606- */
34607- public static function validateSel(Sel $value): bool {
34608- $value->validate();
34609- return true;
34610- }
34611-
34612- /**
34613- * @throws Exception
34614- * @return Sel
34615- */
34616- public function getSel(): Sel {
34617- if (Obj4::validateSel($this->sel)) {
34618- return $this->sel;
34619- }
34620- throw new Exception('never get to getSel Obj4::sel');
34621- }
34622-
34623- /**
34624- * @return Sel
34625- */
34626- public static function sampleSel(): Sel {
34627- return Sel::sample(); /*94:sel*/
34628- }
34629-
34630- /**
34631- * @param stdClass $value
34632- * @throws Exception
34633- * @return Select
34634- */
34635- public static function fromSelect(stdClass $value): Select {
34636- return Select::from($value); /*class*/
34637- }
34638-
34639- /**
34640- * @throws Exception
34641- * @return stdClass
34642- */
34643- public function toSelect(): stdClass {
34644- if (Obj4::validateSelect($this->select)) {
34645- return $this->select->to(); /*class*/
34646- }
34647- throw new Exception('never get to this Obj4::select');
34648- }
34649-
34650- /**
34651- * @param Select
34652- * @return bool
34653- * @throws Exception
34654- */
34655- public static function validateSelect(Select $value): bool {
34656- $value->validate();
34657- return true;
34658- }
34659-
34660- /**
34661- * @throws Exception
34662- * @return Select
34663- */
34664- public function getSelect(): Select {
34665- if (Obj4::validateSelect($this->select)) {
34666- return $this->select;
34667- }
34668- throw new Exception('never get to getSelect Obj4::select');
34669- }
34670-
34671- /**
34672- * @return Select
34673- */
34674- public static function sampleSelect(): Select {
34675- return Select::sample(); /*95:select*/
34675+ return Sbyte::sample(); /*95:sbyte*/
3467634676 }
3467734677
3467834678 /**
@@ -34682,6 +34682,7 @@ class Obj4 {
3468234682 public function validate(): bool {
3468334683 return Obj4::validateDummy($this->dummy)
3468434684 || Obj4::validateNoSuchMethod($this->noSuchMethod)
34685+ || Obj4::validateNoexcept($this->noexcept)
3468534686 || Obj4::validateNonatomic($this->nonatomic)
3468634687 || Obj4::validateNone($this->none)
3468734688 || Obj4::validateNonlocal($this->nonlocal)
@@ -34699,6 +34700,8 @@ class Obj4 {
3469934700 || Obj4::validateObj4Protocol($this->obj4Protocol)
3470034701 || Obj4::validateObject($this->object)
3470134702 || Obj4::validateObjectMapper($this->objectMapper)
34703+ || Obj4::validateObjectReader($this->objectReader)
34704+ || Obj4::validateObjectWriter($this->objectWriter)
3470234705 || Obj4::validateOf($this->of)
3470334706 || Obj4::validateOneway($this->oneway)
3470434707 || Obj4::validateOpen($this->open)
@@ -34741,10 +34744,7 @@ class Obj4 {
3474134744 || Obj4::validateRight($this->right)
3474234745 || Obj4::validateRuntimeType($this->runtimeType)
3474334746 || Obj4::validateS($this->s)
34744- || Obj4::validateSbyte($this->sbyte)
34745- || Obj4::validateSealed($this->sealed)
34746- || Obj4::validateSel($this->sel)
34747- || Obj4::validateSelect($this->select);
34747+ || Obj4::validateSbyte($this->sbyte);
3474834748 }
3474934749
3475034750 /**
@@ -34755,6 +34755,7 @@ class Obj4 {
3475534755 $out = new stdClass();
3475634756 $out->{'dummy'} = $this->toDummy();
3475734757 $out->{'noSuchMethod'} = $this->toNoSuchMethod();
34758+ $out->{'noexcept'} = $this->toNoexcept();
3475834759 $out->{'nonatomic'} = $this->toNonatomic();
3475934760 $out->{'None'} = $this->toNone();
3476034761 $out->{'nonlocal'} = $this->toNonlocal();
@@ -34772,6 +34773,8 @@ class Obj4 {
3477234773 $out->{'protocol'} = $this->toObj4Protocol();
3477334774 $out->{'object'} = $this->toObject();
3477434775 $out->{'ObjectMapper'} = $this->toObjectMapper();
34776+ $out->{'ObjectReader'} = $this->toObjectReader();
34777+ $out->{'ObjectWriter'} = $this->toObjectWriter();
3477534778 $out->{'of'} = $this->toOf();
3477634779 $out->{'oneway'} = $this->toOneway();
3477734780 $out->{'open'} = $this->toOpen();
@@ -34815,9 +34818,6 @@ class Obj4 {
3481534818 $out->{'runtimeType'} = $this->toRuntimeType();
3481634819 $out->{'s'} = $this->toS();
3481734820 $out->{'sbyte'} = $this->toSbyte();
34818- $out->{'sealed'} = $this->toSealed();
34819- $out->{'SEL'} = $this->toSel();
34820- $out->{'select'} = $this->toSelect();
3482134821 return $out;
3482234822 }
3482334823
@@ -34833,6 +34833,9 @@ class Obj4 {
3483334833 if (!property_exists($obj, 'noSuchMethod')) {
3483434834 throw new Exception("Missing required property");
3483534835 }
34836+ if (!property_exists($obj, 'noexcept')) {
34837+ throw new Exception("Missing required property");
34838+ }
3483634839 if (!property_exists($obj, 'nonatomic')) {
3483734840 throw new Exception("Missing required property");
3483834841 }
@@ -34884,6 +34887,12 @@ class Obj4 {
3488434887 if (!property_exists($obj, 'ObjectMapper')) {
3488534888 throw new Exception("Missing required property");
3488634889 }
34890+ if (!property_exists($obj, 'ObjectReader')) {
34891+ throw new Exception("Missing required property");
34892+ }
34893+ if (!property_exists($obj, 'ObjectWriter')) {
34894+ throw new Exception("Missing required property");
34895+ }
3488734896 if (!property_exists($obj, 'of')) {
3488834897 throw new Exception("Missing required property");
3488934898 }
@@ -35013,18 +35022,10 @@ class Obj4 {
3501335022 if (!property_exists($obj, 'sbyte')) {
3501435023 throw new Exception("Missing required property");
3501535024 }
35016- if (!property_exists($obj, 'sealed')) {
35017- throw new Exception("Missing required property");
35018- }
35019- if (!property_exists($obj, 'SEL')) {
35020- throw new Exception("Missing required property");
35021- }
35022- if (!property_exists($obj, 'select')) {
35023- throw new Exception("Missing required property");
35024- }
3502535025 return new Obj4(
3502635026 Obj4::fromDummy($obj->{'dummy'})
3502735027 ,Obj4::fromNoSuchMethod($obj->{'noSuchMethod'})
35028+ ,Obj4::fromNoexcept($obj->{'noexcept'})
3502835029 ,Obj4::fromNonatomic($obj->{'nonatomic'})
3502935030 ,Obj4::fromNone($obj->{'None'})
3503035031 ,Obj4::fromNonlocal($obj->{'nonlocal'})
@@ -35042,6 +35043,8 @@ class Obj4 {
3504235043 ,Obj4::fromObj4Protocol($obj->{'protocol'})
3504335044 ,Obj4::fromObject($obj->{'object'})
3504435045 ,Obj4::fromObjectMapper($obj->{'ObjectMapper'})
35046+ ,Obj4::fromObjectReader($obj->{'ObjectReader'})
35047+ ,Obj4::fromObjectWriter($obj->{'ObjectWriter'})
3504535048 ,Obj4::fromOf($obj->{'of'})
3504635049 ,Obj4::fromOneway($obj->{'oneway'})
3504735050 ,Obj4::fromOpen($obj->{'open'})
@@ -35085,9 +35088,6 @@ class Obj4 {
3508535088 ,Obj4::fromRuntimeType($obj->{'runtimeType'})
3508635089 ,Obj4::fromS($obj->{'s'})
3508735090 ,Obj4::fromSbyte($obj->{'sbyte'})
35088- ,Obj4::fromSealed($obj->{'sealed'})
35089- ,Obj4::fromSel($obj->{'SEL'})
35090- ,Obj4::fromSelect($obj->{'select'})
3509135091 );
3509235092 }
3509335093
@@ -35098,6 +35098,7 @@ class Obj4 {
3509835098 return new Obj4(
3509935099 Obj4::sampleDummy()
3510035100 ,Obj4::sampleNoSuchMethod()
35101+ ,Obj4::sampleNoexcept()
3510135102 ,Obj4::sampleNonatomic()
3510235103 ,Obj4::sampleNone()
3510335104 ,Obj4::sampleNonlocal()
@@ -35115,6 +35116,8 @@ class Obj4 {
3511535116 ,Obj4::sampleObj4Protocol()
3511635117 ,Obj4::sampleObject()
3511735118 ,Obj4::sampleObjectMapper()
35119+ ,Obj4::sampleObjectReader()
35120+ ,Obj4::sampleObjectWriter()
3511835121 ,Obj4::sampleOf()
3511935122 ,Obj4::sampleOneway()
3512035123 ,Obj4::sampleOpen()
@@ -35158,9 +35161,6 @@ class Obj4 {
3515835161 ,Obj4::sampleRuntimeType()
3515935162 ,Obj4::sampleS()
3516035163 ,Obj4::sampleSbyte()
35161- ,Obj4::sampleSealed()
35162- ,Obj4::sampleSel()
35163- ,Obj4::sampleSelect()
3516435164 );
3516535165 }
3516635166 }
@@ -35266,6 +35266,107 @@ class NoSuchMethod {
3526635266 }
3526735267 }
3526835268
35269+// This is an autogenerated file:Noexcept
35270+
35271+class Noexcept {
35272+ private int $noexcept; // json:noexcept Required
35273+
35274+ /**
35275+ * @param int $noexcept
35276+ */
35277+ public function __construct(int $noexcept) {
35278+ $this->noexcept = $noexcept;
35279+ }
35280+
35281+ /**
35282+ * @param int $value
35283+ * @throws Exception
35284+ * @return int
35285+ */
35286+ public static function fromNoexcept(int $value): int {
35287+ return $value; /*int*/
35288+ }
35289+
35290+ /**
35291+ * @throws Exception
35292+ * @return int
35293+ */
35294+ public function toNoexcept(): int {
35295+ if (Noexcept::validateNoexcept($this->noexcept)) {
35296+ return $this->noexcept; /*int*/
35297+ }
35298+ throw new Exception('never get to this Noexcept::noexcept');
35299+ }
35300+
35301+ /**
35302+ * @param int
35303+ * @return bool
35304+ * @throws Exception
35305+ */
35306+ public static function validateNoexcept(int $value): bool {
35307+ return true;
35308+ }
35309+
35310+ /**
35311+ * @throws Exception
35312+ * @return int
35313+ */
35314+ public function getNoexcept(): int {
35315+ if (Noexcept::validateNoexcept($this->noexcept)) {
35316+ return $this->noexcept;
35317+ }
35318+ throw new Exception('never get to getNoexcept Noexcept::noexcept');
35319+ }
35320+
35321+ /**
35322+ * @return int
35323+ */
35324+ public static function sampleNoexcept(): int {
35325+ return 31; /*31:noexcept*/
35326+ }
35327+
35328+ /**
35329+ * @throws Exception
35330+ * @return bool
35331+ */
35332+ public function validate(): bool {
35333+ return Noexcept::validateNoexcept($this->noexcept);
35334+ }
35335+
35336+ /**
35337+ * @return stdClass
35338+ * @throws Exception
35339+ */
35340+ public function to(): stdClass {
35341+ $out = new stdClass();
35342+ $out->{'noexcept'} = $this->toNoexcept();
35343+ return $out;
35344+ }
35345+
35346+ /**
35347+ * @param stdClass $obj
35348+ * @return Noexcept
35349+ * @throws Exception
35350+ */
35351+ public static function from(stdClass $obj): Noexcept {
35352+ if (!property_exists($obj, 'noexcept')) {
35353+ throw new Exception("Missing required property");
35354+ }
35355+ return new Noexcept(
35356+ Noexcept::fromNoexcept($obj->{'noexcept'})
35357+ );
35358+ }
35359+
35360+ /**
35361+ * @return Noexcept
35362+ */
35363+ public static function sample(): Noexcept {
35364+ return new Noexcept(
35365+ Noexcept::sampleNoexcept()
35366+ );
35367+ }
35368+}
35369+
3526935370 // This is an autogenerated file:Nonatomic
3527035371
3527135372 class Nonatomic {
@@ -36983,6 +37084,208 @@ class ObjectMapper {
3698337084 }
3698437085 }
3698537086
37087+// This is an autogenerated file:ObjectReader
37088+
37089+class ObjectReader {
37090+ private int $objectReader; // json:ObjectReader Required
37091+
37092+ /**
37093+ * @param int $objectReader
37094+ */
37095+ public function __construct(int $objectReader) {
37096+ $this->objectReader = $objectReader;
37097+ }
37098+
37099+ /**
37100+ * @param int $value
37101+ * @throws Exception
37102+ * @return int
37103+ */
37104+ public static function fromObjectReader(int $value): int {
37105+ return $value; /*int*/
37106+ }
37107+
37108+ /**
37109+ * @throws Exception
37110+ * @return int
37111+ */
37112+ public function toObjectReader(): int {
37113+ if (ObjectReader::validateObjectReader($this->objectReader)) {
37114+ return $this->objectReader; /*int*/
37115+ }
37116+ throw new Exception('never get to this ObjectReader::objectReader');
37117+ }
37118+
37119+ /**
37120+ * @param int
37121+ * @return bool
37122+ * @throws Exception
37123+ */
37124+ public static function validateObjectReader(int $value): bool {
37125+ return true;
37126+ }
37127+
37128+ /**
37129+ * @throws Exception
37130+ * @return int
37131+ */
37132+ public function getObjectReader(): int {
37133+ if (ObjectReader::validateObjectReader($this->objectReader)) {
37134+ return $this->objectReader;
37135+ }
37136+ throw new Exception('never get to getObjectReader ObjectReader::objectReader');
37137+ }
37138+
37139+ /**
37140+ * @return int
37141+ */
37142+ public static function sampleObjectReader(): int {
37143+ return 31; /*31:objectReader*/
37144+ }
37145+
37146+ /**
37147+ * @throws Exception
37148+ * @return bool
37149+ */
37150+ public function validate(): bool {
37151+ return ObjectReader::validateObjectReader($this->objectReader);
37152+ }
37153+
37154+ /**
37155+ * @return stdClass
37156+ * @throws Exception
37157+ */
37158+ public function to(): stdClass {
37159+ $out = new stdClass();
37160+ $out->{'ObjectReader'} = $this->toObjectReader();
37161+ return $out;
37162+ }
37163+
37164+ /**
37165+ * @param stdClass $obj
37166+ * @return ObjectReader
37167+ * @throws Exception
37168+ */
37169+ public static function from(stdClass $obj): ObjectReader {
37170+ if (!property_exists($obj, 'ObjectReader')) {
37171+ throw new Exception("Missing required property");
37172+ }
37173+ return new ObjectReader(
37174+ ObjectReader::fromObjectReader($obj->{'ObjectReader'})
37175+ );
37176+ }
37177+
37178+ /**
37179+ * @return ObjectReader
37180+ */
37181+ public static function sample(): ObjectReader {
37182+ return new ObjectReader(
37183+ ObjectReader::sampleObjectReader()
37184+ );
37185+ }
37186+}
37187+
37188+// This is an autogenerated file:ObjectWriter
37189+
37190+class ObjectWriter {
37191+ private int $objectWriter; // json:ObjectWriter Required
37192+
37193+ /**
37194+ * @param int $objectWriter
37195+ */
37196+ public function __construct(int $objectWriter) {
37197+ $this->objectWriter = $objectWriter;
37198+ }
37199+
37200+ /**
37201+ * @param int $value
37202+ * @throws Exception
37203+ * @return int
37204+ */
37205+ public static function fromObjectWriter(int $value): int {
37206+ return $value; /*int*/
37207+ }
37208+
37209+ /**
37210+ * @throws Exception
37211+ * @return int
37212+ */
37213+ public function toObjectWriter(): int {
37214+ if (ObjectWriter::validateObjectWriter($this->objectWriter)) {
37215+ return $this->objectWriter; /*int*/
37216+ }
37217+ throw new Exception('never get to this ObjectWriter::objectWriter');
37218+ }
37219+
37220+ /**
37221+ * @param int
37222+ * @return bool
37223+ * @throws Exception
37224+ */
37225+ public static function validateObjectWriter(int $value): bool {
37226+ return true;
37227+ }
37228+
37229+ /**
37230+ * @throws Exception
37231+ * @return int
37232+ */
37233+ public function getObjectWriter(): int {
37234+ if (ObjectWriter::validateObjectWriter($this->objectWriter)) {
37235+ return $this->objectWriter;
37236+ }
37237+ throw new Exception('never get to getObjectWriter ObjectWriter::objectWriter');
37238+ }
37239+
37240+ /**
37241+ * @return int
37242+ */
37243+ public static function sampleObjectWriter(): int {
37244+ return 31; /*31:objectWriter*/
37245+ }
37246+
37247+ /**
37248+ * @throws Exception
37249+ * @return bool
37250+ */
37251+ public function validate(): bool {
37252+ return ObjectWriter::validateObjectWriter($this->objectWriter);
37253+ }
37254+
37255+ /**
37256+ * @return stdClass
37257+ * @throws Exception
37258+ */
37259+ public function to(): stdClass {
37260+ $out = new stdClass();
37261+ $out->{'ObjectWriter'} = $this->toObjectWriter();
37262+ return $out;
37263+ }
37264+
37265+ /**
37266+ * @param stdClass $obj
37267+ * @return ObjectWriter
37268+ * @throws Exception
37269+ */
37270+ public static function from(stdClass $obj): ObjectWriter {
37271+ if (!property_exists($obj, 'ObjectWriter')) {
37272+ throw new Exception("Missing required property");
37273+ }
37274+ return new ObjectWriter(
37275+ ObjectWriter::fromObjectWriter($obj->{'ObjectWriter'})
37276+ );
37277+ }
37278+
37279+ /**
37280+ * @return ObjectWriter
37281+ */
37282+ public static function sample(): ObjectWriter {
37283+ return new ObjectWriter(
37284+ ObjectWriter::sampleObjectWriter()
37285+ );
37286+ }
37287+}
37288+
3698637289 // This is an autogenerated file:Of
3698737290
3698837291 class Of {
@@ -41329,16 +41632,208 @@ class Sbyte {
4132941632 }
4133041633 }
4133141634
41332-// This is an autogenerated file:Sealed
41635+// This is an autogenerated file:Obj5
4133341636
41334-class Sealed {
41335- private int $sealed; // json:sealed Required
41637+class Obj5 {
41638+ private int $dummy; // json:dummy Required
41639+ private Obj5Self $obj5Self; // json:self Required
41640+ private This $obj5This; // json:this Required
41641+ private Obj5True $obj5True; // json:true Required
41642+ private TypeClass $obj5Type; // json:type Required
41643+ private Sealed $sealed; // json:sealed Required
41644+ private Sel $sel; // json:SEL Required
41645+ private Select $select; // json:select Required
41646+ private SelfClass $self; // json:Self Required
41647+ private Sendable $sendable; // json:Sendable Required
41648+ private SerializationFeature $serializationFeature; // json:SerializationFeature Required
41649+ private Serialize $serialize; // json:serialize Required
41650+ private SerializerProvider $serializerProvider; // json:SerializerProvider Required
41651+ private Set $set; // json:set Required
41652+ private Short $short; // json:short Required
41653+ private Signed $signed; // json:signed Required
41654+ private SimpleModule $simpleModule; // json:SimpleModule Required
41655+ private Sizeof $sizeof; // json:sizeof Required
41656+ private Stackalloc $stackalloc; // json:stackalloc Required
41657+ private Standards $standards; // json:Standards Required
41658+ private StaticClass $static; // json:static Required
41659+ private StaticAssert $staticAssert; // json:static_assert Required
41660+ private StaticCast $staticCast; // json:static_cast Required
41661+ private StdDeserializer $stdDeserializer; // json:StdDeserializer Required
41662+ private StdSerializer $stdSerializer; // json:StdSerializer Required
41663+ private Strictfp $strictfp; // json:strictfp Required
41664+ private StringClass $string; // json:string Required
41665+ private Struct $struct; // json:struct Required
41666+ private Subscript $subscript; // json:subscript Required
41667+ private Super $super; // json:super Required
41668+ private SwitchClass $switch; // json:switch Required
41669+ private Symbol $symbol; // json:symbol Required
41670+ private Synchronized $synchronized; // json:synchronized Required
41671+ private System $system; // json:system Required
41672+ private Template $template; // json:template Required
41673+ private Then $then; // json:then Required
41674+ private ThreadLocal $threadLocal; // json:thread_local Required
41675+ private ThrowClass $throw; // json:throw Required
41676+ private Throws $throws; // json:throws Required
41677+ private TimeOnly $timeOnly; // json:TimeOnly Required
41678+ private TimeOnlyConverter $timeOnlyConverter; // json:TimeOnlyConverter Required
41679+ private TimeZone $timeZone; // json:TimeZone Required
41680+ private ToJSON $toJSON; // json:to_json Required
41681+ private ToString $toString; // json:toString Required
41682+ private TopLevelClass $topLevel; // json:top_level Required
41683+ private Transient $transient; // json:transient Required
41684+ private TrueClass $true; // json:True Required
41685+ private TryClass $try; // json:try Required
41686+ private Type $type; // json:Type Required
41687+ private Typealias $typealias; // json:typealias Required
41688+ private Typedef $typedef; // json:typedef Required
41689+ private Typeid $typeid; // json:typeid Required
41690+ private Typename $typename; // json:typename Required
41691+ private Typeof $typeof; // json:typeof Required
41692+ private Uint $uint; // json:uint Required
41693+ private Ulong $ulong; // json:ulong Required
41694+ private Unchecked $unchecked; // json:unchecked Required
41695+ private Undefined $undefined; // json:undefined Required
41696+ private Union $union; // json:union Required
41697+ private Unowned $unowned; // json:unowned Required
41698+ private Unsafe $unsafe; // json:unsafe Required
41699+ private Unsigned $unsigned; // json:unsigned Required
41700+ private Ushort $ushort; // json:ushort Required
41701+ private Using $using; // json:using Required
41702+ private Utf8JSONReader $utf8JSONReader; // json:Utf8JsonReader Required
4133641703
4133741704 /**
41338- * @param int $sealed
41705+ * @param int $dummy
41706+ * @param Obj5Self $obj5Self
41707+ * @param This $obj5This
41708+ * @param Obj5True $obj5True
41709+ * @param TypeClass $obj5Type
41710+ * @param Sealed $sealed
41711+ * @param Sel $sel
41712+ * @param Select $select
41713+ * @param SelfClass $self
41714+ * @param Sendable $sendable
41715+ * @param SerializationFeature $serializationFeature
41716+ * @param Serialize $serialize
41717+ * @param SerializerProvider $serializerProvider
41718+ * @param Set $set
41719+ * @param Short $short
41720+ * @param Signed $signed
41721+ * @param SimpleModule $simpleModule
41722+ * @param Sizeof $sizeof
41723+ * @param Stackalloc $stackalloc
41724+ * @param Standards $standards
41725+ * @param StaticClass $static
41726+ * @param StaticAssert $staticAssert
41727+ * @param StaticCast $staticCast
41728+ * @param StdDeserializer $stdDeserializer
41729+ * @param StdSerializer $stdSerializer
41730+ * @param Strictfp $strictfp
41731+ * @param StringClass $string
41732+ * @param Struct $struct
41733+ * @param Subscript $subscript
41734+ * @param Super $super
41735+ * @param SwitchClass $switch
41736+ * @param Symbol $symbol
41737+ * @param Synchronized $synchronized
41738+ * @param System $system
41739+ * @param Template $template
41740+ * @param Then $then
41741+ * @param ThreadLocal $threadLocal
41742+ * @param ThrowClass $throw
41743+ * @param Throws $throws
41744+ * @param TimeOnly $timeOnly
41745+ * @param TimeOnlyConverter $timeOnlyConverter
41746+ * @param TimeZone $timeZone
41747+ * @param ToJSON $toJSON
41748+ * @param ToString $toString
41749+ * @param TopLevelClass $topLevel
41750+ * @param Transient $transient
41751+ * @param TrueClass $true
41752+ * @param TryClass $try
41753+ * @param Type $type
41754+ * @param Typealias $typealias
41755+ * @param Typedef $typedef
41756+ * @param Typeid $typeid
41757+ * @param Typename $typename
41758+ * @param Typeof $typeof
41759+ * @param Uint $uint
41760+ * @param Ulong $ulong
41761+ * @param Unchecked $unchecked
41762+ * @param Undefined $undefined
41763+ * @param Union $union
41764+ * @param Unowned $unowned
41765+ * @param Unsafe $unsafe
41766+ * @param Unsigned $unsigned
41767+ * @param Ushort $ushort
41768+ * @param Using $using
41769+ * @param Utf8JSONReader $utf8JSONReader
4133941770 */
41340- public function __construct(int $sealed) {
41771+ public function __construct(int $dummy, Obj5Self $obj5Self, This $obj5This, Obj5True $obj5True, TypeClass $obj5Type, Sealed $sealed, Sel $sel, Select $select, SelfClass $self, Sendable $sendable, SerializationFeature $serializationFeature, Serialize $serialize, SerializerProvider $serializerProvider, Set $set, Short $short, Signed $signed, SimpleModule $simpleModule, Sizeof $sizeof, Stackalloc $stackalloc, Standards $standards, StaticClass $static, StaticAssert $staticAssert, StaticCast $staticCast, StdDeserializer $stdDeserializer, StdSerializer $stdSerializer, Strictfp $strictfp, StringClass $string, Struct $struct, Subscript $subscript, Super $super, SwitchClass $switch, Symbol $symbol, Synchronized $synchronized, System $system, Template $template, Then $then, ThreadLocal $threadLocal, ThrowClass $throw, Throws $throws, TimeOnly $timeOnly, TimeOnlyConverter $timeOnlyConverter, TimeZone $timeZone, ToJSON $toJSON, ToString $toString, TopLevelClass $topLevel, Transient $transient, TrueClass $true, TryClass $try, Type $type, Typealias $typealias, Typedef $typedef, Typeid $typeid, Typename $typename, Typeof $typeof, Uint $uint, Ulong $ulong, Unchecked $unchecked, Undefined $undefined, Union $union, Unowned $unowned, Unsafe $unsafe, Unsigned $unsigned, Ushort $ushort, Using $using, Utf8JSONReader $utf8JSONReader) {
41772+ $this->dummy = $dummy;
41773+ $this->obj5Self = $obj5Self;
41774+ $this->obj5This = $obj5This;
41775+ $this->obj5True = $obj5True;
41776+ $this->obj5Type = $obj5Type;
4134141777 $this->sealed = $sealed;
41778+ $this->sel = $sel;
41779+ $this->select = $select;
41780+ $this->self = $self;
41781+ $this->sendable = $sendable;
41782+ $this->serializationFeature = $serializationFeature;
41783+ $this->serialize = $serialize;
41784+ $this->serializerProvider = $serializerProvider;
41785+ $this->set = $set;
41786+ $this->short = $short;
41787+ $this->signed = $signed;
41788+ $this->simpleModule = $simpleModule;
41789+ $this->sizeof = $sizeof;
41790+ $this->stackalloc = $stackalloc;
41791+ $this->standards = $standards;
41792+ $this->static = $static;
41793+ $this->staticAssert = $staticAssert;
41794+ $this->staticCast = $staticCast;
41795+ $this->stdDeserializer = $stdDeserializer;
41796+ $this->stdSerializer = $stdSerializer;
41797+ $this->strictfp = $strictfp;
41798+ $this->string = $string;
41799+ $this->struct = $struct;
41800+ $this->subscript = $subscript;
41801+ $this->super = $super;
41802+ $this->switch = $switch;
41803+ $this->symbol = $symbol;
41804+ $this->synchronized = $synchronized;
41805+ $this->system = $system;
41806+ $this->template = $template;
41807+ $this->then = $then;
41808+ $this->threadLocal = $threadLocal;
41809+ $this->throw = $throw;
41810+ $this->throws = $throws;
41811+ $this->timeOnly = $timeOnly;
41812+ $this->timeOnlyConverter = $timeOnlyConverter;
41813+ $this->timeZone = $timeZone;
41814+ $this->toJSON = $toJSON;
41815+ $this->toString = $toString;
41816+ $this->topLevel = $topLevel;
41817+ $this->transient = $transient;
41818+ $this->true = $true;
41819+ $this->try = $try;
41820+ $this->type = $type;
41821+ $this->typealias = $typealias;
41822+ $this->typedef = $typedef;
41823+ $this->typeid = $typeid;
41824+ $this->typename = $typename;
41825+ $this->typeof = $typeof;
41826+ $this->uint = $uint;
41827+ $this->ulong = $ulong;
41828+ $this->unchecked = $unchecked;
41829+ $this->undefined = $undefined;
41830+ $this->union = $union;
41831+ $this->unowned = $unowned;
41832+ $this->unsafe = $unsafe;
41833+ $this->unsigned = $unsigned;
41834+ $this->ushort = $ushort;
41835+ $this->using = $using;
41836+ $this->utf8JSONReader = $utf8JSONReader;
4134241837 }
4134341838
4134441839 /**
@@ -41346,7 +41841,7 @@ class Sealed {
4134641841 * @throws Exception
4134741842 * @return int
4134841843 */
41349- public static function fromSealed(int $value): int {
41844+ public static function fromDummy(int $value): int {
4135041845 return $value; /*int*/
4135141846 }
4135241847
@@ -41354,11 +41849,11 @@ class Sealed {
4135441849 * @throws Exception
4135541850 * @return int
4135641851 */
41357- public function toSealed(): int {
41358- if (Sealed::validateSealed($this->sealed)) {
41359- return $this->sealed; /*int*/
41852+ public function toDummy(): int {
41853+ if (Obj5::validateDummy($this->dummy)) {
41854+ return $this->dummy; /*int*/
4136041855 }
41361- throw new Exception('never get to this Sealed::sealed');
41856+ throw new Exception('never get to this Obj5::dummy');
4136241857 }
4136341858
4136441859 /**
@@ -41366,7 +41861,7 @@ class Sealed {
4136641861 * @return bool
4136741862 * @throws Exception
4136841863 */
41369- public static function validateSealed(int $value): bool {
41864+ public static function validateDummy(int $value): bool {
4137041865 return true;
4137141866 }
4137241867
@@ -41374,705 +41869,354 @@ class Sealed {
4137441869 * @throws Exception
4137541870 * @return int
4137641871 */
41377- public function getSealed(): int {
41378- if (Sealed::validateSealed($this->sealed)) {
41379- return $this->sealed;
41872+ public function getDummy(): int {
41873+ if (Obj5::validateDummy($this->dummy)) {
41874+ return $this->dummy;
4138041875 }
41381- throw new Exception('never get to getSealed Sealed::sealed');
41876+ throw new Exception('never get to getDummy Obj5::dummy');
4138241877 }
4138341878
4138441879 /**
4138541880 * @return int
4138641881 */
41387- public static function sampleSealed(): int {
41388- return 31; /*31:sealed*/
41882+ public static function sampleDummy(): int {
41883+ return 31; /*31:dummy*/
4138941884 }
4139041885
4139141886 /**
41887+ * @param stdClass $value
4139241888 * @throws Exception
41393- * @return bool
41889+ * @return Obj5Self
4139441890 */
41395- public function validate(): bool {
41396- return Sealed::validateSealed($this->sealed);
41891+ public static function fromObj5Self(stdClass $value): Obj5Self {
41892+ return Obj5Self::from($value); /*class*/
4139741893 }
4139841894
4139941895 /**
41400- * @return stdClass
4140141896 * @throws Exception
41897+ * @return stdClass
4140241898 */
41403- public function to(): stdClass {
41404- $out = new stdClass();
41405- $out->{'sealed'} = $this->toSealed();
41406- return $out;
41899+ public function toObj5Self(): stdClass {
41900+ if (Obj5::validateObj5Self($this->obj5Self)) {
41901+ return $this->obj5Self->to(); /*class*/
41902+ }
41903+ throw new Exception('never get to this Obj5::obj5Self');
4140741904 }
4140841905
4140941906 /**
41410- * @param stdClass $obj
41411- * @return Sealed
41907+ * @param Obj5Self
41908+ * @return bool
4141241909 * @throws Exception
4141341910 */
41414- public static function from(stdClass $obj): Sealed {
41415- if (!property_exists($obj, 'sealed')) {
41416- throw new Exception("Missing required property");
41417- }
41418- return new Sealed(
41419- Sealed::fromSealed($obj->{'sealed'})
41420- );
41911+ public static function validateObj5Self(Obj5Self $value): bool {
41912+ $value->validate();
41913+ return true;
4142141914 }
4142241915
4142341916 /**
41424- * @return Sealed
41917+ * @throws Exception
41918+ * @return Obj5Self
4142541919 */
41426- public static function sample(): Sealed {
41427- return new Sealed(
41428- Sealed::sampleSealed()
41429- );
41920+ public function getObj5Self(): Obj5Self {
41921+ if (Obj5::validateObj5Self($this->obj5Self)) {
41922+ return $this->obj5Self;
41923+ }
41924+ throw new Exception('never get to getObj5Self Obj5::obj5Self');
4143041925 }
41431-}
41432-
41433-// This is an autogenerated file:Sel
41434-
41435-class Sel {
41436- private int $sel; // json:SEL Required
4143741926
4143841927 /**
41439- * @param int $sel
41440- */
41441- public function __construct(int $sel) {
41442- $this->sel = $sel;
41443- }
41444-
41445- /**
41446- * @param int $value
41447- * @throws Exception
41448- * @return int
41449- */
41450- public static function fromSel(int $value): int {
41451- return $value; /*int*/
41452- }
41453-
41454- /**
41455- * @throws Exception
41456- * @return int
41457- */
41458- public function toSel(): int {
41459- if (Sel::validateSel($this->sel)) {
41460- return $this->sel; /*int*/
41461- }
41462- throw new Exception('never get to this Sel::sel');
41463- }
41464-
41465- /**
41466- * @param int
41467- * @return bool
41468- * @throws Exception
41928+ * @return Obj5Self
4146941929 */
41470- public static function validateSel(int $value): bool {
41471- return true;
41930+ public static function sampleObj5Self(): Obj5Self {
41931+ return Obj5Self::sample(); /*32:obj5Self*/
4147241932 }
4147341933
4147441934 /**
41935+ * @param stdClass $value
4147541936 * @throws Exception
41476- * @return int
41477- */
41478- public function getSel(): int {
41479- if (Sel::validateSel($this->sel)) {
41480- return $this->sel;
41481- }
41482- throw new Exception('never get to getSel Sel::sel');
41483- }
41484-
41485- /**
41486- * @return int
41937+ * @return This
4148741938 */
41488- public static function sampleSel(): int {
41489- return 31; /*31:sel*/
41939+ public static function fromObj5This(stdClass $value): This {
41940+ return This::from($value); /*class*/
4149041941 }
4149141942
4149241943 /**
4149341944 * @throws Exception
41494- * @return bool
41495- */
41496- public function validate(): bool {
41497- return Sel::validateSel($this->sel);
41498- }
41499-
41500- /**
4150141945 * @return stdClass
41502- * @throws Exception
41503- */
41504- public function to(): stdClass {
41505- $out = new stdClass();
41506- $out->{'SEL'} = $this->toSel();
41507- return $out;
41508- }
41509-
41510- /**
41511- * @param stdClass $obj
41512- * @return Sel
41513- * @throws Exception
41514- */
41515- public static function from(stdClass $obj): Sel {
41516- if (!property_exists($obj, 'SEL')) {
41517- throw new Exception("Missing required property");
41518- }
41519- return new Sel(
41520- Sel::fromSel($obj->{'SEL'})
41521- );
41522- }
41523-
41524- /**
41525- * @return Sel
41526- */
41527- public static function sample(): Sel {
41528- return new Sel(
41529- Sel::sampleSel()
41530- );
41531- }
41532-}
41533-
41534-// This is an autogenerated file:Select
41535-
41536-class Select {
41537- private int $select; // json:select Required
41538-
41539- /**
41540- * @param int $select
4154141946 */
41542- public function __construct(int $select) {
41543- $this->select = $select;
41544- }
41545-
41546- /**
41547- * @param int $value
41548- * @throws Exception
41549- * @return int
41550- */
41551- public static function fromSelect(int $value): int {
41552- return $value; /*int*/
41553- }
41554-
41555- /**
41556- * @throws Exception
41557- * @return int
41558- */
41559- public function toSelect(): int {
41560- if (Select::validateSelect($this->select)) {
41561- return $this->select; /*int*/
41947+ public function toObj5This(): stdClass {
41948+ if (Obj5::validateObj5This($this->obj5This)) {
41949+ return $this->obj5This->to(); /*class*/
4156241950 }
41563- throw new Exception('never get to this Select::select');
41951+ throw new Exception('never get to this Obj5::obj5This');
4156441952 }
4156541953
4156641954 /**
41567- * @param int
41955+ * @param This
4156841956 * @return bool
4156941957 * @throws Exception
4157041958 */
41571- public static function validateSelect(int $value): bool {
41959+ public static function validateObj5This(This $value): bool {
41960+ $value->validate();
4157241961 return true;
4157341962 }
4157441963
4157541964 /**
4157641965 * @throws Exception
41577- * @return int
41578- */
41579- public function getSelect(): int {
41580- if (Select::validateSelect($this->select)) {
41581- return $this->select;
41582- }
41583- throw new Exception('never get to getSelect Select::select');
41584- }
41585-
41586- /**
41587- * @return int
41588- */
41589- public static function sampleSelect(): int {
41590- return 31; /*31:select*/
41591- }
41592-
41593- /**
41594- * @throws Exception
41595- * @return bool
41596- */
41597- public function validate(): bool {
41598- return Select::validateSelect($this->select);
41599- }
41600-
41601- /**
41602- * @return stdClass
41603- * @throws Exception
41604- */
41605- public function to(): stdClass {
41606- $out = new stdClass();
41607- $out->{'select'} = $this->toSelect();
41608- return $out;
41609- }
41610-
41611- /**
41612- * @param stdClass $obj
41613- * @return Select
41614- * @throws Exception
41966+ * @return This
4161541967 */
41616- public static function from(stdClass $obj): Select {
41617- if (!property_exists($obj, 'select')) {
41618- throw new Exception("Missing required property");
41968+ public function getObj5This(): This {
41969+ if (Obj5::validateObj5This($this->obj5This)) {
41970+ return $this->obj5This;
4161941971 }
41620- return new Select(
41621- Select::fromSelect($obj->{'select'})
41622- );
41623- }
41624-
41625- /**
41626- * @return Select
41627- */
41628- public static function sample(): Select {
41629- return new Select(
41630- Select::sampleSelect()
41631- );
41972+ throw new Exception('never get to getObj5This Obj5::obj5This');
4163241973 }
41633-}
41634-
41635-// This is an autogenerated file:Obj5
41636-
41637-class Obj5 {
41638- private int $dummy; // json:dummy Required
41639- private Obj5Self $obj5Self; // json:self Required
41640- private This $obj5This; // json:this Required
41641- private Obj5True $obj5True; // json:true Required
41642- private TypeClass $obj5Type; // json:type Required
41643- private SelfClass $self; // json:Self Required
41644- private Sendable $sendable; // json:Sendable Required
41645- private Serialize $serialize; // json:serialize Required
41646- private SerializerProvider $serializerProvider; // json:SerializerProvider Required
41647- private Set $set; // json:set Required
41648- private Short $short; // json:short Required
41649- private Signed $signed; // json:signed Required
41650- private SimpleModule $simpleModule; // json:SimpleModule Required
41651- private Sizeof $sizeof; // json:sizeof Required
41652- private Stackalloc $stackalloc; // json:stackalloc Required
41653- private Standards $standards; // json:Standards Required
41654- private StaticClass $static; // json:static Required
41655- private StaticAssert $staticAssert; // json:static_assert Required
41656- private StaticCast $staticCast; // json:static_cast Required
41657- private StdDeserializer $stdDeserializer; // json:StdDeserializer Required
41658- private StdSerializer $stdSerializer; // json:StdSerializer Required
41659- private Strictfp $strictfp; // json:strictfp Required
41660- private StringClass $string; // json:string Required
41661- private Struct $struct; // json:struct Required
41662- private Subscript $subscript; // json:subscript Required
41663- private Super $super; // json:super Required
41664- private SwitchClass $switch; // json:switch Required
41665- private Symbol $symbol; // json:symbol Required
41666- private Synchronized $synchronized; // json:synchronized Required
41667- private System $system; // json:system Required
41668- private Template $template; // json:template Required
41669- private Then $then; // json:then Required
41670- private ThreadLocal $threadLocal; // json:thread_local Required
41671- private ThrowClass $throw; // json:throw Required
41672- private Throws $throws; // json:throws Required
41673- private TimeOnly $timeOnly; // json:TimeOnly Required
41674- private TimeOnlyConverter $timeOnlyConverter; // json:TimeOnlyConverter Required
41675- private TimeZone $timeZone; // json:TimeZone Required
41676- private ToJSON $toJSON; // json:to_json Required
41677- private ToString $toString; // json:toString Required
41678- private TopLevelClass $topLevel; // json:top_level Required
41679- private Transient $transient; // json:transient Required
41680- private TrueClass $true; // json:True Required
41681- private TryClass $try; // json:try Required
41682- private Type $type; // json:Type Required
41683- private Typealias $typealias; // json:typealias Required
41684- private Typedef $typedef; // json:typedef Required
41685- private Typeid $typeid; // json:typeid Required
41686- private Typename $typename; // json:typename Required
41687- private Typeof $typeof; // json:typeof Required
41688- private Uint $uint; // json:uint Required
41689- private Ulong $ulong; // json:ulong Required
41690- private Unchecked $unchecked; // json:unchecked Required
41691- private Undefined $undefined; // json:undefined Required
41692- private Union $union; // json:union Required
41693- private Unowned $unowned; // json:unowned Required
41694- private Unsafe $unsafe; // json:unsafe Required
41695- private Unsigned $unsigned; // json:unsigned Required
41696- private Ushort $ushort; // json:ushort Required
41697- private Using $using; // json:using Required
41698- private Utf8JSONReader $utf8JSONReader; // json:Utf8JsonReader Required
41699- private Utf8JSONWriter $utf8JSONWriter; // json:Utf8JsonWriter Required
41700- private UUID $uuid; // json:UUID Required
41701- private VarClass $var; // json:var Required
41702- private Virtual $virtual; // json:virtual Required
4170341974
4170441975 /**
41705- * @param int $dummy
41706- * @param Obj5Self $obj5Self
41707- * @param This $obj5This
41708- * @param Obj5True $obj5True
41709- * @param TypeClass $obj5Type
41710- * @param SelfClass $self
41711- * @param Sendable $sendable
41712- * @param Serialize $serialize
41713- * @param SerializerProvider $serializerProvider
41714- * @param Set $set
41715- * @param Short $short
41716- * @param Signed $signed
41717- * @param SimpleModule $simpleModule
41718- * @param Sizeof $sizeof
41719- * @param Stackalloc $stackalloc
41720- * @param Standards $standards
41721- * @param StaticClass $static
41722- * @param StaticAssert $staticAssert
41723- * @param StaticCast $staticCast
41724- * @param StdDeserializer $stdDeserializer
41725- * @param StdSerializer $stdSerializer
41726- * @param Strictfp $strictfp
41727- * @param StringClass $string
41728- * @param Struct $struct
41729- * @param Subscript $subscript
41730- * @param Super $super
41731- * @param SwitchClass $switch
41732- * @param Symbol $symbol
41733- * @param Synchronized $synchronized
41734- * @param System $system
41735- * @param Template $template
41736- * @param Then $then
41737- * @param ThreadLocal $threadLocal
41738- * @param ThrowClass $throw
41739- * @param Throws $throws
41740- * @param TimeOnly $timeOnly
41741- * @param TimeOnlyConverter $timeOnlyConverter
41742- * @param TimeZone $timeZone
41743- * @param ToJSON $toJSON
41744- * @param ToString $toString
41745- * @param TopLevelClass $topLevel
41746- * @param Transient $transient
41747- * @param TrueClass $true
41748- * @param TryClass $try
41749- * @param Type $type
41750- * @param Typealias $typealias
41751- * @param Typedef $typedef
41752- * @param Typeid $typeid
41753- * @param Typename $typename
41754- * @param Typeof $typeof
41755- * @param Uint $uint
41756- * @param Ulong $ulong
41757- * @param Unchecked $unchecked
41758- * @param Undefined $undefined
41759- * @param Union $union
41760- * @param Unowned $unowned
41761- * @param Unsafe $unsafe
41762- * @param Unsigned $unsigned
41763- * @param Ushort $ushort
41764- * @param Using $using
41765- * @param Utf8JSONReader $utf8JSONReader
41766- * @param Utf8JSONWriter $utf8JSONWriter
41767- * @param UUID $uuid
41768- * @param VarClass $var
41769- * @param Virtual $virtual
41976+ * @return This
4177041977 */
41771- public function __construct(int $dummy, Obj5Self $obj5Self, This $obj5This, Obj5True $obj5True, TypeClass $obj5Type, SelfClass $self, Sendable $sendable, Serialize $serialize, SerializerProvider $serializerProvider, Set $set, Short $short, Signed $signed, SimpleModule $simpleModule, Sizeof $sizeof, Stackalloc $stackalloc, Standards $standards, StaticClass $static, StaticAssert $staticAssert, StaticCast $staticCast, StdDeserializer $stdDeserializer, StdSerializer $stdSerializer, Strictfp $strictfp, StringClass $string, Struct $struct, Subscript $subscript, Super $super, SwitchClass $switch, Symbol $symbol, Synchronized $synchronized, System $system, Template $template, Then $then, ThreadLocal $threadLocal, ThrowClass $throw, Throws $throws, TimeOnly $timeOnly, TimeOnlyConverter $timeOnlyConverter, TimeZone $timeZone, ToJSON $toJSON, ToString $toString, TopLevelClass $topLevel, Transient $transient, TrueClass $true, TryClass $try, Type $type, Typealias $typealias, Typedef $typedef, Typeid $typeid, Typename $typename, Typeof $typeof, Uint $uint, Ulong $ulong, Unchecked $unchecked, Undefined $undefined, Union $union, Unowned $unowned, Unsafe $unsafe, Unsigned $unsigned, Ushort $ushort, Using $using, Utf8JSONReader $utf8JSONReader, Utf8JSONWriter $utf8JSONWriter, UUID $uuid, VarClass $var, Virtual $virtual) {
41772- $this->dummy = $dummy;
41773- $this->obj5Self = $obj5Self;
41774- $this->obj5This = $obj5This;
41775- $this->obj5True = $obj5True;
41776- $this->obj5Type = $obj5Type;
41777- $this->self = $self;
41778- $this->sendable = $sendable;
41779- $this->serialize = $serialize;
41780- $this->serializerProvider = $serializerProvider;
41781- $this->set = $set;
41782- $this->short = $short;
41783- $this->signed = $signed;
41784- $this->simpleModule = $simpleModule;
41785- $this->sizeof = $sizeof;
41786- $this->stackalloc = $stackalloc;
41787- $this->standards = $standards;
41788- $this->static = $static;
41789- $this->staticAssert = $staticAssert;
41790- $this->staticCast = $staticCast;
41791- $this->stdDeserializer = $stdDeserializer;
41792- $this->stdSerializer = $stdSerializer;
41793- $this->strictfp = $strictfp;
41794- $this->string = $string;
41795- $this->struct = $struct;
41796- $this->subscript = $subscript;
41797- $this->super = $super;
41798- $this->switch = $switch;
41799- $this->symbol = $symbol;
41800- $this->synchronized = $synchronized;
41801- $this->system = $system;
41802- $this->template = $template;
41803- $this->then = $then;
41804- $this->threadLocal = $threadLocal;
41805- $this->throw = $throw;
41806- $this->throws = $throws;
41807- $this->timeOnly = $timeOnly;
41808- $this->timeOnlyConverter = $timeOnlyConverter;
41809- $this->timeZone = $timeZone;
41810- $this->toJSON = $toJSON;
41811- $this->toString = $toString;
41812- $this->topLevel = $topLevel;
41813- $this->transient = $transient;
41814- $this->true = $true;
41815- $this->try = $try;
41816- $this->type = $type;
41817- $this->typealias = $typealias;
41818- $this->typedef = $typedef;
41819- $this->typeid = $typeid;
41820- $this->typename = $typename;
41821- $this->typeof = $typeof;
41822- $this->uint = $uint;
41823- $this->ulong = $ulong;
41824- $this->unchecked = $unchecked;
41825- $this->undefined = $undefined;
41826- $this->union = $union;
41827- $this->unowned = $unowned;
41828- $this->unsafe = $unsafe;
41829- $this->unsigned = $unsigned;
41830- $this->ushort = $ushort;
41831- $this->using = $using;
41832- $this->utf8JSONReader = $utf8JSONReader;
41833- $this->utf8JSONWriter = $utf8JSONWriter;
41834- $this->uuid = $uuid;
41835- $this->var = $var;
41836- $this->virtual = $virtual;
41978+ public static function sampleObj5This(): This {
41979+ return This::sample(); /*33:obj5This*/
4183741980 }
4183841981
4183941982 /**
41840- * @param int $value
41983+ * @param stdClass $value
4184141984 * @throws Exception
41842- * @return int
41985+ * @return Obj5True
4184341986 */
41844- public static function fromDummy(int $value): int {
41845- return $value; /*int*/
41987+ public static function fromObj5True(stdClass $value): Obj5True {
41988+ return Obj5True::from($value); /*class*/
4184641989 }
4184741990
4184841991 /**
4184941992 * @throws Exception
41850- * @return int
41993+ * @return stdClass
4185141994 */
41852- public function toDummy(): int {
41853- if (Obj5::validateDummy($this->dummy)) {
41854- return $this->dummy; /*int*/
41995+ public function toObj5True(): stdClass {
41996+ if (Obj5::validateObj5True($this->obj5True)) {
41997+ return $this->obj5True->to(); /*class*/
4185541998 }
41856- throw new Exception('never get to this Obj5::dummy');
41999+ throw new Exception('never get to this Obj5::obj5True');
4185742000 }
4185842001
4185942002 /**
41860- * @param int
42003+ * @param Obj5True
4186142004 * @return bool
4186242005 * @throws Exception
4186342006 */
41864- public static function validateDummy(int $value): bool {
42007+ public static function validateObj5True(Obj5True $value): bool {
42008+ $value->validate();
4186542009 return true;
4186642010 }
4186742011
4186842012 /**
4186942013 * @throws Exception
41870- * @return int
42014+ * @return Obj5True
4187142015 */
41872- public function getDummy(): int {
41873- if (Obj5::validateDummy($this->dummy)) {
41874- return $this->dummy;
42016+ public function getObj5True(): Obj5True {
42017+ if (Obj5::validateObj5True($this->obj5True)) {
42018+ return $this->obj5True;
4187542019 }
41876- throw new Exception('never get to getDummy Obj5::dummy');
42020+ throw new Exception('never get to getObj5True Obj5::obj5True');
4187742021 }
4187842022
4187942023 /**
41880- * @return int
42024+ * @return Obj5True
4188142025 */
41882- public static function sampleDummy(): int {
41883- return 31; /*31:dummy*/
42026+ public static function sampleObj5True(): Obj5True {
42027+ return Obj5True::sample(); /*34:obj5True*/
4188442028 }
4188542029
4188642030 /**
4188742031 * @param stdClass $value
4188842032 * @throws Exception
41889- * @return Obj5Self
42033+ * @return TypeClass
4189042034 */
41891- public static function fromObj5Self(stdClass $value): Obj5Self {
41892- return Obj5Self::from($value); /*class*/
42035+ public static function fromObj5Type(stdClass $value): TypeClass {
42036+ return TypeClass::from($value); /*class*/
4189342037 }
4189442038
4189542039 /**
4189642040 * @throws Exception
4189742041 * @return stdClass
4189842042 */
41899- public function toObj5Self(): stdClass {
41900- if (Obj5::validateObj5Self($this->obj5Self)) {
41901- return $this->obj5Self->to(); /*class*/
42043+ public function toObj5Type(): stdClass {
42044+ if (Obj5::validateObj5Type($this->obj5Type)) {
42045+ return $this->obj5Type->to(); /*class*/
4190242046 }
41903- throw new Exception('never get to this Obj5::obj5Self');
42047+ throw new Exception('never get to this Obj5::obj5Type');
4190442048 }
4190542049
4190642050 /**
41907- * @param Obj5Self
42051+ * @param TypeClass
4190842052 * @return bool
4190942053 * @throws Exception
4191042054 */
41911- public static function validateObj5Self(Obj5Self $value): bool {
42055+ public static function validateObj5Type(TypeClass $value): bool {
4191242056 $value->validate();
4191342057 return true;
4191442058 }
4191542059
4191642060 /**
4191742061 * @throws Exception
41918- * @return Obj5Self
42062+ * @return TypeClass
4191942063 */
41920- public function getObj5Self(): Obj5Self {
41921- if (Obj5::validateObj5Self($this->obj5Self)) {
41922- return $this->obj5Self;
42064+ public function getObj5Type(): TypeClass {
42065+ if (Obj5::validateObj5Type($this->obj5Type)) {
42066+ return $this->obj5Type;
4192342067 }
41924- throw new Exception('never get to getObj5Self Obj5::obj5Self');
42068+ throw new Exception('never get to getObj5Type Obj5::obj5Type');
4192542069 }
4192642070
4192742071 /**
41928- * @return Obj5Self
42072+ * @return TypeClass
4192942073 */
41930- public static function sampleObj5Self(): Obj5Self {
41931- return Obj5Self::sample(); /*32:obj5Self*/
42074+ public static function sampleObj5Type(): TypeClass {
42075+ return TypeClass::sample(); /*35:obj5Type*/
4193242076 }
4193342077
4193442078 /**
4193542079 * @param stdClass $value
4193642080 * @throws Exception
41937- * @return This
42081+ * @return Sealed
4193842082 */
41939- public static function fromObj5This(stdClass $value): This {
41940- return This::from($value); /*class*/
42083+ public static function fromSealed(stdClass $value): Sealed {
42084+ return Sealed::from($value); /*class*/
4194142085 }
4194242086
4194342087 /**
4194442088 * @throws Exception
4194542089 * @return stdClass
4194642090 */
41947- public function toObj5This(): stdClass {
41948- if (Obj5::validateObj5This($this->obj5This)) {
41949- return $this->obj5This->to(); /*class*/
42091+ public function toSealed(): stdClass {
42092+ if (Obj5::validateSealed($this->sealed)) {
42093+ return $this->sealed->to(); /*class*/
4195042094 }
41951- throw new Exception('never get to this Obj5::obj5This');
42095+ throw new Exception('never get to this Obj5::sealed');
4195242096 }
4195342097
4195442098 /**
41955- * @param This
42099+ * @param Sealed
4195642100 * @return bool
4195742101 * @throws Exception
4195842102 */
41959- public static function validateObj5This(This $value): bool {
42103+ public static function validateSealed(Sealed $value): bool {
4196042104 $value->validate();
4196142105 return true;
4196242106 }
4196342107
4196442108 /**
4196542109 * @throws Exception
41966- * @return This
42110+ * @return Sealed
4196742111 */
41968- public function getObj5This(): This {
41969- if (Obj5::validateObj5This($this->obj5This)) {
41970- return $this->obj5This;
42112+ public function getSealed(): Sealed {
42113+ if (Obj5::validateSealed($this->sealed)) {
42114+ return $this->sealed;
4197142115 }
41972- throw new Exception('never get to getObj5This Obj5::obj5This');
42116+ throw new Exception('never get to getSealed Obj5::sealed');
4197342117 }
4197442118
4197542119 /**
41976- * @return This
42120+ * @return Sealed
4197742121 */
41978- public static function sampleObj5This(): This {
41979- return This::sample(); /*33:obj5This*/
42122+ public static function sampleSealed(): Sealed {
42123+ return Sealed::sample(); /*36:sealed*/
4198042124 }
4198142125
4198242126 /**
4198342127 * @param stdClass $value
4198442128 * @throws Exception
41985- * @return Obj5True
42129+ * @return Sel
4198642130 */
41987- public static function fromObj5True(stdClass $value): Obj5True {
41988- return Obj5True::from($value); /*class*/
42131+ public static function fromSel(stdClass $value): Sel {
42132+ return Sel::from($value); /*class*/
4198942133 }
4199042134
4199142135 /**
4199242136 * @throws Exception
4199342137 * @return stdClass
4199442138 */
41995- public function toObj5True(): stdClass {
41996- if (Obj5::validateObj5True($this->obj5True)) {
41997- return $this->obj5True->to(); /*class*/
42139+ public function toSel(): stdClass {
42140+ if (Obj5::validateSel($this->sel)) {
42141+ return $this->sel->to(); /*class*/
4199842142 }
41999- throw new Exception('never get to this Obj5::obj5True');
42143+ throw new Exception('never get to this Obj5::sel');
4200042144 }
4200142145
4200242146 /**
42003- * @param Obj5True
42147+ * @param Sel
4200442148 * @return bool
4200542149 * @throws Exception
4200642150 */
42007- public static function validateObj5True(Obj5True $value): bool {
42151+ public static function validateSel(Sel $value): bool {
4200842152 $value->validate();
4200942153 return true;
4201042154 }
4201142155
4201242156 /**
4201342157 * @throws Exception
42014- * @return Obj5True
42158+ * @return Sel
4201542159 */
42016- public function getObj5True(): Obj5True {
42017- if (Obj5::validateObj5True($this->obj5True)) {
42018- return $this->obj5True;
42160+ public function getSel(): Sel {
42161+ if (Obj5::validateSel($this->sel)) {
42162+ return $this->sel;
4201942163 }
42020- throw new Exception('never get to getObj5True Obj5::obj5True');
42164+ throw new Exception('never get to getSel Obj5::sel');
4202142165 }
4202242166
4202342167 /**
42024- * @return Obj5True
42168+ * @return Sel
4202542169 */
42026- public static function sampleObj5True(): Obj5True {
42027- return Obj5True::sample(); /*34:obj5True*/
42170+ public static function sampleSel(): Sel {
42171+ return Sel::sample(); /*37:sel*/
4202842172 }
4202942173
4203042174 /**
4203142175 * @param stdClass $value
4203242176 * @throws Exception
42033- * @return TypeClass
42177+ * @return Select
4203442178 */
42035- public static function fromObj5Type(stdClass $value): TypeClass {
42036- return TypeClass::from($value); /*class*/
42179+ public static function fromSelect(stdClass $value): Select {
42180+ return Select::from($value); /*class*/
4203742181 }
4203842182
4203942183 /**
4204042184 * @throws Exception
4204142185 * @return stdClass
4204242186 */
42043- public function toObj5Type(): stdClass {
42044- if (Obj5::validateObj5Type($this->obj5Type)) {
42045- return $this->obj5Type->to(); /*class*/
42187+ public function toSelect(): stdClass {
42188+ if (Obj5::validateSelect($this->select)) {
42189+ return $this->select->to(); /*class*/
4204642190 }
42047- throw new Exception('never get to this Obj5::obj5Type');
42191+ throw new Exception('never get to this Obj5::select');
4204842192 }
4204942193
4205042194 /**
42051- * @param TypeClass
42195+ * @param Select
4205242196 * @return bool
4205342197 * @throws Exception
4205442198 */
42055- public static function validateObj5Type(TypeClass $value): bool {
42199+ public static function validateSelect(Select $value): bool {
4205642200 $value->validate();
4205742201 return true;
4205842202 }
4205942203
4206042204 /**
4206142205 * @throws Exception
42062- * @return TypeClass
42206+ * @return Select
4206342207 */
42064- public function getObj5Type(): TypeClass {
42065- if (Obj5::validateObj5Type($this->obj5Type)) {
42066- return $this->obj5Type;
42208+ public function getSelect(): Select {
42209+ if (Obj5::validateSelect($this->select)) {
42210+ return $this->select;
4206742211 }
42068- throw new Exception('never get to getObj5Type Obj5::obj5Type');
42212+ throw new Exception('never get to getSelect Obj5::select');
4206942213 }
4207042214
4207142215 /**
42072- * @return TypeClass
42216+ * @return Select
4207342217 */
42074- public static function sampleObj5Type(): TypeClass {
42075- return TypeClass::sample(); /*35:obj5Type*/
42218+ public static function sampleSelect(): Select {
42219+ return Select::sample(); /*38:select*/
4207642220 }
4207742221
4207842222 /**
@@ -42120,7 +42264,7 @@ class Obj5 {
4212042264 * @return SelfClass
4212142265 */
4212242266 public static function sampleSelf(): SelfClass {
42123- return SelfClass::sample(); /*36:self*/
42267+ return SelfClass::sample(); /*39:self*/
4212442268 }
4212542269
4212642270 /**
@@ -42168,7 +42312,55 @@ class Obj5 {
4216842312 * @return Sendable
4216942313 */
4217042314 public static function sampleSendable(): Sendable {
42171- return Sendable::sample(); /*37:sendable*/
42315+ return Sendable::sample(); /*40:sendable*/
42316+ }
42317+
42318+ /**
42319+ * @param stdClass $value
42320+ * @throws Exception
42321+ * @return SerializationFeature
42322+ */
42323+ public static function fromSerializationFeature(stdClass $value): SerializationFeature {
42324+ return SerializationFeature::from($value); /*class*/
42325+ }
42326+
42327+ /**
42328+ * @throws Exception
42329+ * @return stdClass
42330+ */
42331+ public function toSerializationFeature(): stdClass {
42332+ if (Obj5::validateSerializationFeature($this->serializationFeature)) {
42333+ return $this->serializationFeature->to(); /*class*/
42334+ }
42335+ throw new Exception('never get to this Obj5::serializationFeature');
42336+ }
42337+
42338+ /**
42339+ * @param SerializationFeature
42340+ * @return bool
42341+ * @throws Exception
42342+ */
42343+ public static function validateSerializationFeature(SerializationFeature $value): bool {
42344+ $value->validate();
42345+ return true;
42346+ }
42347+
42348+ /**
42349+ * @throws Exception
42350+ * @return SerializationFeature
42351+ */
42352+ public function getSerializationFeature(): SerializationFeature {
42353+ if (Obj5::validateSerializationFeature($this->serializationFeature)) {
42354+ return $this->serializationFeature;
42355+ }
42356+ throw new Exception('never get to getSerializationFeature Obj5::serializationFeature');
42357+ }
42358+
42359+ /**
42360+ * @return SerializationFeature
42361+ */
42362+ public static function sampleSerializationFeature(): SerializationFeature {
42363+ return SerializationFeature::sample(); /*41:serializationFeature*/
4217242364 }
4217342365
4217442366 /**
@@ -42216,7 +42408,7 @@ class Obj5 {
4221642408 * @return Serialize
4221742409 */
4221842410 public static function sampleSerialize(): Serialize {
42219- return Serialize::sample(); /*38:serialize*/
42411+ return Serialize::sample(); /*42:serialize*/
4222042412 }
4222142413
4222242414 /**
@@ -42264,7 +42456,7 @@ class Obj5 {
4226442456 * @return SerializerProvider
4226542457 */
4226642458 public static function sampleSerializerProvider(): SerializerProvider {
42267- return SerializerProvider::sample(); /*39:serializerProvider*/
42459+ return SerializerProvider::sample(); /*43:serializerProvider*/
4226842460 }
4226942461
4227042462 /**
@@ -42312,7 +42504,7 @@ class Obj5 {
4231242504 * @return Set
4231342505 */
4231442506 public static function sampleSet(): Set {
42315- return Set::sample(); /*40:set*/
42507+ return Set::sample(); /*44:set*/
4231642508 }
4231742509
4231842510 /**
@@ -42360,7 +42552,7 @@ class Obj5 {
4236042552 * @return Short
4236142553 */
4236242554 public static function sampleShort(): Short {
42363- return Short::sample(); /*41:short*/
42555+ return Short::sample(); /*45:short*/
4236442556 }
4236542557
4236642558 /**
@@ -42408,7 +42600,7 @@ class Obj5 {
4240842600 * @return Signed
4240942601 */
4241042602 public static function sampleSigned(): Signed {
42411- return Signed::sample(); /*42:signed*/
42603+ return Signed::sample(); /*46:signed*/
4241242604 }
4241342605
4241442606 /**
@@ -42456,7 +42648,7 @@ class Obj5 {
4245642648 * @return SimpleModule
4245742649 */
4245842650 public static function sampleSimpleModule(): SimpleModule {
42459- return SimpleModule::sample(); /*43:simpleModule*/
42651+ return SimpleModule::sample(); /*47:simpleModule*/
4246042652 }
4246142653
4246242654 /**
@@ -42504,7 +42696,7 @@ class Obj5 {
4250442696 * @return Sizeof
4250542697 */
4250642698 public static function sampleSizeof(): Sizeof {
42507- return Sizeof::sample(); /*44:sizeof*/
42699+ return Sizeof::sample(); /*48:sizeof*/
4250842700 }
4250942701
4251042702 /**
@@ -42552,7 +42744,7 @@ class Obj5 {
4255242744 * @return Stackalloc
4255342745 */
4255442746 public static function sampleStackalloc(): Stackalloc {
42555- return Stackalloc::sample(); /*45:stackalloc*/
42747+ return Stackalloc::sample(); /*49:stackalloc*/
4255642748 }
4255742749
4255842750 /**
@@ -42600,7 +42792,7 @@ class Obj5 {
4260042792 * @return Standards
4260142793 */
4260242794 public static function sampleStandards(): Standards {
42603- return Standards::sample(); /*46:standards*/
42795+ return Standards::sample(); /*50:standards*/
4260442796 }
4260542797
4260642798 /**
@@ -42648,7 +42840,7 @@ class Obj5 {
4264842840 * @return StaticClass
4264942841 */
4265042842 public static function sampleStatic(): StaticClass {
42651- return StaticClass::sample(); /*47:static*/
42843+ return StaticClass::sample(); /*51:static*/
4265242844 }
4265342845
4265442846 /**
@@ -42696,7 +42888,7 @@ class Obj5 {
4269642888 * @return StaticAssert
4269742889 */
4269842890 public static function sampleStaticAssert(): StaticAssert {
42699- return StaticAssert::sample(); /*48:staticAssert*/
42891+ return StaticAssert::sample(); /*52:staticAssert*/
4270042892 }
4270142893
4270242894 /**
@@ -42744,7 +42936,7 @@ class Obj5 {
4274442936 * @return StaticCast
4274542937 */
4274642938 public static function sampleStaticCast(): StaticCast {
42747- return StaticCast::sample(); /*49:staticCast*/
42939+ return StaticCast::sample(); /*53:staticCast*/
4274842940 }
4274942941
4275042942 /**
@@ -42792,7 +42984,7 @@ class Obj5 {
4279242984 * @return StdDeserializer
4279342985 */
4279442986 public static function sampleStdDeserializer(): StdDeserializer {
42795- return StdDeserializer::sample(); /*50:stdDeserializer*/
42987+ return StdDeserializer::sample(); /*54:stdDeserializer*/
4279642988 }
4279742989
4279842990 /**
@@ -42840,7 +43032,7 @@ class Obj5 {
4284043032 * @return StdSerializer
4284143033 */
4284243034 public static function sampleStdSerializer(): StdSerializer {
42843- return StdSerializer::sample(); /*51:stdSerializer*/
43035+ return StdSerializer::sample(); /*55:stdSerializer*/
4284443036 }
4284543037
4284643038 /**
@@ -42888,7 +43080,7 @@ class Obj5 {
4288843080 * @return Strictfp
4288943081 */
4289043082 public static function sampleStrictfp(): Strictfp {
42891- return Strictfp::sample(); /*52:strictfp*/
43083+ return Strictfp::sample(); /*56:strictfp*/
4289243084 }
4289343085
4289443086 /**
@@ -42936,7 +43128,7 @@ class Obj5 {
4293643128 * @return StringClass
4293743129 */
4293843130 public static function sampleString(): StringClass {
42939- return StringClass::sample(); /*53:string*/
43131+ return StringClass::sample(); /*57:string*/
4294043132 }
4294143133
4294243134 /**
@@ -42984,7 +43176,7 @@ class Obj5 {
4298443176 * @return Struct
4298543177 */
4298643178 public static function sampleStruct(): Struct {
42987- return Struct::sample(); /*54:struct*/
43179+ return Struct::sample(); /*58:struct*/
4298843180 }
4298943181
4299043182 /**
@@ -43032,7 +43224,7 @@ class Obj5 {
4303243224 * @return Subscript
4303343225 */
4303443226 public static function sampleSubscript(): Subscript {
43035- return Subscript::sample(); /*55:subscript*/
43227+ return Subscript::sample(); /*59:subscript*/
4303643228 }
4303743229
4303843230 /**
@@ -43080,7 +43272,7 @@ class Obj5 {
4308043272 * @return Super
4308143273 */
4308243274 public static function sampleSuper(): Super {
43083- return Super::sample(); /*56:super*/
43275+ return Super::sample(); /*60:super*/
4308443276 }
4308543277
4308643278 /**
@@ -43128,7 +43320,7 @@ class Obj5 {
4312843320 * @return SwitchClass
4312943321 */
4313043322 public static function sampleSwitch(): SwitchClass {
43131- return SwitchClass::sample(); /*57:switch*/
43323+ return SwitchClass::sample(); /*61:switch*/
4313243324 }
4313343325
4313443326 /**
@@ -43176,7 +43368,7 @@ class Obj5 {
4317643368 * @return Symbol
4317743369 */
4317843370 public static function sampleSymbol(): Symbol {
43179- return Symbol::sample(); /*58:symbol*/
43371+ return Symbol::sample(); /*62:symbol*/
4318043372 }
4318143373
4318243374 /**
@@ -43224,7 +43416,7 @@ class Obj5 {
4322443416 * @return Synchronized
4322543417 */
4322643418 public static function sampleSynchronized(): Synchronized {
43227- return Synchronized::sample(); /*59:synchronized*/
43419+ return Synchronized::sample(); /*63:synchronized*/
4322843420 }
4322943421
4323043422 /**
@@ -43272,7 +43464,7 @@ class Obj5 {
4327243464 * @return System
4327343465 */
4327443466 public static function sampleSystem(): System {
43275- return System::sample(); /*60:system*/
43467+ return System::sample(); /*64:system*/
4327643468 }
4327743469
4327843470 /**
@@ -43320,7 +43512,7 @@ class Obj5 {
4332043512 * @return Template
4332143513 */
4332243514 public static function sampleTemplate(): Template {
43323- return Template::sample(); /*61:template*/
43515+ return Template::sample(); /*65:template*/
4332443516 }
4332543517
4332643518 /**
@@ -43368,7 +43560,7 @@ class Obj5 {
4336843560 * @return Then
4336943561 */
4337043562 public static function sampleThen(): Then {
43371- return Then::sample(); /*62:then*/
43563+ return Then::sample(); /*66:then*/
4337243564 }
4337343565
4337443566 /**
@@ -43416,7 +43608,7 @@ class Obj5 {
4341643608 * @return ThreadLocal
4341743609 */
4341843610 public static function sampleThreadLocal(): ThreadLocal {
43419- return ThreadLocal::sample(); /*63:threadLocal*/
43611+ return ThreadLocal::sample(); /*67:threadLocal*/
4342043612 }
4342143613
4342243614 /**
@@ -43464,7 +43656,7 @@ class Obj5 {
4346443656 * @return ThrowClass
4346543657 */
4346643658 public static function sampleThrow(): ThrowClass {
43467- return ThrowClass::sample(); /*64:throw*/
43659+ return ThrowClass::sample(); /*68:throw*/
4346843660 }
4346943661
4347043662 /**
@@ -43512,7 +43704,7 @@ class Obj5 {
4351243704 * @return Throws
4351343705 */
4351443706 public static function sampleThrows(): Throws {
43515- return Throws::sample(); /*65:throws*/
43707+ return Throws::sample(); /*69:throws*/
4351643708 }
4351743709
4351843710 /**
@@ -43560,7 +43752,7 @@ class Obj5 {
4356043752 * @return TimeOnly
4356143753 */
4356243754 public static function sampleTimeOnly(): TimeOnly {
43563- return TimeOnly::sample(); /*66:timeOnly*/
43755+ return TimeOnly::sample(); /*70:timeOnly*/
4356443756 }
4356543757
4356643758 /**
@@ -43608,7 +43800,7 @@ class Obj5 {
4360843800 * @return TimeOnlyConverter
4360943801 */
4361043802 public static function sampleTimeOnlyConverter(): TimeOnlyConverter {
43611- return TimeOnlyConverter::sample(); /*67:timeOnlyConverter*/
43803+ return TimeOnlyConverter::sample(); /*71:timeOnlyConverter*/
4361243804 }
4361343805
4361443806 /**
@@ -43656,7 +43848,7 @@ class Obj5 {
4365643848 * @return TimeZone
4365743849 */
4365843850 public static function sampleTimeZone(): TimeZone {
43659- return TimeZone::sample(); /*68:timeZone*/
43851+ return TimeZone::sample(); /*72:timeZone*/
4366043852 }
4366143853
4366243854 /**
@@ -43704,7 +43896,7 @@ class Obj5 {
4370443896 * @return ToJSON
4370543897 */
4370643898 public static function sampleToJSON(): ToJSON {
43707- return ToJSON::sample(); /*69:toJSON*/
43899+ return ToJSON::sample(); /*73:toJSON*/
4370843900 }
4370943901
4371043902 /**
@@ -43752,7 +43944,7 @@ class Obj5 {
4375243944 * @return ToString
4375343945 */
4375443946 public static function sampleToString(): ToString {
43755- return ToString::sample(); /*70:toString*/
43947+ return ToString::sample(); /*74:toString*/
4375643948 }
4375743949
4375843950 /**
@@ -43800,7 +43992,7 @@ class Obj5 {
4380043992 * @return TopLevelClass
4380143993 */
4380243994 public static function sampleTopLevel(): TopLevelClass {
43803- return TopLevelClass::sample(); /*71:topLevel*/
43995+ return TopLevelClass::sample(); /*75:topLevel*/
4380443996 }
4380543997
4380643998 /**
@@ -43848,7 +44040,7 @@ class Obj5 {
4384844040 * @return Transient
4384944041 */
4385044042 public static function sampleTransient(): Transient {
43851- return Transient::sample(); /*72:transient*/
44043+ return Transient::sample(); /*76:transient*/
4385244044 }
4385344045
4385444046 /**
@@ -43896,7 +44088,7 @@ class Obj5 {
4389644088 * @return TrueClass
4389744089 */
4389844090 public static function sampleTrue(): TrueClass {
43899- return TrueClass::sample(); /*73:true*/
44091+ return TrueClass::sample(); /*77:true*/
4390044092 }
4390144093
4390244094 /**
@@ -43944,7 +44136,7 @@ class Obj5 {
4394444136 * @return TryClass
4394544137 */
4394644138 public static function sampleTry(): TryClass {
43947- return TryClass::sample(); /*74:try*/
44139+ return TryClass::sample(); /*78:try*/
4394844140 }
4394944141
4395044142 /**
@@ -43992,7 +44184,7 @@ class Obj5 {
4399244184 * @return Type
4399344185 */
4399444186 public static function sampleType(): Type {
43995- return Type::sample(); /*75:type*/
44187+ return Type::sample(); /*79:type*/
4399644188 }
4399744189
4399844190 /**
@@ -44040,7 +44232,7 @@ class Obj5 {
4404044232 * @return Typealias
4404144233 */
4404244234 public static function sampleTypealias(): Typealias {
44043- return Typealias::sample(); /*76:typealias*/
44235+ return Typealias::sample(); /*80:typealias*/
4404444236 }
4404544237
4404644238 /**
@@ -44088,7 +44280,7 @@ class Obj5 {
4408844280 * @return Typedef
4408944281 */
4409044282 public static function sampleTypedef(): Typedef {
44091- return Typedef::sample(); /*77:typedef*/
44283+ return Typedef::sample(); /*81:typedef*/
4409244284 }
4409344285
4409444286 /**
@@ -44136,7 +44328,7 @@ class Obj5 {
4413644328 * @return Typeid
4413744329 */
4413844330 public static function sampleTypeid(): Typeid {
44139- return Typeid::sample(); /*78:typeid*/
44331+ return Typeid::sample(); /*82:typeid*/
4414044332 }
4414144333
4414244334 /**
@@ -44184,7 +44376,7 @@ class Obj5 {
4418444376 * @return Typename
4418544377 */
4418644378 public static function sampleTypename(): Typename {
44187- return Typename::sample(); /*79:typename*/
44379+ return Typename::sample(); /*83:typename*/
4418844380 }
4418944381
4419044382 /**
@@ -44232,7 +44424,7 @@ class Obj5 {
4423244424 * @return Typeof
4423344425 */
4423444426 public static function sampleTypeof(): Typeof {
44235- return Typeof::sample(); /*80:typeof*/
44427+ return Typeof::sample(); /*84:typeof*/
4423644428 }
4423744429
4423844430 /**
@@ -44280,7 +44472,7 @@ class Obj5 {
4428044472 * @return Uint
4428144473 */
4428244474 public static function sampleUint(): Uint {
44283- return Uint::sample(); /*81:uint*/
44475+ return Uint::sample(); /*85:uint*/
4428444476 }
4428544477
4428644478 /**
@@ -44328,7 +44520,7 @@ class Obj5 {
4432844520 * @return Ulong
4432944521 */
4433044522 public static function sampleUlong(): Ulong {
44331- return Ulong::sample(); /*82:ulong*/
44523+ return Ulong::sample(); /*86:ulong*/
4433244524 }
4433344525
4433444526 /**
@@ -44376,7 +44568,7 @@ class Obj5 {
4437644568 * @return Unchecked
4437744569 */
4437844570 public static function sampleUnchecked(): Unchecked {
44379- return Unchecked::sample(); /*83:unchecked*/
44571+ return Unchecked::sample(); /*87:unchecked*/
4438044572 }
4438144573
4438244574 /**
@@ -44424,7 +44616,7 @@ class Obj5 {
4442444616 * @return Undefined
4442544617 */
4442644618 public static function sampleUndefined(): Undefined {
44427- return Undefined::sample(); /*84:undefined*/
44619+ return Undefined::sample(); /*88:undefined*/
4442844620 }
4442944621
4443044622 /**
@@ -44472,7 +44664,7 @@ class Obj5 {
4447244664 * @return Union
4447344665 */
4447444666 public static function sampleUnion(): Union {
44475- return Union::sample(); /*85:union*/
44667+ return Union::sample(); /*89:union*/
4447644668 }
4447744669
4447844670 /**
@@ -44520,7 +44712,7 @@ class Obj5 {
4452044712 * @return Unowned
4452144713 */
4452244714 public static function sampleUnowned(): Unowned {
44523- return Unowned::sample(); /*86:unowned*/
44715+ return Unowned::sample(); /*90:unowned*/
4452444716 }
4452544717
4452644718 /**
@@ -44568,7 +44760,7 @@ class Obj5 {
4456844760 * @return Unsafe
4456944761 */
4457044762 public static function sampleUnsafe(): Unsafe {
44571- return Unsafe::sample(); /*87:unsafe*/
44763+ return Unsafe::sample(); /*91:unsafe*/
4457244764 }
4457344765
4457444766 /**
@@ -44616,7 +44808,7 @@ class Obj5 {
4461644808 * @return Unsigned
4461744809 */
4461844810 public static function sampleUnsigned(): Unsigned {
44619- return Unsigned::sample(); /*88:unsigned*/
44811+ return Unsigned::sample(); /*92:unsigned*/
4462044812 }
4462144813
4462244814 /**
@@ -44664,7 +44856,7 @@ class Obj5 {
4466444856 * @return Ushort
4466544857 */
4466644858 public static function sampleUshort(): Ushort {
44667- return Ushort::sample(); /*89:ushort*/
44859+ return Ushort::sample(); /*93:ushort*/
4466844860 }
4466944861
4467044862 /**
@@ -44712,7 +44904,7 @@ class Obj5 {
4471244904 * @return Using
4471344905 */
4471444906 public static function sampleUsing(): Using {
44715- return Using::sample(); /*90:using*/
44907+ return Using::sample(); /*94:using*/
4471644908 }
4471744909
4471844910 /**
@@ -44760,199 +44952,7 @@ class Obj5 {
4476044952 * @return Utf8JSONReader
4476144953 */
4476244954 public static function sampleUtf8JSONReader(): Utf8JSONReader {
44763- return Utf8JSONReader::sample(); /*91:utf8JSONReader*/
44764- }
44765-
44766- /**
44767- * @param stdClass $value
44768- * @throws Exception
44769- * @return Utf8JSONWriter
44770- */
44771- public static function fromUtf8JSONWriter(stdClass $value): Utf8JSONWriter {
44772- return Utf8JSONWriter::from($value); /*class*/
44773- }
44774-
44775- /**
44776- * @throws Exception
44777- * @return stdClass
44778- */
44779- public function toUtf8JSONWriter(): stdClass {
44780- if (Obj5::validateUtf8JSONWriter($this->utf8JSONWriter)) {
44781- return $this->utf8JSONWriter->to(); /*class*/
44782- }
44783- throw new Exception('never get to this Obj5::utf8JSONWriter');
44784- }
44785-
44786- /**
44787- * @param Utf8JSONWriter
44788- * @return bool
44789- * @throws Exception
44790- */
44791- public static function validateUtf8JSONWriter(Utf8JSONWriter $value): bool {
44792- $value->validate();
44793- return true;
44794- }
44795-
44796- /**
44797- * @throws Exception
44798- * @return Utf8JSONWriter
44799- */
44800- public function getUtf8JSONWriter(): Utf8JSONWriter {
44801- if (Obj5::validateUtf8JSONWriter($this->utf8JSONWriter)) {
44802- return $this->utf8JSONWriter;
44803- }
44804- throw new Exception('never get to getUtf8JSONWriter Obj5::utf8JSONWriter');
44805- }
44806-
44807- /**
44808- * @return Utf8JSONWriter
44809- */
44810- public static function sampleUtf8JSONWriter(): Utf8JSONWriter {
44811- return Utf8JSONWriter::sample(); /*92:utf8JSONWriter*/
44812- }
44813-
44814- /**
44815- * @param stdClass $value
44816- * @throws Exception
44817- * @return UUID
44818- */
44819- public static function fromUUID(stdClass $value): UUID {
44820- return UUID::from($value); /*class*/
44821- }
44822-
44823- /**
44824- * @throws Exception
44825- * @return stdClass
44826- */
44827- public function toUUID(): stdClass {
44828- if (Obj5::validateUUID($this->uuid)) {
44829- return $this->uuid->to(); /*class*/
44830- }
44831- throw new Exception('never get to this Obj5::uuid');
44832- }
44833-
44834- /**
44835- * @param UUID
44836- * @return bool
44837- * @throws Exception
44838- */
44839- public static function validateUUID(UUID $value): bool {
44840- $value->validate();
44841- return true;
44842- }
44843-
44844- /**
44845- * @throws Exception
44846- * @return UUID
44847- */
44848- public function getUUID(): UUID {
44849- if (Obj5::validateUUID($this->uuid)) {
44850- return $this->uuid;
44851- }
44852- throw new Exception('never get to getUUID Obj5::uuid');
44853- }
44854-
44855- /**
44856- * @return UUID
44857- */
44858- public static function sampleUUID(): UUID {
44859- return UUID::sample(); /*93:uuid*/
44860- }
44861-
44862- /**
44863- * @param stdClass $value
44864- * @throws Exception
44865- * @return VarClass
44866- */
44867- public static function fromVar(stdClass $value): VarClass {
44868- return VarClass::from($value); /*class*/
44869- }
44870-
44871- /**
44872- * @throws Exception
44873- * @return stdClass
44874- */
44875- public function toVar(): stdClass {
44876- if (Obj5::validateVar($this->var)) {
44877- return $this->var->to(); /*class*/
44878- }
44879- throw new Exception('never get to this Obj5::var');
44880- }
44881-
44882- /**
44883- * @param VarClass
44884- * @return bool
44885- * @throws Exception
44886- */
44887- public static function validateVar(VarClass $value): bool {
44888- $value->validate();
44889- return true;
44890- }
44891-
44892- /**
44893- * @throws Exception
44894- * @return VarClass
44895- */
44896- public function getVar(): VarClass {
44897- if (Obj5::validateVar($this->var)) {
44898- return $this->var;
44899- }
44900- throw new Exception('never get to getVar Obj5::var');
44901- }
44902-
44903- /**
44904- * @return VarClass
44905- */
44906- public static function sampleVar(): VarClass {
44907- return VarClass::sample(); /*94:var*/
44908- }
44909-
44910- /**
44911- * @param stdClass $value
44912- * @throws Exception
44913- * @return Virtual
44914- */
44915- public static function fromVirtual(stdClass $value): Virtual {
44916- return Virtual::from($value); /*class*/
44917- }
44918-
44919- /**
44920- * @throws Exception
44921- * @return stdClass
44922- */
44923- public function toVirtual(): stdClass {
44924- if (Obj5::validateVirtual($this->virtual)) {
44925- return $this->virtual->to(); /*class*/
44926- }
44927- throw new Exception('never get to this Obj5::virtual');
44928- }
44929-
44930- /**
44931- * @param Virtual
44932- * @return bool
44933- * @throws Exception
44934- */
44935- public static function validateVirtual(Virtual $value): bool {
44936- $value->validate();
44937- return true;
44938- }
44939-
44940- /**
44941- * @throws Exception
44942- * @return Virtual
44943- */
44944- public function getVirtual(): Virtual {
44945- if (Obj5::validateVirtual($this->virtual)) {
44946- return $this->virtual;
44947- }
44948- throw new Exception('never get to getVirtual Obj5::virtual');
44949- }
44950-
44951- /**
44952- * @return Virtual
44953- */
44954- public static function sampleVirtual(): Virtual {
44955- return Virtual::sample(); /*95:virtual*/
44955+ return Utf8JSONReader::sample(); /*95:utf8JSONReader*/
4495644956 }
4495744957
4495844958 /**
@@ -44965,8 +44965,12 @@ class Obj5 {
4496544965 || Obj5::validateObj5This($this->obj5This)
4496644966 || Obj5::validateObj5True($this->obj5True)
4496744967 || Obj5::validateObj5Type($this->obj5Type)
44968+ || Obj5::validateSealed($this->sealed)
44969+ || Obj5::validateSel($this->sel)
44970+ || Obj5::validateSelect($this->select)
4496844971 || Obj5::validateSelf($this->self)
4496944972 || Obj5::validateSendable($this->sendable)
44973+ || Obj5::validateSerializationFeature($this->serializationFeature)
4497044974 || Obj5::validateSerialize($this->serialize)
4497144975 || Obj5::validateSerializerProvider($this->serializerProvider)
4497244976 || Obj5::validateSet($this->set)
@@ -45020,11 +45024,7 @@ class Obj5 {
4502045024 || Obj5::validateUnsigned($this->unsigned)
4502145025 || Obj5::validateUshort($this->ushort)
4502245026 || Obj5::validateUsing($this->using)
45023- || Obj5::validateUtf8JSONReader($this->utf8JSONReader)
45024- || Obj5::validateUtf8JSONWriter($this->utf8JSONWriter)
45025- || Obj5::validateUUID($this->uuid)
45026- || Obj5::validateVar($this->var)
45027- || Obj5::validateVirtual($this->virtual);
45027+ || Obj5::validateUtf8JSONReader($this->utf8JSONReader);
4502845028 }
4502945029
4503045030 /**
@@ -45038,8 +45038,12 @@ class Obj5 {
4503845038 $out->{'this'} = $this->toObj5This();
4503945039 $out->{'true'} = $this->toObj5True();
4504045040 $out->{'type'} = $this->toObj5Type();
45041+ $out->{'sealed'} = $this->toSealed();
45042+ $out->{'SEL'} = $this->toSel();
45043+ $out->{'select'} = $this->toSelect();
4504145044 $out->{'Self'} = $this->toSelf();
4504245045 $out->{'Sendable'} = $this->toSendable();
45046+ $out->{'SerializationFeature'} = $this->toSerializationFeature();
4504345047 $out->{'serialize'} = $this->toSerialize();
4504445048 $out->{'SerializerProvider'} = $this->toSerializerProvider();
4504545049 $out->{'set'} = $this->toSet();
@@ -45094,10 +45098,6 @@ class Obj5 {
4509445098 $out->{'ushort'} = $this->toUshort();
4509545099 $out->{'using'} = $this->toUsing();
4509645100 $out->{'Utf8JsonReader'} = $this->toUtf8JSONReader();
45097- $out->{'Utf8JsonWriter'} = $this->toUtf8JSONWriter();
45098- $out->{'UUID'} = $this->toUUID();
45099- $out->{'var'} = $this->toVar();
45100- $out->{'virtual'} = $this->toVirtual();
4510145101 return $out;
4510245102 }
4510345103
@@ -45122,12 +45122,24 @@ class Obj5 {
4512245122 if (!property_exists($obj, 'type')) {
4512345123 throw new Exception("Missing required property");
4512445124 }
45125+ if (!property_exists($obj, 'sealed')) {
45126+ throw new Exception("Missing required property");
45127+ }
45128+ if (!property_exists($obj, 'SEL')) {
45129+ throw new Exception("Missing required property");
45130+ }
45131+ if (!property_exists($obj, 'select')) {
45132+ throw new Exception("Missing required property");
45133+ }
4512545134 if (!property_exists($obj, 'Self')) {
4512645135 throw new Exception("Missing required property");
4512745136 }
4512845137 if (!property_exists($obj, 'Sendable')) {
4512945138 throw new Exception("Missing required property");
4513045139 }
45140+ if (!property_exists($obj, 'SerializationFeature')) {
45141+ throw new Exception("Missing required property");
45142+ }
4513145143 if (!property_exists($obj, 'serialize')) {
4513245144 throw new Exception("Missing required property");
4513345145 }
@@ -45290,26 +45302,18 @@ class Obj5 {
4529045302 if (!property_exists($obj, 'Utf8JsonReader')) {
4529145303 throw new Exception("Missing required property");
4529245304 }
45293- if (!property_exists($obj, 'Utf8JsonWriter')) {
45294- throw new Exception("Missing required property");
45295- }
45296- if (!property_exists($obj, 'UUID')) {
45297- throw new Exception("Missing required property");
45298- }
45299- if (!property_exists($obj, 'var')) {
45300- throw new Exception("Missing required property");
45301- }
45302- if (!property_exists($obj, 'virtual')) {
45303- throw new Exception("Missing required property");
45304- }
4530545305 return new Obj5(
4530645306 Obj5::fromDummy($obj->{'dummy'})
4530745307 ,Obj5::fromObj5Self($obj->{'self'})
4530845308 ,Obj5::fromObj5This($obj->{'this'})
4530945309 ,Obj5::fromObj5True($obj->{'true'})
4531045310 ,Obj5::fromObj5Type($obj->{'type'})
45311+ ,Obj5::fromSealed($obj->{'sealed'})
45312+ ,Obj5::fromSel($obj->{'SEL'})
45313+ ,Obj5::fromSelect($obj->{'select'})
4531145314 ,Obj5::fromSelf($obj->{'Self'})
4531245315 ,Obj5::fromSendable($obj->{'Sendable'})
45316+ ,Obj5::fromSerializationFeature($obj->{'SerializationFeature'})
4531345317 ,Obj5::fromSerialize($obj->{'serialize'})
4531445318 ,Obj5::fromSerializerProvider($obj->{'SerializerProvider'})
4531545319 ,Obj5::fromSet($obj->{'set'})
@@ -45364,10 +45368,6 @@ class Obj5 {
4536445368 ,Obj5::fromUshort($obj->{'ushort'})
4536545369 ,Obj5::fromUsing($obj->{'using'})
4536645370 ,Obj5::fromUtf8JSONReader($obj->{'Utf8JsonReader'})
45367- ,Obj5::fromUtf8JSONWriter($obj->{'Utf8JsonWriter'})
45368- ,Obj5::fromUUID($obj->{'UUID'})
45369- ,Obj5::fromVar($obj->{'var'})
45370- ,Obj5::fromVirtual($obj->{'virtual'})
4537145371 );
4537245372 }
4537345373
@@ -45381,8 +45381,12 @@ class Obj5 {
4538145381 ,Obj5::sampleObj5This()
4538245382 ,Obj5::sampleObj5True()
4538345383 ,Obj5::sampleObj5Type()
45384+ ,Obj5::sampleSealed()
45385+ ,Obj5::sampleSel()
45386+ ,Obj5::sampleSelect()
4538445387 ,Obj5::sampleSelf()
4538545388 ,Obj5::sampleSendable()
45389+ ,Obj5::sampleSerializationFeature()
4538645390 ,Obj5::sampleSerialize()
4538745391 ,Obj5::sampleSerializerProvider()
4538845392 ,Obj5::sampleSet()
@@ -45437,10 +45441,6 @@ class Obj5 {
4543745441 ,Obj5::sampleUshort()
4543845442 ,Obj5::sampleUsing()
4543945443 ,Obj5::sampleUtf8JSONReader()
45440- ,Obj5::sampleUtf8JSONWriter()
45441- ,Obj5::sampleUUID()
45442- ,Obj5::sampleVar()
45443- ,Obj5::sampleVirtual()
4544445444 );
4544545445 }
4544645446 }
@@ -45849,6 +45849,309 @@ class TypeClass {
4584945849 }
4585045850 }
4585145851
45852+// This is an autogenerated file:Sealed
45853+
45854+class Sealed {
45855+ private int $sealed; // json:sealed Required
45856+
45857+ /**
45858+ * @param int $sealed
45859+ */
45860+ public function __construct(int $sealed) {
45861+ $this->sealed = $sealed;
45862+ }
45863+
45864+ /**
45865+ * @param int $value
45866+ * @throws Exception
45867+ * @return int
45868+ */
45869+ public static function fromSealed(int $value): int {
45870+ return $value; /*int*/
45871+ }
45872+
45873+ /**
45874+ * @throws Exception
45875+ * @return int
45876+ */
45877+ public function toSealed(): int {
45878+ if (Sealed::validateSealed($this->sealed)) {
45879+ return $this->sealed; /*int*/
45880+ }
45881+ throw new Exception('never get to this Sealed::sealed');
45882+ }
45883+
45884+ /**
45885+ * @param int
45886+ * @return bool
45887+ * @throws Exception
45888+ */
45889+ public static function validateSealed(int $value): bool {
45890+ return true;
45891+ }
45892+
45893+ /**
45894+ * @throws Exception
45895+ * @return int
45896+ */
45897+ public function getSealed(): int {
45898+ if (Sealed::validateSealed($this->sealed)) {
45899+ return $this->sealed;
45900+ }
45901+ throw new Exception('never get to getSealed Sealed::sealed');
45902+ }
45903+
45904+ /**
45905+ * @return int
45906+ */
45907+ public static function sampleSealed(): int {
45908+ return 31; /*31:sealed*/
45909+ }
45910+
45911+ /**
45912+ * @throws Exception
45913+ * @return bool
45914+ */
45915+ public function validate(): bool {
45916+ return Sealed::validateSealed($this->sealed);
45917+ }
45918+
45919+ /**
45920+ * @return stdClass
45921+ * @throws Exception
45922+ */
45923+ public function to(): stdClass {
45924+ $out = new stdClass();
45925+ $out->{'sealed'} = $this->toSealed();
45926+ return $out;
45927+ }
45928+
45929+ /**
45930+ * @param stdClass $obj
45931+ * @return Sealed
45932+ * @throws Exception
45933+ */
45934+ public static function from(stdClass $obj): Sealed {
45935+ if (!property_exists($obj, 'sealed')) {
45936+ throw new Exception("Missing required property");
45937+ }
45938+ return new Sealed(
45939+ Sealed::fromSealed($obj->{'sealed'})
45940+ );
45941+ }
45942+
45943+ /**
45944+ * @return Sealed
45945+ */
45946+ public static function sample(): Sealed {
45947+ return new Sealed(
45948+ Sealed::sampleSealed()
45949+ );
45950+ }
45951+}
45952+
45953+// This is an autogenerated file:Sel
45954+
45955+class Sel {
45956+ private int $sel; // json:SEL Required
45957+
45958+ /**
45959+ * @param int $sel
45960+ */
45961+ public function __construct(int $sel) {
45962+ $this->sel = $sel;
45963+ }
45964+
45965+ /**
45966+ * @param int $value
45967+ * @throws Exception
45968+ * @return int
45969+ */
45970+ public static function fromSel(int $value): int {
45971+ return $value; /*int*/
45972+ }
45973+
45974+ /**
45975+ * @throws Exception
45976+ * @return int
45977+ */
45978+ public function toSel(): int {
45979+ if (Sel::validateSel($this->sel)) {
45980+ return $this->sel; /*int*/
45981+ }
45982+ throw new Exception('never get to this Sel::sel');
45983+ }
45984+
45985+ /**
45986+ * @param int
45987+ * @return bool
45988+ * @throws Exception
45989+ */
45990+ public static function validateSel(int $value): bool {
45991+ return true;
45992+ }
45993+
45994+ /**
45995+ * @throws Exception
45996+ * @return int
45997+ */
45998+ public function getSel(): int {
45999+ if (Sel::validateSel($this->sel)) {
46000+ return $this->sel;
46001+ }
46002+ throw new Exception('never get to getSel Sel::sel');
46003+ }
46004+
46005+ /**
46006+ * @return int
46007+ */
46008+ public static function sampleSel(): int {
46009+ return 31; /*31:sel*/
46010+ }
46011+
46012+ /**
46013+ * @throws Exception
46014+ * @return bool
46015+ */
46016+ public function validate(): bool {
46017+ return Sel::validateSel($this->sel);
46018+ }
46019+
46020+ /**
46021+ * @return stdClass
46022+ * @throws Exception
46023+ */
46024+ public function to(): stdClass {
46025+ $out = new stdClass();
46026+ $out->{'SEL'} = $this->toSel();
46027+ return $out;
46028+ }
46029+
46030+ /**
46031+ * @param stdClass $obj
46032+ * @return Sel
46033+ * @throws Exception
46034+ */
46035+ public static function from(stdClass $obj): Sel {
46036+ if (!property_exists($obj, 'SEL')) {
46037+ throw new Exception("Missing required property");
46038+ }
46039+ return new Sel(
46040+ Sel::fromSel($obj->{'SEL'})
46041+ );
46042+ }
46043+
46044+ /**
46045+ * @return Sel
46046+ */
46047+ public static function sample(): Sel {
46048+ return new Sel(
46049+ Sel::sampleSel()
46050+ );
46051+ }
46052+}
46053+
46054+// This is an autogenerated file:Select
46055+
46056+class Select {
46057+ private int $select; // json:select Required
46058+
46059+ /**
46060+ * @param int $select
46061+ */
46062+ public function __construct(int $select) {
46063+ $this->select = $select;
46064+ }
46065+
46066+ /**
46067+ * @param int $value
46068+ * @throws Exception
46069+ * @return int
46070+ */
46071+ public static function fromSelect(int $value): int {
46072+ return $value; /*int*/
46073+ }
46074+
46075+ /**
46076+ * @throws Exception
46077+ * @return int
46078+ */
46079+ public function toSelect(): int {
46080+ if (Select::validateSelect($this->select)) {
46081+ return $this->select; /*int*/
46082+ }
46083+ throw new Exception('never get to this Select::select');
46084+ }
46085+
46086+ /**
46087+ * @param int
46088+ * @return bool
46089+ * @throws Exception
46090+ */
46091+ public static function validateSelect(int $value): bool {
46092+ return true;
46093+ }
46094+
46095+ /**
46096+ * @throws Exception
46097+ * @return int
46098+ */
46099+ public function getSelect(): int {
46100+ if (Select::validateSelect($this->select)) {
46101+ return $this->select;
46102+ }
46103+ throw new Exception('never get to getSelect Select::select');
46104+ }
46105+
46106+ /**
46107+ * @return int
46108+ */
46109+ public static function sampleSelect(): int {
46110+ return 31; /*31:select*/
46111+ }
46112+
46113+ /**
46114+ * @throws Exception
46115+ * @return bool
46116+ */
46117+ public function validate(): bool {
46118+ return Select::validateSelect($this->select);
46119+ }
46120+
46121+ /**
46122+ * @return stdClass
46123+ * @throws Exception
46124+ */
46125+ public function to(): stdClass {
46126+ $out = new stdClass();
46127+ $out->{'select'} = $this->toSelect();
46128+ return $out;
46129+ }
46130+
46131+ /**
46132+ * @param stdClass $obj
46133+ * @return Select
46134+ * @throws Exception
46135+ */
46136+ public static function from(stdClass $obj): Select {
46137+ if (!property_exists($obj, 'select')) {
46138+ throw new Exception("Missing required property");
46139+ }
46140+ return new Select(
46141+ Select::fromSelect($obj->{'select'})
46142+ );
46143+ }
46144+
46145+ /**
46146+ * @return Select
46147+ */
46148+ public static function sample(): Select {
46149+ return new Select(
46150+ Select::sampleSelect()
46151+ );
46152+ }
46153+}
46154+
4585246155 // This is an autogenerated file:SelfClass
4585346156
4585446157 class SelfClass {
@@ -46051,6 +46354,107 @@ class Sendable {
4605146354 }
4605246355 }
4605346356
46357+// This is an autogenerated file:SerializationFeature
46358+
46359+class SerializationFeature {
46360+ private int $serializationFeature; // json:SerializationFeature Required
46361+
46362+ /**
46363+ * @param int $serializationFeature
46364+ */
46365+ public function __construct(int $serializationFeature) {
46366+ $this->serializationFeature = $serializationFeature;
46367+ }
46368+
46369+ /**
46370+ * @param int $value
46371+ * @throws Exception
46372+ * @return int
46373+ */
46374+ public static function fromSerializationFeature(int $value): int {
46375+ return $value; /*int*/
46376+ }
46377+
46378+ /**
46379+ * @throws Exception
46380+ * @return int
46381+ */
46382+ public function toSerializationFeature(): int {
46383+ if (SerializationFeature::validateSerializationFeature($this->serializationFeature)) {
46384+ return $this->serializationFeature; /*int*/
46385+ }
46386+ throw new Exception('never get to this SerializationFeature::serializationFeature');
46387+ }
46388+
46389+ /**
46390+ * @param int
46391+ * @return bool
46392+ * @throws Exception
46393+ */
46394+ public static function validateSerializationFeature(int $value): bool {
46395+ return true;
46396+ }
46397+
46398+ /**
46399+ * @throws Exception
46400+ * @return int
46401+ */
46402+ public function getSerializationFeature(): int {
46403+ if (SerializationFeature::validateSerializationFeature($this->serializationFeature)) {
46404+ return $this->serializationFeature;
46405+ }
46406+ throw new Exception('never get to getSerializationFeature SerializationFeature::serializationFeature');
46407+ }
46408+
46409+ /**
46410+ * @return int
46411+ */
46412+ public static function sampleSerializationFeature(): int {
46413+ return 31; /*31:serializationFeature*/
46414+ }
46415+
46416+ /**
46417+ * @throws Exception
46418+ * @return bool
46419+ */
46420+ public function validate(): bool {
46421+ return SerializationFeature::validateSerializationFeature($this->serializationFeature);
46422+ }
46423+
46424+ /**
46425+ * @return stdClass
46426+ * @throws Exception
46427+ */
46428+ public function to(): stdClass {
46429+ $out = new stdClass();
46430+ $out->{'SerializationFeature'} = $this->toSerializationFeature();
46431+ return $out;
46432+ }
46433+
46434+ /**
46435+ * @param stdClass $obj
46436+ * @return SerializationFeature
46437+ * @throws Exception
46438+ */
46439+ public static function from(stdClass $obj): SerializationFeature {
46440+ if (!property_exists($obj, 'SerializationFeature')) {
46441+ throw new Exception("Missing required property");
46442+ }
46443+ return new SerializationFeature(
46444+ SerializationFeature::fromSerializationFeature($obj->{'SerializationFeature'})
46445+ );
46446+ }
46447+
46448+ /**
46449+ * @return SerializationFeature
46450+ */
46451+ public static function sample(): SerializationFeature {
46452+ return new SerializationFeature(
46453+ SerializationFeature::sampleSerializationFeature()
46454+ );
46455+ }
46456+}
46457+
4605446458 // This is an autogenerated file:Serialize
4605546459
4605646460 class Serialize {
@@ -51505,16 +51909,64 @@ class Utf8JSONReader {
5150551909 }
5150651910 }
5150751911
51508-// This is an autogenerated file:Utf8JSONWriter
51912+// This is an autogenerated file:Obj6
5150951913
51510-class Utf8JSONWriter {
51511- private int $utf8JSONWriter; // json:Utf8JsonWriter Required
51914+class Obj6 {
51915+ private int $dummy; // json:dummy Required
51916+ private Utf8JSONWriter $utf8JSONWriter; // json:Utf8JsonWriter Required
51917+ private UUID $uuid; // json:UUID Required
51918+ private VarClass $var; // json:var Required
51919+ private Virtual $virtual; // json:virtual Required
51920+ private VoidClass $void; // json:void Required
51921+ private Volatile $volatile; // json:volatile Required
51922+ private WcharT $wcharT; // json:wchar_t Required
51923+ private Weak $weak; // json:weak Required
51924+ private Where $where; // json:where Required
51925+ private WhileClass $while; // json:while Required
51926+ private WillSet $willSet; // json:willSet Required
51927+ private With $with; // json:with Required
51928+ private XorClass $xor; // json:xor Required
51929+ private XorEq $xorEq; // json:xor_eq Required
51930+ private Yes $yes; // json:YES Required
51931+ private YieldClass $yield; // json:yield Required
5151251932
5151351933 /**
51514- * @param int $utf8JSONWriter
51934+ * @param int $dummy
51935+ * @param Utf8JSONWriter $utf8JSONWriter
51936+ * @param UUID $uuid
51937+ * @param VarClass $var
51938+ * @param Virtual $virtual
51939+ * @param VoidClass $void
51940+ * @param Volatile $volatile
51941+ * @param WcharT $wcharT
51942+ * @param Weak $weak
51943+ * @param Where $where
51944+ * @param WhileClass $while
51945+ * @param WillSet $willSet
51946+ * @param With $with
51947+ * @param XorClass $xor
51948+ * @param XorEq $xorEq
51949+ * @param Yes $yes
51950+ * @param YieldClass $yield
5151551951 */
51516- public function __construct(int $utf8JSONWriter) {
51952+ public function __construct(int $dummy, Utf8JSONWriter $utf8JSONWriter, UUID $uuid, VarClass $var, Virtual $virtual, VoidClass $void, Volatile $volatile, WcharT $wcharT, Weak $weak, Where $where, WhileClass $while, WillSet $willSet, With $with, XorClass $xor, XorEq $xorEq, Yes $yes, YieldClass $yield) {
51953+ $this->dummy = $dummy;
5151751954 $this->utf8JSONWriter = $utf8JSONWriter;
51955+ $this->uuid = $uuid;
51956+ $this->var = $var;
51957+ $this->virtual = $virtual;
51958+ $this->void = $void;
51959+ $this->volatile = $volatile;
51960+ $this->wcharT = $wcharT;
51961+ $this->weak = $weak;
51962+ $this->where = $where;
51963+ $this->while = $while;
51964+ $this->willSet = $willSet;
51965+ $this->with = $with;
51966+ $this->xor = $xor;
51967+ $this->xorEq = $xorEq;
51968+ $this->yes = $yes;
51969+ $this->yield = $yield;
5151851970 }
5151951971
5152051972 /**
@@ -51522,7 +51974,7 @@ class Utf8JSONWriter {
5152251974 * @throws Exception
5152351975 * @return int
5152451976 */
51525- public static function fromUtf8JSONWriter(int $value): int {
51977+ public static function fromDummy(int $value): int {
5152651978 return $value; /*int*/
5152751979 }
5152851980
@@ -51530,11 +51982,11 @@ class Utf8JSONWriter {
5153051982 * @throws Exception
5153151983 * @return int
5153251984 */
51533- public function toUtf8JSONWriter(): int {
51534- if (Utf8JSONWriter::validateUtf8JSONWriter($this->utf8JSONWriter)) {
51535- return $this->utf8JSONWriter; /*int*/
51985+ public function toDummy(): int {
51986+ if (Obj6::validateDummy($this->dummy)) {
51987+ return $this->dummy; /*int*/
5153651988 }
51537- throw new Exception('never get to this Utf8JSONWriter::utf8JSONWriter');
51989+ throw new Exception('never get to this Obj6::dummy');
5153851990 }
5153951991
5154051992 /**
@@ -51542,7 +51994,7 @@ class Utf8JSONWriter {
5154251994 * @return bool
5154351995 * @throws Exception
5154451996 */
51545- public static function validateUtf8JSONWriter(int $value): bool {
51997+ public static function validateDummy(int $value): bool {
5154651998 return true;
5154751999 }
5154852000
@@ -51550,458 +52002,210 @@ class Utf8JSONWriter {
5155052002 * @throws Exception
5155152003 * @return int
5155252004 */
51553- public function getUtf8JSONWriter(): int {
51554- if (Utf8JSONWriter::validateUtf8JSONWriter($this->utf8JSONWriter)) {
51555- return $this->utf8JSONWriter;
52005+ public function getDummy(): int {
52006+ if (Obj6::validateDummy($this->dummy)) {
52007+ return $this->dummy;
5155652008 }
51557- throw new Exception('never get to getUtf8JSONWriter Utf8JSONWriter::utf8JSONWriter');
52009+ throw new Exception('never get to getDummy Obj6::dummy');
5155852010 }
5155952011
5156052012 /**
5156152013 * @return int
5156252014 */
51563- public static function sampleUtf8JSONWriter(): int {
51564- return 31; /*31:utf8JSONWriter*/
51565- }
51566-
51567- /**
51568- * @throws Exception
51569- * @return bool
51570- */
51571- public function validate(): bool {
51572- return Utf8JSONWriter::validateUtf8JSONWriter($this->utf8JSONWriter);
51573- }
51574-
51575- /**
51576- * @return stdClass
51577- * @throws Exception
51578- */
51579- public function to(): stdClass {
51580- $out = new stdClass();
51581- $out->{'Utf8JsonWriter'} = $this->toUtf8JSONWriter();
51582- return $out;
52015+ public static function sampleDummy(): int {
52016+ return 31; /*31:dummy*/
5158352017 }
5158452018
5158552019 /**
51586- * @param stdClass $obj
51587- * @return Utf8JSONWriter
52020+ * @param stdClass $value
5158852021 * @throws Exception
51589- */
51590- public static function from(stdClass $obj): Utf8JSONWriter {
51591- if (!property_exists($obj, 'Utf8JsonWriter')) {
51592- throw new Exception("Missing required property");
51593- }
51594- return new Utf8JSONWriter(
51595- Utf8JSONWriter::fromUtf8JSONWriter($obj->{'Utf8JsonWriter'})
51596- );
51597- }
51598-
51599- /**
5160052022 * @return Utf8JSONWriter
5160152023 */
51602- public static function sample(): Utf8JSONWriter {
51603- return new Utf8JSONWriter(
51604- Utf8JSONWriter::sampleUtf8JSONWriter()
51605- );
51606- }
51607-}
51608-
51609-// This is an autogenerated file:UUID
51610-
51611-class UUID {
51612- private int $uuid; // json:UUID Required
51613-
51614- /**
51615- * @param int $uuid
51616- */
51617- public function __construct(int $uuid) {
51618- $this->uuid = $uuid;
51619- }
51620-
51621- /**
51622- * @param int $value
51623- * @throws Exception
51624- * @return int
51625- */
51626- public static function fromUUID(int $value): int {
51627- return $value; /*int*/
52024+ public static function fromUtf8JSONWriter(stdClass $value): Utf8JSONWriter {
52025+ return Utf8JSONWriter::from($value); /*class*/
5162852026 }
5162952027
5163052028 /**
5163152029 * @throws Exception
51632- * @return int
52030+ * @return stdClass
5163352031 */
51634- public function toUUID(): int {
51635- if (UUID::validateUUID($this->uuid)) {
51636- return $this->uuid; /*int*/
52032+ public function toUtf8JSONWriter(): stdClass {
52033+ if (Obj6::validateUtf8JSONWriter($this->utf8JSONWriter)) {
52034+ return $this->utf8JSONWriter->to(); /*class*/
5163752035 }
51638- throw new Exception('never get to this UUID::uuid');
52036+ throw new Exception('never get to this Obj6::utf8JSONWriter');
5163952037 }
5164052038
5164152039 /**
51642- * @param int
52040+ * @param Utf8JSONWriter
5164352041 * @return bool
5164452042 * @throws Exception
5164552043 */
51646- public static function validateUUID(int $value): bool {
52044+ public static function validateUtf8JSONWriter(Utf8JSONWriter $value): bool {
52045+ $value->validate();
5164752046 return true;
5164852047 }
5164952048
5165052049 /**
5165152050 * @throws Exception
51652- * @return int
52051+ * @return Utf8JSONWriter
5165352052 */
51654- public function getUUID(): int {
51655- if (UUID::validateUUID($this->uuid)) {
51656- return $this->uuid;
52053+ public function getUtf8JSONWriter(): Utf8JSONWriter {
52054+ if (Obj6::validateUtf8JSONWriter($this->utf8JSONWriter)) {
52055+ return $this->utf8JSONWriter;
5165752056 }
51658- throw new Exception('never get to getUUID UUID::uuid');
52057+ throw new Exception('never get to getUtf8JSONWriter Obj6::utf8JSONWriter');
5165952058 }
5166052059
5166152060 /**
51662- * @return int
51663- */
51664- public static function sampleUUID(): int {
51665- return 31; /*31:uuid*/
51666- }
51667-
51668- /**
51669- * @throws Exception
51670- * @return bool
51671- */
51672- public function validate(): bool {
51673- return UUID::validateUUID($this->uuid);
51674- }
51675-
51676- /**
51677- * @return stdClass
51678- * @throws Exception
52061+ * @return Utf8JSONWriter
5167952062 */
51680- public function to(): stdClass {
51681- $out = new stdClass();
51682- $out->{'UUID'} = $this->toUUID();
51683- return $out;
52063+ public static function sampleUtf8JSONWriter(): Utf8JSONWriter {
52064+ return Utf8JSONWriter::sample(); /*32:utf8JSONWriter*/
5168452065 }
5168552066
5168652067 /**
51687- * @param stdClass $obj
51688- * @return UUID
52068+ * @param stdClass $value
5168952069 * @throws Exception
51690- */
51691- public static function from(stdClass $obj): UUID {
51692- if (!property_exists($obj, 'UUID')) {
51693- throw new Exception("Missing required property");
51694- }
51695- return new UUID(
51696- UUID::fromUUID($obj->{'UUID'})
51697- );
51698- }
51699-
51700- /**
5170152070 * @return UUID
5170252071 */
51703- public static function sample(): UUID {
51704- return new UUID(
51705- UUID::sampleUUID()
51706- );
51707- }
51708-}
51709-
51710-// This is an autogenerated file:VarClass
51711-
51712-class VarClass {
51713- private int $var; // json:var Required
51714-
51715- /**
51716- * @param int $var
51717- */
51718- public function __construct(int $var) {
51719- $this->var = $var;
51720- }
51721-
51722- /**
51723- * @param int $value
51724- * @throws Exception
51725- * @return int
51726- */
51727- public static function fromVar(int $value): int {
51728- return $value; /*int*/
52072+ public static function fromUUID(stdClass $value): UUID {
52073+ return UUID::from($value); /*class*/
5172952074 }
5173052075
5173152076 /**
5173252077 * @throws Exception
51733- * @return int
52078+ * @return stdClass
5173452079 */
51735- public function toVar(): int {
51736- if (VarClass::validateVar($this->var)) {
51737- return $this->var; /*int*/
52080+ public function toUUID(): stdClass {
52081+ if (Obj6::validateUUID($this->uuid)) {
52082+ return $this->uuid->to(); /*class*/
5173852083 }
51739- throw new Exception('never get to this VarClass::var');
52084+ throw new Exception('never get to this Obj6::uuid');
5174052085 }
5174152086
5174252087 /**
51743- * @param int
52088+ * @param UUID
5174452089 * @return bool
5174552090 * @throws Exception
5174652091 */
51747- public static function validateVar(int $value): bool {
52092+ public static function validateUUID(UUID $value): bool {
52093+ $value->validate();
5174852094 return true;
5174952095 }
5175052096
5175152097 /**
5175252098 * @throws Exception
51753- * @return int
52099+ * @return UUID
5175452100 */
51755- public function getVar(): int {
51756- if (VarClass::validateVar($this->var)) {
51757- return $this->var;
52101+ public function getUUID(): UUID {
52102+ if (Obj6::validateUUID($this->uuid)) {
52103+ return $this->uuid;
5175852104 }
51759- throw new Exception('never get to getVar VarClass::var');
51760- }
51761-
51762- /**
51763- * @return int
51764- */
51765- public static function sampleVar(): int {
51766- return 31; /*31:var*/
52105+ throw new Exception('never get to getUUID Obj6::uuid');
5176752106 }
5176852107
5176952108 /**
51770- * @throws Exception
51771- * @return bool
51772- */
51773- public function validate(): bool {
51774- return VarClass::validateVar($this->var);
51775- }
51776-
51777- /**
51778- * @return stdClass
51779- * @throws Exception
52109+ * @return UUID
5178052110 */
51781- public function to(): stdClass {
51782- $out = new stdClass();
51783- $out->{'var'} = $this->toVar();
51784- return $out;
52111+ public static function sampleUUID(): UUID {
52112+ return UUID::sample(); /*33:uuid*/
5178552113 }
5178652114
5178752115 /**
51788- * @param stdClass $obj
51789- * @return VarClass
52116+ * @param stdClass $value
5179052117 * @throws Exception
51791- */
51792- public static function from(stdClass $obj): VarClass {
51793- if (!property_exists($obj, 'var')) {
51794- throw new Exception("Missing required property");
51795- }
51796- return new VarClass(
51797- VarClass::fromVar($obj->{'var'})
51798- );
51799- }
51800-
51801- /**
5180252118 * @return VarClass
5180352119 */
51804- public static function sample(): VarClass {
51805- return new VarClass(
51806- VarClass::sampleVar()
51807- );
51808- }
51809-}
51810-
51811-// This is an autogenerated file:Virtual
51812-
51813-class Virtual {
51814- private int $virtual; // json:virtual Required
51815-
51816- /**
51817- * @param int $virtual
51818- */
51819- public function __construct(int $virtual) {
51820- $this->virtual = $virtual;
51821- }
51822-
51823- /**
51824- * @param int $value
51825- * @throws Exception
51826- * @return int
51827- */
51828- public static function fromVirtual(int $value): int {
51829- return $value; /*int*/
51830- }
51831-
51832- /**
51833- * @throws Exception
51834- * @return int
51835- */
51836- public function toVirtual(): int {
51837- if (Virtual::validateVirtual($this->virtual)) {
51838- return $this->virtual; /*int*/
51839- }
51840- throw new Exception('never get to this Virtual::virtual');
51841- }
51842-
51843- /**
51844- * @param int
51845- * @return bool
51846- * @throws Exception
51847- */
51848- public static function validateVirtual(int $value): bool {
51849- return true;
52120+ public static function fromVar(stdClass $value): VarClass {
52121+ return VarClass::from($value); /*class*/
5185052122 }
5185152123
5185252124 /**
5185352125 * @throws Exception
51854- * @return int
52126+ * @return stdClass
5185552127 */
51856- public function getVirtual(): int {
51857- if (Virtual::validateVirtual($this->virtual)) {
51858- return $this->virtual;
52128+ public function toVar(): stdClass {
52129+ if (Obj6::validateVar($this->var)) {
52130+ return $this->var->to(); /*class*/
5185952131 }
51860- throw new Exception('never get to getVirtual Virtual::virtual');
52132+ throw new Exception('never get to this Obj6::var');
5186152133 }
5186252134
5186352135 /**
51864- * @return int
51865- */
51866- public static function sampleVirtual(): int {
51867- return 31; /*31:virtual*/
51868- }
51869-
51870- /**
51871- * @throws Exception
52136+ * @param VarClass
5187252137 * @return bool
51873- */
51874- public function validate(): bool {
51875- return Virtual::validateVirtual($this->virtual);
51876- }
51877-
51878- /**
51879- * @return stdClass
5188052138 * @throws Exception
5188152139 */
51882- public function to(): stdClass {
51883- $out = new stdClass();
51884- $out->{'virtual'} = $this->toVirtual();
51885- return $out;
51886- }
51887-
51888- /**
51889- * @param stdClass $obj
51890- * @return Virtual
51891- * @throws Exception
51892- */
51893- public static function from(stdClass $obj): Virtual {
51894- if (!property_exists($obj, 'virtual')) {
51895- throw new Exception("Missing required property");
51896- }
51897- return new Virtual(
51898- Virtual::fromVirtual($obj->{'virtual'})
51899- );
52140+ public static function validateVar(VarClass $value): bool {
52141+ $value->validate();
52142+ return true;
5190052143 }
5190152144
5190252145 /**
51903- * @return Virtual
52146+ * @throws Exception
52147+ * @return VarClass
5190452148 */
51905- public static function sample(): Virtual {
51906- return new Virtual(
51907- Virtual::sampleVirtual()
51908- );
52149+ public function getVar(): VarClass {
52150+ if (Obj6::validateVar($this->var)) {
52151+ return $this->var;
52152+ }
52153+ throw new Exception('never get to getVar Obj6::var');
5190952154 }
51910-}
51911-
51912-// This is an autogenerated file:Obj6
51913-
51914-class Obj6 {
51915- private int $dummy; // json:dummy Required
51916- private VoidClass $void; // json:void Required
51917- private Volatile $volatile; // json:volatile Required
51918- private WcharT $wcharT; // json:wchar_t Required
51919- private Weak $weak; // json:weak Required
51920- private Where $where; // json:where Required
51921- private WhileClass $while; // json:while Required
51922- private WillSet $willSet; // json:willSet Required
51923- private With $with; // json:with Required
51924- private XorClass $xor; // json:xor Required
51925- private XorEq $xorEq; // json:xor_eq Required
51926- private Yes $yes; // json:YES Required
51927- private YieldClass $yield; // json:yield Required
5192852155
5192952156 /**
51930- * @param int $dummy
51931- * @param VoidClass $void
51932- * @param Volatile $volatile
51933- * @param WcharT $wcharT
51934- * @param Weak $weak
51935- * @param Where $where
51936- * @param WhileClass $while
51937- * @param WillSet $willSet
51938- * @param With $with
51939- * @param XorClass $xor
51940- * @param XorEq $xorEq
51941- * @param Yes $yes
51942- * @param YieldClass $yield
52157+ * @return VarClass
5194352158 */
51944- public function __construct(int $dummy, VoidClass $void, Volatile $volatile, WcharT $wcharT, Weak $weak, Where $where, WhileClass $while, WillSet $willSet, With $with, XorClass $xor, XorEq $xorEq, Yes $yes, YieldClass $yield) {
51945- $this->dummy = $dummy;
51946- $this->void = $void;
51947- $this->volatile = $volatile;
51948- $this->wcharT = $wcharT;
51949- $this->weak = $weak;
51950- $this->where = $where;
51951- $this->while = $while;
51952- $this->willSet = $willSet;
51953- $this->with = $with;
51954- $this->xor = $xor;
51955- $this->xorEq = $xorEq;
51956- $this->yes = $yes;
51957- $this->yield = $yield;
52159+ public static function sampleVar(): VarClass {
52160+ return VarClass::sample(); /*34:var*/
5195852161 }
5195952162
5196052163 /**
51961- * @param int $value
52164+ * @param stdClass $value
5196252165 * @throws Exception
51963- * @return int
52166+ * @return Virtual
5196452167 */
51965- public static function fromDummy(int $value): int {
51966- return $value; /*int*/
52168+ public static function fromVirtual(stdClass $value): Virtual {
52169+ return Virtual::from($value); /*class*/
5196752170 }
5196852171
5196952172 /**
5197052173 * @throws Exception
51971- * @return int
52174+ * @return stdClass
5197252175 */
51973- public function toDummy(): int {
51974- if (Obj6::validateDummy($this->dummy)) {
51975- return $this->dummy; /*int*/
52176+ public function toVirtual(): stdClass {
52177+ if (Obj6::validateVirtual($this->virtual)) {
52178+ return $this->virtual->to(); /*class*/
5197652179 }
51977- throw new Exception('never get to this Obj6::dummy');
52180+ throw new Exception('never get to this Obj6::virtual');
5197852181 }
5197952182
5198052183 /**
51981- * @param int
52184+ * @param Virtual
5198252185 * @return bool
5198352186 * @throws Exception
5198452187 */
51985- public static function validateDummy(int $value): bool {
52188+ public static function validateVirtual(Virtual $value): bool {
52189+ $value->validate();
5198652190 return true;
5198752191 }
5198852192
5198952193 /**
5199052194 * @throws Exception
51991- * @return int
52195+ * @return Virtual
5199252196 */
51993- public function getDummy(): int {
51994- if (Obj6::validateDummy($this->dummy)) {
51995- return $this->dummy;
52197+ public function getVirtual(): Virtual {
52198+ if (Obj6::validateVirtual($this->virtual)) {
52199+ return $this->virtual;
5199652200 }
51997- throw new Exception('never get to getDummy Obj6::dummy');
52201+ throw new Exception('never get to getVirtual Obj6::virtual');
5199852202 }
5199952203
5200052204 /**
52001- * @return int
52205+ * @return Virtual
5200252206 */
52003- public static function sampleDummy(): int {
52004- return 31; /*31:dummy*/
52207+ public static function sampleVirtual(): Virtual {
52208+ return Virtual::sample(); /*35:virtual*/
5200552209 }
5200652210
5200752211 /**
@@ -52049,7 +52253,7 @@ class Obj6 {
5204952253 * @return VoidClass
5205052254 */
5205152255 public static function sampleVoid(): VoidClass {
52052- return VoidClass::sample(); /*32:void*/
52256+ return VoidClass::sample(); /*36:void*/
5205352257 }
5205452258
5205552259 /**
@@ -52097,7 +52301,7 @@ class Obj6 {
5209752301 * @return Volatile
5209852302 */
5209952303 public static function sampleVolatile(): Volatile {
52100- return Volatile::sample(); /*33:volatile*/
52304+ return Volatile::sample(); /*37:volatile*/
5210152305 }
5210252306
5210352307 /**
@@ -52145,7 +52349,7 @@ class Obj6 {
5214552349 * @return WcharT
5214652350 */
5214752351 public static function sampleWcharT(): WcharT {
52148- return WcharT::sample(); /*34:wcharT*/
52352+ return WcharT::sample(); /*38:wcharT*/
5214952353 }
5215052354
5215152355 /**
@@ -52193,7 +52397,7 @@ class Obj6 {
5219352397 * @return Weak
5219452398 */
5219552399 public static function sampleWeak(): Weak {
52196- return Weak::sample(); /*35:weak*/
52400+ return Weak::sample(); /*39:weak*/
5219752401 }
5219852402
5219952403 /**
@@ -52241,7 +52445,7 @@ class Obj6 {
5224152445 * @return Where
5224252446 */
5224352447 public static function sampleWhere(): Where {
52244- return Where::sample(); /*36:where*/
52448+ return Where::sample(); /*40:where*/
5224552449 }
5224652450
5224752451 /**
@@ -52289,7 +52493,7 @@ class Obj6 {
5228952493 * @return WhileClass
5229052494 */
5229152495 public static function sampleWhile(): WhileClass {
52292- return WhileClass::sample(); /*37:while*/
52496+ return WhileClass::sample(); /*41:while*/
5229352497 }
5229452498
5229552499 /**
@@ -52337,7 +52541,7 @@ class Obj6 {
5233752541 * @return WillSet
5233852542 */
5233952543 public static function sampleWillSet(): WillSet {
52340- return WillSet::sample(); /*38:willSet*/
52544+ return WillSet::sample(); /*42:willSet*/
5234152545 }
5234252546
5234352547 /**
@@ -52385,7 +52589,7 @@ class Obj6 {
5238552589 * @return With
5238652590 */
5238752591 public static function sampleWith(): With {
52388- return With::sample(); /*39:with*/
52592+ return With::sample(); /*43:with*/
5238952593 }
5239052594
5239152595 /**
@@ -52433,7 +52637,7 @@ class Obj6 {
5243352637 * @return XorClass
5243452638 */
5243552639 public static function sampleXor(): XorClass {
52436- return XorClass::sample(); /*40:xor*/
52640+ return XorClass::sample(); /*44:xor*/
5243752641 }
5243852642
5243952643 /**
@@ -52481,7 +52685,7 @@ class Obj6 {
5248152685 * @return XorEq
5248252686 */
5248352687 public static function sampleXorEq(): XorEq {
52484- return XorEq::sample(); /*41:xorEq*/
52688+ return XorEq::sample(); /*45:xorEq*/
5248552689 }
5248652690
5248752691 /**
@@ -52529,7 +52733,7 @@ class Obj6 {
5252952733 * @return Yes
5253052734 */
5253152735 public static function sampleYes(): Yes {
52532- return Yes::sample(); /*42:yes*/
52736+ return Yes::sample(); /*46:yes*/
5253352737 }
5253452738
5253552739 /**
@@ -52577,7 +52781,7 @@ class Obj6 {
5257752781 * @return YieldClass
5257852782 */
5257952783 public static function sampleYield(): YieldClass {
52580- return YieldClass::sample(); /*43:yield*/
52784+ return YieldClass::sample(); /*47:yield*/
5258152785 }
5258252786
5258352787 /**
@@ -52586,6 +52790,10 @@ class Obj6 {
5258652790 */
5258752791 public function validate(): bool {
5258852792 return Obj6::validateDummy($this->dummy)
52793+ || Obj6::validateUtf8JSONWriter($this->utf8JSONWriter)
52794+ || Obj6::validateUUID($this->uuid)
52795+ || Obj6::validateVar($this->var)
52796+ || Obj6::validateVirtual($this->virtual)
5258952797 || Obj6::validateVoid($this->void)
5259052798 || Obj6::validateVolatile($this->volatile)
5259152799 || Obj6::validateWcharT($this->wcharT)
@@ -52607,6 +52815,10 @@ class Obj6 {
5260752815 public function to(): stdClass {
5260852816 $out = new stdClass();
5260952817 $out->{'dummy'} = $this->toDummy();
52818+ $out->{'Utf8JsonWriter'} = $this->toUtf8JSONWriter();
52819+ $out->{'UUID'} = $this->toUUID();
52820+ $out->{'var'} = $this->toVar();
52821+ $out->{'virtual'} = $this->toVirtual();
5261052822 $out->{'void'} = $this->toVoid();
5261152823 $out->{'volatile'} = $this->toVolatile();
5261252824 $out->{'wchar_t'} = $this->toWcharT();
@@ -52631,6 +52843,18 @@ class Obj6 {
5263152843 if (!property_exists($obj, 'dummy')) {
5263252844 throw new Exception("Missing required property");
5263352845 }
52846+ if (!property_exists($obj, 'Utf8JsonWriter')) {
52847+ throw new Exception("Missing required property");
52848+ }
52849+ if (!property_exists($obj, 'UUID')) {
52850+ throw new Exception("Missing required property");
52851+ }
52852+ if (!property_exists($obj, 'var')) {
52853+ throw new Exception("Missing required property");
52854+ }
52855+ if (!property_exists($obj, 'virtual')) {
52856+ throw new Exception("Missing required property");
52857+ }
5263452858 if (!property_exists($obj, 'void')) {
5263552859 throw new Exception("Missing required property");
5263652860 }
@@ -52669,6 +52893,10 @@ class Obj6 {
5266952893 }
5267052894 return new Obj6(
5267152895 Obj6::fromDummy($obj->{'dummy'})
52896+ ,Obj6::fromUtf8JSONWriter($obj->{'Utf8JsonWriter'})
52897+ ,Obj6::fromUUID($obj->{'UUID'})
52898+ ,Obj6::fromVar($obj->{'var'})
52899+ ,Obj6::fromVirtual($obj->{'virtual'})
5267252900 ,Obj6::fromVoid($obj->{'void'})
5267352901 ,Obj6::fromVolatile($obj->{'volatile'})
5267452902 ,Obj6::fromWcharT($obj->{'wchar_t'})
@@ -52690,6 +52918,10 @@ class Obj6 {
5269052918 public static function sample(): Obj6 {
5269152919 return new Obj6(
5269252920 Obj6::sampleDummy()
52921+ ,Obj6::sampleUtf8JSONWriter()
52922+ ,Obj6::sampleUUID()
52923+ ,Obj6::sampleVar()
52924+ ,Obj6::sampleVirtual()
5269352925 ,Obj6::sampleVoid()
5269452926 ,Obj6::sampleVolatile()
5269552927 ,Obj6::sampleWcharT()
@@ -52706,6 +52938,410 @@ class Obj6 {
5270652938 }
5270752939 }
5270852940
52941+// This is an autogenerated file:Utf8JSONWriter
52942+
52943+class Utf8JSONWriter {
52944+ private int $utf8JSONWriter; // json:Utf8JsonWriter Required
52945+
52946+ /**
52947+ * @param int $utf8JSONWriter
52948+ */
52949+ public function __construct(int $utf8JSONWriter) {
52950+ $this->utf8JSONWriter = $utf8JSONWriter;
52951+ }
52952+
52953+ /**
52954+ * @param int $value
52955+ * @throws Exception
52956+ * @return int
52957+ */
52958+ public static function fromUtf8JSONWriter(int $value): int {
52959+ return $value; /*int*/
52960+ }
52961+
52962+ /**
52963+ * @throws Exception
52964+ * @return int
52965+ */
52966+ public function toUtf8JSONWriter(): int {
52967+ if (Utf8JSONWriter::validateUtf8JSONWriter($this->utf8JSONWriter)) {
52968+ return $this->utf8JSONWriter; /*int*/
52969+ }
52970+ throw new Exception('never get to this Utf8JSONWriter::utf8JSONWriter');
52971+ }
52972+
52973+ /**
52974+ * @param int
52975+ * @return bool
52976+ * @throws Exception
52977+ */
52978+ public static function validateUtf8JSONWriter(int $value): bool {
52979+ return true;
52980+ }
52981+
52982+ /**
52983+ * @throws Exception
52984+ * @return int
52985+ */
52986+ public function getUtf8JSONWriter(): int {
52987+ if (Utf8JSONWriter::validateUtf8JSONWriter($this->utf8JSONWriter)) {
52988+ return $this->utf8JSONWriter;
52989+ }
52990+ throw new Exception('never get to getUtf8JSONWriter Utf8JSONWriter::utf8JSONWriter');
52991+ }
52992+
52993+ /**
52994+ * @return int
52995+ */
52996+ public static function sampleUtf8JSONWriter(): int {
52997+ return 31; /*31:utf8JSONWriter*/
52998+ }
52999+
53000+ /**
53001+ * @throws Exception
53002+ * @return bool
53003+ */
53004+ public function validate(): bool {
53005+ return Utf8JSONWriter::validateUtf8JSONWriter($this->utf8JSONWriter);
53006+ }
53007+
53008+ /**
53009+ * @return stdClass
53010+ * @throws Exception
53011+ */
53012+ public function to(): stdClass {
53013+ $out = new stdClass();
53014+ $out->{'Utf8JsonWriter'} = $this->toUtf8JSONWriter();
53015+ return $out;
53016+ }
53017+
53018+ /**
53019+ * @param stdClass $obj
53020+ * @return Utf8JSONWriter
53021+ * @throws Exception
53022+ */
53023+ public static function from(stdClass $obj): Utf8JSONWriter {
53024+ if (!property_exists($obj, 'Utf8JsonWriter')) {
53025+ throw new Exception("Missing required property");
53026+ }
53027+ return new Utf8JSONWriter(
53028+ Utf8JSONWriter::fromUtf8JSONWriter($obj->{'Utf8JsonWriter'})
53029+ );
53030+ }
53031+
53032+ /**
53033+ * @return Utf8JSONWriter
53034+ */
53035+ public static function sample(): Utf8JSONWriter {
53036+ return new Utf8JSONWriter(
53037+ Utf8JSONWriter::sampleUtf8JSONWriter()
53038+ );
53039+ }
53040+}
53041+
53042+// This is an autogenerated file:UUID
53043+
53044+class UUID {
53045+ private int $uuid; // json:UUID Required
53046+
53047+ /**
53048+ * @param int $uuid
53049+ */
53050+ public function __construct(int $uuid) {
53051+ $this->uuid = $uuid;
53052+ }
53053+
53054+ /**
53055+ * @param int $value
53056+ * @throws Exception
53057+ * @return int
53058+ */
53059+ public static function fromUUID(int $value): int {
53060+ return $value; /*int*/
53061+ }
53062+
53063+ /**
53064+ * @throws Exception
53065+ * @return int
53066+ */
53067+ public function toUUID(): int {
53068+ if (UUID::validateUUID($this->uuid)) {
53069+ return $this->uuid; /*int*/
53070+ }
53071+ throw new Exception('never get to this UUID::uuid');
53072+ }
53073+
53074+ /**
53075+ * @param int
53076+ * @return bool
53077+ * @throws Exception
53078+ */
53079+ public static function validateUUID(int $value): bool {
53080+ return true;
53081+ }
53082+
53083+ /**
53084+ * @throws Exception
53085+ * @return int
53086+ */
53087+ public function getUUID(): int {
53088+ if (UUID::validateUUID($this->uuid)) {
53089+ return $this->uuid;
53090+ }
53091+ throw new Exception('never get to getUUID UUID::uuid');
53092+ }
53093+
53094+ /**
53095+ * @return int
53096+ */
53097+ public static function sampleUUID(): int {
53098+ return 31; /*31:uuid*/
53099+ }
53100+
53101+ /**
53102+ * @throws Exception
53103+ * @return bool
53104+ */
53105+ public function validate(): bool {
53106+ return UUID::validateUUID($this->uuid);
53107+ }
53108+
53109+ /**
53110+ * @return stdClass
53111+ * @throws Exception
53112+ */
53113+ public function to(): stdClass {
53114+ $out = new stdClass();
53115+ $out->{'UUID'} = $this->toUUID();
53116+ return $out;
53117+ }
53118+
53119+ /**
53120+ * @param stdClass $obj
53121+ * @return UUID
53122+ * @throws Exception
53123+ */
53124+ public static function from(stdClass $obj): UUID {
53125+ if (!property_exists($obj, 'UUID')) {
53126+ throw new Exception("Missing required property");
53127+ }
53128+ return new UUID(
53129+ UUID::fromUUID($obj->{'UUID'})
53130+ );
53131+ }
53132+
53133+ /**
53134+ * @return UUID
53135+ */
53136+ public static function sample(): UUID {
53137+ return new UUID(
53138+ UUID::sampleUUID()
53139+ );
53140+ }
53141+}
53142+
53143+// This is an autogenerated file:VarClass
53144+
53145+class VarClass {
53146+ private int $var; // json:var Required
53147+
53148+ /**
53149+ * @param int $var
53150+ */
53151+ public function __construct(int $var) {
53152+ $this->var = $var;
53153+ }
53154+
53155+ /**
53156+ * @param int $value
53157+ * @throws Exception
53158+ * @return int
53159+ */
53160+ public static function fromVar(int $value): int {
53161+ return $value; /*int*/
53162+ }
53163+
53164+ /**
53165+ * @throws Exception
53166+ * @return int
53167+ */
53168+ public function toVar(): int {
53169+ if (VarClass::validateVar($this->var)) {
53170+ return $this->var; /*int*/
53171+ }
53172+ throw new Exception('never get to this VarClass::var');
53173+ }
53174+
53175+ /**
53176+ * @param int
53177+ * @return bool
53178+ * @throws Exception
53179+ */
53180+ public static function validateVar(int $value): bool {
53181+ return true;
53182+ }
53183+
53184+ /**
53185+ * @throws Exception
53186+ * @return int
53187+ */
53188+ public function getVar(): int {
53189+ if (VarClass::validateVar($this->var)) {
53190+ return $this->var;
53191+ }
53192+ throw new Exception('never get to getVar VarClass::var');
53193+ }
53194+
53195+ /**
53196+ * @return int
53197+ */
53198+ public static function sampleVar(): int {
53199+ return 31; /*31:var*/
53200+ }
53201+
53202+ /**
53203+ * @throws Exception
53204+ * @return bool
53205+ */
53206+ public function validate(): bool {
53207+ return VarClass::validateVar($this->var);
53208+ }
53209+
53210+ /**
53211+ * @return stdClass
53212+ * @throws Exception
53213+ */
53214+ public function to(): stdClass {
53215+ $out = new stdClass();
53216+ $out->{'var'} = $this->toVar();
53217+ return $out;
53218+ }
53219+
53220+ /**
53221+ * @param stdClass $obj
53222+ * @return VarClass
53223+ * @throws Exception
53224+ */
53225+ public static function from(stdClass $obj): VarClass {
53226+ if (!property_exists($obj, 'var')) {
53227+ throw new Exception("Missing required property");
53228+ }
53229+ return new VarClass(
53230+ VarClass::fromVar($obj->{'var'})
53231+ );
53232+ }
53233+
53234+ /**
53235+ * @return VarClass
53236+ */
53237+ public static function sample(): VarClass {
53238+ return new VarClass(
53239+ VarClass::sampleVar()
53240+ );
53241+ }
53242+}
53243+
53244+// This is an autogenerated file:Virtual
53245+
53246+class Virtual {
53247+ private int $virtual; // json:virtual Required
53248+
53249+ /**
53250+ * @param int $virtual
53251+ */
53252+ public function __construct(int $virtual) {
53253+ $this->virtual = $virtual;
53254+ }
53255+
53256+ /**
53257+ * @param int $value
53258+ * @throws Exception
53259+ * @return int
53260+ */
53261+ public static function fromVirtual(int $value): int {
53262+ return $value; /*int*/
53263+ }
53264+
53265+ /**
53266+ * @throws Exception
53267+ * @return int
53268+ */
53269+ public function toVirtual(): int {
53270+ if (Virtual::validateVirtual($this->virtual)) {
53271+ return $this->virtual; /*int*/
53272+ }
53273+ throw new Exception('never get to this Virtual::virtual');
53274+ }
53275+
53276+ /**
53277+ * @param int
53278+ * @return bool
53279+ * @throws Exception
53280+ */
53281+ public static function validateVirtual(int $value): bool {
53282+ return true;
53283+ }
53284+
53285+ /**
53286+ * @throws Exception
53287+ * @return int
53288+ */
53289+ public function getVirtual(): int {
53290+ if (Virtual::validateVirtual($this->virtual)) {
53291+ return $this->virtual;
53292+ }
53293+ throw new Exception('never get to getVirtual Virtual::virtual');
53294+ }
53295+
53296+ /**
53297+ * @return int
53298+ */
53299+ public static function sampleVirtual(): int {
53300+ return 31; /*31:virtual*/
53301+ }
53302+
53303+ /**
53304+ * @throws Exception
53305+ * @return bool
53306+ */
53307+ public function validate(): bool {
53308+ return Virtual::validateVirtual($this->virtual);
53309+ }
53310+
53311+ /**
53312+ * @return stdClass
53313+ * @throws Exception
53314+ */
53315+ public function to(): stdClass {
53316+ $out = new stdClass();
53317+ $out->{'virtual'} = $this->toVirtual();
53318+ return $out;
53319+ }
53320+
53321+ /**
53322+ * @param stdClass $obj
53323+ * @return Virtual
53324+ * @throws Exception
53325+ */
53326+ public static function from(stdClass $obj): Virtual {
53327+ if (!property_exists($obj, 'virtual')) {
53328+ throw new Exception("Missing required property");
53329+ }
53330+ return new Virtual(
53331+ Virtual::fromVirtual($obj->{'virtual'})
53332+ );
53333+ }
53334+
53335+ /**
53336+ * @return Virtual
53337+ */
53338+ public static function sample(): Virtual {
53339+ return new Virtual(
53340+ Virtual::sampleVirtual()
53341+ );
53342+ }
53343+}
53344+
5270953345 // This is an autogenerated file:VoidClass
5271053346
5271153347 class VoidClass {
Mpikedefault / TopLevel.pmod+461 −361
@@ -1679,71 +1679,71 @@ ClassClass ClassClass_from_JSON(mixed json) {
16791679 }
16801680
16811681 class Obj2 {
1682- DateFormatter date_formatter; // json: "DateFormatter"
1683- DateOnly date_only; // json: "DateOnly"
1684- DateOnlyConverter date_only_converter; // json: "DateOnlyConverter"
1685- DateParseHandling date_parse_handling; // json: "date_parse_handling"
1686- DateTime date_time; // json: "DateTime"
1687- DateTimeStyles date_time_styles; // json: "DateTimeStyles"
1688- Debugger debugger; // json: "debugger"
1689- Decimal decimal; // json: "decimal"
1690- Declare declare; // json: "declare"
1691- Decltype decltype; // json: "decltype"
1692- DecodeString decode_string; // json: "decode_string"
1693- Decoder decoder; // json: "Decoder"
1694- DecodingError decoding_error; // json: "DecodingError"
1695- Def def; // json: "def"
1696- Defer defer; // json: "defer"
1697- Deinit deinit; // json: "deinit"
1698- Del del; // json: "del"
1699- Delegate delegate; // json: "delegate"
1700- Delete delete; // json: "delete"
1701- Dict dict; // json: "dict"
1702- Dictionary dictionary; // json: "dictionary"
1703- DidSet did_set; // json: "didSet"
1704- Double double; // json: "double"
1705- int dummy; // json: "dummy"
1706- Dynamic dynamic; // json: "dynamic"
1707- DynamicCast dynamic_cast; // json: "dynamic_cast"
1708- Elif elif; // json: "elif"
1709- EncodeQuickType encode_quick_type; // json: "encode_quick_type"
1710- Encoder encoder; // json: "Encoder"
1711- EnumValues enum_values; // json: "EnumValues"
1712- EqualityContract equality_contract; // json: "equalityContract"
1713- Equatable equatable; // json: "Equatable"
1714- Event event; // json: "event"
1715- Except except; // json: "except"
1716- Exception exception; // json: "exception"
1717- Explicit explicit; // json: "explicit"
1718- Export export; // json: "export"
1719- Exposing exposing; // json: "exposing"
1720- Extends extends; // json: "extends"
1721- Extension extension; // json: "extension"
1722- Fallthrough fallthrough; // json: "fallthrough"
1723- False false; // json: "False"
1724- Fileprivate fileprivate; // json: "fileprivate"
1725- Finally finally; // json: "finally"
1726- Fixed fixed; // json: "fixed"
1727- FormatException format_exception; // json: "FormatException"
1728- Friend friend; // json: "friend"
1729- From from; // json: "from"
1730- FromJson from_json; // json: "from_json"
1731- Func func; // json: "func"
1732- Get get; // json: "get"
1733- Go go; // json: "go"
1734- Goto goto; // json: "goto"
1735- Default obj2_default; // json: "default"
1736- Do obj2_do; // json: "do"
1737- Else obj2_else; // json: "else"
1738- Enum obj2_enum; // json: "enum"
1739- Extern obj2_extern; // json: "extern"
1740- FalseClass obj2_false; // json: "false"
1741- Final obj2_final; // json: "final"
1742- Float obj2_float; // json: "float"
1743- For obj2_for; // json: "for"
1744- Foreach obj2_foreach; // json: "foreach"
1745- Function obj2_function; // json: "function"
1746- Global obj2_global; // json: "global"
1682+ DateFormatter date_formatter; // json: "DateFormatter"
1683+ DateOnly date_only; // json: "DateOnly"
1684+ DateOnlyConverter date_only_converter; // json: "DateOnlyConverter"
1685+ DateParseHandling date_parse_handling; // json: "date_parse_handling"
1686+ DateTime date_time; // json: "DateTime"
1687+ DateTimeStyles date_time_styles; // json: "DateTimeStyles"
1688+ Debugger debugger; // json: "debugger"
1689+ Decimal decimal; // json: "decimal"
1690+ Declare declare; // json: "declare"
1691+ Decltype decltype; // json: "decltype"
1692+ DecodeString decode_string; // json: "decode_string"
1693+ Decoder decoder; // json: "Decoder"
1694+ DecodingError decoding_error; // json: "DecodingError"
1695+ Def def; // json: "def"
1696+ Defer defer; // json: "defer"
1697+ Deinit deinit; // json: "deinit"
1698+ Del del; // json: "del"
1699+ Delegate delegate; // json: "delegate"
1700+ Delete delete; // json: "delete"
1701+ DeserializationFeature deserialization_feature; // json: "DeserializationFeature"
1702+ Dict dict; // json: "dict"
1703+ Dictionary dictionary; // json: "dictionary"
1704+ DidSet did_set; // json: "didSet"
1705+ Double double; // json: "double"
1706+ int dummy; // json: "dummy"
1707+ Dynamic dynamic; // json: "dynamic"
1708+ DynamicCast dynamic_cast; // json: "dynamic_cast"
1709+ Elif elif; // json: "elif"
1710+ EncodeQuickType encode_quick_type; // json: "encode_quick_type"
1711+ Encoder encoder; // json: "Encoder"
1712+ EnumValues enum_values; // json: "EnumValues"
1713+ EqualityContract equality_contract; // json: "equalityContract"
1714+ Equatable equatable; // json: "Equatable"
1715+ Event event; // json: "event"
1716+ Except except; // json: "except"
1717+ Exception exception; // json: "exception"
1718+ Explicit explicit; // json: "explicit"
1719+ Export export; // json: "export"
1720+ Exposing exposing; // json: "exposing"
1721+ Extends extends; // json: "extends"
1722+ Extension extension; // json: "extension"
1723+ Fallthrough fallthrough; // json: "fallthrough"
1724+ False false; // json: "False"
1725+ Fileprivate fileprivate; // json: "fileprivate"
1726+ Finally finally; // json: "finally"
1727+ Fixed fixed; // json: "fixed"
1728+ FormatException format_exception; // json: "FormatException"
1729+ Friend friend; // json: "friend"
1730+ From from; // json: "from"
1731+ FromJson from_json; // json: "from_json"
1732+ Func func; // json: "func"
1733+ Get get; // json: "get"
1734+ Go go; // json: "go"
1735+ Default obj2_default; // json: "default"
1736+ Do obj2_do; // json: "do"
1737+ Else obj2_else; // json: "else"
1738+ Enum obj2_enum; // json: "enum"
1739+ Extern obj2_extern; // json: "extern"
1740+ FalseClass obj2_false; // json: "false"
1741+ Final obj2_final; // json: "final"
1742+ Float obj2_float; // json: "float"
1743+ For obj2_for; // json: "for"
1744+ Foreach obj2_foreach; // json: "foreach"
1745+ Function obj2_function; // json: "function"
1746+ Global obj2_global; // json: "global"
17471747
17481748 string encode_json() {
17491749 mapping(string:mixed) json = ([
@@ -1766,6 +1766,7 @@ class Obj2 {
17661766 "del" : del,
17671767 "delegate" : delegate,
17681768 "delete" : delete,
1769+ "DeserializationFeature" : deserialization_feature,
17691770 "dict" : dict,
17701771 "dictionary" : dictionary,
17711772 "didSet" : did_set,
@@ -1799,7 +1800,6 @@ class Obj2 {
17991800 "func" : func,
18001801 "get" : get,
18011802 "go" : go,
1802- "goto" : goto,
18031803 "default" : obj2_default,
18041804 "do" : obj2_do,
18051805 "else" : obj2_else,
@@ -1859,6 +1859,8 @@ Obj2 Obj2_from_JSON(mixed json) {
18591859 retval.delegate = json["delegate"];
18601860 if (!mappingp(json["delete"])) error("Expected object");
18611861 retval.delete = json["delete"];
1862+ if (!mappingp(json["DeserializationFeature"])) error("Expected object");
1863+ retval.deserialization_feature = json["DeserializationFeature"];
18621864 if (!mappingp(json["dict"])) error("Expected object");
18631865 retval.dict = json["dict"];
18641866 if (!mappingp(json["dictionary"])) error("Expected object");
@@ -1925,8 +1927,6 @@ Obj2 Obj2_from_JSON(mixed json) {
19251927 retval.get = json["get"];
19261928 if (!mappingp(json["go"])) error("Expected object");
19271929 retval.go = json["go"];
1928- if (!mappingp(json["goto"])) error("Expected object");
1929- retval.goto = json["goto"];
19301930 if (!mappingp(json["default"])) error("Expected object");
19311931 retval.obj2_default = json["default"];
19321932 if (!mappingp(json["do"])) error("Expected object");
@@ -2353,6 +2353,27 @@ Delete Delete_from_JSON(mixed json) {
23532353 return retval;
23542354 }
23552355
2356+class DeserializationFeature {
2357+ int deserialization_feature; // json: "DeserializationFeature"
2358+
2359+ string encode_json() {
2360+ mapping(string:mixed) json = ([
2361+ "DeserializationFeature" : deserialization_feature,
2362+ ]);
2363+
2364+ return Standards.JSON.encode(json);
2365+ }
2366+}
2367+
2368+DeserializationFeature DeserializationFeature_from_JSON(mixed json) {
2369+ DeserializationFeature retval = DeserializationFeature();
2370+
2371+ if (!intp(json["DeserializationFeature"])) error("Expected integer");
2372+ retval.deserialization_feature = json["DeserializationFeature"];
2373+
2374+ return retval;
2375+}
2376+
23562377 class Dict {
23572378 int dict; // json: "dict"
23582379
@@ -3033,27 +3054,6 @@ Go Go_from_JSON(mixed json) {
30333054 return retval;
30343055 }
30353056
3036-class Goto {
3037- int goto; // json: "goto"
3038-
3039- string encode_json() {
3040- mapping(string:mixed) json = ([
3041- "goto" : goto,
3042- ]);
3043-
3044- return Standards.JSON.encode(json);
3045- }
3046-}
3047-
3048-Goto Goto_from_JSON(mixed json) {
3049- Goto retval = Goto();
3050-
3051- if (!intp(json["goto"])) error("Expected integer");
3052- retval.goto = json["goto"];
3053-
3054- return retval;
3055-}
3056-
30573057 class Default {
30583058 int default_default; // json: "default"
30593059
@@ -3308,6 +3308,7 @@ Global Global_from_JSON(mixed json) {
33083308
33093309 class Obj3 {
33103310 int dummy; // json: "dummy"
3311+ Goto goto; // json: "goto"
33113312 Guard guard; // json: "guard"
33123313 HasOwnProperty has_own_property; // json: "hasOwnProperty"
33133314 HashCode hash_code; // json: "hashCode"
@@ -3366,7 +3367,6 @@ class Obj3 {
33663367 Newtonsoft newtonsoft; // json: "newtonsoft"
33673368 Nil nil; // json: "nil"
33683369 No no; // json: "NO"
3369- Noexcept noexcept; // json: "noexcept"
33703370 If obj3_if; // json: "if"
33713371 Import obj3_import; // json: "import"
33723372 Inline obj3_inline; // json: "inline"
@@ -3376,6 +3376,7 @@ class Obj3 {
33763376 string encode_json() {
33773377 mapping(string:mixed) json = ([
33783378 "dummy" : dummy,
3379+ "goto" : goto,
33793380 "guard" : guard,
33803381 "hasOwnProperty" : has_own_property,
33813382 "hashCode" : hash_code,
@@ -3434,7 +3435,6 @@ class Obj3 {
34343435 "newtonsoft" : newtonsoft,
34353436 "nil" : nil,
34363437 "NO" : no,
3437- "noexcept" : noexcept,
34383438 "if" : obj3_if,
34393439 "import" : obj3_import,
34403440 "inline" : obj3_inline,
@@ -3451,6 +3451,8 @@ Obj3 Obj3_from_JSON(mixed json) {
34513451
34523452 if (!intp(json["dummy"])) error("Expected integer");
34533453 retval.dummy = json["dummy"];
3454+ if (!mappingp(json["goto"])) error("Expected object");
3455+ retval.goto = json["goto"];
34543456 if (!mappingp(json["guard"])) error("Expected object");
34553457 retval.guard = json["guard"];
34563458 if (!mappingp(json["hasOwnProperty"])) error("Expected object");
@@ -3567,8 +3569,6 @@ Obj3 Obj3_from_JSON(mixed json) {
35673569 retval.nil = json["nil"];
35683570 if (!mappingp(json["NO"])) error("Expected object");
35693571 retval.no = json["NO"];
3570- if (!mappingp(json["noexcept"])) error("Expected object");
3571- retval.noexcept = json["noexcept"];
35723572 if (!mappingp(json["if"])) error("Expected object");
35733573 retval.obj3_if = json["if"];
35743574 if (!mappingp(json["import"])) error("Expected object");
@@ -3583,6 +3583,27 @@ Obj3 Obj3_from_JSON(mixed json) {
35833583 return retval;
35843584 }
35853585
3586+class Goto {
3587+ int goto; // json: "goto"
3588+
3589+ string encode_json() {
3590+ mapping(string:mixed) json = ([
3591+ "goto" : goto,
3592+ ]);
3593+
3594+ return Standards.JSON.encode(json);
3595+ }
3596+}
3597+
3598+Goto Goto_from_JSON(mixed json) {
3599+ Goto retval = Goto();
3600+
3601+ if (!intp(json["goto"])) error("Expected integer");
3602+ retval.goto = json["goto"];
3603+
3604+ return retval;
3605+}
3606+
35863607 class Guard {
35873608 int guard; // json: "guard"
35883609
@@ -4800,27 +4821,6 @@ No No_from_JSON(mixed json) {
48004821 return retval;
48014822 }
48024823
4803-class Noexcept {
4804- int noexcept; // json: "noexcept"
4805-
4806- string encode_json() {
4807- mapping(string:mixed) json = ([
4808- "noexcept" : noexcept,
4809- ]);
4810-
4811- return Standards.JSON.encode(json);
4812- }
4813-}
4814-
4815-Noexcept Noexcept_from_JSON(mixed json) {
4816- Noexcept retval = Noexcept();
4817-
4818- if (!intp(json["noexcept"])) error("Expected integer");
4819- retval.noexcept = json["noexcept"];
4820-
4821- return retval;
4822-}
4823-
48244824 class If {
48254825 int if_if; // json: "if"
48264826
@@ -4929,6 +4929,7 @@ Lambda Lambda_from_JSON(mixed json) {
49294929 class Obj4 {
49304930 int dummy; // json: "dummy"
49314931 NoSuchMethod no_such_method; // json: "noSuchMethod"
4932+ Noexcept noexcept; // json: "noexcept"
49324933 Nonatomic nonatomic; // json: "nonatomic"
49334934 None none; // json: "None"
49344935 Nonlocal nonlocal; // json: "nonlocal"
@@ -4951,6 +4952,8 @@ class Obj4 {
49514952 Public obj4_public; // json: "public"
49524953 Return obj4_return; // json: "return"
49534954 ObjectMapper object_mapper; // json: "ObjectMapper"
4955+ ObjectReader object_reader; // json: "ObjectReader"
4956+ ObjectWriter object_writer; // json: "ObjectWriter"
49544957 Of of; // json: "of"
49554958 Oneway oneway; // json: "oneway"
49564959 Open open; // json: "open"
@@ -4989,14 +4992,12 @@ class Obj4 {
49894992 RuntimeType runtime_type; // json: "runtimeType"
49904993 S s; // json: "s"
49914994 Sbyte sbyte; // json: "sbyte"
4992- Sealed sealed; // json: "sealed"
4993- Sel sel; // json: "SEL"
4994- Select select; // json: "select"
49954995
49964996 string encode_json() {
49974997 mapping(string:mixed) json = ([
49984998 "dummy" : dummy,
49994999 "noSuchMethod" : no_such_method,
5000+ "noexcept" : noexcept,
50005001 "nonatomic" : nonatomic,
50015002 "None" : none,
50025003 "nonlocal" : nonlocal,
@@ -5019,6 +5020,8 @@ class Obj4 {
50195020 "public" : obj4_public,
50205021 "return" : obj4_return,
50215022 "ObjectMapper" : object_mapper,
5023+ "ObjectReader" : object_reader,
5024+ "ObjectWriter" : object_writer,
50225025 "of" : of,
50235026 "oneway" : oneway,
50245027 "open" : open,
@@ -5057,9 +5060,6 @@ class Obj4 {
50575060 "runtimeType" : runtime_type,
50585061 "s" : s,
50595062 "sbyte" : sbyte,
5060- "sealed" : sealed,
5061- "SEL" : sel,
5062- "select" : select,
50635063 ]);
50645064
50655065 return Standards.JSON.encode(json);
@@ -5073,6 +5073,8 @@ Obj4 Obj4_from_JSON(mixed json) {
50735073 retval.dummy = json["dummy"];
50745074 if (!mappingp(json["noSuchMethod"])) error("Expected object");
50755075 retval.no_such_method = json["noSuchMethod"];
5076+ if (!mappingp(json["noexcept"])) error("Expected object");
5077+ retval.noexcept = json["noexcept"];
50765078 if (!mappingp(json["nonatomic"])) error("Expected object");
50775079 retval.nonatomic = json["nonatomic"];
50785080 if (!mappingp(json["None"])) error("Expected object");
@@ -5117,6 +5119,10 @@ Obj4 Obj4_from_JSON(mixed json) {
51175119 retval.obj4_return = json["return"];
51185120 if (!mappingp(json["ObjectMapper"])) error("Expected object");
51195121 retval.object_mapper = json["ObjectMapper"];
5122+ if (!mappingp(json["ObjectReader"])) error("Expected object");
5123+ retval.object_reader = json["ObjectReader"];
5124+ if (!mappingp(json["ObjectWriter"])) error("Expected object");
5125+ retval.object_writer = json["ObjectWriter"];
51205126 if (!mappingp(json["of"])) error("Expected object");
51215127 retval.of = json["of"];
51225128 if (!mappingp(json["oneway"])) error("Expected object");
@@ -5193,12 +5199,6 @@ Obj4 Obj4_from_JSON(mixed json) {
51935199 retval.s = json["s"];
51945200 if (!mappingp(json["sbyte"])) error("Expected object");
51955201 retval.sbyte = json["sbyte"];
5196- if (!mappingp(json["sealed"])) error("Expected object");
5197- retval.sealed = json["sealed"];
5198- if (!mappingp(json["SEL"])) error("Expected object");
5199- retval.sel = json["SEL"];
5200- if (!mappingp(json["select"])) error("Expected object");
5201- retval.select = json["select"];
52025202
52035203 return retval;
52045204 }
@@ -5224,6 +5224,27 @@ NoSuchMethod NoSuchMethod_from_JSON(mixed json) {
52245224 return retval;
52255225 }
52265226
5227+class Noexcept {
5228+ int noexcept; // json: "noexcept"
5229+
5230+ string encode_json() {
5231+ mapping(string:mixed) json = ([
5232+ "noexcept" : noexcept,
5233+ ]);
5234+
5235+ return Standards.JSON.encode(json);
5236+ }
5237+}
5238+
5239+Noexcept Noexcept_from_JSON(mixed json) {
5240+ Noexcept retval = Noexcept();
5241+
5242+ if (!intp(json["noexcept"])) error("Expected integer");
5243+ retval.noexcept = json["noexcept"];
5244+
5245+ return retval;
5246+}
5247+
52275248 class Nonatomic {
52285249 int nonatomic; // json: "nonatomic"
52295250
@@ -5686,6 +5707,48 @@ ObjectMapper ObjectMapper_from_JSON(mixed json) {
56865707 return retval;
56875708 }
56885709
5710+class ObjectReader {
5711+ int object_reader; // json: "ObjectReader"
5712+
5713+ string encode_json() {
5714+ mapping(string:mixed) json = ([
5715+ "ObjectReader" : object_reader,
5716+ ]);
5717+
5718+ return Standards.JSON.encode(json);
5719+ }
5720+}
5721+
5722+ObjectReader ObjectReader_from_JSON(mixed json) {
5723+ ObjectReader retval = ObjectReader();
5724+
5725+ if (!intp(json["ObjectReader"])) error("Expected integer");
5726+ retval.object_reader = json["ObjectReader"];
5727+
5728+ return retval;
5729+}
5730+
5731+class ObjectWriter {
5732+ int object_writer; // json: "ObjectWriter"
5733+
5734+ string encode_json() {
5735+ mapping(string:mixed) json = ([
5736+ "ObjectWriter" : object_writer,
5737+ ]);
5738+
5739+ return Standards.JSON.encode(json);
5740+ }
5741+}
5742+
5743+ObjectWriter ObjectWriter_from_JSON(mixed json) {
5744+ ObjectWriter retval = ObjectWriter();
5745+
5746+ if (!intp(json["ObjectWriter"])) error("Expected integer");
5747+ retval.object_writer = json["ObjectWriter"];
5748+
5749+ return retval;
5750+}
5751+
56895752 class Of {
56905753 int of; // json: "of"
56915754
@@ -6483,135 +6546,72 @@ Sbyte Sbyte_from_JSON(mixed json) {
64836546 return retval;
64846547 }
64856548
6486-class Sealed {
6487- int sealed; // json: "sealed"
6488-
6489- string encode_json() {
6490- mapping(string:mixed) json = ([
6491- "sealed" : sealed,
6492- ]);
6493-
6494- return Standards.JSON.encode(json);
6495- }
6496-}
6497-
6498-Sealed Sealed_from_JSON(mixed json) {
6499- Sealed retval = Sealed();
6500-
6501- if (!intp(json["sealed"])) error("Expected integer");
6502- retval.sealed = json["sealed"];
6503-
6504- return retval;
6505-}
6506-
6507-class Sel {
6508- int sel; // json: "SEL"
6509-
6510- string encode_json() {
6511- mapping(string:mixed) json = ([
6512- "SEL" : sel,
6513- ]);
6514-
6515- return Standards.JSON.encode(json);
6516- }
6517-}
6518-
6519-Sel Sel_from_JSON(mixed json) {
6520- Sel retval = Sel();
6521-
6522- if (!intp(json["SEL"])) error("Expected integer");
6523- retval.sel = json["SEL"];
6524-
6525- return retval;
6526-}
6527-
6528-class Select {
6529- int select; // json: "select"
6530-
6531- string encode_json() {
6532- mapping(string:mixed) json = ([
6533- "select" : select,
6534- ]);
6535-
6536- return Standards.JSON.encode(json);
6537- }
6538-}
6539-
6540-Select Select_from_JSON(mixed json) {
6541- Select retval = Select();
6542-
6543- if (!intp(json["select"])) error("Expected integer");
6544- retval.select = json["select"];
6545-
6546- return retval;
6547-}
6548-
65496549 class Obj5 {
6550- int dummy; // json: "dummy"
6551- SelfClass obj5_self; // json: "self"
6552- Static obj5_static; // json: "static"
6553- String obj5_string; // json: "string"
6554- Switch obj5_switch; // json: "switch"
6555- TrueClass obj5_true; // json: "true"
6556- TypeClass obj5_type; // json: "type"
6557- Typedef obj5_typedef; // json: "typedef"
6558- Typeof obj5_typeof; // json: "typeof"
6559- Self self; // json: "Self"
6560- Sendable sendable; // json: "Sendable"
6561- Serialize serialize; // json: "serialize"
6562- SerializerProvider serializer_provider; // json: "SerializerProvider"
6563- Set set; // json: "set"
6564- Short short; // json: "short"
6565- Signed signed; // json: "signed"
6566- SimpleModule simple_module; // json: "SimpleModule"
6567- Sizeof sizeof; // json: "sizeof"
6568- Stackalloc stackalloc; // json: "stackalloc"
6569- StandardsClass standards; // json: "Standards"
6570- StaticAssert static_assert; // json: "static_assert"
6571- StaticCast static_cast; // json: "static_cast"
6572- StdDeserializer std_deserializer; // json: "StdDeserializer"
6573- StdSerializer std_serializer; // json: "StdSerializer"
6574- Strictfp strictfp; // json: "strictfp"
6575- Struct struct; // json: "struct"
6576- Subscript subscript; // json: "subscript"
6577- Super super; // json: "super"
6578- Symbol symbol; // json: "symbol"
6579- Synchronized synchronized; // json: "synchronized"
6580- System system; // json: "system"
6581- Template template; // json: "template"
6582- Then then; // json: "then"
6583- This this; // json: "this"
6584- ThreadLocal thread_local; // json: "thread_local"
6585- Throw throw; // json: "throw"
6586- Throws throws; // json: "throws"
6587- TimeOnly time_only; // json: "TimeOnly"
6588- TimeOnlyConverter time_only_converter; // json: "TimeOnlyConverter"
6589- TimeZone time_zone; // json: "TimeZone"
6590- ToJson to_json; // json: "to_json"
6591- ToString to_string; // json: "toString"
6592- TopLevelClass top_level; // json: "top_level"
6593- Transient transient; // json: "transient"
6594- True true; // json: "True"
6595- Try try; // json: "try"
6596- Type type; // json: "Type"
6597- Typealias typealias; // json: "typealias"
6598- Typeid typeid; // json: "typeid"
6599- Typename typename; // json: "typename"
6600- Uint uint; // json: "uint"
6601- Ulong ulong; // json: "ulong"
6602- Unchecked unchecked; // json: "unchecked"
6603- Undefined undefined; // json: "undefined"
6604- Union union; // json: "union"
6605- Unowned unowned; // json: "unowned"
6606- Unsafe unsafe; // json: "unsafe"
6607- Unsigned unsigned; // json: "unsigned"
6608- Ushort ushort; // json: "ushort"
6609- Using using; // json: "using"
6610- Utf8JsonReader utf8_json_reader; // json: "Utf8JsonReader"
6611- Utf8JsonWriter utf8_json_writer; // json: "Utf8JsonWriter"
6612- Uuid uuid; // json: "UUID"
6613- Var var; // json: "var"
6614- Virtual virtual; // json: "virtual"
6550+ int dummy; // json: "dummy"
6551+ SelfClass obj5_self; // json: "self"
6552+ Static obj5_static; // json: "static"
6553+ String obj5_string; // json: "string"
6554+ Switch obj5_switch; // json: "switch"
6555+ TrueClass obj5_true; // json: "true"
6556+ TypeClass obj5_type; // json: "type"
6557+ Typedef obj5_typedef; // json: "typedef"
6558+ Typeof obj5_typeof; // json: "typeof"
6559+ Sealed sealed; // json: "sealed"
6560+ Sel sel; // json: "SEL"
6561+ Select select; // json: "select"
6562+ Self self; // json: "Self"
6563+ Sendable sendable; // json: "Sendable"
6564+ SerializationFeature serialization_feature; // json: "SerializationFeature"
6565+ Serialize serialize; // json: "serialize"
6566+ SerializerProvider serializer_provider; // json: "SerializerProvider"
6567+ Set set; // json: "set"
6568+ Short short; // json: "short"
6569+ Signed signed; // json: "signed"
6570+ SimpleModule simple_module; // json: "SimpleModule"
6571+ Sizeof sizeof; // json: "sizeof"
6572+ Stackalloc stackalloc; // json: "stackalloc"
6573+ StandardsClass standards; // json: "Standards"
6574+ StaticAssert static_assert; // json: "static_assert"
6575+ StaticCast static_cast; // json: "static_cast"
6576+ StdDeserializer std_deserializer; // json: "StdDeserializer"
6577+ StdSerializer std_serializer; // json: "StdSerializer"
6578+ Strictfp strictfp; // json: "strictfp"
6579+ Struct struct; // json: "struct"
6580+ Subscript subscript; // json: "subscript"
6581+ Super super; // json: "super"
6582+ Symbol symbol; // json: "symbol"
6583+ Synchronized synchronized; // json: "synchronized"
6584+ System system; // json: "system"
6585+ Template template; // json: "template"
6586+ Then then; // json: "then"
6587+ This this; // json: "this"
6588+ ThreadLocal thread_local; // json: "thread_local"
6589+ Throw throw; // json: "throw"
6590+ Throws throws; // json: "throws"
6591+ TimeOnly time_only; // json: "TimeOnly"
6592+ TimeOnlyConverter time_only_converter; // json: "TimeOnlyConverter"
6593+ TimeZone time_zone; // json: "TimeZone"
6594+ ToJson to_json; // json: "to_json"
6595+ ToString to_string; // json: "toString"
6596+ TopLevelClass top_level; // json: "top_level"
6597+ Transient transient; // json: "transient"
6598+ True true; // json: "True"
6599+ Try try; // json: "try"
6600+ Type type; // json: "Type"
6601+ Typealias typealias; // json: "typealias"
6602+ Typeid typeid; // json: "typeid"
6603+ Typename typename; // json: "typename"
6604+ Uint uint; // json: "uint"
6605+ Ulong ulong; // json: "ulong"
6606+ Unchecked unchecked; // json: "unchecked"
6607+ Undefined undefined; // json: "undefined"
6608+ Union union; // json: "union"
6609+ Unowned unowned; // json: "unowned"
6610+ Unsafe unsafe; // json: "unsafe"
6611+ Unsigned unsigned; // json: "unsigned"
6612+ Ushort ushort; // json: "ushort"
6613+ Using using; // json: "using"
6614+ Utf8JsonReader utf8_json_reader; // json: "Utf8JsonReader"
66156615
66166616 string encode_json() {
66176617 mapping(string:mixed) json = ([
@@ -6624,8 +6624,12 @@ class Obj5 {
66246624 "type" : obj5_type,
66256625 "typedef" : obj5_typedef,
66266626 "typeof" : obj5_typeof,
6627+ "sealed" : sealed,
6628+ "SEL" : sel,
6629+ "select" : select,
66276630 "Self" : self,
66286631 "Sendable" : sendable,
6632+ "SerializationFeature" : serialization_feature,
66296633 "serialize" : serialize,
66306634 "SerializerProvider" : serializer_provider,
66316635 "set" : set,
@@ -6676,10 +6680,6 @@ class Obj5 {
66766680 "ushort" : ushort,
66776681 "using" : using,
66786682 "Utf8JsonReader" : utf8_json_reader,
6679- "Utf8JsonWriter" : utf8_json_writer,
6680- "UUID" : uuid,
6681- "var" : var,
6682- "virtual" : virtual,
66836683 ]);
66846684
66856685 return Standards.JSON.encode(json);
@@ -6707,10 +6707,18 @@ Obj5 Obj5_from_JSON(mixed json) {
67076707 retval.obj5_typedef = json["typedef"];
67086708 if (!mappingp(json["typeof"])) error("Expected object");
67096709 retval.obj5_typeof = json["typeof"];
6710+ if (!mappingp(json["sealed"])) error("Expected object");
6711+ retval.sealed = json["sealed"];
6712+ if (!mappingp(json["SEL"])) error("Expected object");
6713+ retval.sel = json["SEL"];
6714+ if (!mappingp(json["select"])) error("Expected object");
6715+ retval.select = json["select"];
67106716 if (!mappingp(json["Self"])) error("Expected object");
67116717 retval.self = json["Self"];
67126718 if (!mappingp(json["Sendable"])) error("Expected object");
67136719 retval.sendable = json["Sendable"];
6720+ if (!mappingp(json["SerializationFeature"])) error("Expected object");
6721+ retval.serialization_feature = json["SerializationFeature"];
67146722 if (!mappingp(json["serialize"])) error("Expected object");
67156723 retval.serialize = json["serialize"];
67166724 if (!mappingp(json["SerializerProvider"])) error("Expected object");
@@ -6811,14 +6819,6 @@ Obj5 Obj5_from_JSON(mixed json) {
68116819 retval.using = json["using"];
68126820 if (!mappingp(json["Utf8JsonReader"])) error("Expected object");
68136821 retval.utf8_json_reader = json["Utf8JsonReader"];
6814- if (!mappingp(json["Utf8JsonWriter"])) error("Expected object");
6815- retval.utf8_json_writer = json["Utf8JsonWriter"];
6816- if (!mappingp(json["UUID"])) error("Expected object");
6817- retval.uuid = json["UUID"];
6818- if (!mappingp(json["var"])) error("Expected object");
6819- retval.var = json["var"];
6820- if (!mappingp(json["virtual"])) error("Expected object");
6821- retval.virtual = json["virtual"];
68226822
68236823 return retval;
68246824 }
@@ -6991,6 +6991,69 @@ Typeof Typeof_from_JSON(mixed json) {
69916991 return retval;
69926992 }
69936993
6994+class Sealed {
6995+ int sealed; // json: "sealed"
6996+
6997+ string encode_json() {
6998+ mapping(string:mixed) json = ([
6999+ "sealed" : sealed,
7000+ ]);
7001+
7002+ return Standards.JSON.encode(json);
7003+ }
7004+}
7005+
7006+Sealed Sealed_from_JSON(mixed json) {
7007+ Sealed retval = Sealed();
7008+
7009+ if (!intp(json["sealed"])) error("Expected integer");
7010+ retval.sealed = json["sealed"];
7011+
7012+ return retval;
7013+}
7014+
7015+class Sel {
7016+ int sel; // json: "SEL"
7017+
7018+ string encode_json() {
7019+ mapping(string:mixed) json = ([
7020+ "SEL" : sel,
7021+ ]);
7022+
7023+ return Standards.JSON.encode(json);
7024+ }
7025+}
7026+
7027+Sel Sel_from_JSON(mixed json) {
7028+ Sel retval = Sel();
7029+
7030+ if (!intp(json["SEL"])) error("Expected integer");
7031+ retval.sel = json["SEL"];
7032+
7033+ return retval;
7034+}
7035+
7036+class Select {
7037+ int select; // json: "select"
7038+
7039+ string encode_json() {
7040+ mapping(string:mixed) json = ([
7041+ "select" : select,
7042+ ]);
7043+
7044+ return Standards.JSON.encode(json);
7045+ }
7046+}
7047+
7048+Select Select_from_JSON(mixed json) {
7049+ Select retval = Select();
7050+
7051+ if (!intp(json["select"])) error("Expected integer");
7052+ retval.select = json["select"];
7053+
7054+ return retval;
7055+}
7056+
69947057 class Self {
69957058 int self; // json: "Self"
69967059
@@ -7033,6 +7096,27 @@ Sendable Sendable_from_JSON(mixed json) {
70337096 return retval;
70347097 }
70357098
7099+class SerializationFeature {
7100+ int serialization_feature; // json: "SerializationFeature"
7101+
7102+ string encode_json() {
7103+ mapping(string:mixed) json = ([
7104+ "SerializationFeature" : serialization_feature,
7105+ ]);
7106+
7107+ return Standards.JSON.encode(json);
7108+ }
7109+}
7110+
7111+SerializationFeature SerializationFeature_from_JSON(mixed json) {
7112+ SerializationFeature retval = SerializationFeature();
7113+
7114+ if (!intp(json["SerializationFeature"])) error("Expected integer");
7115+ retval.serialization_feature = json["SerializationFeature"];
7116+
7117+ return retval;
7118+}
7119+
70367120 class Serialize {
70377121 int serialize; // json: "serialize"
70387122
@@ -8083,197 +8167,213 @@ Utf8JsonReader Utf8JsonReader_from_JSON(mixed json) {
80838167 return retval;
80848168 }
80858169
8086-class Utf8JsonWriter {
8087- int utf8_json_writer; // json: "Utf8JsonWriter"
8170+class Obj6 {
8171+ int dummy; // json: "dummy"
8172+ Void obj6_void; // json: "void"
8173+ While obj6_while; // json: "while"
8174+ Utf8JsonWriter utf8_json_writer; // json: "Utf8JsonWriter"
8175+ Uuid uuid; // json: "UUID"
8176+ Var var; // json: "var"
8177+ Virtual virtual; // json: "virtual"
8178+ Volatile volatile; // json: "volatile"
8179+ WcharT wchar_t; // json: "wchar_t"
8180+ Weak weak; // json: "weak"
8181+ Where where; // json: "where"
8182+ WillSet will_set; // json: "willSet"
8183+ With with; // json: "with"
8184+ Xor xor; // json: "xor"
8185+ XorEq xor_eq; // json: "xor_eq"
8186+ Yes yes; // json: "YES"
8187+ Yield yield; // json: "yield"
80888188
80898189 string encode_json() {
80908190 mapping(string:mixed) json = ([
8191+ "dummy" : dummy,
8192+ "void" : obj6_void,
8193+ "while" : obj6_while,
80918194 "Utf8JsonWriter" : utf8_json_writer,
8195+ "UUID" : uuid,
8196+ "var" : var,
8197+ "virtual" : virtual,
8198+ "volatile" : volatile,
8199+ "wchar_t" : wchar_t,
8200+ "weak" : weak,
8201+ "where" : where,
8202+ "willSet" : will_set,
8203+ "with" : with,
8204+ "xor" : xor,
8205+ "xor_eq" : xor_eq,
8206+ "YES" : yes,
8207+ "yield" : yield,
80928208 ]);
80938209
80948210 return Standards.JSON.encode(json);
80958211 }
80968212 }
80978213
8098-Utf8JsonWriter Utf8JsonWriter_from_JSON(mixed json) {
8099- Utf8JsonWriter retval = Utf8JsonWriter();
8214+Obj6 Obj6_from_JSON(mixed json) {
8215+ Obj6 retval = Obj6();
81008216
8101- if (!intp(json["Utf8JsonWriter"])) error("Expected integer");
8217+ if (!intp(json["dummy"])) error("Expected integer");
8218+ retval.dummy = json["dummy"];
8219+ if (!mappingp(json["void"])) error("Expected object");
8220+ retval.obj6_void = json["void"];
8221+ if (!mappingp(json["while"])) error("Expected object");
8222+ retval.obj6_while = json["while"];
8223+ if (!mappingp(json["Utf8JsonWriter"])) error("Expected object");
81028224 retval.utf8_json_writer = json["Utf8JsonWriter"];
8225+ if (!mappingp(json["UUID"])) error("Expected object");
8226+ retval.uuid = json["UUID"];
8227+ if (!mappingp(json["var"])) error("Expected object");
8228+ retval.var = json["var"];
8229+ if (!mappingp(json["virtual"])) error("Expected object");
8230+ retval.virtual = json["virtual"];
8231+ if (!mappingp(json["volatile"])) error("Expected object");
8232+ retval.volatile = json["volatile"];
8233+ if (!mappingp(json["wchar_t"])) error("Expected object");
8234+ retval.wchar_t = json["wchar_t"];
8235+ if (!mappingp(json["weak"])) error("Expected object");
8236+ retval.weak = json["weak"];
8237+ if (!mappingp(json["where"])) error("Expected object");
8238+ retval.where = json["where"];
8239+ if (!mappingp(json["willSet"])) error("Expected object");
8240+ retval.will_set = json["willSet"];
8241+ if (!mappingp(json["with"])) error("Expected object");
8242+ retval.with = json["with"];
8243+ if (!mappingp(json["xor"])) error("Expected object");
8244+ retval.xor = json["xor"];
8245+ if (!mappingp(json["xor_eq"])) error("Expected object");
8246+ retval.xor_eq = json["xor_eq"];
8247+ if (!mappingp(json["YES"])) error("Expected object");
8248+ retval.yes = json["YES"];
8249+ if (!mappingp(json["yield"])) error("Expected object");
8250+ retval.yield = json["yield"];
81038251
81048252 return retval;
81058253 }
81068254
8107-class Uuid {
8108- int uuid; // json: "UUID"
8255+class Void {
8256+ int void_void; // json: "void"
81098257
81108258 string encode_json() {
81118259 mapping(string:mixed) json = ([
8112- "UUID" : uuid,
8260+ "void" : void_void,
81138261 ]);
81148262
81158263 return Standards.JSON.encode(json);
81168264 }
81178265 }
81188266
8119-Uuid Uuid_from_JSON(mixed json) {
8120- Uuid retval = Uuid();
8267+Void Void_from_JSON(mixed json) {
8268+ Void retval = Void();
81218269
8122- if (!intp(json["UUID"])) error("Expected integer");
8123- retval.uuid = json["UUID"];
8270+ if (!intp(json["void"])) error("Expected integer");
8271+ retval.void_void = json["void"];
81248272
81258273 return retval;
81268274 }
81278275
8128-class Var {
8129- int var; // json: "var"
8276+class While {
8277+ int while_while; // json: "while"
81308278
81318279 string encode_json() {
81328280 mapping(string:mixed) json = ([
8133- "var" : var,
8281+ "while" : while_while,
81348282 ]);
81358283
81368284 return Standards.JSON.encode(json);
81378285 }
81388286 }
81398287
8140-Var Var_from_JSON(mixed json) {
8141- Var retval = Var();
8288+While While_from_JSON(mixed json) {
8289+ While retval = While();
81428290
8143- if (!intp(json["var"])) error("Expected integer");
8144- retval.var = json["var"];
8291+ if (!intp(json["while"])) error("Expected integer");
8292+ retval.while_while = json["while"];
81458293
81468294 return retval;
81478295 }
81488296
8149-class Virtual {
8150- int virtual; // json: "virtual"
8297+class Utf8JsonWriter {
8298+ int utf8_json_writer; // json: "Utf8JsonWriter"
81518299
81528300 string encode_json() {
81538301 mapping(string:mixed) json = ([
8154- "virtual" : virtual,
8302+ "Utf8JsonWriter" : utf8_json_writer,
81558303 ]);
81568304
81578305 return Standards.JSON.encode(json);
81588306 }
81598307 }
81608308
8161-Virtual Virtual_from_JSON(mixed json) {
8162- Virtual retval = Virtual();
8309+Utf8JsonWriter Utf8JsonWriter_from_JSON(mixed json) {
8310+ Utf8JsonWriter retval = Utf8JsonWriter();
81638311
8164- if (!intp(json["virtual"])) error("Expected integer");
8165- retval.virtual = json["virtual"];
8312+ if (!intp(json["Utf8JsonWriter"])) error("Expected integer");
8313+ retval.utf8_json_writer = json["Utf8JsonWriter"];
81668314
81678315 return retval;
81688316 }
81698317
8170-class Obj6 {
8171- int dummy; // json: "dummy"
8172- Void obj6_void; // json: "void"
8173- While obj6_while; // json: "while"
8174- Volatile volatile; // json: "volatile"
8175- WcharT wchar_t; // json: "wchar_t"
8176- Weak weak; // json: "weak"
8177- Where where; // json: "where"
8178- WillSet will_set; // json: "willSet"
8179- With with; // json: "with"
8180- Xor xor; // json: "xor"
8181- XorEq xor_eq; // json: "xor_eq"
8182- Yes yes; // json: "YES"
8183- Yield yield; // json: "yield"
8318+class Uuid {
8319+ int uuid; // json: "UUID"
81848320
81858321 string encode_json() {
81868322 mapping(string:mixed) json = ([
8187- "dummy" : dummy,
8188- "void" : obj6_void,
8189- "while" : obj6_while,
8190- "volatile" : volatile,
8191- "wchar_t" : wchar_t,
8192- "weak" : weak,
8193- "where" : where,
8194- "willSet" : will_set,
8195- "with" : with,
8196- "xor" : xor,
8197- "xor_eq" : xor_eq,
8198- "YES" : yes,
8199- "yield" : yield,
8323+ "UUID" : uuid,
82008324 ]);
82018325
82028326 return Standards.JSON.encode(json);
82038327 }
82048328 }
82058329
8206-Obj6 Obj6_from_JSON(mixed json) {
8207- Obj6 retval = Obj6();
8330+Uuid Uuid_from_JSON(mixed json) {
8331+ Uuid retval = Uuid();
82088332
8209- if (!intp(json["dummy"])) error("Expected integer");
8210- retval.dummy = json["dummy"];
8211- if (!mappingp(json["void"])) error("Expected object");
8212- retval.obj6_void = json["void"];
8213- if (!mappingp(json["while"])) error("Expected object");
8214- retval.obj6_while = json["while"];
8215- if (!mappingp(json["volatile"])) error("Expected object");
8216- retval.volatile = json["volatile"];
8217- if (!mappingp(json["wchar_t"])) error("Expected object");
8218- retval.wchar_t = json["wchar_t"];
8219- if (!mappingp(json["weak"])) error("Expected object");
8220- retval.weak = json["weak"];
8221- if (!mappingp(json["where"])) error("Expected object");
8222- retval.where = json["where"];
8223- if (!mappingp(json["willSet"])) error("Expected object");
8224- retval.will_set = json["willSet"];
8225- if (!mappingp(json["with"])) error("Expected object");
8226- retval.with = json["with"];
8227- if (!mappingp(json["xor"])) error("Expected object");
8228- retval.xor = json["xor"];
8229- if (!mappingp(json["xor_eq"])) error("Expected object");
8230- retval.xor_eq = json["xor_eq"];
8231- if (!mappingp(json["YES"])) error("Expected object");
8232- retval.yes = json["YES"];
8233- if (!mappingp(json["yield"])) error("Expected object");
8234- retval.yield = json["yield"];
8333+ if (!intp(json["UUID"])) error("Expected integer");
8334+ retval.uuid = json["UUID"];
82358335
82368336 return retval;
82378337 }
82388338
8239-class Void {
8240- int void_void; // json: "void"
8339+class Var {
8340+ int var; // json: "var"
82418341
82428342 string encode_json() {
82438343 mapping(string:mixed) json = ([
8244- "void" : void_void,
8344+ "var" : var,
82458345 ]);
82468346
82478347 return Standards.JSON.encode(json);
82488348 }
82498349 }
82508350
8251-Void Void_from_JSON(mixed json) {
8252- Void retval = Void();
8351+Var Var_from_JSON(mixed json) {
8352+ Var retval = Var();
82538353
8254- if (!intp(json["void"])) error("Expected integer");
8255- retval.void_void = json["void"];
8354+ if (!intp(json["var"])) error("Expected integer");
8355+ retval.var = json["var"];
82568356
82578357 return retval;
82588358 }
82598359
8260-class While {
8261- int while_while; // json: "while"
8360+class Virtual {
8361+ int virtual; // json: "virtual"
82628362
82638363 string encode_json() {
82648364 mapping(string:mixed) json = ([
8265- "while" : while_while,
8365+ "virtual" : virtual,
82668366 ]);
82678367
82688368 return Standards.JSON.encode(json);
82698369 }
82708370 }
82718371
8272-While While_from_JSON(mixed json) {
8273- While retval = While();
8372+Virtual Virtual_from_JSON(mixed json) {
8373+ Virtual retval = Virtual();
82748374
8275- if (!intp(json["while"])) error("Expected integer");
8276- retval.while_while = json["while"];
8375+ if (!intp(json["virtual"])) error("Expected integer");
8376+ retval.virtual = json["virtual"];
82778377
82788378 return retval;
82798379 }
Mpythondefault / quicktype.py+252 −176
@@ -1559,6 +1559,22 @@ class Delete:
15591559 return result
15601560
15611561
1562+@dataclass
1563+class DeserializationFeature:
1564+ deserialization_feature: int
1565+
1566+ @staticmethod
1567+ def from_dict(obj: Any) -> 'DeserializationFeature':
1568+ assert isinstance(obj, dict)
1569+ deserialization_feature = from_int(obj["DeserializationFeature"])
1570+ return DeserializationFeature(deserialization_feature)
1571+
1572+ def to_dict(self) -> dict:
1573+ result: dict = {}
1574+ result["DeserializationFeature"] = from_int(self.deserialization_feature)
1575+ return result
1576+
1577+
15621578 @dataclass
15631579 class Dictionary:
15641580 dictionary: int
@@ -2092,22 +2108,6 @@ class Go:
20922108 return result
20932109
20942110
2095-@dataclass
2096-class Goto:
2097- goto: int
2098-
2099- @staticmethod
2100- def from_dict(obj: Any) -> 'Goto':
2101- assert isinstance(obj, dict)
2102- goto = from_int(obj["goto"])
2103- return Goto(goto)
2104-
2105- def to_dict(self) -> dict:
2106- result: dict = {}
2107- result["goto"] = from_int(self.goto)
2108- return result
2109-
2110-
21112111 @dataclass
21122112 class Def:
21132113 def_def: int
@@ -2309,6 +2309,7 @@ class Obj2:
23092309 date_time_styles: DateTimeStyles
23102310 decoder: Decoder
23112311 decoding_error: DecodingError
2312+ deserialization_feature: DeserializationFeature
23122313 encoder: Encoder
23132314 enum_values: EnumValues
23142315 equatable: Equatable
@@ -2366,7 +2367,6 @@ class Obj2:
23662367 get: Get
23672368 obj2_global: Global
23682369 go: Go
2369- goto: Goto
23702370
23712371 @staticmethod
23722372 def from_dict(obj: Any) -> 'Obj2':
@@ -2378,6 +2378,7 @@ class Obj2:
23782378 date_time_styles = DateTimeStyles.from_dict(obj["DateTimeStyles"])
23792379 decoder = Decoder.from_dict(obj["Decoder"])
23802380 decoding_error = DecodingError.from_dict(obj["DecodingError"])
2381+ deserialization_feature = DeserializationFeature.from_dict(obj["DeserializationFeature"])
23812382 encoder = Encoder.from_dict(obj["Encoder"])
23822383 enum_values = EnumValues.from_dict(obj["EnumValues"])
23832384 equatable = Equatable.from_dict(obj["Equatable"])
@@ -2435,8 +2436,7 @@ class Obj2:
24352436 get = Get.from_dict(obj["get"])
24362437 obj2_global = Global.from_dict(obj["global"])
24372438 go = Go.from_dict(obj["go"])
2438- goto = Goto.from_dict(obj["goto"])
2439- return Obj2(date_formatter, date_only, date_only_converter, date_time, date_time_styles, decoder, decoding_error, encoder, enum_values, equatable, false, format_exception, date_parse_handling, debugger, decimal, declare, decltype, decode_string, obj2_def, default, defer, deinit, obj2_del, delegate, delete, obj2_dict, dictionary, did_set, do, double, dummy, dynamic, dynamic_cast, obj2_elif, obj2_else, encode_quick_type, enum, equality_contract, event, obj2_except, exception, explicit, export, exposing, extends, extension, extern, fallthrough, obj2_false, fileprivate, final, obj2_finally, fixed, obj2_float, obj2_for, foreach, friend, obj2_from, from_json, func, function, get, obj2_global, go, goto)
2439+ return Obj2(date_formatter, date_only, date_only_converter, date_time, date_time_styles, decoder, decoding_error, deserialization_feature, encoder, enum_values, equatable, false, format_exception, date_parse_handling, debugger, decimal, declare, decltype, decode_string, obj2_def, default, defer, deinit, obj2_del, delegate, delete, obj2_dict, dictionary, did_set, do, double, dummy, dynamic, dynamic_cast, obj2_elif, obj2_else, encode_quick_type, enum, equality_contract, event, obj2_except, exception, explicit, export, exposing, extends, extension, extern, fallthrough, obj2_false, fileprivate, final, obj2_finally, fixed, obj2_float, obj2_for, foreach, friend, obj2_from, from_json, func, function, get, obj2_global, go)
24402440
24412441 def to_dict(self) -> dict:
24422442 result: dict = {}
@@ -2447,6 +2447,7 @@ class Obj2:
24472447 result["DateTimeStyles"] = to_class(DateTimeStyles, self.date_time_styles)
24482448 result["Decoder"] = to_class(Decoder, self.decoder)
24492449 result["DecodingError"] = to_class(DecodingError, self.decoding_error)
2450+ result["DeserializationFeature"] = to_class(DeserializationFeature, self.deserialization_feature)
24502451 result["Encoder"] = to_class(Encoder, self.encoder)
24512452 result["EnumValues"] = to_class(EnumValues, self.enum_values)
24522453 result["Equatable"] = to_class(Equatable, self.equatable)
@@ -2504,7 +2505,22 @@ class Obj2:
25042505 result["get"] = to_class(Get, self.get)
25052506 result["global"] = to_class(Global, self.obj2_global)
25062507 result["go"] = to_class(Go, self.go)
2507- result["goto"] = to_class(Goto, self.goto)
2508+ return result
2509+
2510+
2511+@dataclass
2512+class Goto:
2513+ goto: int
2514+
2515+ @staticmethod
2516+ def from_dict(obj: Any) -> 'Goto':
2517+ assert isinstance(obj, dict)
2518+ goto = from_int(obj["goto"])
2519+ return Goto(goto)
2520+
2521+ def to_dict(self) -> dict:
2522+ result: dict = {}
2523+ result["goto"] = from_int(self.goto)
25082524 return result
25092525
25102526
@@ -3420,22 +3436,6 @@ class No:
34203436 return result
34213437
34223438
3423-@dataclass
3424-class Noexcept:
3425- noexcept: int
3426-
3427- @staticmethod
3428- def from_dict(obj: Any) -> 'Noexcept':
3429- assert isinstance(obj, dict)
3430- noexcept = from_int(obj["noexcept"])
3431- return Noexcept(noexcept)
3432-
3433- def to_dict(self) -> dict:
3434- result: dict = {}
3435- result["noexcept"] = from_int(self.noexcept)
3436- return result
3437-
3438-
34393439 @dataclass
34403440 class If:
34413441 if_if: int
@@ -3553,6 +3553,7 @@ class Obj3:
35533553 map_entry: MapEntry
35543554 no: No
35553555 dummy: int
3556+ goto: Goto
35563557 guard: Guard
35573558 has_own_property: HasOwnProperty
35583559 hash_code: HashCode
@@ -3598,7 +3599,6 @@ class Obj3:
35983599 new: New
35993600 newtonsoft: Newtonsoft
36003601 nil: Nil
3601- noexcept: Noexcept
36023602
36033603 @staticmethod
36043604 def from_dict(obj: Any) -> 'Obj3':
@@ -3622,6 +3622,7 @@ class Obj3:
36223622 map_entry = MapEntry.from_dict(obj["MapEntry"])
36233623 no = No.from_dict(obj["NO"])
36243624 dummy = from_int(obj["dummy"])
3625+ goto = Goto.from_dict(obj["goto"])
36253626 guard = Guard.from_dict(obj["guard"])
36263627 has_own_property = HasOwnProperty.from_dict(obj["hasOwnProperty"])
36273628 hash_code = HashCode.from_dict(obj["hashCode"])
@@ -3667,8 +3668,7 @@ class Obj3:
36673668 new = New.from_dict(obj["new"])
36683669 newtonsoft = Newtonsoft.from_dict(obj["newtonsoft"])
36693670 nil = Nil.from_dict(obj["nil"])
3670- noexcept = Noexcept.from_dict(obj["noexcept"])
3671- return Obj3(hashable, hasher, imp, iso_date_time_offset_converter, json_any, json_coding_key, json_decoder, json_encoder, json_null, json_exception, json_generator, json_node, json_parser, json_reader, json_token_type, locale, map_entry, no, dummy, guard, has_own_property, hash_code, id, obj3_if, implements, implicit, obj3_import, obj3_in, indirect, infix, init, inline, inout, instanceof, obj3_int, interface, internal, obj3_is, iterable, jdec, jenc, jpipe, json, json_converter, json_serializer, json_token, json_writer, obj3_lambda, lazy, left, let, list, lock, long, map, metadata_property_handling, module, mutable, mutating, namespace, native, new, newtonsoft, nil, noexcept)
3671+ return Obj3(hashable, hasher, imp, iso_date_time_offset_converter, json_any, json_coding_key, json_decoder, json_encoder, json_null, json_exception, json_generator, json_node, json_parser, json_reader, json_token_type, locale, map_entry, no, dummy, goto, guard, has_own_property, hash_code, id, obj3_if, implements, implicit, obj3_import, obj3_in, indirect, infix, init, inline, inout, instanceof, obj3_int, interface, internal, obj3_is, iterable, jdec, jenc, jpipe, json, json_converter, json_serializer, json_token, json_writer, obj3_lambda, lazy, left, let, list, lock, long, map, metadata_property_handling, module, mutable, mutating, namespace, native, new, newtonsoft, nil)
36723672
36733673 def to_dict(self) -> dict:
36743674 result: dict = {}
@@ -3691,6 +3691,7 @@ class Obj3:
36913691 result["MapEntry"] = to_class(MapEntry, self.map_entry)
36923692 result["NO"] = to_class(No, self.no)
36933693 result["dummy"] = from_int(self.dummy)
3694+ result["goto"] = to_class(Goto, self.goto)
36943695 result["guard"] = to_class(Guard, self.guard)
36953696 result["hasOwnProperty"] = to_class(HasOwnProperty, self.has_own_property)
36963697 result["hashCode"] = to_class(HashCode, self.hash_code)
@@ -3736,7 +3737,6 @@ class Obj3:
37363737 result["new"] = to_class(New, self.new)
37373738 result["newtonsoft"] = to_class(Newtonsoft, self.newtonsoft)
37383739 result["nil"] = to_class(Nil, self.nil)
3739- result["noexcept"] = to_class(Noexcept, self.noexcept)
37403740 return result
37413741
37423742
@@ -3756,6 +3756,22 @@ class NoSuchMethod:
37563756 return result
37573757
37583758
3759+@dataclass
3760+class Noexcept:
3761+ noexcept: int
3762+
3763+ @staticmethod
3764+ def from_dict(obj: Any) -> 'Noexcept':
3765+ assert isinstance(obj, dict)
3766+ noexcept = from_int(obj["noexcept"])
3767+ return Noexcept(noexcept)
3768+
3769+ def to_dict(self) -> dict:
3770+ result: dict = {}
3771+ result["noexcept"] = from_int(self.noexcept)
3772+ return result
3773+
3774+
37593775 @dataclass
37603776 class Nonatomic:
37613777 nonatomic: int
@@ -4108,6 +4124,38 @@ class ObjectMapper:
41084124 return result
41094125
41104126
4127+@dataclass
4128+class ObjectReader:
4129+ object_reader: int
4130+
4131+ @staticmethod
4132+ def from_dict(obj: Any) -> 'ObjectReader':
4133+ assert isinstance(obj, dict)
4134+ object_reader = from_int(obj["ObjectReader"])
4135+ return ObjectReader(object_reader)
4136+
4137+ def to_dict(self) -> dict:
4138+ result: dict = {}
4139+ result["ObjectReader"] = from_int(self.object_reader)
4140+ return result
4141+
4142+
4143+@dataclass
4144+class ObjectWriter:
4145+ object_writer: int
4146+
4147+ @staticmethod
4148+ def from_dict(obj: Any) -> 'ObjectWriter':
4149+ assert isinstance(obj, dict)
4150+ object_writer = from_int(obj["ObjectWriter"])
4151+ return ObjectWriter(object_writer)
4152+
4153+ def to_dict(self) -> dict:
4154+ result: dict = {}
4155+ result["ObjectWriter"] = from_int(self.object_writer)
4156+ return result
4157+
4158+
41114159 @dataclass
41124160 class Of:
41134161 of: int
@@ -4716,54 +4764,6 @@ class Sbyte:
47164764 return result
47174765
47184766
4719-@dataclass
4720-class Sealed:
4721- sealed: int
4722-
4723- @staticmethod
4724- def from_dict(obj: Any) -> 'Sealed':
4725- assert isinstance(obj, dict)
4726- sealed = from_int(obj["sealed"])
4727- return Sealed(sealed)
4728-
4729- def to_dict(self) -> dict:
4730- result: dict = {}
4731- result["sealed"] = from_int(self.sealed)
4732- return result
4733-
4734-
4735-@dataclass
4736-class Sel:
4737- sel: int
4738-
4739- @staticmethod
4740- def from_dict(obj: Any) -> 'Sel':
4741- assert isinstance(obj, dict)
4742- sel = from_int(obj["SEL"])
4743- return Sel(sel)
4744-
4745- def to_dict(self) -> dict:
4746- result: dict = {}
4747- result["SEL"] = from_int(self.sel)
4748- return result
4749-
4750-
4751-@dataclass
4752-class Select:
4753- select: int
4754-
4755- @staticmethod
4756- def from_dict(obj: Any) -> 'Select':
4757- assert isinstance(obj, dict)
4758- select = from_int(obj["select"])
4759- return Select(select)
4760-
4761- def to_dict(self) -> dict:
4762- result: dict = {}
4763- result["select"] = from_int(self.select)
4764- return result
4765-
4766-
47674767 @dataclass
47684768 class Obj4:
47694769 ns_error: NSError
@@ -4772,11 +4772,13 @@ class Obj4:
47724772 null: Null
47734773 none: NoneClass
47744774 object_mapper: ObjectMapper
4775+ object_reader: ObjectReader
4776+ object_writer: ObjectWriter
47754777 protocol: Protocol
47764778 reg_exp: RegExp
4777- sel: Sel
47784779 dummy: int
47794780 no_such_method: NoSuchMethod
4781+ noexcept: Noexcept
47804782 nonatomic: Nonatomic
47814783 obj4_none: Obj4None
47824784 obj4_nonlocal: Nonlocal
@@ -4829,8 +4831,6 @@ class Obj4:
48294831 runtime_type: RuntimeType
48304832 s: S
48314833 sbyte: Sbyte
4832- sealed: Sealed
4833- select: Select
48344834
48354835 @staticmethod
48364836 def from_dict(obj: Any) -> 'Obj4':
@@ -4841,11 +4841,13 @@ class Obj4:
48414841 null = Null.from_dict(obj["NULL"])
48424842 none = NoneClass.from_dict(obj["None"])
48434843 object_mapper = ObjectMapper.from_dict(obj["ObjectMapper"])
4844+ object_reader = ObjectReader.from_dict(obj["ObjectReader"])
4845+ object_writer = ObjectWriter.from_dict(obj["ObjectWriter"])
48444846 protocol = Protocol.from_dict(obj["Protocol"])
48454847 reg_exp = RegExp.from_dict(obj["RegExp"])
4846- sel = Sel.from_dict(obj["SEL"])
48474848 dummy = from_int(obj["dummy"])
48484849 no_such_method = NoSuchMethod.from_dict(obj["noSuchMethod"])
4850+ noexcept = Noexcept.from_dict(obj["noexcept"])
48494851 nonatomic = Nonatomic.from_dict(obj["nonatomic"])
48504852 obj4_none = Obj4None.from_dict(obj["none"])
48514853 obj4_nonlocal = Nonlocal.from_dict(obj["nonlocal"])
@@ -4898,9 +4900,7 @@ class Obj4:
48984900 runtime_type = RuntimeType.from_dict(obj["runtimeType"])
48994901 s = S.from_dict(obj["s"])
49004902 sbyte = Sbyte.from_dict(obj["sbyte"])
4901- sealed = Sealed.from_dict(obj["sealed"])
4902- select = Select.from_dict(obj["select"])
4903- return Obj4(ns_error, ns_object, ns_string, null, none, object_mapper, protocol, reg_exp, sel, dummy, no_such_method, nonatomic, obj4_none, obj4_nonlocal, nonmutating, obj4_not, not_eq, obj4_null, nullptr, number, object, of, oneway, open, operator, optional, obj4_or, or_eq, out, override, package, params, obj4_pass, port, postfix, precedence, prefix, obj4_print, print_members, printf, private, protected, obj4_protocol, public, quicktype, obj4_raise, range, readonly, ref, register, reinterpret_cast, repeat, require, required, requires, restrict, retain, rethrows, obj4_return, right, runtime_type, s, sbyte, sealed, select)
4903+ return Obj4(ns_error, ns_object, ns_string, null, none, object_mapper, object_reader, object_writer, protocol, reg_exp, dummy, no_such_method, noexcept, nonatomic, obj4_none, obj4_nonlocal, nonmutating, obj4_not, not_eq, obj4_null, nullptr, number, object, of, oneway, open, operator, optional, obj4_or, or_eq, out, override, package, params, obj4_pass, port, postfix, precedence, prefix, obj4_print, print_members, printf, private, protected, obj4_protocol, public, quicktype, obj4_raise, range, readonly, ref, register, reinterpret_cast, repeat, require, required, requires, restrict, retain, rethrows, obj4_return, right, runtime_type, s, sbyte)
49044904
49054905 def to_dict(self) -> dict:
49064906 result: dict = {}
@@ -4910,11 +4910,13 @@ class Obj4:
49104910 result["NULL"] = to_class(Null, self.null)
49114911 result["None"] = to_class(NoneClass, self.none)
49124912 result["ObjectMapper"] = to_class(ObjectMapper, self.object_mapper)
4913+ result["ObjectReader"] = to_class(ObjectReader, self.object_reader)
4914+ result["ObjectWriter"] = to_class(ObjectWriter, self.object_writer)
49134915 result["Protocol"] = to_class(Protocol, self.protocol)
49144916 result["RegExp"] = to_class(RegExp, self.reg_exp)
4915- result["SEL"] = to_class(Sel, self.sel)
49164917 result["dummy"] = from_int(self.dummy)
49174918 result["noSuchMethod"] = to_class(NoSuchMethod, self.no_such_method)
4919+ result["noexcept"] = to_class(Noexcept, self.noexcept)
49184920 result["nonatomic"] = to_class(Nonatomic, self.nonatomic)
49194921 result["none"] = to_class(Obj4None, self.obj4_none)
49204922 result["nonlocal"] = to_class(Nonlocal, self.obj4_nonlocal)
@@ -4967,8 +4969,6 @@ class Obj4:
49674969 result["runtimeType"] = to_class(RuntimeType, self.runtime_type)
49684970 result["s"] = to_class(S, self.s)
49694971 result["sbyte"] = to_class(Sbyte, self.sbyte)
4970- result["sealed"] = to_class(Sealed, self.sealed)
4971- result["select"] = to_class(Select, self.select)
49724972 return result
49734973
49744974
@@ -5052,6 +5052,54 @@ class SelfClass:
50525052 return result
50535053
50545054
5055+@dataclass
5056+class Sealed:
5057+ sealed: int
5058+
5059+ @staticmethod
5060+ def from_dict(obj: Any) -> 'Sealed':
5061+ assert isinstance(obj, dict)
5062+ sealed = from_int(obj["sealed"])
5063+ return Sealed(sealed)
5064+
5065+ def to_dict(self) -> dict:
5066+ result: dict = {}
5067+ result["sealed"] = from_int(self.sealed)
5068+ return result
5069+
5070+
5071+@dataclass
5072+class Sel:
5073+ sel: int
5074+
5075+ @staticmethod
5076+ def from_dict(obj: Any) -> 'Sel':
5077+ assert isinstance(obj, dict)
5078+ sel = from_int(obj["SEL"])
5079+ return Sel(sel)
5080+
5081+ def to_dict(self) -> dict:
5082+ result: dict = {}
5083+ result["SEL"] = from_int(self.sel)
5084+ return result
5085+
5086+
5087+@dataclass
5088+class Select:
5089+ select: int
5090+
5091+ @staticmethod
5092+ def from_dict(obj: Any) -> 'Select':
5093+ assert isinstance(obj, dict)
5094+ select = from_int(obj["select"])
5095+ return Select(select)
5096+
5097+ def to_dict(self) -> dict:
5098+ result: dict = {}
5099+ result["select"] = from_int(self.select)
5100+ return result
5101+
5102+
50555103 @dataclass
50565104 class Sendable:
50575105 sendable: int
@@ -5068,6 +5116,22 @@ class Sendable:
50685116 return result
50695117
50705118
5119+@dataclass
5120+class SerializationFeature:
5121+ serialization_feature: int
5122+
5123+ @staticmethod
5124+ def from_dict(obj: Any) -> 'SerializationFeature':
5125+ assert isinstance(obj, dict)
5126+ serialization_feature = from_int(obj["SerializationFeature"])
5127+ return SerializationFeature(serialization_feature)
5128+
5129+ def to_dict(self) -> dict:
5130+ result: dict = {}
5131+ result["SerializationFeature"] = from_int(self.serialization_feature)
5132+ return result
5133+
5134+
50715135 @dataclass
50725136 class Serialize:
50735137 serialize: int
@@ -5932,74 +5996,12 @@ class Utf8JSONReader:
59325996 return result
59335997
59345998
5935-@dataclass
5936-class Utf8JSONWriter:
5937- utf8_json_writer: int
5938-
5939- @staticmethod
5940- def from_dict(obj: Any) -> 'Utf8JSONWriter':
5941- assert isinstance(obj, dict)
5942- utf8_json_writer = from_int(obj["Utf8JsonWriter"])
5943- return Utf8JSONWriter(utf8_json_writer)
5944-
5945- def to_dict(self) -> dict:
5946- result: dict = {}
5947- result["Utf8JsonWriter"] = from_int(self.utf8_json_writer)
5948- return result
5949-
5950-
5951-@dataclass
5952-class UUIDClass:
5953- uuid: int
5954-
5955- @staticmethod
5956- def from_dict(obj: Any) -> 'UUIDClass':
5957- assert isinstance(obj, dict)
5958- uuid = from_int(obj["UUID"])
5959- return UUIDClass(uuid)
5960-
5961- def to_dict(self) -> dict:
5962- result: dict = {}
5963- result["UUID"] = from_int(self.uuid)
5964- return result
5965-
5966-
5967-@dataclass
5968-class Var:
5969- var: int
5970-
5971- @staticmethod
5972- def from_dict(obj: Any) -> 'Var':
5973- assert isinstance(obj, dict)
5974- var = from_int(obj["var"])
5975- return Var(var)
5976-
5977- def to_dict(self) -> dict:
5978- result: dict = {}
5979- result["var"] = from_int(self.var)
5980- return result
5981-
5982-
5983-@dataclass
5984-class Virtual:
5985- virtual: int
5986-
5987- @staticmethod
5988- def from_dict(obj: Any) -> 'Virtual':
5989- assert isinstance(obj, dict)
5990- virtual = from_int(obj["virtual"])
5991- return Virtual(virtual)
5992-
5993- def to_dict(self) -> dict:
5994- result: dict = {}
5995- result["virtual"] = from_int(self.virtual)
5996- return result
5997-
5998-
59995999 @dataclass
60006000 class Obj5:
6001+ sel: Sel
60016002 obj5_self: Self
60026003 sendable: Sendable
6004+ serialization_feature: SerializationFeature
60036005 serializer_provider: SerializerProvider
60046006 simple_module: SimpleModule
60056007 standards: Standards
@@ -6010,10 +6012,10 @@ class Obj5:
60106012 time_zone: TimeZone
60116013 true: TrueClass
60126014 type: TypeClass
6013- uuid: UUIDClass
60146015 utf8_json_reader: Utf8JSONReader
6015- utf8_json_writer: Utf8JSONWriter
60166016 dummy: int
6017+ sealed: Sealed
6018+ select: Select
60176019 purple_self: SelfClass
60186020 serialize: Serialize
60196021 set: Set
@@ -6061,14 +6063,14 @@ class Obj5:
60616063 unsigned: Unsigned
60626064 ushort: Ushort
60636065 using: Using
6064- var: Var
6065- virtual: Virtual
60666066
60676067 @staticmethod
60686068 def from_dict(obj: Any) -> 'Obj5':
60696069 assert isinstance(obj, dict)
6070+ sel = Sel.from_dict(obj["SEL"])
60706071 obj5_self = Self.from_dict(obj["Self"])
60716072 sendable = Sendable.from_dict(obj["Sendable"])
6073+ serialization_feature = SerializationFeature.from_dict(obj["SerializationFeature"])
60726074 serializer_provider = SerializerProvider.from_dict(obj["SerializerProvider"])
60736075 simple_module = SimpleModule.from_dict(obj["SimpleModule"])
60746076 standards = Standards.from_dict(obj["Standards"])
@@ -6079,10 +6081,10 @@ class Obj5:
60796081 time_zone = TimeZone.from_dict(obj["TimeZone"])
60806082 true = TrueClass.from_dict(obj["True"])
60816083 type = TypeClass.from_dict(obj["Type"])
6082- uuid = UUIDClass.from_dict(obj["UUID"])
60836084 utf8_json_reader = Utf8JSONReader.from_dict(obj["Utf8JsonReader"])
6084- utf8_json_writer = Utf8JSONWriter.from_dict(obj["Utf8JsonWriter"])
60856085 dummy = from_int(obj["dummy"])
6086+ sealed = Sealed.from_dict(obj["sealed"])
6087+ select = Select.from_dict(obj["select"])
60866088 purple_self = SelfClass.from_dict(obj["self"])
60876089 serialize = Serialize.from_dict(obj["serialize"])
60886090 set = Set.from_dict(obj["set"])
@@ -6130,14 +6132,14 @@ class Obj5:
61306132 unsigned = Unsigned.from_dict(obj["unsigned"])
61316133 ushort = Ushort.from_dict(obj["ushort"])
61326134 using = Using.from_dict(obj["using"])
6133- var = Var.from_dict(obj["var"])
6134- virtual = Virtual.from_dict(obj["virtual"])
6135- return Obj5(obj5_self, sendable, serializer_provider, simple_module, standards, std_deserializer, std_serializer, time_only, time_only_converter, time_zone, true, type, uuid, utf8_json_reader, utf8_json_writer, dummy, purple_self, serialize, set, short, signed, sizeof, stackalloc, static, static_assert, static_cast, strictfp, string, struct, subscript, super, switch, symbol, synchronized, system, template, then, this, thread_local, throw, throws, to_string, to_json, top_level, transient, obj5_true, obj5_try, obj5_type, typealias, typedef, typeid, typename, typeof, uint, ulong, unchecked, undefined, union, unowned, unsafe, unsigned, ushort, using, var, virtual)
6135+ return Obj5(sel, obj5_self, sendable, serialization_feature, serializer_provider, simple_module, standards, std_deserializer, std_serializer, time_only, time_only_converter, time_zone, true, type, utf8_json_reader, dummy, sealed, select, purple_self, serialize, set, short, signed, sizeof, stackalloc, static, static_assert, static_cast, strictfp, string, struct, subscript, super, switch, symbol, synchronized, system, template, then, this, thread_local, throw, throws, to_string, to_json, top_level, transient, obj5_true, obj5_try, obj5_type, typealias, typedef, typeid, typename, typeof, uint, ulong, unchecked, undefined, union, unowned, unsafe, unsigned, ushort, using)
61366136
61376137 def to_dict(self) -> dict:
61386138 result: dict = {}
6139+ result["SEL"] = to_class(Sel, self.sel)
61396140 result["Self"] = to_class(Self, self.obj5_self)
61406141 result["Sendable"] = to_class(Sendable, self.sendable)
6142+ result["SerializationFeature"] = to_class(SerializationFeature, self.serialization_feature)
61416143 result["SerializerProvider"] = to_class(SerializerProvider, self.serializer_provider)
61426144 result["SimpleModule"] = to_class(SimpleModule, self.simple_module)
61436145 result["Standards"] = to_class(Standards, self.standards)
@@ -6148,10 +6150,10 @@ class Obj5:
61486150 result["TimeZone"] = to_class(TimeZone, self.time_zone)
61496151 result["True"] = to_class(TrueClass, self.true)
61506152 result["Type"] = to_class(TypeClass, self.type)
6151- result["UUID"] = to_class(UUIDClass, self.uuid)
61526153 result["Utf8JsonReader"] = to_class(Utf8JSONReader, self.utf8_json_reader)
6153- result["Utf8JsonWriter"] = to_class(Utf8JSONWriter, self.utf8_json_writer)
61546154 result["dummy"] = from_int(self.dummy)
6155+ result["sealed"] = to_class(Sealed, self.sealed)
6156+ result["select"] = to_class(Select, self.select)
61556157 result["self"] = to_class(SelfClass, self.purple_self)
61566158 result["serialize"] = to_class(Serialize, self.serialize)
61576159 result["set"] = to_class(Set, self.set)
@@ -6199,8 +6201,6 @@ class Obj5:
61996201 result["unsigned"] = to_class(Unsigned, self.unsigned)
62006202 result["ushort"] = to_class(Ushort, self.ushort)
62016203 result["using"] = to_class(Using, self.using)
6202- result["var"] = to_class(Var, self.var)
6203- result["virtual"] = to_class(Virtual, self.virtual)
62046204 return result
62056205
62066206
@@ -6252,6 +6252,70 @@ class Yield:
62526252 return result
62536253
62546254
6255+@dataclass
6256+class Utf8JSONWriter:
6257+ utf8_json_writer: int
6258+
6259+ @staticmethod
6260+ def from_dict(obj: Any) -> 'Utf8JSONWriter':
6261+ assert isinstance(obj, dict)
6262+ utf8_json_writer = from_int(obj["Utf8JsonWriter"])
6263+ return Utf8JSONWriter(utf8_json_writer)
6264+
6265+ def to_dict(self) -> dict:
6266+ result: dict = {}
6267+ result["Utf8JsonWriter"] = from_int(self.utf8_json_writer)
6268+ return result
6269+
6270+
6271+@dataclass
6272+class UUIDClass:
6273+ uuid: int
6274+
6275+ @staticmethod
6276+ def from_dict(obj: Any) -> 'UUIDClass':
6277+ assert isinstance(obj, dict)
6278+ uuid = from_int(obj["UUID"])
6279+ return UUIDClass(uuid)
6280+
6281+ def to_dict(self) -> dict:
6282+ result: dict = {}
6283+ result["UUID"] = from_int(self.uuid)
6284+ return result
6285+
6286+
6287+@dataclass
6288+class Var:
6289+ var: int
6290+
6291+ @staticmethod
6292+ def from_dict(obj: Any) -> 'Var':
6293+ assert isinstance(obj, dict)
6294+ var = from_int(obj["var"])
6295+ return Var(var)
6296+
6297+ def to_dict(self) -> dict:
6298+ result: dict = {}
6299+ result["var"] = from_int(self.var)
6300+ return result
6301+
6302+
6303+@dataclass
6304+class Virtual:
6305+ virtual: int
6306+
6307+ @staticmethod
6308+ def from_dict(obj: Any) -> 'Virtual':
6309+ assert isinstance(obj, dict)
6310+ virtual = from_int(obj["virtual"])
6311+ return Virtual(virtual)
6312+
6313+ def to_dict(self) -> dict:
6314+ result: dict = {}
6315+ result["virtual"] = from_int(self.virtual)
6316+ return result
6317+
6318+
62556319 @dataclass
62566320 class Void:
62576321 void: int
@@ -6398,8 +6462,12 @@ class Yes:
63986462
63996463 @dataclass
64006464 class Obj6:
6465+ uuid: UUIDClass
6466+ utf8_json_writer: Utf8JSONWriter
64016467 yes: Yes
64026468 dummy: int
6469+ var: Var
6470+ virtual: Virtual
64036471 void: Void
64046472 volatile: Volatile
64056473 wchar_t: WcharT
@@ -6415,8 +6483,12 @@ class Obj6:
64156483 @staticmethod
64166484 def from_dict(obj: Any) -> 'Obj6':
64176485 assert isinstance(obj, dict)
6486+ uuid = UUIDClass.from_dict(obj["UUID"])
6487+ utf8_json_writer = Utf8JSONWriter.from_dict(obj["Utf8JsonWriter"])
64186488 yes = Yes.from_dict(obj["YES"])
64196489 dummy = from_int(obj["dummy"])
6490+ var = Var.from_dict(obj["var"])
6491+ virtual = Virtual.from_dict(obj["virtual"])
64206492 void = Void.from_dict(obj["void"])
64216493 volatile = Volatile.from_dict(obj["volatile"])
64226494 wchar_t = WcharT.from_dict(obj["wchar_t"])
@@ -6428,12 +6500,16 @@ class Obj6:
64286500 xor = Xor.from_dict(obj["xor"])
64296501 xor_eq = XorEq.from_dict(obj["xor_eq"])
64306502 obj6_yield = Yield.from_dict(obj["yield"])
6431- return Obj6(yes, dummy, void, volatile, wchar_t, weak, where, obj6_while, will_set, obj6_with, xor, xor_eq, obj6_yield)
6503+ return Obj6(uuid, utf8_json_writer, yes, dummy, var, virtual, void, volatile, wchar_t, weak, where, obj6_while, will_set, obj6_with, xor, xor_eq, obj6_yield)
64326504
64336505 def to_dict(self) -> dict:
64346506 result: dict = {}
6507+ result["UUID"] = to_class(UUIDClass, self.uuid)
6508+ result["Utf8JsonWriter"] = to_class(Utf8JSONWriter, self.utf8_json_writer)
64356509 result["YES"] = to_class(Yes, self.yes)
64366510 result["dummy"] = from_int(self.dummy)
6511+ result["var"] = to_class(Var, self.var)
6512+ result["virtual"] = to_class(Virtual, self.virtual)
64376513 result["void"] = to_class(Void, self.void)
64386514 result["volatile"] = to_class(Volatile, self.volatile)
64396515 result["wchar_t"] = to_class(WcharT, self.wchar_t)
Mrubydefault / TopLevel.rb+737 −625
@@ -2289,6 +2289,31 @@ class Delete < Dry::Struct
22892289 end
22902290 end
22912291
2292+class DeserializationFeature < Dry::Struct
2293+ attribute :deserialization_feature, Types::Integer
2294+
2295+ def self.from_dynamic!(d)
2296+ d = Types::Hash[d]
2297+ new(
2298+ deserialization_feature: d.fetch("DeserializationFeature"),
2299+ )
2300+ end
2301+
2302+ def self.from_json!(json)
2303+ from_dynamic!(JSON.parse(json))
2304+ end
2305+
2306+ def to_dynamic
2307+ {
2308+ "DeserializationFeature" => deserialization_feature,
2309+ }
2310+ end
2311+
2312+ def to_json(options = nil)
2313+ JSON.generate(to_dynamic, options)
2314+ end
2315+end
2316+
22922317 class Dict < Dry::Struct
22932318 attribute :dict, Types::Integer
22942319
@@ -3244,31 +3269,6 @@ class Go < Dry::Struct
32443269 end
32453270 end
32463271
3247-class Goto < Dry::Struct
3248- attribute :goto, Types::Integer
3249-
3250- def self.from_dynamic!(d)
3251- d = Types::Hash[d]
3252- new(
3253- goto: d.fetch("goto"),
3254- )
3255- end
3256-
3257- def self.from_json!(json)
3258- from_dynamic!(JSON.parse(json))
3259- end
3260-
3261- def to_dynamic
3262- {
3263- "goto" => goto,
3264- }
3265- end
3266-
3267- def to_json(options = nil)
3268- JSON.generate(to_dynamic, options)
3269- end
3270-end
3271-
32723272 class Def < Dry::Struct
32733273 attribute :def_def, Types::Integer
32743274
@@ -3445,214 +3445,239 @@ class For < Dry::Struct
34453445 end
34463446
34473447 class Obj2 < Dry::Struct
3448- attribute :date_formatter, DateFormatter
3449- attribute :date_only, DateOnly
3450- attribute :date_only_converter, DateOnlyConverter
3451- attribute :date_parse_handling, DateParseHandling
3452- attribute :date_time, DateTimeClass
3453- attribute :date_time_styles, DateTimeStyles
3454- attribute :debugger, Debugger
3455- attribute :decimal, Decimal
3456- attribute :declare, Declare
3457- attribute :decltype, Decltype
3458- attribute :decode_string, DecodeString
3459- attribute :decoder, Decoder
3460- attribute :decoding_error, DecodingError
3461- attribute :defer, Defer
3462- attribute :deinit, Deinit
3463- attribute :del, Del
3464- attribute :delegate, Delegate
3465- attribute :delete, Delete
3466- attribute :dict, Dict
3467- attribute :dictionary, Dictionary
3468- attribute :did_set, DidSet
3469- attribute :double, Double
3470- attribute :dummy, Types::Integer
3471- attribute :dynamic, Dynamic
3472- attribute :dynamic_cast, DynamicCast
3473- attribute :elif, Elif
3474- attribute :encode_quick_type, EncodeQuickType
3475- attribute :encoder, Encoder
3476- attribute :enum_values, EnumValues
3477- attribute :equality_contract, EqualityContract
3478- attribute :equatable, Equatable
3479- attribute :event, Event
3480- attribute :except, Except
3481- attribute :exception, ExceptionClass
3482- attribute :explicit, Explicit
3483- attribute :export, Export
3484- attribute :exposing, Exposing
3485- attribute :extends, Extends
3486- attribute :extension, Extension
3487- attribute :extern, Extern
3488- attribute :fallthrough, Fallthrough
3489- attribute :false_1, Obj2False
3490- attribute :fileprivate, Fileprivate
3491- attribute :final, Final
3492- attribute :finally, Finally
3493- attribute :fixed, Fixed
3494- attribute :float, FloatClass
3495- attribute :foreach, Foreach
3496- attribute :format_exception, FormatException
3497- attribute :friend, Friend
3498- attribute :from, From
3499- attribute :from_json, FromJSON
3500- attribute :func, Func
3501- attribute :function, Function
3502- attribute :get, Get
3503- attribute :global, Global
3504- attribute :go, Go
3505- attribute :goto, Goto
3506- attribute :obj2_def, Def
3507- attribute :obj2_default, Default
3508- attribute :obj2_do, Do
3509- attribute :obj2_else, Else
3510- attribute :obj2_enum, Enum
3511- attribute :obj2_false, False
3512- attribute :obj2_for, For
3513-
3514- def self.from_dynamic!(d)
3515- d = Types::Hash[d]
3516- new(
3517- date_formatter: DateFormatter.from_dynamic!(d.fetch("DateFormatter")),
3518- date_only: DateOnly.from_dynamic!(d.fetch("DateOnly")),
3519- date_only_converter: DateOnlyConverter.from_dynamic!(d.fetch("DateOnlyConverter")),
3520- date_parse_handling: DateParseHandling.from_dynamic!(d.fetch("date_parse_handling")),
3521- date_time: DateTimeClass.from_dynamic!(d.fetch("DateTime")),
3522- date_time_styles: DateTimeStyles.from_dynamic!(d.fetch("DateTimeStyles")),
3523- debugger: Debugger.from_dynamic!(d.fetch("debugger")),
3524- decimal: Decimal.from_dynamic!(d.fetch("decimal")),
3525- declare: Declare.from_dynamic!(d.fetch("declare")),
3526- decltype: Decltype.from_dynamic!(d.fetch("decltype")),
3527- decode_string: DecodeString.from_dynamic!(d.fetch("decode_string")),
3528- decoder: Decoder.from_dynamic!(d.fetch("Decoder")),
3529- decoding_error: DecodingError.from_dynamic!(d.fetch("DecodingError")),
3530- defer: Defer.from_dynamic!(d.fetch("defer")),
3531- deinit: Deinit.from_dynamic!(d.fetch("deinit")),
3532- del: Del.from_dynamic!(d.fetch("del")),
3533- delegate: Delegate.from_dynamic!(d.fetch("delegate")),
3534- delete: Delete.from_dynamic!(d.fetch("delete")),
3535- dict: Dict.from_dynamic!(d.fetch("dict")),
3536- dictionary: Dictionary.from_dynamic!(d.fetch("dictionary")),
3537- did_set: DidSet.from_dynamic!(d.fetch("didSet")),
3538- double: Double.from_dynamic!(d.fetch("double")),
3539- dummy: d.fetch("dummy"),
3540- dynamic: Dynamic.from_dynamic!(d.fetch("dynamic")),
3541- dynamic_cast: DynamicCast.from_dynamic!(d.fetch("dynamic_cast")),
3542- elif: Elif.from_dynamic!(d.fetch("elif")),
3543- encode_quick_type: EncodeQuickType.from_dynamic!(d.fetch("encode_quick_type")),
3544- encoder: Encoder.from_dynamic!(d.fetch("Encoder")),
3545- enum_values: EnumValues.from_dynamic!(d.fetch("EnumValues")),
3546- equality_contract: EqualityContract.from_dynamic!(d.fetch("equalityContract")),
3547- equatable: Equatable.from_dynamic!(d.fetch("Equatable")),
3548- event: Event.from_dynamic!(d.fetch("event")),
3549- except: Except.from_dynamic!(d.fetch("except")),
3550- exception: ExceptionClass.from_dynamic!(d.fetch("exception")),
3551- explicit: Explicit.from_dynamic!(d.fetch("explicit")),
3552- export: Export.from_dynamic!(d.fetch("export")),
3553- exposing: Exposing.from_dynamic!(d.fetch("exposing")),
3554- extends: Extends.from_dynamic!(d.fetch("extends")),
3555- extension: Extension.from_dynamic!(d.fetch("extension")),
3556- extern: Extern.from_dynamic!(d.fetch("extern")),
3557- fallthrough: Fallthrough.from_dynamic!(d.fetch("fallthrough")),
3558- false_1: Obj2False.from_dynamic!(d.fetch("false")),
3559- fileprivate: Fileprivate.from_dynamic!(d.fetch("fileprivate")),
3560- final: Final.from_dynamic!(d.fetch("final")),
3561- finally: Finally.from_dynamic!(d.fetch("finally")),
3562- fixed: Fixed.from_dynamic!(d.fetch("fixed")),
3563- float: FloatClass.from_dynamic!(d.fetch("float")),
3564- foreach: Foreach.from_dynamic!(d.fetch("foreach")),
3565- format_exception: FormatException.from_dynamic!(d.fetch("FormatException")),
3566- friend: Friend.from_dynamic!(d.fetch("friend")),
3567- from: From.from_dynamic!(d.fetch("from")),
3568- from_json: FromJSON.from_dynamic!(d.fetch("from_json")),
3569- func: Func.from_dynamic!(d.fetch("func")),
3570- function: Function.from_dynamic!(d.fetch("function")),
3571- get: Get.from_dynamic!(d.fetch("get")),
3572- global: Global.from_dynamic!(d.fetch("global")),
3573- go: Go.from_dynamic!(d.fetch("go")),
3574- goto: Goto.from_dynamic!(d.fetch("goto")),
3575- obj2_def: Def.from_dynamic!(d.fetch("def")),
3576- obj2_default: Default.from_dynamic!(d.fetch("default")),
3577- obj2_do: Do.from_dynamic!(d.fetch("do")),
3578- obj2_else: Else.from_dynamic!(d.fetch("else")),
3579- obj2_enum: Enum.from_dynamic!(d.fetch("enum")),
3580- obj2_false: False.from_dynamic!(d.fetch("False")),
3581- obj2_for: For.from_dynamic!(d.fetch("for")),
3582- )
3583- end
3584-
3585- def self.from_json!(json)
3586- from_dynamic!(JSON.parse(json))
3587- end
3588-
3589- def to_dynamic
3590- {
3591- "DateFormatter" => date_formatter.to_dynamic,
3592- "DateOnly" => date_only.to_dynamic,
3593- "DateOnlyConverter" => date_only_converter.to_dynamic,
3594- "date_parse_handling" => date_parse_handling.to_dynamic,
3595- "DateTime" => date_time.to_dynamic,
3596- "DateTimeStyles" => date_time_styles.to_dynamic,
3597- "debugger" => debugger.to_dynamic,
3598- "decimal" => decimal.to_dynamic,
3599- "declare" => declare.to_dynamic,
3600- "decltype" => decltype.to_dynamic,
3601- "decode_string" => decode_string.to_dynamic,
3602- "Decoder" => decoder.to_dynamic,
3603- "DecodingError" => decoding_error.to_dynamic,
3604- "defer" => defer.to_dynamic,
3605- "deinit" => deinit.to_dynamic,
3606- "del" => del.to_dynamic,
3607- "delegate" => delegate.to_dynamic,
3608- "delete" => delete.to_dynamic,
3609- "dict" => dict.to_dynamic,
3610- "dictionary" => dictionary.to_dynamic,
3611- "didSet" => did_set.to_dynamic,
3612- "double" => double.to_dynamic,
3613- "dummy" => dummy,
3614- "dynamic" => dynamic.to_dynamic,
3615- "dynamic_cast" => dynamic_cast.to_dynamic,
3616- "elif" => elif.to_dynamic,
3617- "encode_quick_type" => encode_quick_type.to_dynamic,
3618- "Encoder" => encoder.to_dynamic,
3619- "EnumValues" => enum_values.to_dynamic,
3620- "equalityContract" => equality_contract.to_dynamic,
3621- "Equatable" => equatable.to_dynamic,
3622- "event" => event.to_dynamic,
3623- "except" => except.to_dynamic,
3624- "exception" => exception.to_dynamic,
3625- "explicit" => explicit.to_dynamic,
3626- "export" => export.to_dynamic,
3627- "exposing" => exposing.to_dynamic,
3628- "extends" => extends.to_dynamic,
3629- "extension" => extension.to_dynamic,
3630- "extern" => extern.to_dynamic,
3631- "fallthrough" => fallthrough.to_dynamic,
3632- "false" => false_1.to_dynamic,
3633- "fileprivate" => fileprivate.to_dynamic,
3634- "final" => final.to_dynamic,
3635- "finally" => finally.to_dynamic,
3636- "fixed" => fixed.to_dynamic,
3637- "float" => float.to_dynamic,
3638- "foreach" => foreach.to_dynamic,
3639- "FormatException" => format_exception.to_dynamic,
3640- "friend" => friend.to_dynamic,
3641- "from" => from.to_dynamic,
3642- "from_json" => from_json.to_dynamic,
3643- "func" => func.to_dynamic,
3644- "function" => function.to_dynamic,
3645- "get" => get.to_dynamic,
3646- "global" => global.to_dynamic,
3647- "go" => go.to_dynamic,
3648- "goto" => goto.to_dynamic,
3649- "def" => obj2_def.to_dynamic,
3650- "default" => obj2_default.to_dynamic,
3651- "do" => obj2_do.to_dynamic,
3652- "else" => obj2_else.to_dynamic,
3653- "enum" => obj2_enum.to_dynamic,
3654- "False" => obj2_false.to_dynamic,
3655- "for" => obj2_for.to_dynamic,
3448+ attribute :date_formatter, DateFormatter
3449+ attribute :date_only, DateOnly
3450+ attribute :date_only_converter, DateOnlyConverter
3451+ attribute :date_parse_handling, DateParseHandling
3452+ attribute :date_time, DateTimeClass
3453+ attribute :date_time_styles, DateTimeStyles
3454+ attribute :debugger, Debugger
3455+ attribute :decimal, Decimal
3456+ attribute :declare, Declare
3457+ attribute :decltype, Decltype
3458+ attribute :decode_string, DecodeString
3459+ attribute :decoder, Decoder
3460+ attribute :decoding_error, DecodingError
3461+ attribute :defer, Defer
3462+ attribute :deinit, Deinit
3463+ attribute :del, Del
3464+ attribute :delegate, Delegate
3465+ attribute :delete, Delete
3466+ attribute :deserialization_feature, DeserializationFeature
3467+ attribute :dict, Dict
3468+ attribute :dictionary, Dictionary
3469+ attribute :did_set, DidSet
3470+ attribute :double, Double
3471+ attribute :dummy, Types::Integer
3472+ attribute :dynamic, Dynamic
3473+ attribute :dynamic_cast, DynamicCast
3474+ attribute :elif, Elif
3475+ attribute :encode_quick_type, EncodeQuickType
3476+ attribute :encoder, Encoder
3477+ attribute :enum_values, EnumValues
3478+ attribute :equality_contract, EqualityContract
3479+ attribute :equatable, Equatable
3480+ attribute :event, Event
3481+ attribute :except, Except
3482+ attribute :exception, ExceptionClass
3483+ attribute :explicit, Explicit
3484+ attribute :export, Export
3485+ attribute :exposing, Exposing
3486+ attribute :extends, Extends
3487+ attribute :extension, Extension
3488+ attribute :extern, Extern
3489+ attribute :fallthrough, Fallthrough
3490+ attribute :false_1, Obj2False
3491+ attribute :fileprivate, Fileprivate
3492+ attribute :final, Final
3493+ attribute :finally, Finally
3494+ attribute :fixed, Fixed
3495+ attribute :float, FloatClass
3496+ attribute :foreach, Foreach
3497+ attribute :format_exception, FormatException
3498+ attribute :friend, Friend
3499+ attribute :from, From
3500+ attribute :from_json, FromJSON
3501+ attribute :func, Func
3502+ attribute :function, Function
3503+ attribute :get, Get
3504+ attribute :global, Global
3505+ attribute :go, Go
3506+ attribute :obj2_def, Def
3507+ attribute :obj2_default, Default
3508+ attribute :obj2_do, Do
3509+ attribute :obj2_else, Else
3510+ attribute :obj2_enum, Enum
3511+ attribute :obj2_false, False
3512+ attribute :obj2_for, For
3513+
3514+ def self.from_dynamic!(d)
3515+ d = Types::Hash[d]
3516+ new(
3517+ date_formatter: DateFormatter.from_dynamic!(d.fetch("DateFormatter")),
3518+ date_only: DateOnly.from_dynamic!(d.fetch("DateOnly")),
3519+ date_only_converter: DateOnlyConverter.from_dynamic!(d.fetch("DateOnlyConverter")),
3520+ date_parse_handling: DateParseHandling.from_dynamic!(d.fetch("date_parse_handling")),
3521+ date_time: DateTimeClass.from_dynamic!(d.fetch("DateTime")),
3522+ date_time_styles: DateTimeStyles.from_dynamic!(d.fetch("DateTimeStyles")),
3523+ debugger: Debugger.from_dynamic!(d.fetch("debugger")),
3524+ decimal: Decimal.from_dynamic!(d.fetch("decimal")),
3525+ declare: Declare.from_dynamic!(d.fetch("declare")),
3526+ decltype: Decltype.from_dynamic!(d.fetch("decltype")),
3527+ decode_string: DecodeString.from_dynamic!(d.fetch("decode_string")),
3528+ decoder: Decoder.from_dynamic!(d.fetch("Decoder")),
3529+ decoding_error: DecodingError.from_dynamic!(d.fetch("DecodingError")),
3530+ defer: Defer.from_dynamic!(d.fetch("defer")),
3531+ deinit: Deinit.from_dynamic!(d.fetch("deinit")),
3532+ del: Del.from_dynamic!(d.fetch("del")),
3533+ delegate: Delegate.from_dynamic!(d.fetch("delegate")),
3534+ delete: Delete.from_dynamic!(d.fetch("delete")),
3535+ deserialization_feature: DeserializationFeature.from_dynamic!(d.fetch("DeserializationFeature")),
3536+ dict: Dict.from_dynamic!(d.fetch("dict")),
3537+ dictionary: Dictionary.from_dynamic!(d.fetch("dictionary")),
3538+ did_set: DidSet.from_dynamic!(d.fetch("didSet")),
3539+ double: Double.from_dynamic!(d.fetch("double")),
3540+ dummy: d.fetch("dummy"),
3541+ dynamic: Dynamic.from_dynamic!(d.fetch("dynamic")),
3542+ dynamic_cast: DynamicCast.from_dynamic!(d.fetch("dynamic_cast")),
3543+ elif: Elif.from_dynamic!(d.fetch("elif")),
3544+ encode_quick_type: EncodeQuickType.from_dynamic!(d.fetch("encode_quick_type")),
3545+ encoder: Encoder.from_dynamic!(d.fetch("Encoder")),
3546+ enum_values: EnumValues.from_dynamic!(d.fetch("EnumValues")),
3547+ equality_contract: EqualityContract.from_dynamic!(d.fetch("equalityContract")),
3548+ equatable: Equatable.from_dynamic!(d.fetch("Equatable")),
3549+ event: Event.from_dynamic!(d.fetch("event")),
3550+ except: Except.from_dynamic!(d.fetch("except")),
3551+ exception: ExceptionClass.from_dynamic!(d.fetch("exception")),
3552+ explicit: Explicit.from_dynamic!(d.fetch("explicit")),
3553+ export: Export.from_dynamic!(d.fetch("export")),
3554+ exposing: Exposing.from_dynamic!(d.fetch("exposing")),
3555+ extends: Extends.from_dynamic!(d.fetch("extends")),
3556+ extension: Extension.from_dynamic!(d.fetch("extension")),
3557+ extern: Extern.from_dynamic!(d.fetch("extern")),
3558+ fallthrough: Fallthrough.from_dynamic!(d.fetch("fallthrough")),
3559+ false_1: Obj2False.from_dynamic!(d.fetch("false")),
3560+ fileprivate: Fileprivate.from_dynamic!(d.fetch("fileprivate")),
3561+ final: Final.from_dynamic!(d.fetch("final")),
3562+ finally: Finally.from_dynamic!(d.fetch("finally")),
3563+ fixed: Fixed.from_dynamic!(d.fetch("fixed")),
3564+ float: FloatClass.from_dynamic!(d.fetch("float")),
3565+ foreach: Foreach.from_dynamic!(d.fetch("foreach")),
3566+ format_exception: FormatException.from_dynamic!(d.fetch("FormatException")),
3567+ friend: Friend.from_dynamic!(d.fetch("friend")),
3568+ from: From.from_dynamic!(d.fetch("from")),
3569+ from_json: FromJSON.from_dynamic!(d.fetch("from_json")),
3570+ func: Func.from_dynamic!(d.fetch("func")),
3571+ function: Function.from_dynamic!(d.fetch("function")),
3572+ get: Get.from_dynamic!(d.fetch("get")),
3573+ global: Global.from_dynamic!(d.fetch("global")),
3574+ go: Go.from_dynamic!(d.fetch("go")),
3575+ obj2_def: Def.from_dynamic!(d.fetch("def")),
3576+ obj2_default: Default.from_dynamic!(d.fetch("default")),
3577+ obj2_do: Do.from_dynamic!(d.fetch("do")),
3578+ obj2_else: Else.from_dynamic!(d.fetch("else")),
3579+ obj2_enum: Enum.from_dynamic!(d.fetch("enum")),
3580+ obj2_false: False.from_dynamic!(d.fetch("False")),
3581+ obj2_for: For.from_dynamic!(d.fetch("for")),
3582+ )
3583+ end
3584+
3585+ def self.from_json!(json)
3586+ from_dynamic!(JSON.parse(json))
3587+ end
3588+
3589+ def to_dynamic
3590+ {
3591+ "DateFormatter" => date_formatter.to_dynamic,
3592+ "DateOnly" => date_only.to_dynamic,
3593+ "DateOnlyConverter" => date_only_converter.to_dynamic,
3594+ "date_parse_handling" => date_parse_handling.to_dynamic,
3595+ "DateTime" => date_time.to_dynamic,
3596+ "DateTimeStyles" => date_time_styles.to_dynamic,
3597+ "debugger" => debugger.to_dynamic,
3598+ "decimal" => decimal.to_dynamic,
3599+ "declare" => declare.to_dynamic,
3600+ "decltype" => decltype.to_dynamic,
3601+ "decode_string" => decode_string.to_dynamic,
3602+ "Decoder" => decoder.to_dynamic,
3603+ "DecodingError" => decoding_error.to_dynamic,
3604+ "defer" => defer.to_dynamic,
3605+ "deinit" => deinit.to_dynamic,
3606+ "del" => del.to_dynamic,
3607+ "delegate" => delegate.to_dynamic,
3608+ "delete" => delete.to_dynamic,
3609+ "DeserializationFeature" => deserialization_feature.to_dynamic,
3610+ "dict" => dict.to_dynamic,
3611+ "dictionary" => dictionary.to_dynamic,
3612+ "didSet" => did_set.to_dynamic,
3613+ "double" => double.to_dynamic,
3614+ "dummy" => dummy,
3615+ "dynamic" => dynamic.to_dynamic,
3616+ "dynamic_cast" => dynamic_cast.to_dynamic,
3617+ "elif" => elif.to_dynamic,
3618+ "encode_quick_type" => encode_quick_type.to_dynamic,
3619+ "Encoder" => encoder.to_dynamic,
3620+ "EnumValues" => enum_values.to_dynamic,
3621+ "equalityContract" => equality_contract.to_dynamic,
3622+ "Equatable" => equatable.to_dynamic,
3623+ "event" => event.to_dynamic,
3624+ "except" => except.to_dynamic,
3625+ "exception" => exception.to_dynamic,
3626+ "explicit" => explicit.to_dynamic,
3627+ "export" => export.to_dynamic,
3628+ "exposing" => exposing.to_dynamic,
3629+ "extends" => extends.to_dynamic,
3630+ "extension" => extension.to_dynamic,
3631+ "extern" => extern.to_dynamic,
3632+ "fallthrough" => fallthrough.to_dynamic,
3633+ "false" => false_1.to_dynamic,
3634+ "fileprivate" => fileprivate.to_dynamic,
3635+ "final" => final.to_dynamic,
3636+ "finally" => finally.to_dynamic,
3637+ "fixed" => fixed.to_dynamic,
3638+ "float" => float.to_dynamic,
3639+ "foreach" => foreach.to_dynamic,
3640+ "FormatException" => format_exception.to_dynamic,
3641+ "friend" => friend.to_dynamic,
3642+ "from" => from.to_dynamic,
3643+ "from_json" => from_json.to_dynamic,
3644+ "func" => func.to_dynamic,
3645+ "function" => function.to_dynamic,
3646+ "get" => get.to_dynamic,
3647+ "global" => global.to_dynamic,
3648+ "go" => go.to_dynamic,
3649+ "def" => obj2_def.to_dynamic,
3650+ "default" => obj2_default.to_dynamic,
3651+ "do" => obj2_do.to_dynamic,
3652+ "else" => obj2_else.to_dynamic,
3653+ "enum" => obj2_enum.to_dynamic,
3654+ "False" => obj2_false.to_dynamic,
3655+ "for" => obj2_for.to_dynamic,
3656+ }
3657+ end
3658+
3659+ def to_json(options = nil)
3660+ JSON.generate(to_dynamic, options)
3661+ end
3662+end
3663+
3664+class Goto < Dry::Struct
3665+ attribute :goto, Types::Integer
3666+
3667+ def self.from_dynamic!(d)
3668+ d = Types::Hash[d]
3669+ new(
3670+ goto: d.fetch("goto"),
3671+ )
3672+ end
3673+
3674+ def self.from_json!(json)
3675+ from_dynamic!(JSON.parse(json))
3676+ end
3677+
3678+ def to_dynamic
3679+ {
3680+ "goto" => goto,
36563681 }
36573682 end
36583683
@@ -5086,31 +5111,6 @@ class No < Dry::Struct
50865111 end
50875112 end
50885113
5089-class Noexcept < Dry::Struct
5090- attribute :noexcept, Types::Integer
5091-
5092- def self.from_dynamic!(d)
5093- d = Types::Hash[d]
5094- new(
5095- noexcept: d.fetch("noexcept"),
5096- )
5097- end
5098-
5099- def self.from_json!(json)
5100- from_dynamic!(JSON.parse(json))
5101- end
5102-
5103- def to_dynamic
5104- {
5105- "noexcept" => noexcept,
5106- }
5107- end
5108-
5109- def to_json(options = nil)
5110- JSON.generate(to_dynamic, options)
5111- end
5112-end
5113-
51145114 class If < Dry::Struct
51155115 attribute :if_if, Types::Integer
51165116
@@ -5263,6 +5263,7 @@ end
52635263
52645264 class Obj3 < Dry::Struct
52655265 attribute :dummy, Types::Integer
5266+ attribute :goto, Goto
52665267 attribute :guard, Guard
52675268 attribute :has_own_property, HasOwnProperty
52685269 attribute :hash_code, HashCode
@@ -5320,7 +5321,6 @@ class Obj3 < Dry::Struct
53205321 attribute :native, Native
53215322 attribute :newtonsoft, Newtonsoft
53225323 attribute :no, No
5323- attribute :noexcept, Noexcept
53245324 attribute :obj3_if, If
53255325 attribute :obj3_in, In
53265326 attribute :obj3_lambda, Lambda
@@ -5332,6 +5332,7 @@ class Obj3 < Dry::Struct
53325332 d = Types::Hash[d]
53335333 new(
53345334 dummy: d.fetch("dummy"),
5335+ goto: Goto.from_dynamic!(d.fetch("goto")),
53355336 guard: Guard.from_dynamic!(d.fetch("guard")),
53365337 has_own_property: HasOwnProperty.from_dynamic!(d.fetch("hasOwnProperty")),
53375338 hash_code: HashCode.from_dynamic!(d.fetch("hashCode")),
@@ -5389,7 +5390,6 @@ class Obj3 < Dry::Struct
53895390 native: Native.from_dynamic!(d.fetch("native")),
53905391 newtonsoft: Newtonsoft.from_dynamic!(d.fetch("newtonsoft")),
53915392 no: No.from_dynamic!(d.fetch("NO")),
5392- noexcept: Noexcept.from_dynamic!(d.fetch("noexcept")),
53935393 obj3_if: If.from_dynamic!(d.fetch("if")),
53945394 obj3_in: In.from_dynamic!(d.fetch("in")),
53955395 obj3_lambda: Lambda.from_dynamic!(d.fetch("lambda")),
@@ -5406,6 +5406,7 @@ class Obj3 < Dry::Struct
54065406 def to_dynamic
54075407 {
54085408 "dummy" => dummy,
5409+ "goto" => goto.to_dynamic,
54095410 "guard" => guard.to_dynamic,
54105411 "hasOwnProperty" => has_own_property.to_dynamic,
54115412 "hashCode" => hash_code.to_dynamic,
@@ -5463,7 +5464,6 @@ class Obj3 < Dry::Struct
54635464 "native" => native.to_dynamic,
54645465 "newtonsoft" => newtonsoft.to_dynamic,
54655466 "NO" => no.to_dynamic,
5466- "noexcept" => noexcept.to_dynamic,
54675467 "if" => obj3_if.to_dynamic,
54685468 "in" => obj3_in.to_dynamic,
54695469 "lambda" => obj3_lambda.to_dynamic,
@@ -5503,6 +5503,31 @@ class NoSuchMethod < Dry::Struct
55035503 end
55045504 end
55055505
5506+class Noexcept < Dry::Struct
5507+ attribute :noexcept, Types::Integer
5508+
5509+ def self.from_dynamic!(d)
5510+ d = Types::Hash[d]
5511+ new(
5512+ noexcept: d.fetch("noexcept"),
5513+ )
5514+ end
5515+
5516+ def self.from_json!(json)
5517+ from_dynamic!(JSON.parse(json))
5518+ end
5519+
5520+ def to_dynamic
5521+ {
5522+ "noexcept" => noexcept,
5523+ }
5524+ end
5525+
5526+ def to_json(options = nil)
5527+ JSON.generate(to_dynamic, options)
5528+ end
5529+end
5530+
55065531 class Nonatomic < Dry::Struct
55075532 attribute :nonatomic, Types::Integer
55085533
@@ -6078,13 +6103,13 @@ class Return < Dry::Struct
60786103 end
60796104 end
60806105
6081-class Select < Dry::Struct
6082- attribute :select_select, Types::Integer
6106+class ObjectClass < Dry::Struct
6107+ attribute :object, Types::Integer
60836108
60846109 def self.from_dynamic!(d)
60856110 d = Types::Hash[d]
60866111 new(
6087- select_select: d.fetch("select"),
6112+ object: d.fetch("object"),
60886113 )
60896114 end
60906115
@@ -6094,7 +6119,7 @@ class Select < Dry::Struct
60946119
60956120 def to_dynamic
60966121 {
6097- "select" => select_select,
6122+ "object" => object,
60986123 }
60996124 end
61006125
@@ -6103,13 +6128,13 @@ class Select < Dry::Struct
61036128 end
61046129 end
61056130
6106-class ObjectClass < Dry::Struct
6107- attribute :object, Types::Integer
6131+class ObjectMapper < Dry::Struct
6132+ attribute :object_mapper, Types::Integer
61086133
61096134 def self.from_dynamic!(d)
61106135 d = Types::Hash[d]
61116136 new(
6112- object: d.fetch("object"),
6137+ object_mapper: d.fetch("ObjectMapper"),
61136138 )
61146139 end
61156140
@@ -6119,7 +6144,7 @@ class ObjectClass < Dry::Struct
61196144
61206145 def to_dynamic
61216146 {
6122- "object" => object,
6147+ "ObjectMapper" => object_mapper,
61236148 }
61246149 end
61256150
@@ -6128,13 +6153,13 @@ class ObjectClass < Dry::Struct
61286153 end
61296154 end
61306155
6131-class ObjectMapper < Dry::Struct
6132- attribute :object_mapper, Types::Integer
6156+class ObjectReader < Dry::Struct
6157+ attribute :object_reader, Types::Integer
61336158
61346159 def self.from_dynamic!(d)
61356160 d = Types::Hash[d]
61366161 new(
6137- object_mapper: d.fetch("ObjectMapper"),
6162+ object_reader: d.fetch("ObjectReader"),
61386163 )
61396164 end
61406165
@@ -6144,7 +6169,32 @@ class ObjectMapper < Dry::Struct
61446169
61456170 def to_dynamic
61466171 {
6147- "ObjectMapper" => object_mapper,
6172+ "ObjectReader" => object_reader,
6173+ }
6174+ end
6175+
6176+ def to_json(options = nil)
6177+ JSON.generate(to_dynamic, options)
6178+ end
6179+end
6180+
6181+class ObjectWriter < Dry::Struct
6182+ attribute :object_writer, Types::Integer
6183+
6184+ def self.from_dynamic!(d)
6185+ d = Types::Hash[d]
6186+ new(
6187+ object_writer: d.fetch("ObjectWriter"),
6188+ )
6189+ end
6190+
6191+ def self.from_json!(json)
6192+ from_dynamic!(JSON.parse(json))
6193+ end
6194+
6195+ def to_dynamic
6196+ {
6197+ "ObjectWriter" => object_writer,
61486198 }
61496199 end
61506200
@@ -7028,59 +7078,10 @@ class Sbyte < Dry::Struct
70287078 end
70297079 end
70307080
7031-class Sealed < Dry::Struct
7032- attribute :sealed, Types::Integer
7033-
7034- def self.from_dynamic!(d)
7035- d = Types::Hash[d]
7036- new(
7037- sealed: d.fetch("sealed"),
7038- )
7039- end
7040-
7041- def self.from_json!(json)
7042- from_dynamic!(JSON.parse(json))
7043- end
7044-
7045- def to_dynamic
7046- {
7047- "sealed" => sealed,
7048- }
7049- end
7050-
7051- def to_json(options = nil)
7052- JSON.generate(to_dynamic, options)
7053- end
7054-end
7055-
7056-class Sel < Dry::Struct
7057- attribute :sel, Types::Integer
7058-
7059- def self.from_dynamic!(d)
7060- d = Types::Hash[d]
7061- new(
7062- sel: d.fetch("SEL"),
7063- )
7064- end
7065-
7066- def self.from_json!(json)
7067- from_dynamic!(JSON.parse(json))
7068- end
7069-
7070- def to_dynamic
7071- {
7072- "SEL" => sel,
7073- }
7074- end
7075-
7076- def to_json(options = nil)
7077- JSON.generate(to_dynamic, options)
7078- end
7079-end
7080-
70817081 class Obj4 < Dry::Struct
70827082 attribute :dummy, Types::Integer
70837083 attribute :no_such_method, NoSuchMethod
7084+ attribute :noexcept, Noexcept
70847085 attribute :nonatomic, Nonatomic
70857086 attribute :none, None
70867087 attribute :nonlocal, Nonlocal
@@ -7104,9 +7105,10 @@ class Obj4 < Dry::Struct
71047105 attribute :obj4_raise, Raise
71057106 attribute :obj4_require, Require
71067107 attribute :obj4_return, Return
7107- attribute :obj4_select, Select
71087108 attribute :object, ObjectClass
71097109 attribute :object_mapper, ObjectMapper
7110+ attribute :object_reader, ObjectReader
7111+ attribute :object_writer, ObjectWriter
71107112 attribute :of, Of
71117113 attribute :oneway, Oneway
71127114 attribute :operator, Operator
@@ -7142,14 +7144,13 @@ class Obj4 < Dry::Struct
71427144 attribute :runtime_type, RuntimeType
71437145 attribute :s, S
71447146 attribute :sbyte, Sbyte
7145- attribute :sealed, Sealed
7146- attribute :sel, Sel
71477147
71487148 def self.from_dynamic!(d)
71497149 d = Types::Hash[d]
71507150 new(
71517151 dummy: d.fetch("dummy"),
71527152 no_such_method: NoSuchMethod.from_dynamic!(d.fetch("noSuchMethod")),
7153+ noexcept: Noexcept.from_dynamic!(d.fetch("noexcept")),
71537154 nonatomic: Nonatomic.from_dynamic!(d.fetch("nonatomic")),
71547155 none: None.from_dynamic!(d.fetch("None")),
71557156 nonlocal: Nonlocal.from_dynamic!(d.fetch("nonlocal")),
@@ -7173,9 +7174,10 @@ class Obj4 < Dry::Struct
71737174 obj4_raise: Raise.from_dynamic!(d.fetch("raise")),
71747175 obj4_require: Require.from_dynamic!(d.fetch("require")),
71757176 obj4_return: Return.from_dynamic!(d.fetch("return")),
7176- obj4_select: Select.from_dynamic!(d.fetch("select")),
71777177 object: ObjectClass.from_dynamic!(d.fetch("object")),
71787178 object_mapper: ObjectMapper.from_dynamic!(d.fetch("ObjectMapper")),
7179+ object_reader: ObjectReader.from_dynamic!(d.fetch("ObjectReader")),
7180+ object_writer: ObjectWriter.from_dynamic!(d.fetch("ObjectWriter")),
71797181 of: Of.from_dynamic!(d.fetch("of")),
71807182 oneway: Oneway.from_dynamic!(d.fetch("oneway")),
71817183 operator: Operator.from_dynamic!(d.fetch("operator")),
@@ -7211,8 +7213,6 @@ class Obj4 < Dry::Struct
72117213 runtime_type: RuntimeType.from_dynamic!(d.fetch("runtimeType")),
72127214 s: S.from_dynamic!(d.fetch("s")),
72137215 sbyte: Sbyte.from_dynamic!(d.fetch("sbyte")),
7214- sealed: Sealed.from_dynamic!(d.fetch("sealed")),
7215- sel: Sel.from_dynamic!(d.fetch("SEL")),
72167216 )
72177217 end
72187218
@@ -7224,6 +7224,7 @@ class Obj4 < Dry::Struct
72247224 {
72257225 "dummy" => dummy,
72267226 "noSuchMethod" => no_such_method.to_dynamic,
7227+ "noexcept" => noexcept.to_dynamic,
72277228 "nonatomic" => nonatomic.to_dynamic,
72287229 "None" => none.to_dynamic,
72297230 "nonlocal" => nonlocal.to_dynamic,
@@ -7247,9 +7248,10 @@ class Obj4 < Dry::Struct
72477248 "raise" => obj4_raise.to_dynamic,
72487249 "require" => obj4_require.to_dynamic,
72497250 "return" => obj4_return.to_dynamic,
7250- "select" => obj4_select.to_dynamic,
72517251 "object" => object.to_dynamic,
72527252 "ObjectMapper" => object_mapper.to_dynamic,
7253+ "ObjectReader" => object_reader.to_dynamic,
7254+ "ObjectWriter" => object_writer.to_dynamic,
72537255 "of" => of.to_dynamic,
72547256 "oneway" => oneway.to_dynamic,
72557257 "operator" => operator.to_dynamic,
@@ -7285,8 +7287,31 @@ class Obj4 < Dry::Struct
72857287 "runtimeType" => runtime_type.to_dynamic,
72867288 "s" => s.to_dynamic,
72877289 "sbyte" => sbyte.to_dynamic,
7288- "sealed" => sealed.to_dynamic,
7289- "SEL" => sel.to_dynamic,
7290+ }
7291+ end
7292+
7293+ def to_json(options = nil)
7294+ JSON.generate(to_dynamic, options)
7295+ end
7296+end
7297+
7298+class Select < Dry::Struct
7299+ attribute :select_select, Types::Integer
7300+
7301+ def self.from_dynamic!(d)
7302+ d = Types::Hash[d]
7303+ new(
7304+ select_select: d.fetch("select"),
7305+ )
7306+ end
7307+
7308+ def self.from_json!(json)
7309+ from_dynamic!(JSON.parse(json))
7310+ end
7311+
7312+ def to_dynamic
7313+ {
7314+ "select" => select_select,
72907315 }
72917316 end
72927317
@@ -7520,6 +7545,56 @@ class Type < Dry::Struct
75207545 end
75217546 end
75227547
7548+class Sealed < Dry::Struct
7549+ attribute :sealed, Types::Integer
7550+
7551+ def self.from_dynamic!(d)
7552+ d = Types::Hash[d]
7553+ new(
7554+ sealed: d.fetch("sealed"),
7555+ )
7556+ end
7557+
7558+ def self.from_json!(json)
7559+ from_dynamic!(JSON.parse(json))
7560+ end
7561+
7562+ def to_dynamic
7563+ {
7564+ "sealed" => sealed,
7565+ }
7566+ end
7567+
7568+ def to_json(options = nil)
7569+ JSON.generate(to_dynamic, options)
7570+ end
7571+end
7572+
7573+class Sel < Dry::Struct
7574+ attribute :sel, Types::Integer
7575+
7576+ def self.from_dynamic!(d)
7577+ d = Types::Hash[d]
7578+ new(
7579+ sel: d.fetch("SEL"),
7580+ )
7581+ end
7582+
7583+ def self.from_json!(json)
7584+ from_dynamic!(JSON.parse(json))
7585+ end
7586+
7587+ def to_dynamic
7588+ {
7589+ "SEL" => sel,
7590+ }
7591+ end
7592+
7593+ def to_json(options = nil)
7594+ JSON.generate(to_dynamic, options)
7595+ end
7596+end
7597+
75237598 class Obj5Self < Dry::Struct
75247599 attribute :self_self, Types::Integer
75257600
@@ -7570,6 +7645,31 @@ class Sendable < Dry::Struct
75707645 end
75717646 end
75727647
7648+class SerializationFeature < Dry::Struct
7649+ attribute :serialization_feature, Types::Integer
7650+
7651+ def self.from_dynamic!(d)
7652+ d = Types::Hash[d]
7653+ new(
7654+ serialization_feature: d.fetch("SerializationFeature"),
7655+ )
7656+ end
7657+
7658+ def self.from_json!(json)
7659+ from_dynamic!(JSON.parse(json))
7660+ end
7661+
7662+ def to_dynamic
7663+ {
7664+ "SerializationFeature" => serialization_feature,
7665+ }
7666+ end
7667+
7668+ def to_json(options = nil)
7669+ JSON.generate(to_dynamic, options)
7670+ end
7671+end
7672+
75737673 class Serialize < Dry::Struct
75747674 attribute :serialize, Types::Integer
75757675
@@ -8795,13 +8895,230 @@ class Utf8JSONReader < Dry::Struct
87958895 end
87968896 end
87978897
8798-class Utf8JSONWriter < Dry::Struct
8799- attribute :utf8_json_writer, Types::Integer
8898+class Obj5 < Dry::Struct
8899+ attribute :dummy, Types::Integer
8900+ attribute :obj5_select, Select
8901+ attribute :obj5_self, SelfClass
8902+ attribute :obj5_super, Super
8903+ attribute :obj5_system, System
8904+ attribute :obj5_then, Then
8905+ attribute :obj5_throw, Throw
8906+ attribute :obj5_to_json, ToJSON
8907+ attribute :obj5_true, True
8908+ attribute :obj5_try, Try
8909+ attribute :obj5_type, Type
8910+ attribute :sealed, Sealed
8911+ attribute :sel, Sel
8912+ attribute :self_1, Obj5Self
8913+ attribute :sendable, Sendable
8914+ attribute :serialization_feature, SerializationFeature
8915+ attribute :serialize, Serialize
8916+ attribute :serializer_provider, SerializerProvider
8917+ attribute :set, SetClass
8918+ attribute :short, Short
8919+ attribute :signed, Signed
8920+ attribute :simple_module, SimpleModule
8921+ attribute :sizeof, Sizeof
8922+ attribute :stackalloc, Stackalloc
8923+ attribute :standards, Standards
8924+ attribute :static, Static
8925+ attribute :static_assert, StaticAssert
8926+ attribute :static_cast, StaticCast
8927+ attribute :std_deserializer, StdDeserializer
8928+ attribute :std_serializer, StdSerializer
8929+ attribute :strictfp, Strictfp
8930+ attribute :string, StringClass
8931+ attribute :struct, StructClass
8932+ attribute :subscript, Subscript
8933+ attribute :switch, Switch
8934+ attribute :symbol, SymbolClass
8935+ attribute :synchronized, Synchronized
8936+ attribute :template, Template
8937+ attribute :this, This
8938+ attribute :thread_local, ThreadLocal
8939+ attribute :throws, Throws
8940+ attribute :time_only, TimeOnly
8941+ attribute :time_only_converter, TimeOnlyConverter
8942+ attribute :time_zone, TimeZone
8943+ attribute :to_string, ToString
8944+ attribute :top_level, TopLevelClass
8945+ attribute :transient, Transient
8946+ attribute :true_1, Obj5True
8947+ attribute :type_1, TypeClass
8948+ attribute :typealias, Typealias
8949+ attribute :typedef, Typedef
8950+ attribute :typeid, Typeid
8951+ attribute :typename, Typename
8952+ attribute :typeof, Typeof
8953+ attribute :uint, Uint
8954+ attribute :ulong, Ulong
8955+ attribute :unchecked, Unchecked
8956+ attribute :undefined, UndefinedClass
8957+ attribute :union, Union
8958+ attribute :unowned, Unowned
8959+ attribute :unsafe, Unsafe
8960+ attribute :unsigned, Unsigned
8961+ attribute :ushort, Ushort
8962+ attribute :using, Using
8963+ attribute :utf8_json_reader, Utf8JSONReader
8964+
8965+ def self.from_dynamic!(d)
8966+ d = Types::Hash[d]
8967+ new(
8968+ dummy: d.fetch("dummy"),
8969+ obj5_select: Select.from_dynamic!(d.fetch("select")),
8970+ obj5_self: SelfClass.from_dynamic!(d.fetch("Self")),
8971+ obj5_super: Super.from_dynamic!(d.fetch("super")),
8972+ obj5_system: System.from_dynamic!(d.fetch("system")),
8973+ obj5_then: Then.from_dynamic!(d.fetch("then")),
8974+ obj5_throw: Throw.from_dynamic!(d.fetch("throw")),
8975+ obj5_to_json: ToJSON.from_dynamic!(d.fetch("to_json")),
8976+ obj5_true: True.from_dynamic!(d.fetch("True")),
8977+ obj5_try: Try.from_dynamic!(d.fetch("try")),
8978+ obj5_type: Type.from_dynamic!(d.fetch("Type")),
8979+ sealed: Sealed.from_dynamic!(d.fetch("sealed")),
8980+ sel: Sel.from_dynamic!(d.fetch("SEL")),
8981+ self_1: Obj5Self.from_dynamic!(d.fetch("self")),
8982+ sendable: Sendable.from_dynamic!(d.fetch("Sendable")),
8983+ serialization_feature: SerializationFeature.from_dynamic!(d.fetch("SerializationFeature")),
8984+ serialize: Serialize.from_dynamic!(d.fetch("serialize")),
8985+ serializer_provider: SerializerProvider.from_dynamic!(d.fetch("SerializerProvider")),
8986+ set: SetClass.from_dynamic!(d.fetch("set")),
8987+ short: Short.from_dynamic!(d.fetch("short")),
8988+ signed: Signed.from_dynamic!(d.fetch("signed")),
8989+ simple_module: SimpleModule.from_dynamic!(d.fetch("SimpleModule")),
8990+ sizeof: Sizeof.from_dynamic!(d.fetch("sizeof")),
8991+ stackalloc: Stackalloc.from_dynamic!(d.fetch("stackalloc")),
8992+ standards: Standards.from_dynamic!(d.fetch("Standards")),
8993+ static: Static.from_dynamic!(d.fetch("static")),
8994+ static_assert: StaticAssert.from_dynamic!(d.fetch("static_assert")),
8995+ static_cast: StaticCast.from_dynamic!(d.fetch("static_cast")),
8996+ std_deserializer: StdDeserializer.from_dynamic!(d.fetch("StdDeserializer")),
8997+ std_serializer: StdSerializer.from_dynamic!(d.fetch("StdSerializer")),
8998+ strictfp: Strictfp.from_dynamic!(d.fetch("strictfp")),
8999+ string: StringClass.from_dynamic!(d.fetch("string")),
9000+ struct: StructClass.from_dynamic!(d.fetch("struct")),
9001+ subscript: Subscript.from_dynamic!(d.fetch("subscript")),
9002+ switch: Switch.from_dynamic!(d.fetch("switch")),
9003+ symbol: SymbolClass.from_dynamic!(d.fetch("symbol")),
9004+ synchronized: Synchronized.from_dynamic!(d.fetch("synchronized")),
9005+ template: Template.from_dynamic!(d.fetch("template")),
9006+ this: This.from_dynamic!(d.fetch("this")),
9007+ thread_local: ThreadLocal.from_dynamic!(d.fetch("thread_local")),
9008+ throws: Throws.from_dynamic!(d.fetch("throws")),
9009+ time_only: TimeOnly.from_dynamic!(d.fetch("TimeOnly")),
9010+ time_only_converter: TimeOnlyConverter.from_dynamic!(d.fetch("TimeOnlyConverter")),
9011+ time_zone: TimeZone.from_dynamic!(d.fetch("TimeZone")),
9012+ to_string: ToString.from_dynamic!(d.fetch("toString")),
9013+ top_level: TopLevelClass.from_dynamic!(d.fetch("top_level")),
9014+ transient: Transient.from_dynamic!(d.fetch("transient")),
9015+ true_1: Obj5True.from_dynamic!(d.fetch("true")),
9016+ type_1: TypeClass.from_dynamic!(d.fetch("type")),
9017+ typealias: Typealias.from_dynamic!(d.fetch("typealias")),
9018+ typedef: Typedef.from_dynamic!(d.fetch("typedef")),
9019+ typeid: Typeid.from_dynamic!(d.fetch("typeid")),
9020+ typename: Typename.from_dynamic!(d.fetch("typename")),
9021+ typeof: Typeof.from_dynamic!(d.fetch("typeof")),
9022+ uint: Uint.from_dynamic!(d.fetch("uint")),
9023+ ulong: Ulong.from_dynamic!(d.fetch("ulong")),
9024+ unchecked: Unchecked.from_dynamic!(d.fetch("unchecked")),
9025+ undefined: UndefinedClass.from_dynamic!(d.fetch("undefined")),
9026+ union: Union.from_dynamic!(d.fetch("union")),
9027+ unowned: Unowned.from_dynamic!(d.fetch("unowned")),
9028+ unsafe: Unsafe.from_dynamic!(d.fetch("unsafe")),
9029+ unsigned: Unsigned.from_dynamic!(d.fetch("unsigned")),
9030+ ushort: Ushort.from_dynamic!(d.fetch("ushort")),
9031+ using: Using.from_dynamic!(d.fetch("using")),
9032+ utf8_json_reader: Utf8JSONReader.from_dynamic!(d.fetch("Utf8JsonReader")),
9033+ )
9034+ end
9035+
9036+ def self.from_json!(json)
9037+ from_dynamic!(JSON.parse(json))
9038+ end
9039+
9040+ def to_dynamic
9041+ {
9042+ "dummy" => dummy,
9043+ "select" => obj5_select.to_dynamic,
9044+ "Self" => obj5_self.to_dynamic,
9045+ "super" => obj5_super.to_dynamic,
9046+ "system" => obj5_system.to_dynamic,
9047+ "then" => obj5_then.to_dynamic,
9048+ "throw" => obj5_throw.to_dynamic,
9049+ "to_json" => obj5_to_json.to_dynamic,
9050+ "True" => obj5_true.to_dynamic,
9051+ "try" => obj5_try.to_dynamic,
9052+ "Type" => obj5_type.to_dynamic,
9053+ "sealed" => sealed.to_dynamic,
9054+ "SEL" => sel.to_dynamic,
9055+ "self" => self_1.to_dynamic,
9056+ "Sendable" => sendable.to_dynamic,
9057+ "SerializationFeature" => serialization_feature.to_dynamic,
9058+ "serialize" => serialize.to_dynamic,
9059+ "SerializerProvider" => serializer_provider.to_dynamic,
9060+ "set" => set.to_dynamic,
9061+ "short" => short.to_dynamic,
9062+ "signed" => signed.to_dynamic,
9063+ "SimpleModule" => simple_module.to_dynamic,
9064+ "sizeof" => sizeof.to_dynamic,
9065+ "stackalloc" => stackalloc.to_dynamic,
9066+ "Standards" => standards.to_dynamic,
9067+ "static" => static.to_dynamic,
9068+ "static_assert" => static_assert.to_dynamic,
9069+ "static_cast" => static_cast.to_dynamic,
9070+ "StdDeserializer" => std_deserializer.to_dynamic,
9071+ "StdSerializer" => std_serializer.to_dynamic,
9072+ "strictfp" => strictfp.to_dynamic,
9073+ "string" => string.to_dynamic,
9074+ "struct" => struct.to_dynamic,
9075+ "subscript" => subscript.to_dynamic,
9076+ "switch" => switch.to_dynamic,
9077+ "symbol" => symbol.to_dynamic,
9078+ "synchronized" => synchronized.to_dynamic,
9079+ "template" => template.to_dynamic,
9080+ "this" => this.to_dynamic,
9081+ "thread_local" => thread_local.to_dynamic,
9082+ "throws" => throws.to_dynamic,
9083+ "TimeOnly" => time_only.to_dynamic,
9084+ "TimeOnlyConverter" => time_only_converter.to_dynamic,
9085+ "TimeZone" => time_zone.to_dynamic,
9086+ "toString" => to_string.to_dynamic,
9087+ "top_level" => top_level.to_dynamic,
9088+ "transient" => transient.to_dynamic,
9089+ "true" => true_1.to_dynamic,
9090+ "type" => type_1.to_dynamic,
9091+ "typealias" => typealias.to_dynamic,
9092+ "typedef" => typedef.to_dynamic,
9093+ "typeid" => typeid.to_dynamic,
9094+ "typename" => typename.to_dynamic,
9095+ "typeof" => typeof.to_dynamic,
9096+ "uint" => uint.to_dynamic,
9097+ "ulong" => ulong.to_dynamic,
9098+ "unchecked" => unchecked.to_dynamic,
9099+ "undefined" => undefined.to_dynamic,
9100+ "union" => union.to_dynamic,
9101+ "unowned" => unowned.to_dynamic,
9102+ "unsafe" => unsafe.to_dynamic,
9103+ "unsigned" => unsigned.to_dynamic,
9104+ "ushort" => ushort.to_dynamic,
9105+ "using" => using.to_dynamic,
9106+ "Utf8JsonReader" => utf8_json_reader.to_dynamic,
9107+ }
9108+ end
9109+
9110+ def to_json(options = nil)
9111+ JSON.generate(to_dynamic, options)
9112+ end
9113+end
9114+
9115+class While < Dry::Struct
9116+ attribute :while_while, Types::Integer
88009117
88019118 def self.from_dynamic!(d)
88029119 d = Types::Hash[d]
88039120 new(
8804- utf8_json_writer: d.fetch("Utf8JsonWriter"),
9121+ while_while: d.fetch("while"),
88059122 )
88069123 end
88079124
@@ -8811,7 +9128,7 @@ class Utf8JSONWriter < Dry::Struct
88119128
88129129 def to_dynamic
88139130 {
8814- "Utf8JsonWriter" => utf8_json_writer,
9131+ "while" => while_while,
88159132 }
88169133 end
88179134
@@ -8820,13 +9137,13 @@ class Utf8JSONWriter < Dry::Struct
88209137 end
88219138 end
88229139
8823-class UUID < Dry::Struct
8824- attribute :uuid, Types::Integer
9140+class With < Dry::Struct
9141+ attribute :with_with, Types::Integer
88259142
88269143 def self.from_dynamic!(d)
88279144 d = Types::Hash[d]
88289145 new(
8829- uuid: d.fetch("UUID"),
9146+ with_with: d.fetch("with"),
88309147 )
88319148 end
88329149
@@ -8836,7 +9153,7 @@ class UUID < Dry::Struct
88369153
88379154 def to_dynamic
88389155 {
8839- "UUID" => uuid,
9156+ "with" => with_with,
88409157 }
88419158 end
88429159
@@ -8845,13 +9162,13 @@ class UUID < Dry::Struct
88459162 end
88469163 end
88479164
8848-class Var < Dry::Struct
8849- attribute :var, Types::Integer
9165+class Yield < Dry::Struct
9166+ attribute :yield_yield, Types::Integer
88509167
88519168 def self.from_dynamic!(d)
88529169 d = Types::Hash[d]
88539170 new(
8854- var: d.fetch("var"),
9171+ yield_yield: d.fetch("yield"),
88559172 )
88569173 end
88579174
@@ -8861,7 +9178,7 @@ class Var < Dry::Struct
88619178
88629179 def to_dynamic
88639180 {
8864- "var" => var,
9181+ "yield" => yield_yield,
88659182 }
88669183 end
88679184
@@ -8870,13 +9187,13 @@ class Var < Dry::Struct
88709187 end
88719188 end
88729189
8873-class Virtual < Dry::Struct
8874- attribute :virtual, Types::Integer
9190+class Utf8JSONWriter < Dry::Struct
9191+ attribute :utf8_json_writer, Types::Integer
88759192
88769193 def self.from_dynamic!(d)
88779194 d = Types::Hash[d]
88789195 new(
8879- virtual: d.fetch("virtual"),
9196+ utf8_json_writer: d.fetch("Utf8JsonWriter"),
88809197 )
88819198 end
88829199
@@ -8886,224 +9203,7 @@ class Virtual < Dry::Struct
88869203
88879204 def to_dynamic
88889205 {
8889- "virtual" => virtual,
8890- }
8891- end
8892-
8893- def to_json(options = nil)
8894- JSON.generate(to_dynamic, options)
8895- end
8896-end
8897-
8898-class Obj5 < Dry::Struct
8899- attribute :dummy, Types::Integer
8900- attribute :obj5_self, SelfClass
8901- attribute :obj5_super, Super
8902- attribute :obj5_system, System
8903- attribute :obj5_then, Then
8904- attribute :obj5_throw, Throw
8905- attribute :obj5_to_json, ToJSON
8906- attribute :obj5_true, True
8907- attribute :obj5_try, Try
8908- attribute :obj5_type, Type
8909- attribute :self_1, Obj5Self
8910- attribute :sendable, Sendable
8911- attribute :serialize, Serialize
8912- attribute :serializer_provider, SerializerProvider
8913- attribute :set, SetClass
8914- attribute :short, Short
8915- attribute :signed, Signed
8916- attribute :simple_module, SimpleModule
8917- attribute :sizeof, Sizeof
8918- attribute :stackalloc, Stackalloc
8919- attribute :standards, Standards
8920- attribute :static, Static
8921- attribute :static_assert, StaticAssert
8922- attribute :static_cast, StaticCast
8923- attribute :std_deserializer, StdDeserializer
8924- attribute :std_serializer, StdSerializer
8925- attribute :strictfp, Strictfp
8926- attribute :string, StringClass
8927- attribute :struct, StructClass
8928- attribute :subscript, Subscript
8929- attribute :switch, Switch
8930- attribute :symbol, SymbolClass
8931- attribute :synchronized, Synchronized
8932- attribute :template, Template
8933- attribute :this, This
8934- attribute :thread_local, ThreadLocal
8935- attribute :throws, Throws
8936- attribute :time_only, TimeOnly
8937- attribute :time_only_converter, TimeOnlyConverter
8938- attribute :time_zone, TimeZone
8939- attribute :to_string, ToString
8940- attribute :top_level, TopLevelClass
8941- attribute :transient, Transient
8942- attribute :true_1, Obj5True
8943- attribute :type_1, TypeClass
8944- attribute :typealias, Typealias
8945- attribute :typedef, Typedef
8946- attribute :typeid, Typeid
8947- attribute :typename, Typename
8948- attribute :typeof, Typeof
8949- attribute :uint, Uint
8950- attribute :ulong, Ulong
8951- attribute :unchecked, Unchecked
8952- attribute :undefined, UndefinedClass
8953- attribute :union, Union
8954- attribute :unowned, Unowned
8955- attribute :unsafe, Unsafe
8956- attribute :unsigned, Unsigned
8957- attribute :ushort, Ushort
8958- attribute :using, Using
8959- attribute :utf8_json_reader, Utf8JSONReader
8960- attribute :utf8_json_writer, Utf8JSONWriter
8961- attribute :uuid, UUID
8962- attribute :var, Var
8963- attribute :virtual, Virtual
8964-
8965- def self.from_dynamic!(d)
8966- d = Types::Hash[d]
8967- new(
8968- dummy: d.fetch("dummy"),
8969- obj5_self: SelfClass.from_dynamic!(d.fetch("Self")),
8970- obj5_super: Super.from_dynamic!(d.fetch("super")),
8971- obj5_system: System.from_dynamic!(d.fetch("system")),
8972- obj5_then: Then.from_dynamic!(d.fetch("then")),
8973- obj5_throw: Throw.from_dynamic!(d.fetch("throw")),
8974- obj5_to_json: ToJSON.from_dynamic!(d.fetch("to_json")),
8975- obj5_true: True.from_dynamic!(d.fetch("True")),
8976- obj5_try: Try.from_dynamic!(d.fetch("try")),
8977- obj5_type: Type.from_dynamic!(d.fetch("Type")),
8978- self_1: Obj5Self.from_dynamic!(d.fetch("self")),
8979- sendable: Sendable.from_dynamic!(d.fetch("Sendable")),
8980- serialize: Serialize.from_dynamic!(d.fetch("serialize")),
8981- serializer_provider: SerializerProvider.from_dynamic!(d.fetch("SerializerProvider")),
8982- set: SetClass.from_dynamic!(d.fetch("set")),
8983- short: Short.from_dynamic!(d.fetch("short")),
8984- signed: Signed.from_dynamic!(d.fetch("signed")),
8985- simple_module: SimpleModule.from_dynamic!(d.fetch("SimpleModule")),
8986- sizeof: Sizeof.from_dynamic!(d.fetch("sizeof")),
8987- stackalloc: Stackalloc.from_dynamic!(d.fetch("stackalloc")),
8988- standards: Standards.from_dynamic!(d.fetch("Standards")),
8989- static: Static.from_dynamic!(d.fetch("static")),
8990- static_assert: StaticAssert.from_dynamic!(d.fetch("static_assert")),
8991- static_cast: StaticCast.from_dynamic!(d.fetch("static_cast")),
8992- std_deserializer: StdDeserializer.from_dynamic!(d.fetch("StdDeserializer")),
8993- std_serializer: StdSerializer.from_dynamic!(d.fetch("StdSerializer")),
8994- strictfp: Strictfp.from_dynamic!(d.fetch("strictfp")),
8995- string: StringClass.from_dynamic!(d.fetch("string")),
8996- struct: StructClass.from_dynamic!(d.fetch("struct")),
8997- subscript: Subscript.from_dynamic!(d.fetch("subscript")),
8998- switch: Switch.from_dynamic!(d.fetch("switch")),
8999- symbol: SymbolClass.from_dynamic!(d.fetch("symbol")),
9000- synchronized: Synchronized.from_dynamic!(d.fetch("synchronized")),
9001- template: Template.from_dynamic!(d.fetch("template")),
9002- this: This.from_dynamic!(d.fetch("this")),
9003- thread_local: ThreadLocal.from_dynamic!(d.fetch("thread_local")),
9004- throws: Throws.from_dynamic!(d.fetch("throws")),
9005- time_only: TimeOnly.from_dynamic!(d.fetch("TimeOnly")),
9006- time_only_converter: TimeOnlyConverter.from_dynamic!(d.fetch("TimeOnlyConverter")),
9007- time_zone: TimeZone.from_dynamic!(d.fetch("TimeZone")),
9008- to_string: ToString.from_dynamic!(d.fetch("toString")),
9009- top_level: TopLevelClass.from_dynamic!(d.fetch("top_level")),
9010- transient: Transient.from_dynamic!(d.fetch("transient")),
9011- true_1: Obj5True.from_dynamic!(d.fetch("true")),
9012- type_1: TypeClass.from_dynamic!(d.fetch("type")),
9013- typealias: Typealias.from_dynamic!(d.fetch("typealias")),
9014- typedef: Typedef.from_dynamic!(d.fetch("typedef")),
9015- typeid: Typeid.from_dynamic!(d.fetch("typeid")),
9016- typename: Typename.from_dynamic!(d.fetch("typename")),
9017- typeof: Typeof.from_dynamic!(d.fetch("typeof")),
9018- uint: Uint.from_dynamic!(d.fetch("uint")),
9019- ulong: Ulong.from_dynamic!(d.fetch("ulong")),
9020- unchecked: Unchecked.from_dynamic!(d.fetch("unchecked")),
9021- undefined: UndefinedClass.from_dynamic!(d.fetch("undefined")),
9022- union: Union.from_dynamic!(d.fetch("union")),
9023- unowned: Unowned.from_dynamic!(d.fetch("unowned")),
9024- unsafe: Unsafe.from_dynamic!(d.fetch("unsafe")),
9025- unsigned: Unsigned.from_dynamic!(d.fetch("unsigned")),
9026- ushort: Ushort.from_dynamic!(d.fetch("ushort")),
9027- using: Using.from_dynamic!(d.fetch("using")),
9028- utf8_json_reader: Utf8JSONReader.from_dynamic!(d.fetch("Utf8JsonReader")),
9029- utf8_json_writer: Utf8JSONWriter.from_dynamic!(d.fetch("Utf8JsonWriter")),
9030- uuid: UUID.from_dynamic!(d.fetch("UUID")),
9031- var: Var.from_dynamic!(d.fetch("var")),
9032- virtual: Virtual.from_dynamic!(d.fetch("virtual")),
9033- )
9034- end
9035-
9036- def self.from_json!(json)
9037- from_dynamic!(JSON.parse(json))
9038- end
9039-
9040- def to_dynamic
9041- {
9042- "dummy" => dummy,
9043- "Self" => obj5_self.to_dynamic,
9044- "super" => obj5_super.to_dynamic,
9045- "system" => obj5_system.to_dynamic,
9046- "then" => obj5_then.to_dynamic,
9047- "throw" => obj5_throw.to_dynamic,
9048- "to_json" => obj5_to_json.to_dynamic,
9049- "True" => obj5_true.to_dynamic,
9050- "try" => obj5_try.to_dynamic,
9051- "Type" => obj5_type.to_dynamic,
9052- "self" => self_1.to_dynamic,
9053- "Sendable" => sendable.to_dynamic,
9054- "serialize" => serialize.to_dynamic,
9055- "SerializerProvider" => serializer_provider.to_dynamic,
9056- "set" => set.to_dynamic,
9057- "short" => short.to_dynamic,
9058- "signed" => signed.to_dynamic,
9059- "SimpleModule" => simple_module.to_dynamic,
9060- "sizeof" => sizeof.to_dynamic,
9061- "stackalloc" => stackalloc.to_dynamic,
9062- "Standards" => standards.to_dynamic,
9063- "static" => static.to_dynamic,
9064- "static_assert" => static_assert.to_dynamic,
9065- "static_cast" => static_cast.to_dynamic,
9066- "StdDeserializer" => std_deserializer.to_dynamic,
9067- "StdSerializer" => std_serializer.to_dynamic,
9068- "strictfp" => strictfp.to_dynamic,
9069- "string" => string.to_dynamic,
9070- "struct" => struct.to_dynamic,
9071- "subscript" => subscript.to_dynamic,
9072- "switch" => switch.to_dynamic,
9073- "symbol" => symbol.to_dynamic,
9074- "synchronized" => synchronized.to_dynamic,
9075- "template" => template.to_dynamic,
9076- "this" => this.to_dynamic,
9077- "thread_local" => thread_local.to_dynamic,
9078- "throws" => throws.to_dynamic,
9079- "TimeOnly" => time_only.to_dynamic,
9080- "TimeOnlyConverter" => time_only_converter.to_dynamic,
9081- "TimeZone" => time_zone.to_dynamic,
9082- "toString" => to_string.to_dynamic,
9083- "top_level" => top_level.to_dynamic,
9084- "transient" => transient.to_dynamic,
9085- "true" => true_1.to_dynamic,
9086- "type" => type_1.to_dynamic,
9087- "typealias" => typealias.to_dynamic,
9088- "typedef" => typedef.to_dynamic,
9089- "typeid" => typeid.to_dynamic,
9090- "typename" => typename.to_dynamic,
9091- "typeof" => typeof.to_dynamic,
9092- "uint" => uint.to_dynamic,
9093- "ulong" => ulong.to_dynamic,
9094- "unchecked" => unchecked.to_dynamic,
9095- "undefined" => undefined.to_dynamic,
9096- "union" => union.to_dynamic,
9097- "unowned" => unowned.to_dynamic,
9098- "unsafe" => unsafe.to_dynamic,
9099- "unsigned" => unsigned.to_dynamic,
9100- "ushort" => ushort.to_dynamic,
9101- "using" => using.to_dynamic,
9102- "Utf8JsonReader" => utf8_json_reader.to_dynamic,
9103- "Utf8JsonWriter" => utf8_json_writer.to_dynamic,
9104- "UUID" => uuid.to_dynamic,
9105- "var" => var.to_dynamic,
9106- "virtual" => virtual.to_dynamic,
9206+ "Utf8JsonWriter" => utf8_json_writer,
91079207 }
91089208 end
91099209
@@ -9112,13 +9212,13 @@ class Obj5 < Dry::Struct
91129212 end
91139213 end
91149214
9115-class While < Dry::Struct
9116- attribute :while_while, Types::Integer
9215+class UUID < Dry::Struct
9216+ attribute :uuid, Types::Integer
91179217
91189218 def self.from_dynamic!(d)
91199219 d = Types::Hash[d]
91209220 new(
9121- while_while: d.fetch("while"),
9221+ uuid: d.fetch("UUID"),
91229222 )
91239223 end
91249224
@@ -9128,7 +9228,7 @@ class While < Dry::Struct
91289228
91299229 def to_dynamic
91309230 {
9131- "while" => while_while,
9231+ "UUID" => uuid,
91329232 }
91339233 end
91349234
@@ -9137,13 +9237,13 @@ class While < Dry::Struct
91379237 end
91389238 end
91399239
9140-class With < Dry::Struct
9141- attribute :with_with, Types::Integer
9240+class Var < Dry::Struct
9241+ attribute :var, Types::Integer
91429242
91439243 def self.from_dynamic!(d)
91449244 d = Types::Hash[d]
91459245 new(
9146- with_with: d.fetch("with"),
9246+ var: d.fetch("var"),
91479247 )
91489248 end
91499249
@@ -9153,7 +9253,7 @@ class With < Dry::Struct
91539253
91549254 def to_dynamic
91559255 {
9156- "with" => with_with,
9256+ "var" => var,
91579257 }
91589258 end
91599259
@@ -9162,13 +9262,13 @@ class With < Dry::Struct
91629262 end
91639263 end
91649264
9165-class Yield < Dry::Struct
9166- attribute :yield_yield, Types::Integer
9265+class Virtual < Dry::Struct
9266+ attribute :virtual, Types::Integer
91679267
91689268 def self.from_dynamic!(d)
91699269 d = Types::Hash[d]
91709270 new(
9171- yield_yield: d.fetch("yield"),
9271+ virtual: d.fetch("virtual"),
91729272 )
91739273 end
91749274
@@ -9178,7 +9278,7 @@ class Yield < Dry::Struct
91789278
91799279 def to_dynamic
91809280 {
9181- "yield" => yield_yield,
9281+ "virtual" => virtual,
91829282 }
91839283 end
91849284
@@ -9413,58 +9513,70 @@ class Yes < Dry::Struct
94139513 end
94149514
94159515 class Obj6 < Dry::Struct
9416- attribute :dummy, Types::Integer
9417- attribute :obj6_while, While
9418- attribute :obj6_with, With
9419- attribute :obj6_yield, Yield
9420- attribute :void, Void
9421- attribute :volatile, Volatile
9422- attribute :wchar_t, WcharT
9423- attribute :weak, Weak
9424- attribute :where, Where
9425- attribute :will_set, WillSet
9426- attribute :xor, Xor
9427- attribute :xor_eq, XorEq
9428- attribute :yes, Yes
9516+ attribute :dummy, Types::Integer
9517+ attribute :obj6_while, While
9518+ attribute :obj6_with, With
9519+ attribute :obj6_yield, Yield
9520+ attribute :utf8_json_writer, Utf8JSONWriter
9521+ attribute :uuid, UUID
9522+ attribute :var, Var
9523+ attribute :virtual, Virtual
9524+ attribute :void, Void
9525+ attribute :volatile, Volatile
9526+ attribute :wchar_t, WcharT
9527+ attribute :weak, Weak
9528+ attribute :where, Where
9529+ attribute :will_set, WillSet
9530+ attribute :xor, Xor
9531+ attribute :xor_eq, XorEq
9532+ attribute :yes, Yes
94299533
94309534 def self.from_dynamic!(d)
94319535 d = Types::Hash[d]
94329536 new(
9433- dummy: d.fetch("dummy"),
9434- obj6_while: While.from_dynamic!(d.fetch("while")),
9435- obj6_with: With.from_dynamic!(d.fetch("with")),
9436- obj6_yield: Yield.from_dynamic!(d.fetch("yield")),
9437- void: Void.from_dynamic!(d.fetch("void")),
9438- volatile: Volatile.from_dynamic!(d.fetch("volatile")),
9439- wchar_t: WcharT.from_dynamic!(d.fetch("wchar_t")),
9440- weak: Weak.from_dynamic!(d.fetch("weak")),
9441- where: Where.from_dynamic!(d.fetch("where")),
9442- will_set: WillSet.from_dynamic!(d.fetch("willSet")),
9443- xor: Xor.from_dynamic!(d.fetch("xor")),
9444- xor_eq: XorEq.from_dynamic!(d.fetch("xor_eq")),
9445- yes: Yes.from_dynamic!(d.fetch("YES")),
9446- )
9447- end
9448-
9449- def self.from_json!(json)
9450- from_dynamic!(JSON.parse(json))
9451- end
9452-
9453- def to_dynamic
9454- {
9455- "dummy" => dummy,
9456- "while" => obj6_while.to_dynamic,
9457- "with" => obj6_with.to_dynamic,
9458- "yield" => obj6_yield.to_dynamic,
9459- "void" => void.to_dynamic,
9460- "volatile" => volatile.to_dynamic,
9461- "wchar_t" => wchar_t.to_dynamic,
9462- "weak" => weak.to_dynamic,
9463- "where" => where.to_dynamic,
9464- "willSet" => will_set.to_dynamic,
9465- "xor" => xor.to_dynamic,
9466- "xor_eq" => xor_eq.to_dynamic,
9467- "YES" => yes.to_dynamic,
9537+ dummy: d.fetch("dummy"),
9538+ obj6_while: While.from_dynamic!(d.fetch("while")),
9539+ obj6_with: With.from_dynamic!(d.fetch("with")),
9540+ obj6_yield: Yield.from_dynamic!(d.fetch("yield")),
9541+ utf8_json_writer: Utf8JSONWriter.from_dynamic!(d.fetch("Utf8JsonWriter")),
9542+ uuid: UUID.from_dynamic!(d.fetch("UUID")),
9543+ var: Var.from_dynamic!(d.fetch("var")),
9544+ virtual: Virtual.from_dynamic!(d.fetch("virtual")),
9545+ void: Void.from_dynamic!(d.fetch("void")),
9546+ volatile: Volatile.from_dynamic!(d.fetch("volatile")),
9547+ wchar_t: WcharT.from_dynamic!(d.fetch("wchar_t")),
9548+ weak: Weak.from_dynamic!(d.fetch("weak")),
9549+ where: Where.from_dynamic!(d.fetch("where")),
9550+ will_set: WillSet.from_dynamic!(d.fetch("willSet")),
9551+ xor: Xor.from_dynamic!(d.fetch("xor")),
9552+ xor_eq: XorEq.from_dynamic!(d.fetch("xor_eq")),
9553+ yes: Yes.from_dynamic!(d.fetch("YES")),
9554+ )
9555+ end
9556+
9557+ def self.from_json!(json)
9558+ from_dynamic!(JSON.parse(json))
9559+ end
9560+
9561+ def to_dynamic
9562+ {
9563+ "dummy" => dummy,
9564+ "while" => obj6_while.to_dynamic,
9565+ "with" => obj6_with.to_dynamic,
9566+ "yield" => obj6_yield.to_dynamic,
9567+ "Utf8JsonWriter" => utf8_json_writer.to_dynamic,
9568+ "UUID" => uuid.to_dynamic,
9569+ "var" => var.to_dynamic,
9570+ "virtual" => virtual.to_dynamic,
9571+ "void" => void.to_dynamic,
9572+ "volatile" => volatile.to_dynamic,
9573+ "wchar_t" => wchar_t.to_dynamic,
9574+ "weak" => weak.to_dynamic,
9575+ "where" => where.to_dynamic,
9576+ "willSet" => will_set.to_dynamic,
9577+ "xor" => xor.to_dynamic,
9578+ "xor_eq" => xor_eq.to_dynamic,
9579+ "YES" => yes.to_dynamic,
94689580 }
94699581 end
Mrustdefault / module_under_test.rs+107 −71
@@ -573,6 +573,9 @@ pub struct Obj2 {
573573
574574 pub delete: Delete,
575575
576+ #[serde(rename = "DeserializationFeature")]
577+ pub deserialization_feature: DeserializationFeature,
578+
576579 pub dict: Dict,
577580
578581 pub dictionary: Dictionary,
@@ -651,8 +654,6 @@ pub struct Obj2 {
651654
652655 pub go: Go,
653656
654- pub goto: Goto,
655-
656657 #[serde(rename = "default")]
657658 pub obj2_default: Default,
658659
@@ -783,6 +784,12 @@ pub struct Delete {
783784 pub delete: i64,
784785 }
785786
787+#[derive(Debug, Clone, Serialize, Deserialize)]
788+#[serde(rename_all = "PascalCase")]
789+pub struct DeserializationFeature {
790+ pub deserialization_feature: i64,
791+}
792+
786793 #[derive(Debug, Clone, Serialize, Deserialize)]
787794 pub struct Dict {
788795 pub dict: i64,
@@ -972,11 +979,6 @@ pub struct Go {
972979 pub go: i64,
973980 }
974981
975-#[derive(Debug, Clone, Serialize, Deserialize)]
976-pub struct Goto {
977- pub goto: i64,
978-}
979-
980982 #[derive(Debug, Clone, Serialize, Deserialize)]
981983 pub struct Default {
982984 #[serde(rename = "default")]
@@ -1036,6 +1038,8 @@ pub struct FalseClass {
10361038 pub struct Obj3 {
10371039 pub dummy: i64,
10381040
1041+ pub goto: Goto,
1042+
10391043 pub guard: Guard,
10401044
10411045 #[serde(rename = "hasOwnProperty")]
@@ -1176,8 +1180,6 @@ pub struct Obj3 {
11761180 #[serde(rename = "NO")]
11771181 pub no: No,
11781182
1179- pub noexcept: Noexcept,
1180-
11811183 #[serde(rename = "if")]
11821184 pub obj3_if: If,
11831185
@@ -1188,6 +1190,11 @@ pub struct Obj3 {
11881190 pub obj3_let: Let,
11891191 }
11901192
1193+#[derive(Debug, Clone, Serialize, Deserialize)]
1194+pub struct Goto {
1195+ pub goto: i64,
1196+}
1197+
11911198 #[derive(Debug, Clone, Serialize, Deserialize)]
11921199 pub struct Guard {
11931200 pub guard: i64,
@@ -1513,11 +1520,6 @@ pub struct No {
15131520 pub no: i64,
15141521 }
15151522
1516-#[derive(Debug, Clone, Serialize, Deserialize)]
1517-pub struct Noexcept {
1518- pub noexcept: i64,
1519-}
1520-
15211523 #[derive(Debug, Clone, Serialize, Deserialize)]
15221524 pub struct If {
15231525 #[serde(rename = "if")]
@@ -1543,6 +1545,8 @@ pub struct Obj4 {
15431545 #[serde(rename = "noSuchMethod")]
15441546 pub no_such_method: NoSuchMethod,
15451547
1548+ pub noexcept: Noexcept,
1549+
15461550 pub nonatomic: Nonatomic,
15471551
15481552 #[serde(rename = "None")]
@@ -1595,6 +1599,12 @@ pub struct Obj4 {
15951599 #[serde(rename = "ObjectMapper")]
15961600 pub object_mapper: ObjectMapper,
15971601
1602+ #[serde(rename = "ObjectReader")]
1603+ pub object_reader: ObjectReader,
1604+
1605+ #[serde(rename = "ObjectWriter")]
1606+ pub object_writer: ObjectWriter,
1607+
15981608 pub of: Of,
15991609
16001610 pub oneway: Oneway,
@@ -1678,13 +1688,6 @@ pub struct Obj4 {
16781688 pub s: S,
16791689
16801690 pub sbyte: Sbyte,
1681-
1682- pub sealed: Sealed,
1683-
1684- #[serde(rename = "SEL")]
1685- pub sel: Sel,
1686-
1687- pub select: Select,
16881691 }
16891692
16901693 #[derive(Debug, Clone, Serialize, Deserialize)]
@@ -1693,6 +1696,11 @@ pub struct NoSuchMethod {
16931696 pub no_such_method: i64,
16941697 }
16951698
1699+#[derive(Debug, Clone, Serialize, Deserialize)]
1700+pub struct Noexcept {
1701+ pub noexcept: i64,
1702+}
1703+
16961704 #[derive(Debug, Clone, Serialize, Deserialize)]
16971705 pub struct Nonatomic {
16981706 pub nonatomic: i64,
@@ -1805,6 +1813,18 @@ pub struct ObjectMapper {
18051813 pub object_mapper: i64,
18061814 }
18071815
1816+#[derive(Debug, Clone, Serialize, Deserialize)]
1817+#[serde(rename_all = "PascalCase")]
1818+pub struct ObjectReader {
1819+ pub object_reader: i64,
1820+}
1821+
1822+#[derive(Debug, Clone, Serialize, Deserialize)]
1823+#[serde(rename_all = "PascalCase")]
1824+pub struct ObjectWriter {
1825+ pub object_writer: i64,
1826+}
1827+
18081828 #[derive(Debug, Clone, Serialize, Deserialize)]
18091829 pub struct Of {
18101830 pub of: i64,
@@ -2009,22 +2029,6 @@ pub struct Sbyte {
20092029 pub sbyte: i64,
20102030 }
20112031
2012-#[derive(Debug, Clone, Serialize, Deserialize)]
2013-pub struct Sealed {
2014- pub sealed: i64,
2015-}
2016-
2017-#[derive(Debug, Clone, Serialize, Deserialize)]
2018-#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
2019-pub struct Sel {
2020- pub sel: i64,
2021-}
2022-
2023-#[derive(Debug, Clone, Serialize, Deserialize)]
2024-pub struct Select {
2025- pub select: i64,
2026-}
2027-
20282032 #[derive(Debug, Clone, Serialize, Deserialize)]
20292033 pub struct Obj5 {
20302034 pub dummy: i64,
@@ -2059,9 +2063,6 @@ pub struct Obj5 {
20592063 #[serde(rename = "unsafe")]
20602064 pub obj5_unsafe: Unsafe,
20612065
2062- #[serde(rename = "virtual")]
2063- pub obj5_virtual: Virtual,
2064-
20652066 #[serde(rename = "self")]
20662067 pub purple_self: Obj5Self,
20672068
@@ -2071,9 +2072,19 @@ pub struct Obj5 {
20712072 #[serde(rename = "type")]
20722073 pub purple_type: TypeClass,
20732074
2075+ pub sealed: Sealed,
2076+
2077+ #[serde(rename = "SEL")]
2078+ pub sel: Sel,
2079+
2080+ pub select: Select,
2081+
20742082 #[serde(rename = "Sendable")]
20752083 pub sendable: Sendable,
20762084
2085+ #[serde(rename = "SerializationFeature")]
2086+ pub serialization_feature: SerializationFeature,
2087+
20772088 pub serialize: SerializeClass,
20782089
20792090 #[serde(rename = "SerializerProvider")]
@@ -2175,14 +2186,6 @@ pub struct Obj5 {
21752186
21762187 #[serde(rename = "Utf8JsonReader")]
21772188 pub utf8_json_reader: Utf8JsonReader,
2178-
2179- #[serde(rename = "Utf8JsonWriter")]
2180- pub utf8_json_writer: Utf8JsonWriter,
2181-
2182- #[serde(rename = "UUID")]
2183- pub uuid: Uuid,
2184-
2185- pub var: Var,
21862189 }
21872190
21882191 #[derive(Debug, Clone, Serialize, Deserialize)]
@@ -2248,12 +2251,6 @@ pub struct Unsafe {
22482251 pub unsafe_unsafe: i64,
22492252 }
22502253
2251-#[derive(Debug, Clone, Serialize, Deserialize)]
2252-pub struct Virtual {
2253- #[serde(rename = "virtual")]
2254- pub virtual_virtual: i64,
2255-}
2256-
22572254 #[derive(Debug, Clone, Serialize, Deserialize)]
22582255 pub struct Obj5Self {
22592256 #[serde(rename = "self")]
@@ -2272,12 +2269,34 @@ pub struct TypeClass {
22722269 pub type_type: i64,
22732270 }
22742271
2272+#[derive(Debug, Clone, Serialize, Deserialize)]
2273+pub struct Sealed {
2274+ pub sealed: i64,
2275+}
2276+
2277+#[derive(Debug, Clone, Serialize, Deserialize)]
2278+#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
2279+pub struct Sel {
2280+ pub sel: i64,
2281+}
2282+
2283+#[derive(Debug, Clone, Serialize, Deserialize)]
2284+pub struct Select {
2285+ pub select: i64,
2286+}
2287+
22752288 #[derive(Debug, Clone, Serialize, Deserialize)]
22762289 #[serde(rename_all = "PascalCase")]
22772290 pub struct Sendable {
22782291 pub sendable: i64,
22792292 }
22802293
2294+#[derive(Debug, Clone, Serialize, Deserialize)]
2295+#[serde(rename_all = "PascalCase")]
2296+pub struct SerializationFeature {
2297+ pub serialization_feature: i64,
2298+}
2299+
22812300 #[derive(Debug, Clone, Serialize, Deserialize)]
22822301 pub struct SerializeClass {
22832302 pub serialize: i64,
@@ -2518,27 +2537,13 @@ pub struct Utf8JsonReader {
25182537 pub utf8_json_reader: i64,
25192538 }
25202539
2521-#[derive(Debug, Clone, Serialize, Deserialize)]
2522-#[serde(rename_all = "PascalCase")]
2523-pub struct Utf8JsonWriter {
2524- pub utf8_json_writer: i64,
2525-}
2526-
2527-#[derive(Debug, Clone, Serialize, Deserialize)]
2528-#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
2529-pub struct Uuid {
2530- pub uuid: i64,
2531-}
2532-
2533-#[derive(Debug, Clone, Serialize, Deserialize)]
2534-pub struct Var {
2535- pub var: i64,
2536-}
2537-
25382540 #[derive(Debug, Clone, Serialize, Deserialize)]
25392541 pub struct Obj6 {
25402542 pub dummy: i64,
25412543
2544+ #[serde(rename = "virtual")]
2545+ pub obj6_virtual: Virtual,
2546+
25422547 #[serde(rename = "where")]
25432548 pub obj6_where: Where,
25442549
@@ -2548,6 +2553,14 @@ pub struct Obj6 {
25482553 #[serde(rename = "yield")]
25492554 pub obj6_yield: Yield,
25502555
2556+ #[serde(rename = "Utf8JsonWriter")]
2557+ pub utf8_json_writer: Utf8JsonWriter,
2558+
2559+ #[serde(rename = "UUID")]
2560+ pub uuid: Uuid,
2561+
2562+ pub var: Var,
2563+
25512564 pub void: Void,
25522565
25532566 pub volatile: Volatile,
@@ -2569,6 +2582,12 @@ pub struct Obj6 {
25692582 pub yes: Yes,
25702583 }
25712584
2585+#[derive(Debug, Clone, Serialize, Deserialize)]
2586+pub struct Virtual {
2587+ #[serde(rename = "virtual")]
2588+ pub virtual_virtual: i64,
2589+}
2590+
25722591 #[derive(Debug, Clone, Serialize, Deserialize)]
25732592 pub struct Where {
25742593 #[serde(rename = "where")]
@@ -2587,6 +2606,23 @@ pub struct Yield {
25872606 pub yield_yield: i64,
25882607 }
25892608
2609+#[derive(Debug, Clone, Serialize, Deserialize)]
2610+#[serde(rename_all = "PascalCase")]
2611+pub struct Utf8JsonWriter {
2612+ pub utf8_json_writer: i64,
2613+}
2614+
2615+#[derive(Debug, Clone, Serialize, Deserialize)]
2616+#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
2617+pub struct Uuid {
2618+ pub uuid: i64,
2619+}
2620+
2621+#[derive(Debug, Clone, Serialize, Deserialize)]
2622+pub struct Var {
2623+ pub var: i64,
2624+}
2625+
25902626 #[derive(Debug, Clone, Serialize, Deserialize)]
25912627 pub struct Void {
25922628 pub void: i64,
Mscala3-upickledefault / TopLevel.scala+67 −47
@@ -436,6 +436,7 @@ case class Obj2 (
436436 val del : Del,
437437 val delegate : Delegate,
438438 val delete : Delete,
439+ val DeserializationFeature : DeserializationFeature,
439440 val dict : Dict,
440441 val dictionary : Dictionary,
441442 val didSet : DidSet,
@@ -470,7 +471,6 @@ case class Obj2 (
470471 val get : Get,
471472 val global : Global,
472473 val go : Go,
473- val goto : Goto,
474474 val `def` : Def,
475475 val `do` : Do,
476476 val `else` : Else,
@@ -560,6 +560,10 @@ case class Delete (
560560 val delete : Long
561561 ) derives OptionPickler.ReadWriter
562562
563+case class DeserializationFeature (
564+ val DeserializationFeature : Long
565+) derives OptionPickler.ReadWriter
566+
563567 case class Dict (
564568 val dict : Long
565569 ) derives OptionPickler.ReadWriter
@@ -708,10 +712,6 @@ case class Go (
708712 val go : Long
709713 ) derives OptionPickler.ReadWriter
710714
711-case class Goto (
712- val goto : Long
713-) derives OptionPickler.ReadWriter
714-
715715 case class Def (
716716 val `def` : Long
717717 ) derives OptionPickler.ReadWriter
@@ -758,6 +758,7 @@ case class FalseClass (
758758
759759 case class Obj3 (
760760 val dummy : Long,
761+ val goto : Goto,
761762 val guard : Guard,
762763 val hasOwnProperty : HasOwnProperty,
763764 @upickle.implicits.key("hashCode")
@@ -817,7 +818,6 @@ case class Obj3 (
817818 val newtonsoft : Newtonsoft,
818819 val nil : Nil,
819820 val NO : No,
820- val noexcept : Noexcept,
821821 val `if` : If,
822822 val `implicit` : Implicit,
823823 val `import` : Import,
@@ -825,6 +825,10 @@ case class Obj3 (
825825 val `new` : New
826826 ) derives OptionPickler.ReadWriter
827827
828+case class Goto (
829+ val goto : Long
830+) derives OptionPickler.ReadWriter
831+
828832 case class Guard (
829833 val guard : Long
830834 ) derives OptionPickler.ReadWriter
@@ -1058,10 +1062,6 @@ case class No (
10581062 val NO : Long
10591063 ) derives OptionPickler.ReadWriter
10601064
1061-case class Noexcept (
1062- val noexcept : Long
1063-) derives OptionPickler.ReadWriter
1064-
10651065 case class If (
10661066 val `if` : Long
10671067 ) derives OptionPickler.ReadWriter
@@ -1085,6 +1085,7 @@ case class New (
10851085 case class Obj4 (
10861086 val dummy : Long,
10871087 val noSuchMethod : NoSuchMethod,
1088+ val noexcept : Noexcept,
10881089 val nonatomic : Nonatomic,
10891090 val None : NoneClass,
10901091 val nonlocal : Nonlocal,
@@ -1106,8 +1107,9 @@ case class Obj4 (
11061107 val `protected` : Protected,
11071108 val protocol : ProtocolClass,
11081109 val `return` : Return,
1109- val `sealed` : Sealed,
11101110 val ObjectMapper : ObjectMapper,
1111+ val ObjectReader : ObjectReader,
1112+ val ObjectWriter : ObjectWriter,
11111113 val of : Of,
11121114 val oneway : Oneway,
11131115 val open : Open,
@@ -1145,15 +1147,17 @@ case class Obj4 (
11451147 val right : Right,
11461148 val runtimeType : RuntimeType,
11471149 val s : S,
1148- val sbyte : Sbyte,
1149- val SEL : Sel,
1150- val select : Select
1150+ val sbyte : Sbyte
11511151 ) derives OptionPickler.ReadWriter
11521152
11531153 case class NoSuchMethod (
11541154 val noSuchMethod : Long
11551155 ) derives OptionPickler.ReadWriter
11561156
1157+case class Noexcept (
1158+ val noexcept : Long
1159+) derives OptionPickler.ReadWriter
1160+
11571161 case class Nonatomic (
11581162 val nonatomic : Long
11591163 ) derives OptionPickler.ReadWriter
@@ -1238,14 +1242,18 @@ case class Return (
12381242 val `return` : Long
12391243 ) derives OptionPickler.ReadWriter
12401244
1241-case class Sealed (
1242- val `sealed` : Long
1243-) derives OptionPickler.ReadWriter
1244-
12451245 case class ObjectMapper (
12461246 val ObjectMapper : Long
12471247 ) derives OptionPickler.ReadWriter
12481248
1249+case class ObjectReader (
1250+ val ObjectReader : Long
1251+) derives OptionPickler.ReadWriter
1252+
1253+case class ObjectWriter (
1254+ val ObjectWriter : Long
1255+) derives OptionPickler.ReadWriter
1256+
12491257 case class Of (
12501258 val of : Long
12511259 ) derives OptionPickler.ReadWriter
@@ -1398,16 +1406,9 @@ case class Sbyte (
13981406 val sbyte : Long
13991407 ) derives OptionPickler.ReadWriter
14001408
1401-case class Sel (
1402- val SEL : Long
1403-) derives OptionPickler.ReadWriter
1404-
1405-case class Select (
1406- val select : Long
1407-) derives OptionPickler.ReadWriter
1408-
14091409 case class Obj5 (
14101410 val dummy : Long,
1411+ val `sealed` : Sealed,
14111412 val self : SelfClass,
14121413 val `super` : Super,
14131414 val `then` : Then,
@@ -1416,11 +1417,13 @@ case class Obj5 (
14161417 val True : True,
14171418 val `try` : Try,
14181419 val Type : Type,
1419- val `var` : Var,
14201420 val `true` : TrueClass,
14211421 val `type` : TypeClass,
1422+ val SEL : Sel,
1423+ val select : Select,
14221424 val Self : Self,
14231425 val Sendable : Sendable,
1426+ val SerializationFeature : SerializationFeature,
14241427 val serialize : Serialize,
14251428 val SerializerProvider : SerializerProvider,
14261429 val set : Set,
@@ -1470,10 +1473,11 @@ case class Obj5 (
14701473 val unsigned : Unsigned,
14711474 val ushort : Ushort,
14721475 val using : Using,
1473- val Utf8JsonReader : Utf8JSONReader,
1474- val Utf8JsonWriter : Utf8JSONWriter,
1475- val UUID : UUID,
1476- val virtual : Virtual
1476+ val Utf8JsonReader : Utf8JSONReader
1477+) derives OptionPickler.ReadWriter
1478+
1479+case class Sealed (
1480+ val `sealed` : Long
14771481 ) derives OptionPickler.ReadWriter
14781482
14791483 case class SelfClass (
@@ -1508,10 +1512,6 @@ case class Type (
15081512 val Type : Long
15091513 ) derives OptionPickler.ReadWriter
15101514
1511-case class Var (
1512- val `var` : Long
1513-) derives OptionPickler.ReadWriter
1514-
15151515 case class TrueClass (
15161516 val `true` : Long
15171517 ) derives OptionPickler.ReadWriter
@@ -1520,6 +1520,14 @@ case class TypeClass (
15201520 val `type` : Long
15211521 ) derives OptionPickler.ReadWriter
15221522
1523+case class Sel (
1524+ val SEL : Long
1525+) derives OptionPickler.ReadWriter
1526+
1527+case class Select (
1528+ val select : Long
1529+) derives OptionPickler.ReadWriter
1530+
15231531 case class Self (
15241532 val Self : Long
15251533 ) derives OptionPickler.ReadWriter
@@ -1528,6 +1536,10 @@ case class Sendable (
15281536 val Sendable : Long
15291537 ) derives OptionPickler.ReadWriter
15301538
1539+case class SerializationFeature (
1540+ val SerializationFeature : Long
1541+) derives OptionPickler.ReadWriter
1542+
15311543 case class Serialize (
15321544 val serialize : Long
15331545 ) derives OptionPickler.ReadWriter
@@ -1722,23 +1734,15 @@ case class Utf8JSONReader (
17221734 val Utf8JsonReader : Long
17231735 ) derives OptionPickler.ReadWriter
17241736
1725-case class Utf8JSONWriter (
1726- val Utf8JsonWriter : Long
1727-) derives OptionPickler.ReadWriter
1728-
1729-case class UUID (
1730- val UUID : Long
1731-) derives OptionPickler.ReadWriter
1732-
1733-case class Virtual (
1734- val virtual : Long
1735-) derives OptionPickler.ReadWriter
1736-
17371737 case class Obj6 (
17381738 val dummy : Long,
1739+ val `var` : Var,
17391740 val `while` : While,
17401741 val `with` : With,
17411742 val `yield` : Yield,
1743+ val Utf8JsonWriter : Utf8JSONWriter,
1744+ val UUID : UUID,
1745+ val virtual : Virtual,
17421746 val void : Void,
17431747 val volatile : Volatile,
17441748 val wchar_t : WcharT,
@@ -1750,6 +1754,10 @@ case class Obj6 (
17501754 val YES : Yes
17511755 ) derives OptionPickler.ReadWriter
17521756
1757+case class Var (
1758+ val `var` : Long
1759+) derives OptionPickler.ReadWriter
1760+
17531761 case class While (
17541762 val `while` : Long
17551763 ) derives OptionPickler.ReadWriter
@@ -1762,6 +1770,18 @@ case class Yield (
17621770 val `yield` : Long
17631771 ) derives OptionPickler.ReadWriter
17641772
1773+case class Utf8JSONWriter (
1774+ val Utf8JsonWriter : Long
1775+) derives OptionPickler.ReadWriter
1776+
1777+case class UUID (
1778+ val UUID : Long
1779+) derives OptionPickler.ReadWriter
1780+
1781+case class Virtual (
1782+ val virtual : Long
1783+) derives OptionPickler.ReadWriter
1784+
17651785 case class Void (
17661786 val void : Long
17671787 ) derives OptionPickler.ReadWriter
Mscala3default / TopLevel.scala+67 −47
@@ -389,6 +389,7 @@ case class Obj2 (
389389 val del : Del,
390390 val delegate : Delegate,
391391 val delete : Delete,
392+ val DeserializationFeature : DeserializationFeature,
392393 val dict : Dict,
393394 val dictionary : Dictionary,
394395 val didSet : DidSet,
@@ -423,7 +424,6 @@ case class Obj2 (
423424 val get : Get,
424425 val global : Global,
425426 val go : Go,
426- val goto : Goto,
427427 val `def` : Def,
428428 val `do` : Do,
429429 val `else` : Else,
@@ -513,6 +513,10 @@ case class Delete (
513513 val delete : Long
514514 ) derives Encoder.AsObject, Decoder
515515
516+case class DeserializationFeature (
517+ val DeserializationFeature : Long
518+) derives Encoder.AsObject, Decoder
519+
516520 case class Dict (
517521 val dict : Long
518522 ) derives Encoder.AsObject, Decoder
@@ -659,10 +663,6 @@ case class Go (
659663 val go : Long
660664 ) derives Encoder.AsObject, Decoder
661665
662-case class Goto (
663- val goto : Long
664-) derives Encoder.AsObject, Decoder
665-
666666 case class Def (
667667 val `def` : Long
668668 ) derives Encoder.AsObject, Decoder
@@ -709,6 +709,7 @@ case class FalseClass (
709709
710710 case class Obj3 (
711711 val dummy : Long,
712+ val goto : Goto,
712713 val guard : Guard,
713714 val hasOwnProperty : HasOwnProperty,
714715 val hashCodeValue : HashCode,
@@ -767,7 +768,6 @@ case class Obj3 (
767768 val newtonsoft : Newtonsoft,
768769 val nil : Nil,
769770 val NO : No,
770- val noexcept : Noexcept,
771771 val `if` : If,
772772 val `implicit` : Implicit,
773773 val `import` : Import,
@@ -784,6 +784,10 @@ object Obj3:
784784 )
785785 given io.circe.Codec.AsObject[Obj3] = io.circe.derivation.ConfiguredCodec.derived
786786
787+case class Goto (
788+ val goto : Long
789+) derives Encoder.AsObject, Decoder
790+
787791 case class Guard (
788792 val guard : Long
789793 ) derives Encoder.AsObject, Decoder
@@ -1025,10 +1029,6 @@ case class No (
10251029 val NO : Long
10261030 ) derives Encoder.AsObject, Decoder
10271031
1028-case class Noexcept (
1029- val noexcept : Long
1030-) derives Encoder.AsObject, Decoder
1031-
10321032 case class If (
10331033 val `if` : Long
10341034 ) derives Encoder.AsObject, Decoder
@@ -1052,6 +1052,7 @@ case class New (
10521052 case class Obj4 (
10531053 val dummy : Long,
10541054 val noSuchMethod : NoSuchMethod,
1055+ val noexcept : Noexcept,
10551056 val nonatomic : Nonatomic,
10561057 val None : NoneClass,
10571058 val nonlocal : Nonlocal,
@@ -1073,8 +1074,9 @@ case class Obj4 (
10731074 val `protected` : Protected,
10741075 val protocol : ProtocolClass,
10751076 val `return` : Return,
1076- val `sealed` : Sealed,
10771077 val ObjectMapper : ObjectMapper,
1078+ val ObjectReader : ObjectReader,
1079+ val ObjectWriter : ObjectWriter,
10781080 val of : Of,
10791081 val oneway : Oneway,
10801082 val open : Open,
@@ -1112,15 +1114,17 @@ case class Obj4 (
11121114 val right : Right,
11131115 val runtimeType : RuntimeType,
11141116 val s : S,
1115- val sbyte : Sbyte,
1116- val SEL : Sel,
1117- val select : Select
1117+ val sbyte : Sbyte
11181118 ) derives Encoder.AsObject, Decoder
11191119
11201120 case class NoSuchMethod (
11211121 val noSuchMethod : Long
11221122 ) derives Encoder.AsObject, Decoder
11231123
1124+case class Noexcept (
1125+ val noexcept : Long
1126+) derives Encoder.AsObject, Decoder
1127+
11241128 case class Nonatomic (
11251129 val nonatomic : Long
11261130 ) derives Encoder.AsObject, Decoder
@@ -1205,14 +1209,18 @@ case class Return (
12051209 val `return` : Long
12061210 ) derives Encoder.AsObject, Decoder
12071211
1208-case class Sealed (
1209- val `sealed` : Long
1210-) derives Encoder.AsObject, Decoder
1211-
12121212 case class ObjectMapper (
12131213 val ObjectMapper : Long
12141214 ) derives Encoder.AsObject, Decoder
12151215
1216+case class ObjectReader (
1217+ val ObjectReader : Long
1218+) derives Encoder.AsObject, Decoder
1219+
1220+case class ObjectWriter (
1221+ val ObjectWriter : Long
1222+) derives Encoder.AsObject, Decoder
1223+
12161224 case class Of (
12171225 val of : Long
12181226 ) derives Encoder.AsObject, Decoder
@@ -1365,16 +1373,9 @@ case class Sbyte (
13651373 val sbyte : Long
13661374 ) derives Encoder.AsObject, Decoder
13671375
1368-case class Sel (
1369- val SEL : Long
1370-) derives Encoder.AsObject, Decoder
1371-
1372-case class Select (
1373- val select : Long
1374-) derives Encoder.AsObject, Decoder
1375-
13761376 case class Obj5 (
13771377 val dummy : Long,
1378+ val `sealed` : Sealed,
13781379 val self : SelfClass,
13791380 val `super` : Super,
13801381 val `then` : Then,
@@ -1383,11 +1384,13 @@ case class Obj5 (
13831384 val True : True,
13841385 val `try` : Try,
13851386 val Type : Type,
1386- val `var` : Var,
13871387 val `true` : TrueClass,
13881388 val `type` : TypeClass,
1389+ val SEL : Sel,
1390+ val select : Select,
13891391 val Self : Self,
13901392 val Sendable : Sendable,
1393+ val SerializationFeature : SerializationFeature,
13911394 val serialize : Serialize,
13921395 val SerializerProvider : SerializerProvider,
13931396 val set : Set,
@@ -1435,10 +1438,7 @@ case class Obj5 (
14351438 val unsigned : Unsigned,
14361439 val ushort : Ushort,
14371440 val using : Using,
1438- val Utf8JsonReader : Utf8JSONReader,
1439- val Utf8JsonWriter : Utf8JSONWriter,
1440- val UUID : UUID,
1441- val virtual : Virtual
1441+ val Utf8JsonReader : Utf8JSONReader
14421442 )
14431443
14441444 object Obj5:
@@ -1451,6 +1451,10 @@ object Obj5:
14511451 )
14521452 given io.circe.Codec.AsObject[Obj5] = io.circe.derivation.ConfiguredCodec.derived
14531453
1454+case class Sealed (
1455+ val `sealed` : Long
1456+) derives Encoder.AsObject, Decoder
1457+
14541458 case class SelfClass (
14551459 val self : Long
14561460 ) derives Encoder.AsObject, Decoder
@@ -1483,10 +1487,6 @@ case class Type (
14831487 val Type : Long
14841488 ) derives Encoder.AsObject, Decoder
14851489
1486-case class Var (
1487- val `var` : Long
1488-) derives Encoder.AsObject, Decoder
1489-
14901490 case class TrueClass (
14911491 val `true` : Long
14921492 ) derives Encoder.AsObject, Decoder
@@ -1495,6 +1495,14 @@ case class TypeClass (
14951495 val `type` : Long
14961496 ) derives Encoder.AsObject, Decoder
14971497
1498+case class Sel (
1499+ val SEL : Long
1500+) derives Encoder.AsObject, Decoder
1501+
1502+case class Select (
1503+ val select : Long
1504+) derives Encoder.AsObject, Decoder
1505+
14981506 case class Self (
14991507 val Self : Long
15001508 ) derives Encoder.AsObject, Decoder
@@ -1503,6 +1511,10 @@ case class Sendable (
15031511 val Sendable : Long
15041512 ) derives Encoder.AsObject, Decoder
15051513
1514+case class SerializationFeature (
1515+ val SerializationFeature : Long
1516+) derives Encoder.AsObject, Decoder
1517+
15061518 case class Serialize (
15071519 val serialize : Long
15081520 ) derives Encoder.AsObject, Decoder
@@ -1713,23 +1725,15 @@ case class Utf8JSONReader (
17131725 val Utf8JsonReader : Long
17141726 ) derives Encoder.AsObject, Decoder
17151727
1716-case class Utf8JSONWriter (
1717- val Utf8JsonWriter : Long
1718-) derives Encoder.AsObject, Decoder
1719-
1720-case class UUID (
1721- val UUID : Long
1722-) derives Encoder.AsObject, Decoder
1723-
1724-case class Virtual (
1725- val virtual : Long
1726-) derives Encoder.AsObject, Decoder
1727-
17281728 case class Obj6 (
17291729 val dummy : Long,
1730+ val `var` : Var,
17301731 val `while` : While,
17311732 val `with` : With,
17321733 val `yield` : Yield,
1734+ val Utf8JsonWriter : Utf8JSONWriter,
1735+ val UUID : UUID,
1736+ val virtual : Virtual,
17331737 val void : Void,
17341738 val volatile : Volatile,
17351739 val wchar_t : WcharT,
@@ -1741,6 +1745,10 @@ case class Obj6 (
17411745 val YES : Yes
17421746 ) derives Encoder.AsObject, Decoder
17431747
1748+case class Var (
1749+ val `var` : Long
1750+) derives Encoder.AsObject, Decoder
1751+
17441752 case class While (
17451753 val `while` : Long
17461754 ) derives Encoder.AsObject, Decoder
@@ -1753,6 +1761,18 @@ case class Yield (
17531761 val `yield` : Long
17541762 ) derives Encoder.AsObject, Decoder
17551763
1764+case class Utf8JSONWriter (
1765+ val Utf8JsonWriter : Long
1766+) derives Encoder.AsObject, Decoder
1767+
1768+case class UUID (
1769+ val UUID : Long
1770+) derives Encoder.AsObject, Decoder
1771+
1772+case class Virtual (
1773+ val virtual : Long
1774+) derives Encoder.AsObject, Decoder
1775+
17561776 case class Void (
17571777 val void : Long
17581778 ) derives Encoder.AsObject, Decoder
Mswiftdefault / quicktype.swift+636 −444
@@ -3208,6 +3208,7 @@ struct Obj2: Codable {
32083208 let del: Del
32093209 let delegate: Delegate
32103210 let delete: Delete
3211+ let deserializationFeature: DeserializationFeature
32113212 let dict: Dict
32123213 let dictionary: Dictionary
32133214 let double: DoubleClass
@@ -3238,7 +3239,6 @@ struct Obj2: Codable {
32383239 let function: Function
32393240 let global: Global
32403241 let go: Go
3241- let goto: Goto
32423242 let obj2Default: Default
32433243 let obj2Defer: Defer
32443244 let obj2Deinit: Deinit
@@ -3275,6 +3275,7 @@ struct Obj2: Codable {
32753275 case del = "del"
32763276 case delegate = "delegate"
32773277 case delete = "delete"
3278+ case deserializationFeature = "DeserializationFeature"
32783279 case dict = "dict"
32793280 case dictionary = "dictionary"
32803281 case double = "double"
@@ -3305,7 +3306,6 @@ struct Obj2: Codable {
33053306 case function = "function"
33063307 case global = "global"
33073308 case go = "go"
3308- case goto = "goto"
33093309 case obj2Default = "default"
33103310 case obj2Defer = "defer"
33113311 case obj2Deinit = "deinit"
@@ -3362,6 +3362,7 @@ extension Obj2 {
33623362 del: Del? = nil,
33633363 delegate: Delegate? = nil,
33643364 delete: Delete? = nil,
3365+ deserializationFeature: DeserializationFeature? = nil,
33653366 dict: Dict? = nil,
33663367 dictionary: Dictionary? = nil,
33673368 double: DoubleClass? = nil,
@@ -3392,7 +3393,6 @@ extension Obj2 {
33923393 function: Function? = nil,
33933394 global: Global? = nil,
33943395 go: Go? = nil,
3395- goto: Goto? = nil,
33963396 obj2Default: Default? = nil,
33973397 obj2Defer: Defer? = nil,
33983398 obj2Deinit: Deinit? = nil,
@@ -3429,6 +3429,7 @@ extension Obj2 {
34293429 del: del ?? self.del,
34303430 delegate: delegate ?? self.delegate,
34313431 delete: delete ?? self.delete,
3432+ deserializationFeature: deserializationFeature ?? self.deserializationFeature,
34323433 dict: dict ?? self.dict,
34333434 dictionary: dictionary ?? self.dictionary,
34343435 double: double ?? self.double,
@@ -3459,7 +3460,6 @@ extension Obj2 {
34593460 function: function ?? self.function,
34603461 global: global ?? self.global,
34613462 go: go ?? self.go,
3462- goto: goto ?? self.goto,
34633463 obj2Default: obj2Default ?? self.obj2Default,
34643464 obj2Defer: obj2Defer ?? self.obj2Defer,
34653465 obj2Deinit: obj2Deinit ?? self.obj2Deinit,
@@ -4237,6 +4237,50 @@ extension Delete {
42374237 }
42384238 }
42394239
4240+// MARK: - DeserializationFeature
4241+struct DeserializationFeature: Codable {
4242+ let deserializationFeature: Int
4243+
4244+ enum CodingKeys: String, CodingKey {
4245+ case deserializationFeature = "DeserializationFeature"
4246+ }
4247+}
4248+
4249+// MARK: DeserializationFeature convenience initializers and mutators
4250+
4251+extension DeserializationFeature {
4252+ init(data: Data) throws {
4253+ self = try newJSONDecoder().decode(DeserializationFeature.self, from: data)
4254+ }
4255+
4256+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
4257+ guard let data = json.data(using: encoding) else {
4258+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
4259+ }
4260+ try self.init(data: data)
4261+ }
4262+
4263+ init(fromURL url: URL) throws {
4264+ try self.init(data: try Data(contentsOf: url))
4265+ }
4266+
4267+ func with(
4268+ deserializationFeature: Int? = nil
4269+ ) -> DeserializationFeature {
4270+ return DeserializationFeature(
4271+ deserializationFeature: deserializationFeature ?? self.deserializationFeature
4272+ )
4273+ }
4274+
4275+ func jsonData() throws -> Data {
4276+ return try newJSONEncoder().encode(self)
4277+ }
4278+
4279+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
4280+ return String(data: try self.jsonData(), encoding: encoding)
4281+ }
4282+}
4283+
42404284 // MARK: - Dict
42414285 struct Dict: Codable {
42424286 let dict: Int
@@ -5518,50 +5562,6 @@ extension Go {
55185562 }
55195563 }
55205564
5521-// MARK: - Goto
5522-struct Goto: Codable {
5523- let goto: Int
5524-
5525- enum CodingKeys: String, CodingKey {
5526- case goto = "goto"
5527- }
5528-}
5529-
5530-// MARK: Goto convenience initializers and mutators
5531-
5532-extension Goto {
5533- init(data: Data) throws {
5534- self = try newJSONDecoder().decode(Goto.self, from: data)
5535- }
5536-
5537- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
5538- guard let data = json.data(using: encoding) else {
5539- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
5540- }
5541- try self.init(data: data)
5542- }
5543-
5544- init(fromURL url: URL) throws {
5545- try self.init(data: try Data(contentsOf: url))
5546- }
5547-
5548- func with(
5549- goto: Int? = nil
5550- ) -> Goto {
5551- return Goto(
5552- goto: goto ?? self.goto
5553- )
5554- }
5555-
5556- func jsonData() throws -> Data {
5557- return try newJSONEncoder().encode(self)
5558- }
5559-
5560- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
5561- return String(data: try self.jsonData(), encoding: encoding)
5562- }
5563-}
5564-
55655565 // MARK: - Default
55665566 struct Default: Codable {
55675567 let defaultDefault: Int
@@ -6313,6 +6313,7 @@ extension FalseClass {
63136313 // MARK: - Obj3
63146314 struct Obj3: Codable {
63156315 let dummy: Int
6316+ let goto: Goto
63166317 let hasOwnProperty: HasOwnProperty
63176318 let hashCode: HashCode
63186319 let hashable: HashableClass
@@ -6360,7 +6361,6 @@ struct Obj3: Codable {
63606361 let new: New
63616362 let newtonsoft: Newtonsoft
63626363 let no: No
6363- let noexcept: Noexcept
63646364 let obj3Guard: Guard
63656365 let obj3If: If
63666366 let obj3Import: Import
@@ -6380,6 +6380,7 @@ struct Obj3: Codable {
63806380
63816381 enum CodingKeys: String, CodingKey {
63826382 case dummy = "dummy"
6383+ case goto = "goto"
63836384 case hasOwnProperty = "hasOwnProperty"
63846385 case hashCode = "hashCode"
63856386 case hashable = "Hashable"
@@ -6427,7 +6428,6 @@ struct Obj3: Codable {
64276428 case new = "new"
64286429 case newtonsoft = "newtonsoft"
64296430 case no = "NO"
6430- case noexcept = "noexcept"
64316431 case obj3Guard = "guard"
64326432 case obj3If = "if"
64336433 case obj3Import = "import"
@@ -6467,6 +6467,7 @@ extension Obj3 {
64676467
64686468 func with(
64696469 dummy: Int? = nil,
6470+ goto: Goto? = nil,
64706471 hasOwnProperty: HasOwnProperty? = nil,
64716472 hashCode: HashCode? = nil,
64726473 hashable: HashableClass? = nil,
@@ -6514,7 +6515,6 @@ extension Obj3 {
65146515 new: New? = nil,
65156516 newtonsoft: Newtonsoft? = nil,
65166517 no: No? = nil,
6517- noexcept: Noexcept? = nil,
65186518 obj3Guard: Guard? = nil,
65196519 obj3If: If? = nil,
65206520 obj3Import: Import? = nil,
@@ -6534,6 +6534,7 @@ extension Obj3 {
65346534 ) -> Obj3 {
65356535 return Obj3(
65366536 dummy: dummy ?? self.dummy,
6537+ goto: goto ?? self.goto,
65376538 hasOwnProperty: hasOwnProperty ?? self.hasOwnProperty,
65386539 hashCode: hashCode ?? self.hashCode,
65396540 hashable: hashable ?? self.hashable,
@@ -6581,7 +6582,6 @@ extension Obj3 {
65816582 new: new ?? self.new,
65826583 newtonsoft: newtonsoft ?? self.newtonsoft,
65836584 no: no ?? self.no,
6584- noexcept: noexcept ?? self.noexcept,
65856585 obj3Guard: obj3Guard ?? self.obj3Guard,
65866586 obj3If: obj3If ?? self.obj3If,
65876587 obj3Import: obj3Import ?? self.obj3Import,
@@ -6610,6 +6610,50 @@ extension Obj3 {
66106610 }
66116611 }
66126612
6613+// MARK: - Goto
6614+struct Goto: Codable {
6615+ let goto: Int
6616+
6617+ enum CodingKeys: String, CodingKey {
6618+ case goto = "goto"
6619+ }
6620+}
6621+
6622+// MARK: Goto convenience initializers and mutators
6623+
6624+extension Goto {
6625+ init(data: Data) throws {
6626+ self = try newJSONDecoder().decode(Goto.self, from: data)
6627+ }
6628+
6629+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
6630+ guard let data = json.data(using: encoding) else {
6631+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
6632+ }
6633+ try self.init(data: data)
6634+ }
6635+
6636+ init(fromURL url: URL) throws {
6637+ try self.init(data: try Data(contentsOf: url))
6638+ }
6639+
6640+ func with(
6641+ goto: Int? = nil
6642+ ) -> Goto {
6643+ return Goto(
6644+ goto: goto ?? self.goto
6645+ )
6646+ }
6647+
6648+ func jsonData() throws -> Data {
6649+ return try newJSONEncoder().encode(self)
6650+ }
6651+
6652+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
6653+ return String(data: try self.jsonData(), encoding: encoding)
6654+ }
6655+}
6656+
66136657 // MARK: - HasOwnProperty
66146658 struct HasOwnProperty: Codable {
66156659 let hasOwnProperty: Int
@@ -8678,50 +8722,6 @@ extension No {
86788722 }
86798723 }
86808724
8681-// MARK: - Noexcept
8682-struct Noexcept: Codable {
8683- let noexcept: Int
8684-
8685- enum CodingKeys: String, CodingKey {
8686- case noexcept = "noexcept"
8687- }
8688-}
8689-
8690-// MARK: Noexcept convenience initializers and mutators
8691-
8692-extension Noexcept {
8693- init(data: Data) throws {
8694- self = try newJSONDecoder().decode(Noexcept.self, from: data)
8695- }
8696-
8697- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
8698- guard let data = json.data(using: encoding) else {
8699- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
8700- }
8701- try self.init(data: data)
8702- }
8703-
8704- init(fromURL url: URL) throws {
8705- try self.init(data: try Data(contentsOf: url))
8706- }
8707-
8708- func with(
8709- noexcept: Int? = nil
8710- ) -> Noexcept {
8711- return Noexcept(
8712- noexcept: noexcept ?? self.noexcept
8713- )
8714- }
8715-
8716- func jsonData() throws -> Data {
8717- return try newJSONEncoder().encode(self)
8718- }
8719-
8720- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
8721- return String(data: try self.jsonData(), encoding: encoding)
8722- }
8723-}
8724-
87258725 // MARK: - Guard
87268726 struct Guard: Codable {
87278727 let guardGuard: Int
@@ -9430,6 +9430,7 @@ extension Nil {
94309430 struct Obj4: Codable {
94319431 let dummy: Int
94329432 let noSuchMethod: NoSuchMethod
9433+ let noexcept: Noexcept
94339434 let nonatomic: Nonatomic
94349435 let none: None
94359436 let nonlocal: Nonlocal
@@ -9461,6 +9462,8 @@ struct Obj4: Codable {
94619462 let obj4Right: Right
94629463 let object: Object
94639464 let objectMapper: ObjectMapper
9465+ let objectReader: ObjectReader
9466+ let objectWriter: ObjectWriter
94649467 let of: Of
94659468 let oneway: Oneway
94669469 let or: Or
@@ -9490,13 +9493,11 @@ struct Obj4: Codable {
94909493 let runtimeType: RuntimeType
94919494 let s: S
94929495 let sbyte: Sbyte
9493- let sealed: Sealed
9494- let sel: Sel
9495- let select: Select
94969496
94979497 enum CodingKeys: String, CodingKey {
94989498 case dummy = "dummy"
94999499 case noSuchMethod = "noSuchMethod"
9500+ case noexcept = "noexcept"
95009501 case nonatomic = "nonatomic"
95019502 case none = "None"
95029503 case nonlocal = "nonlocal"
@@ -9528,6 +9529,8 @@ struct Obj4: Codable {
95289529 case obj4Right = "right"
95299530 case object = "object"
95309531 case objectMapper = "ObjectMapper"
9532+ case objectReader = "ObjectReader"
9533+ case objectWriter = "ObjectWriter"
95319534 case of = "of"
95329535 case oneway = "oneway"
95339536 case or = "or"
@@ -9557,9 +9560,6 @@ struct Obj4: Codable {
95579560 case runtimeType = "runtimeType"
95589561 case s = "s"
95599562 case sbyte = "sbyte"
9560- case sealed = "sealed"
9561- case sel = "SEL"
9562- case select = "select"
95639563 }
95649564 }
95659565
@@ -9584,6 +9584,7 @@ extension Obj4 {
95849584 func with(
95859585 dummy: Int? = nil,
95869586 noSuchMethod: NoSuchMethod? = nil,
9587+ noexcept: Noexcept? = nil,
95879588 nonatomic: Nonatomic? = nil,
95889589 none: None? = nil,
95899590 nonlocal: Nonlocal? = nil,
@@ -9615,6 +9616,8 @@ extension Obj4 {
96159616 obj4Right: Right? = nil,
96169617 object: Object? = nil,
96179618 objectMapper: ObjectMapper? = nil,
9619+ objectReader: ObjectReader? = nil,
9620+ objectWriter: ObjectWriter? = nil,
96189621 of: Of? = nil,
96199622 oneway: Oneway? = nil,
96209623 or: Or? = nil,
@@ -9643,14 +9646,12 @@ extension Obj4 {
96439646 retain: Retain? = nil,
96449647 runtimeType: RuntimeType? = nil,
96459648 s: S? = nil,
9646- sbyte: Sbyte? = nil,
9647- sealed: Sealed? = nil,
9648- sel: Sel? = nil,
9649- select: Select? = nil
9649+ sbyte: Sbyte? = nil
96509650 ) -> Obj4 {
96519651 return Obj4(
96529652 dummy: dummy ?? self.dummy,
96539653 noSuchMethod: noSuchMethod ?? self.noSuchMethod,
9654+ noexcept: noexcept ?? self.noexcept,
96549655 nonatomic: nonatomic ?? self.nonatomic,
96559656 none: none ?? self.none,
96569657 nonlocal: nonlocal ?? self.nonlocal,
@@ -9682,6 +9683,8 @@ extension Obj4 {
96829683 obj4Right: obj4Right ?? self.obj4Right,
96839684 object: object ?? self.object,
96849685 objectMapper: objectMapper ?? self.objectMapper,
9686+ objectReader: objectReader ?? self.objectReader,
9687+ objectWriter: objectWriter ?? self.objectWriter,
96859688 of: of ?? self.of,
96869689 oneway: oneway ?? self.oneway,
96879690 or: or ?? self.or,
@@ -9710,10 +9713,7 @@ extension Obj4 {
97109713 retain: retain ?? self.retain,
97119714 runtimeType: runtimeType ?? self.runtimeType,
97129715 s: s ?? self.s,
9713- sbyte: sbyte ?? self.sbyte,
9714- sealed: sealed ?? self.sealed,
9715- sel: sel ?? self.sel,
9716- select: select ?? self.select
9716+ sbyte: sbyte ?? self.sbyte
97179717 )
97189718 }
97199719
@@ -9770,6 +9770,50 @@ extension NoSuchMethod {
97709770 }
97719771 }
97729772
9773+// MARK: - Noexcept
9774+struct Noexcept: Codable {
9775+ let noexcept: Int
9776+
9777+ enum CodingKeys: String, CodingKey {
9778+ case noexcept = "noexcept"
9779+ }
9780+}
9781+
9782+// MARK: Noexcept convenience initializers and mutators
9783+
9784+extension Noexcept {
9785+ init(data: Data) throws {
9786+ self = try newJSONDecoder().decode(Noexcept.self, from: data)
9787+ }
9788+
9789+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
9790+ guard let data = json.data(using: encoding) else {
9791+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
9792+ }
9793+ try self.init(data: data)
9794+ }
9795+
9796+ init(fromURL url: URL) throws {
9797+ try self.init(data: try Data(contentsOf: url))
9798+ }
9799+
9800+ func with(
9801+ noexcept: Int? = nil
9802+ ) -> Noexcept {
9803+ return Noexcept(
9804+ noexcept: noexcept ?? self.noexcept
9805+ )
9806+ }
9807+
9808+ func jsonData() throws -> Data {
9809+ return try newJSONEncoder().encode(self)
9810+ }
9811+
9812+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
9813+ return String(data: try self.jsonData(), encoding: encoding)
9814+ }
9815+}
9816+
97739817 // MARK: - Nonatomic
97749818 struct Nonatomic: Codable {
97759819 let nonatomic: Int
@@ -11134,20 +11178,20 @@ extension ObjectMapper {
1113411178 }
1113511179 }
1113611180
11137-// MARK: - Of
11138-struct Of: Codable {
11139- let of: Int
11181+// MARK: - ObjectReader
11182+struct ObjectReader: Codable {
11183+ let objectReader: Int
1114011184
1114111185 enum CodingKeys: String, CodingKey {
11142- case of = "of"
11186+ case objectReader = "ObjectReader"
1114311187 }
1114411188 }
1114511189
11146-// MARK: Of convenience initializers and mutators
11190+// MARK: ObjectReader convenience initializers and mutators
1114711191
11148-extension Of {
11192+extension ObjectReader {
1114911193 init(data: Data) throws {
11150- self = try newJSONDecoder().decode(Of.self, from: data)
11194+ self = try newJSONDecoder().decode(ObjectReader.self, from: data)
1115111195 }
1115211196
1115311197 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -11162,10 +11206,10 @@ extension Of {
1116211206 }
1116311207
1116411208 func with(
11165- of: Int? = nil
11166- ) -> Of {
11167- return Of(
11168- of: of ?? self.of
11209+ objectReader: Int? = nil
11210+ ) -> ObjectReader {
11211+ return ObjectReader(
11212+ objectReader: objectReader ?? self.objectReader
1116911213 )
1117011214 }
1117111215
@@ -11178,20 +11222,20 @@ extension Of {
1117811222 }
1117911223 }
1118011224
11181-// MARK: - Oneway
11182-struct Oneway: Codable {
11183- let oneway: Int
11225+// MARK: - ObjectWriter
11226+struct ObjectWriter: Codable {
11227+ let objectWriter: Int
1118411228
1118511229 enum CodingKeys: String, CodingKey {
11186- case oneway = "oneway"
11230+ case objectWriter = "ObjectWriter"
1118711231 }
1118811232 }
1118911233
11190-// MARK: Oneway convenience initializers and mutators
11234+// MARK: ObjectWriter convenience initializers and mutators
1119111235
11192-extension Oneway {
11236+extension ObjectWriter {
1119311237 init(data: Data) throws {
11194- self = try newJSONDecoder().decode(Oneway.self, from: data)
11238+ self = try newJSONDecoder().decode(ObjectWriter.self, from: data)
1119511239 }
1119611240
1119711241 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -11206,7 +11250,95 @@ extension Oneway {
1120611250 }
1120711251
1120811252 func with(
11209- oneway: Int? = nil
11253+ objectWriter: Int? = nil
11254+ ) -> ObjectWriter {
11255+ return ObjectWriter(
11256+ objectWriter: objectWriter ?? self.objectWriter
11257+ )
11258+ }
11259+
11260+ func jsonData() throws -> Data {
11261+ return try newJSONEncoder().encode(self)
11262+ }
11263+
11264+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
11265+ return String(data: try self.jsonData(), encoding: encoding)
11266+ }
11267+}
11268+
11269+// MARK: - Of
11270+struct Of: Codable {
11271+ let of: Int
11272+
11273+ enum CodingKeys: String, CodingKey {
11274+ case of = "of"
11275+ }
11276+}
11277+
11278+// MARK: Of convenience initializers and mutators
11279+
11280+extension Of {
11281+ init(data: Data) throws {
11282+ self = try newJSONDecoder().decode(Of.self, from: data)
11283+ }
11284+
11285+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
11286+ guard let data = json.data(using: encoding) else {
11287+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
11288+ }
11289+ try self.init(data: data)
11290+ }
11291+
11292+ init(fromURL url: URL) throws {
11293+ try self.init(data: try Data(contentsOf: url))
11294+ }
11295+
11296+ func with(
11297+ of: Int? = nil
11298+ ) -> Of {
11299+ return Of(
11300+ of: of ?? self.of
11301+ )
11302+ }
11303+
11304+ func jsonData() throws -> Data {
11305+ return try newJSONEncoder().encode(self)
11306+ }
11307+
11308+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
11309+ return String(data: try self.jsonData(), encoding: encoding)
11310+ }
11311+}
11312+
11313+// MARK: - Oneway
11314+struct Oneway: Codable {
11315+ let oneway: Int
11316+
11317+ enum CodingKeys: String, CodingKey {
11318+ case oneway = "oneway"
11319+ }
11320+}
11321+
11322+// MARK: Oneway convenience initializers and mutators
11323+
11324+extension Oneway {
11325+ init(data: Data) throws {
11326+ self = try newJSONDecoder().decode(Oneway.self, from: data)
11327+ }
11328+
11329+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
11330+ guard let data = json.data(using: encoding) else {
11331+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
11332+ }
11333+ try self.init(data: data)
11334+ }
11335+
11336+ init(fromURL url: URL) throws {
11337+ try self.init(data: try Data(contentsOf: url))
11338+ }
11339+
11340+ func with(
11341+ oneway: Int? = nil
1121011342 ) -> Oneway {
1121111343 return Oneway(
1121211344 oneway: oneway ?? self.oneway
@@ -12410,138 +12542,6 @@ extension Sbyte {
1241012542 }
1241112543 }
1241212544
12413-// MARK: - Sealed
12414-struct Sealed: Codable {
12415- let sealed: Int
12416-
12417- enum CodingKeys: String, CodingKey {
12418- case sealed = "sealed"
12419- }
12420-}
12421-
12422-// MARK: Sealed convenience initializers and mutators
12423-
12424-extension Sealed {
12425- init(data: Data) throws {
12426- self = try newJSONDecoder().decode(Sealed.self, from: data)
12427- }
12428-
12429- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12430- guard let data = json.data(using: encoding) else {
12431- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12432- }
12433- try self.init(data: data)
12434- }
12435-
12436- init(fromURL url: URL) throws {
12437- try self.init(data: try Data(contentsOf: url))
12438- }
12439-
12440- func with(
12441- sealed: Int? = nil
12442- ) -> Sealed {
12443- return Sealed(
12444- sealed: sealed ?? self.sealed
12445- )
12446- }
12447-
12448- func jsonData() throws -> Data {
12449- return try newJSONEncoder().encode(self)
12450- }
12451-
12452- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12453- return String(data: try self.jsonData(), encoding: encoding)
12454- }
12455-}
12456-
12457-// MARK: - Sel
12458-struct Sel: Codable {
12459- let sel: Int
12460-
12461- enum CodingKeys: String, CodingKey {
12462- case sel = "SEL"
12463- }
12464-}
12465-
12466-// MARK: Sel convenience initializers and mutators
12467-
12468-extension Sel {
12469- init(data: Data) throws {
12470- self = try newJSONDecoder().decode(Sel.self, from: data)
12471- }
12472-
12473- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12474- guard let data = json.data(using: encoding) else {
12475- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12476- }
12477- try self.init(data: data)
12478- }
12479-
12480- init(fromURL url: URL) throws {
12481- try self.init(data: try Data(contentsOf: url))
12482- }
12483-
12484- func with(
12485- sel: Int? = nil
12486- ) -> Sel {
12487- return Sel(
12488- sel: sel ?? self.sel
12489- )
12490- }
12491-
12492- func jsonData() throws -> Data {
12493- return try newJSONEncoder().encode(self)
12494- }
12495-
12496- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12497- return String(data: try self.jsonData(), encoding: encoding)
12498- }
12499-}
12500-
12501-// MARK: - Select
12502-struct Select: Codable {
12503- let select: Int
12504-
12505- enum CodingKeys: String, CodingKey {
12506- case select = "select"
12507- }
12508-}
12509-
12510-// MARK: Select convenience initializers and mutators
12511-
12512-extension Select {
12513- init(data: Data) throws {
12514- self = try newJSONDecoder().decode(Select.self, from: data)
12515- }
12516-
12517- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12518- guard let data = json.data(using: encoding) else {
12519- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12520- }
12521- try self.init(data: data)
12522- }
12523-
12524- init(fromURL url: URL) throws {
12525- try self.init(data: try Data(contentsOf: url))
12526- }
12527-
12528- func with(
12529- select: Int? = nil
12530- ) -> Select {
12531- return Select(
12532- select: select ?? self.select
12533- )
12534- }
12535-
12536- func jsonData() throws -> Data {
12537- return try newJSONEncoder().encode(self)
12538- }
12539-
12540- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12541- return String(data: try self.jsonData(), encoding: encoding)
12542- }
12543-}
12544-
1254512545 // MARK: - Obj5
1254612546 struct Obj5: Codable {
1254712547 let dummy: Int
@@ -12559,10 +12559,13 @@ struct Obj5: Codable {
1255912559 let obj5Type: Obj5Type
1256012560 let obj5Typealias: Typealias
1256112561 let obj5Unowned: Unowned
12562- let obj5Var: Var
1256312562 let purpleSelf: Obj5Self
1256412563 let purpleTrue: TrueClass
12564+ let sealed: Sealed
12565+ let sel: Sel
12566+ let select: Select
1256512567 let sendable: Sendable
12568+ let serializationFeature: SerializationFeature
1256612569 let serialize: Serialize
1256712570 let serializerProvider: SerializerProvider
1256812571 let short: Short
@@ -12606,9 +12609,6 @@ struct Obj5: Codable {
1260612609 let ushort: Ushort
1260712610 let using: Using
1260812611 let utf8JSONReader: Utf8JSONReader
12609- let utf8JSONWriter: Utf8JSONWriter
12610- let uuid: UUIDClass
12611- let virtual: Virtual
1261212612
1261312613 enum CodingKeys: String, CodingKey {
1261412614 case dummy = "dummy"
@@ -12626,10 +12626,13 @@ struct Obj5: Codable {
1262612626 case obj5Type = "type"
1262712627 case obj5Typealias = "typealias"
1262812628 case obj5Unowned = "unowned"
12629- case obj5Var = "var"
1263012629 case purpleSelf = "self"
1263112630 case purpleTrue = "true"
12631+ case sealed = "sealed"
12632+ case sel = "SEL"
12633+ case select = "select"
1263212634 case sendable = "Sendable"
12635+ case serializationFeature = "SerializationFeature"
1263312636 case serialize = "serialize"
1263412637 case serializerProvider = "SerializerProvider"
1263512638 case short = "short"
@@ -12673,9 +12676,6 @@ struct Obj5: Codable {
1267312676 case ushort = "ushort"
1267412677 case using = "using"
1267512678 case utf8JSONReader = "Utf8JsonReader"
12676- case utf8JSONWriter = "Utf8JsonWriter"
12677- case uuid = "UUID"
12678- case virtual = "virtual"
1267912679 }
1268012680 }
1268112681
@@ -12713,10 +12713,13 @@ extension Obj5 {
1271312713 obj5Type: Obj5Type? = nil,
1271412714 obj5Typealias: Typealias? = nil,
1271512715 obj5Unowned: Unowned? = nil,
12716- obj5Var: Var? = nil,
1271712716 purpleSelf: Obj5Self? = nil,
1271812717 purpleTrue: TrueClass? = nil,
12718+ sealed: Sealed? = nil,
12719+ sel: Sel? = nil,
12720+ select: Select? = nil,
1271912721 sendable: Sendable? = nil,
12722+ serializationFeature: SerializationFeature? = nil,
1272012723 serialize: Serialize? = nil,
1272112724 serializerProvider: SerializerProvider? = nil,
1272212725 short: Short? = nil,
@@ -12759,10 +12762,7 @@ extension Obj5 {
1275912762 unsigned: Unsigned? = nil,
1276012763 ushort: Ushort? = nil,
1276112764 using: Using? = nil,
12762- utf8JSONReader: Utf8JSONReader? = nil,
12763- utf8JSONWriter: Utf8JSONWriter? = nil,
12764- uuid: UUIDClass? = nil,
12765- virtual: Virtual? = nil
12765+ utf8JSONReader: Utf8JSONReader? = nil
1276612766 ) -> Obj5 {
1276712767 return Obj5(
1276812768 dummy: dummy ?? self.dummy,
@@ -12780,10 +12780,13 @@ extension Obj5 {
1278012780 obj5Type: obj5Type ?? self.obj5Type,
1278112781 obj5Typealias: obj5Typealias ?? self.obj5Typealias,
1278212782 obj5Unowned: obj5Unowned ?? self.obj5Unowned,
12783- obj5Var: obj5Var ?? self.obj5Var,
1278412783 purpleSelf: purpleSelf ?? self.purpleSelf,
1278512784 purpleTrue: purpleTrue ?? self.purpleTrue,
12785+ sealed: sealed ?? self.sealed,
12786+ sel: sel ?? self.sel,
12787+ select: select ?? self.select,
1278612788 sendable: sendable ?? self.sendable,
12789+ serializationFeature: serializationFeature ?? self.serializationFeature,
1278712790 serialize: serialize ?? self.serialize,
1278812791 serializerProvider: serializerProvider ?? self.serializerProvider,
1278912792 short: short ?? self.short,
@@ -12826,10 +12829,7 @@ extension Obj5 {
1282612829 unsigned: unsigned ?? self.unsigned,
1282712830 ushort: ushort ?? self.ushort,
1282812831 using: using ?? self.using,
12829- utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader,
12830- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
12831- uuid: uuid ?? self.uuid,
12832- virtual: virtual ?? self.virtual
12832+ utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader
1283312833 )
1283412834 }
1283512835
@@ -13458,20 +13458,20 @@ extension Unowned {
1345813458 }
1345913459 }
1346013460
13461-// MARK: - Var
13462-struct Var: Codable {
13463- let varVar: Int
13461+// MARK: - Obj5Self
13462+struct Obj5Self: Codable {
13463+ let selfSelf: Int
1346413464
1346513465 enum CodingKeys: String, CodingKey {
13466- case varVar = "var"
13466+ case selfSelf = "self"
1346713467 }
1346813468 }
1346913469
13470-// MARK: Var convenience initializers and mutators
13470+// MARK: Obj5Self convenience initializers and mutators
1347113471
13472-extension Var {
13472+extension Obj5Self {
1347313473 init(data: Data) throws {
13474- self = try newJSONDecoder().decode(Var.self, from: data)
13474+ self = try newJSONDecoder().decode(Obj5Self.self, from: data)
1347513475 }
1347613476
1347713477 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -13486,10 +13486,10 @@ extension Var {
1348613486 }
1348713487
1348813488 func with(
13489- varVar: Int? = nil
13490- ) -> Var {
13491- return Var(
13492- varVar: varVar ?? self.varVar
13489+ selfSelf: Int? = nil
13490+ ) -> Obj5Self {
13491+ return Obj5Self(
13492+ selfSelf: selfSelf ?? self.selfSelf
1349313493 )
1349413494 }
1349513495
@@ -13502,20 +13502,20 @@ extension Var {
1350213502 }
1350313503 }
1350413504
13505-// MARK: - Obj5Self
13506-struct Obj5Self: Codable {
13507- let selfSelf: Int
13505+// MARK: - TrueClass
13506+struct TrueClass: Codable {
13507+ let trueTrue: Int
1350813508
1350913509 enum CodingKeys: String, CodingKey {
13510- case selfSelf = "self"
13510+ case trueTrue = "true"
1351113511 }
1351213512 }
1351313513
13514-// MARK: Obj5Self convenience initializers and mutators
13514+// MARK: TrueClass convenience initializers and mutators
1351513515
13516-extension Obj5Self {
13516+extension TrueClass {
1351713517 init(data: Data) throws {
13518- self = try newJSONDecoder().decode(Obj5Self.self, from: data)
13518+ self = try newJSONDecoder().decode(TrueClass.self, from: data)
1351913519 }
1352013520
1352113521 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -13530,10 +13530,10 @@ extension Obj5Self {
1353013530 }
1353113531
1353213532 func with(
13533- selfSelf: Int? = nil
13534- ) -> Obj5Self {
13535- return Obj5Self(
13536- selfSelf: selfSelf ?? self.selfSelf
13533+ trueTrue: Int? = nil
13534+ ) -> TrueClass {
13535+ return TrueClass(
13536+ trueTrue: trueTrue ?? self.trueTrue
1353713537 )
1353813538 }
1353913539
@@ -13546,20 +13546,20 @@ extension Obj5Self {
1354613546 }
1354713547 }
1354813548
13549-// MARK: - TrueClass
13550-struct TrueClass: Codable {
13551- let trueTrue: Int
13549+// MARK: - Sealed
13550+struct Sealed: Codable {
13551+ let sealed: Int
1355213552
1355313553 enum CodingKeys: String, CodingKey {
13554- case trueTrue = "true"
13554+ case sealed = "sealed"
1355513555 }
1355613556 }
1355713557
13558-// MARK: TrueClass convenience initializers and mutators
13558+// MARK: Sealed convenience initializers and mutators
1355913559
13560-extension TrueClass {
13560+extension Sealed {
1356113561 init(data: Data) throws {
13562- self = try newJSONDecoder().decode(TrueClass.self, from: data)
13562+ self = try newJSONDecoder().decode(Sealed.self, from: data)
1356313563 }
1356413564
1356513565 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -13574,10 +13574,98 @@ extension TrueClass {
1357413574 }
1357513575
1357613576 func with(
13577- trueTrue: Int? = nil
13578- ) -> TrueClass {
13579- return TrueClass(
13580- trueTrue: trueTrue ?? self.trueTrue
13577+ sealed: Int? = nil
13578+ ) -> Sealed {
13579+ return Sealed(
13580+ sealed: sealed ?? self.sealed
13581+ )
13582+ }
13583+
13584+ func jsonData() throws -> Data {
13585+ return try newJSONEncoder().encode(self)
13586+ }
13587+
13588+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
13589+ return String(data: try self.jsonData(), encoding: encoding)
13590+ }
13591+}
13592+
13593+// MARK: - Sel
13594+struct Sel: Codable {
13595+ let sel: Int
13596+
13597+ enum CodingKeys: String, CodingKey {
13598+ case sel = "SEL"
13599+ }
13600+}
13601+
13602+// MARK: Sel convenience initializers and mutators
13603+
13604+extension Sel {
13605+ init(data: Data) throws {
13606+ self = try newJSONDecoder().decode(Sel.self, from: data)
13607+ }
13608+
13609+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13610+ guard let data = json.data(using: encoding) else {
13611+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13612+ }
13613+ try self.init(data: data)
13614+ }
13615+
13616+ init(fromURL url: URL) throws {
13617+ try self.init(data: try Data(contentsOf: url))
13618+ }
13619+
13620+ func with(
13621+ sel: Int? = nil
13622+ ) -> Sel {
13623+ return Sel(
13624+ sel: sel ?? self.sel
13625+ )
13626+ }
13627+
13628+ func jsonData() throws -> Data {
13629+ return try newJSONEncoder().encode(self)
13630+ }
13631+
13632+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
13633+ return String(data: try self.jsonData(), encoding: encoding)
13634+ }
13635+}
13636+
13637+// MARK: - Select
13638+struct Select: Codable {
13639+ let select: Int
13640+
13641+ enum CodingKeys: String, CodingKey {
13642+ case select = "select"
13643+ }
13644+}
13645+
13646+// MARK: Select convenience initializers and mutators
13647+
13648+extension Select {
13649+ init(data: Data) throws {
13650+ self = try newJSONDecoder().decode(Select.self, from: data)
13651+ }
13652+
13653+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13654+ guard let data = json.data(using: encoding) else {
13655+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13656+ }
13657+ try self.init(data: data)
13658+ }
13659+
13660+ init(fromURL url: URL) throws {
13661+ try self.init(data: try Data(contentsOf: url))
13662+ }
13663+
13664+ func with(
13665+ select: Int? = nil
13666+ ) -> Select {
13667+ return Select(
13668+ select: select ?? self.select
1358113669 )
1358213670 }
1358313671
@@ -13634,6 +13722,50 @@ extension Sendable {
1363413722 }
1363513723 }
1363613724
13725+// MARK: - SerializationFeature
13726+struct SerializationFeature: Codable {
13727+ let serializationFeature: Int
13728+
13729+ enum CodingKeys: String, CodingKey {
13730+ case serializationFeature = "SerializationFeature"
13731+ }
13732+}
13733+
13734+// MARK: SerializationFeature convenience initializers and mutators
13735+
13736+extension SerializationFeature {
13737+ init(data: Data) throws {
13738+ self = try newJSONDecoder().decode(SerializationFeature.self, from: data)
13739+ }
13740+
13741+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13742+ guard let data = json.data(using: encoding) else {
13743+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13744+ }
13745+ try self.init(data: data)
13746+ }
13747+
13748+ init(fromURL url: URL) throws {
13749+ try self.init(data: try Data(contentsOf: url))
13750+ }
13751+
13752+ func with(
13753+ serializationFeature: Int? = nil
13754+ ) -> SerializationFeature {
13755+ return SerializationFeature(
13756+ serializationFeature: serializationFeature ?? self.serializationFeature
13757+ )
13758+ }
13759+
13760+ func jsonData() throws -> Data {
13761+ return try newJSONEncoder().encode(self)
13762+ }
13763+
13764+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
13765+ return String(data: try self.jsonData(), encoding: encoding)
13766+ }
13767+}
13768+
1363713769 // MARK: - Serialize
1363813770 struct Serialize: Codable {
1363913771 let serialize: Int
@@ -15526,145 +15658,17 @@ extension Utf8JSONReader {
1552615658 }
1552715659 }
1552815660
15529-// MARK: - Utf8JSONWriter
15530-struct Utf8JSONWriter: Codable {
15531- let utf8JSONWriter: Int
15532-
15533- enum CodingKeys: String, CodingKey {
15534- case utf8JSONWriter = "Utf8JsonWriter"
15535- }
15536-}
15537-
15538-// MARK: Utf8JSONWriter convenience initializers and mutators
15539-
15540-extension Utf8JSONWriter {
15541- init(data: Data) throws {
15542- self = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
15543- }
15544-
15545- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15546- guard let data = json.data(using: encoding) else {
15547- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15548- }
15549- try self.init(data: data)
15550- }
15551-
15552- init(fromURL url: URL) throws {
15553- try self.init(data: try Data(contentsOf: url))
15554- }
15555-
15556- func with(
15557- utf8JSONWriter: Int? = nil
15558- ) -> Utf8JSONWriter {
15559- return Utf8JSONWriter(
15560- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
15561- )
15562- }
15563-
15564- func jsonData() throws -> Data {
15565- return try newJSONEncoder().encode(self)
15566- }
15567-
15568- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15569- return String(data: try self.jsonData(), encoding: encoding)
15570- }
15571-}
15572-
15573-// MARK: - UUIDClass
15574-struct UUIDClass: Codable {
15575- let uuid: Int
15576-
15577- enum CodingKeys: String, CodingKey {
15578- case uuid = "UUID"
15579- }
15580-}
15581-
15582-// MARK: UUIDClass convenience initializers and mutators
15583-
15584-extension UUIDClass {
15585- init(data: Data) throws {
15586- self = try newJSONDecoder().decode(UUIDClass.self, from: data)
15587- }
15588-
15589- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15590- guard let data = json.data(using: encoding) else {
15591- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15592- }
15593- try self.init(data: data)
15594- }
15595-
15596- init(fromURL url: URL) throws {
15597- try self.init(data: try Data(contentsOf: url))
15598- }
15599-
15600- func with(
15601- uuid: Int? = nil
15602- ) -> UUIDClass {
15603- return UUIDClass(
15604- uuid: uuid ?? self.uuid
15605- )
15606- }
15607-
15608- func jsonData() throws -> Data {
15609- return try newJSONEncoder().encode(self)
15610- }
15611-
15612- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15613- return String(data: try self.jsonData(), encoding: encoding)
15614- }
15615-}
15616-
15617-// MARK: - Virtual
15618-struct Virtual: Codable {
15619- let virtual: Int
15620-
15621- enum CodingKeys: String, CodingKey {
15622- case virtual = "virtual"
15623- }
15624-}
15625-
15626-// MARK: Virtual convenience initializers and mutators
15627-
15628-extension Virtual {
15629- init(data: Data) throws {
15630- self = try newJSONDecoder().decode(Virtual.self, from: data)
15631- }
15632-
15633- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15634- guard let data = json.data(using: encoding) else {
15635- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15636- }
15637- try self.init(data: data)
15638- }
15639-
15640- init(fromURL url: URL) throws {
15641- try self.init(data: try Data(contentsOf: url))
15642- }
15643-
15644- func with(
15645- virtual: Int? = nil
15646- ) -> Virtual {
15647- return Virtual(
15648- virtual: virtual ?? self.virtual
15649- )
15650- }
15651-
15652- func jsonData() throws -> Data {
15653- return try newJSONEncoder().encode(self)
15654- }
15655-
15656- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15657- return String(data: try self.jsonData(), encoding: encoding)
15658- }
15659-}
15660-
1566115661 // MARK: - Obj6
1566215662 struct Obj6: Codable {
1566315663 let dummy: Int
15664+ let obj6Var: Var
1566415665 let obj6Weak: Weak
1566515666 let obj6Where: Where
1566615667 let obj6While: While
1566715668 let obj6WillSet: WillSet
15669+ let utf8JSONWriter: Utf8JSONWriter
15670+ let uuid: UUIDClass
15671+ let virtual: Virtual
1566815672 let void: Void
1566915673 let volatile: Volatile
1567015674 let wcharT: WcharT
@@ -15676,10 +15680,14 @@ struct Obj6: Codable {
1567615680
1567715681 enum CodingKeys: String, CodingKey {
1567815682 case dummy = "dummy"
15683+ case obj6Var = "var"
1567915684 case obj6Weak = "weak"
1568015685 case obj6Where = "where"
1568115686 case obj6While = "while"
1568215687 case obj6WillSet = "willSet"
15688+ case utf8JSONWriter = "Utf8JsonWriter"
15689+ case uuid = "UUID"
15690+ case virtual = "virtual"
1568315691 case void = "void"
1568415692 case volatile = "volatile"
1568515693 case wcharT = "wchar_t"
@@ -15711,10 +15719,14 @@ extension Obj6 {
1571115719
1571215720 func with(
1571315721 dummy: Int? = nil,
15722+ obj6Var: Var? = nil,
1571415723 obj6Weak: Weak? = nil,
1571515724 obj6Where: Where? = nil,
1571615725 obj6While: While? = nil,
1571715726 obj6WillSet: WillSet? = nil,
15727+ utf8JSONWriter: Utf8JSONWriter? = nil,
15728+ uuid: UUIDClass? = nil,
15729+ virtual: Virtual? = nil,
1571815730 void: Void? = nil,
1571915731 volatile: Volatile? = nil,
1572015732 wcharT: WcharT? = nil,
@@ -15726,10 +15738,14 @@ extension Obj6 {
1572615738 ) -> Obj6 {
1572715739 return Obj6(
1572815740 dummy: dummy ?? self.dummy,
15741+ obj6Var: obj6Var ?? self.obj6Var,
1572915742 obj6Weak: obj6Weak ?? self.obj6Weak,
1573015743 obj6Where: obj6Where ?? self.obj6Where,
1573115744 obj6While: obj6While ?? self.obj6While,
1573215745 obj6WillSet: obj6WillSet ?? self.obj6WillSet,
15746+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
15747+ uuid: uuid ?? self.uuid,
15748+ virtual: virtual ?? self.virtual,
1573315749 void: void ?? self.void,
1573415750 volatile: volatile ?? self.volatile,
1573515751 wcharT: wcharT ?? self.wcharT,
@@ -15750,6 +15766,50 @@ extension Obj6 {
1575015766 }
1575115767 }
1575215768
15769+// MARK: - Var
15770+struct Var: Codable {
15771+ let varVar: Int
15772+
15773+ enum CodingKeys: String, CodingKey {
15774+ case varVar = "var"
15775+ }
15776+}
15777+
15778+// MARK: Var convenience initializers and mutators
15779+
15780+extension Var {
15781+ init(data: Data) throws {
15782+ self = try newJSONDecoder().decode(Var.self, from: data)
15783+ }
15784+
15785+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15786+ guard let data = json.data(using: encoding) else {
15787+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15788+ }
15789+ try self.init(data: data)
15790+ }
15791+
15792+ init(fromURL url: URL) throws {
15793+ try self.init(data: try Data(contentsOf: url))
15794+ }
15795+
15796+ func with(
15797+ varVar: Int? = nil
15798+ ) -> Var {
15799+ return Var(
15800+ varVar: varVar ?? self.varVar
15801+ )
15802+ }
15803+
15804+ func jsonData() throws -> Data {
15805+ return try newJSONEncoder().encode(self)
15806+ }
15807+
15808+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15809+ return String(data: try self.jsonData(), encoding: encoding)
15810+ }
15811+}
15812+
1575315813 // MARK: - Weak
1575415814 struct Weak: Codable {
1575515815 let weakWeak: Int
@@ -15926,6 +15986,138 @@ extension WillSet {
1592615986 }
1592715987 }
1592815988
15989+// MARK: - Utf8JSONWriter
15990+struct Utf8JSONWriter: Codable {
15991+ let utf8JSONWriter: Int
15992+
15993+ enum CodingKeys: String, CodingKey {
15994+ case utf8JSONWriter = "Utf8JsonWriter"
15995+ }
15996+}
15997+
15998+// MARK: Utf8JSONWriter convenience initializers and mutators
15999+
16000+extension Utf8JSONWriter {
16001+ init(data: Data) throws {
16002+ self = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
16003+ }
16004+
16005+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
16006+ guard let data = json.data(using: encoding) else {
16007+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
16008+ }
16009+ try self.init(data: data)
16010+ }
16011+
16012+ init(fromURL url: URL) throws {
16013+ try self.init(data: try Data(contentsOf: url))
16014+ }
16015+
16016+ func with(
16017+ utf8JSONWriter: Int? = nil
16018+ ) -> Utf8JSONWriter {
16019+ return Utf8JSONWriter(
16020+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
16021+ )
16022+ }
16023+
16024+ func jsonData() throws -> Data {
16025+ return try newJSONEncoder().encode(self)
16026+ }
16027+
16028+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
16029+ return String(data: try self.jsonData(), encoding: encoding)
16030+ }
16031+}
16032+
16033+// MARK: - UUIDClass
16034+struct UUIDClass: Codable {
16035+ let uuid: Int
16036+
16037+ enum CodingKeys: String, CodingKey {
16038+ case uuid = "UUID"
16039+ }
16040+}
16041+
16042+// MARK: UUIDClass convenience initializers and mutators
16043+
16044+extension UUIDClass {
16045+ init(data: Data) throws {
16046+ self = try newJSONDecoder().decode(UUIDClass.self, from: data)
16047+ }
16048+
16049+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
16050+ guard let data = json.data(using: encoding) else {
16051+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
16052+ }
16053+ try self.init(data: data)
16054+ }
16055+
16056+ init(fromURL url: URL) throws {
16057+ try self.init(data: try Data(contentsOf: url))
16058+ }
16059+
16060+ func with(
16061+ uuid: Int? = nil
16062+ ) -> UUIDClass {
16063+ return UUIDClass(
16064+ uuid: uuid ?? self.uuid
16065+ )
16066+ }
16067+
16068+ func jsonData() throws -> Data {
16069+ return try newJSONEncoder().encode(self)
16070+ }
16071+
16072+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
16073+ return String(data: try self.jsonData(), encoding: encoding)
16074+ }
16075+}
16076+
16077+// MARK: - Virtual
16078+struct Virtual: Codable {
16079+ let virtual: Int
16080+
16081+ enum CodingKeys: String, CodingKey {
16082+ case virtual = "virtual"
16083+ }
16084+}
16085+
16086+// MARK: Virtual convenience initializers and mutators
16087+
16088+extension Virtual {
16089+ init(data: Data) throws {
16090+ self = try newJSONDecoder().decode(Virtual.self, from: data)
16091+ }
16092+
16093+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
16094+ guard let data = json.data(using: encoding) else {
16095+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
16096+ }
16097+ try self.init(data: data)
16098+ }
16099+
16100+ init(fromURL url: URL) throws {
16101+ try self.init(data: try Data(contentsOf: url))
16102+ }
16103+
16104+ func with(
16105+ virtual: Int? = nil
16106+ ) -> Virtual {
16107+ return Virtual(
16108+ virtual: virtual ?? self.virtual
16109+ )
16110+ }
16111+
16112+ func jsonData() throws -> Data {
16113+ return try newJSONEncoder().encode(self)
16114+ }
16115+
16116+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
16117+ return String(data: try self.jsonData(), encoding: encoding)
16118+ }
16119+}
16120+
1592916121 // MARK: - Void
1593016122 struct Void: Codable {
1593116123 let void: Int
Mswiftobjective-c-support-true__struct-or-class-class--f14372afa3e4 / quicktype.swift+896 −680
@@ -3608,6 +3608,7 @@ extension ClassClass {
36083608 let del: Del
36093609 let delegate: Delegate
36103610 let delete: Delete
3611+ let deserializationFeature: DeserializationFeature
36113612 let dict: Dict
36123613 let dictionary: Dictionary
36133614 let double: DoubleClass
@@ -3638,7 +3639,6 @@ extension ClassClass {
36383639 let function: Function
36393640 let global: Global
36403641 let go: Go
3641- let goto: Goto
36423642 let obj2Default: Default
36433643 let obj2Defer: Defer
36443644 let obj2Deinit: Deinit
@@ -3675,6 +3675,7 @@ extension ClassClass {
36753675 case del = "del"
36763676 case delegate = "delegate"
36773677 case delete = "delete"
3678+ case deserializationFeature = "DeserializationFeature"
36783679 case dict = "dict"
36793680 case dictionary = "dictionary"
36803681 case double = "double"
@@ -3705,7 +3706,6 @@ extension ClassClass {
37053706 case function = "function"
37063707 case global = "global"
37073708 case go = "go"
3708- case goto = "goto"
37093709 case obj2Default = "default"
37103710 case obj2Defer = "defer"
37113711 case obj2Deinit = "deinit"
@@ -3725,7 +3725,7 @@ extension ClassClass {
37253725 case purpleFalse = "false"
37263726 }
37273727
3728- init(dateFormatter: DateFormatterClass, dateOnly: DateOnly, dateOnlyConverter: DateOnlyConverter, dateParseHandling: DateParseHandling, dateTime: DateTime, dateTimeStyles: DateTimeStyles, debugger: Debugger, decimal: Decimal, declare: Declare, decltype: Decltype, decodeString: DecodeString, decoder: DecoderClass, decodingError: DecodingErrorClass, def: Def, del: Del, delegate: Delegate, delete: Delete, dict: Dict, dictionary: Dictionary, double: DoubleClass, dummy: Int, dynamicCast: DynamicCast, elif: Elif, encodeQuickType: EncodeQuickType, encoder: EncoderClass, enumValues: EnumValues, equalityContract: EqualityContract, equatable: Equatable, event: Event, except: Except, exception: Exception, explicit: Explicit, export: Export, exposing: Exposing, extends: Extends, extern: Extern, finally: Finally, fixed: Fixed, float: Float, foreach: Foreach, formatException: FormatException, friend: Friend, from: From, fromJSON: FromJSON, function: Function, global: Global, go: Go, goto: Goto, obj2Default: Default, obj2Defer: Defer, obj2Deinit: Deinit, obj2DidSet: DidSet, obj2Do: Do, obj2Dynamic: Dynamic, obj2Else: Else, obj2Enum: Enum, obj2Extension: Extension, obj2Fallthrough: Fallthrough, obj2False: False, obj2Fileprivate: Fileprivate, obj2Final: Final, obj2For: For, obj2Func: Func, obj2Get: Get, purpleFalse: FalseClass) {
3728+ init(dateFormatter: DateFormatterClass, dateOnly: DateOnly, dateOnlyConverter: DateOnlyConverter, dateParseHandling: DateParseHandling, dateTime: DateTime, dateTimeStyles: DateTimeStyles, debugger: Debugger, decimal: Decimal, declare: Declare, decltype: Decltype, decodeString: DecodeString, decoder: DecoderClass, decodingError: DecodingErrorClass, def: Def, del: Del, delegate: Delegate, delete: Delete, deserializationFeature: DeserializationFeature, dict: Dict, dictionary: Dictionary, double: DoubleClass, dummy: Int, dynamicCast: DynamicCast, elif: Elif, encodeQuickType: EncodeQuickType, encoder: EncoderClass, enumValues: EnumValues, equalityContract: EqualityContract, equatable: Equatable, event: Event, except: Except, exception: Exception, explicit: Explicit, export: Export, exposing: Exposing, extends: Extends, extern: Extern, finally: Finally, fixed: Fixed, float: Float, foreach: Foreach, formatException: FormatException, friend: Friend, from: From, fromJSON: FromJSON, function: Function, global: Global, go: Go, obj2Default: Default, obj2Defer: Defer, obj2Deinit: Deinit, obj2DidSet: DidSet, obj2Do: Do, obj2Dynamic: Dynamic, obj2Else: Else, obj2Enum: Enum, obj2Extension: Extension, obj2Fallthrough: Fallthrough, obj2False: False, obj2Fileprivate: Fileprivate, obj2Final: Final, obj2For: For, obj2Func: Func, obj2Get: Get, purpleFalse: FalseClass) {
37293729 self.dateFormatter = dateFormatter
37303730 self.dateOnly = dateOnly
37313731 self.dateOnlyConverter = dateOnlyConverter
@@ -3743,6 +3743,7 @@ extension ClassClass {
37433743 self.del = del
37443744 self.delegate = delegate
37453745 self.delete = delete
3746+ self.deserializationFeature = deserializationFeature
37463747 self.dict = dict
37473748 self.dictionary = dictionary
37483749 self.double = double
@@ -3773,7 +3774,6 @@ extension ClassClass {
37733774 self.function = function
37743775 self.global = global
37753776 self.go = go
3776- self.goto = goto
37773777 self.obj2Default = obj2Default
37783778 self.obj2Defer = obj2Defer
37793779 self.obj2Deinit = obj2Deinit
@@ -3799,7 +3799,7 @@ extension ClassClass {
37993799 extension Obj2 {
38003800 convenience init(data: Data) throws {
38013801 let me = try newJSONDecoder().decode(Obj2.self, from: data)
3802- self.init(dateFormatter: me.dateFormatter, dateOnly: me.dateOnly, dateOnlyConverter: me.dateOnlyConverter, dateParseHandling: me.dateParseHandling, dateTime: me.dateTime, dateTimeStyles: me.dateTimeStyles, debugger: me.debugger, decimal: me.decimal, declare: me.declare, decltype: me.decltype, decodeString: me.decodeString, decoder: me.decoder, decodingError: me.decodingError, def: me.def, del: me.del, delegate: me.delegate, delete: me.delete, dict: me.dict, dictionary: me.dictionary, double: me.double, dummy: me.dummy, dynamicCast: me.dynamicCast, elif: me.elif, encodeQuickType: me.encodeQuickType, encoder: me.encoder, enumValues: me.enumValues, equalityContract: me.equalityContract, equatable: me.equatable, event: me.event, except: me.except, exception: me.exception, explicit: me.explicit, export: me.export, exposing: me.exposing, extends: me.extends, extern: me.extern, finally: me.finally, fixed: me.fixed, float: me.float, foreach: me.foreach, formatException: me.formatException, friend: me.friend, from: me.from, fromJSON: me.fromJSON, function: me.function, global: me.global, go: me.go, goto: me.goto, obj2Default: me.obj2Default, obj2Defer: me.obj2Defer, obj2Deinit: me.obj2Deinit, obj2DidSet: me.obj2DidSet, obj2Do: me.obj2Do, obj2Dynamic: me.obj2Dynamic, obj2Else: me.obj2Else, obj2Enum: me.obj2Enum, obj2Extension: me.obj2Extension, obj2Fallthrough: me.obj2Fallthrough, obj2False: me.obj2False, obj2Fileprivate: me.obj2Fileprivate, obj2Final: me.obj2Final, obj2For: me.obj2For, obj2Func: me.obj2Func, obj2Get: me.obj2Get, purpleFalse: me.purpleFalse)
3802+ self.init(dateFormatter: me.dateFormatter, dateOnly: me.dateOnly, dateOnlyConverter: me.dateOnlyConverter, dateParseHandling: me.dateParseHandling, dateTime: me.dateTime, dateTimeStyles: me.dateTimeStyles, debugger: me.debugger, decimal: me.decimal, declare: me.declare, decltype: me.decltype, decodeString: me.decodeString, decoder: me.decoder, decodingError: me.decodingError, def: me.def, del: me.del, delegate: me.delegate, delete: me.delete, deserializationFeature: me.deserializationFeature, dict: me.dict, dictionary: me.dictionary, double: me.double, dummy: me.dummy, dynamicCast: me.dynamicCast, elif: me.elif, encodeQuickType: me.encodeQuickType, encoder: me.encoder, enumValues: me.enumValues, equalityContract: me.equalityContract, equatable: me.equatable, event: me.event, except: me.except, exception: me.exception, explicit: me.explicit, export: me.export, exposing: me.exposing, extends: me.extends, extern: me.extern, finally: me.finally, fixed: me.fixed, float: me.float, foreach: me.foreach, formatException: me.formatException, friend: me.friend, from: me.from, fromJSON: me.fromJSON, function: me.function, global: me.global, go: me.go, obj2Default: me.obj2Default, obj2Defer: me.obj2Defer, obj2Deinit: me.obj2Deinit, obj2DidSet: me.obj2DidSet, obj2Do: me.obj2Do, obj2Dynamic: me.obj2Dynamic, obj2Else: me.obj2Else, obj2Enum: me.obj2Enum, obj2Extension: me.obj2Extension, obj2Fallthrough: me.obj2Fallthrough, obj2False: me.obj2False, obj2Fileprivate: me.obj2Fileprivate, obj2Final: me.obj2Final, obj2For: me.obj2For, obj2Func: me.obj2Func, obj2Get: me.obj2Get, purpleFalse: me.purpleFalse)
38033803 }
38043804
38053805 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -3831,6 +3831,7 @@ extension Obj2 {
38313831 del: Del? = nil,
38323832 delegate: Delegate? = nil,
38333833 delete: Delete? = nil,
3834+ deserializationFeature: DeserializationFeature? = nil,
38343835 dict: Dict? = nil,
38353836 dictionary: Dictionary? = nil,
38363837 double: DoubleClass? = nil,
@@ -3861,7 +3862,6 @@ extension Obj2 {
38613862 function: Function? = nil,
38623863 global: Global? = nil,
38633864 go: Go? = nil,
3864- goto: Goto? = nil,
38653865 obj2Default: Default? = nil,
38663866 obj2Defer: Defer? = nil,
38673867 obj2Deinit: Deinit? = nil,
@@ -3898,6 +3898,7 @@ extension Obj2 {
38983898 del: del ?? self.del,
38993899 delegate: delegate ?? self.delegate,
39003900 delete: delete ?? self.delete,
3901+ deserializationFeature: deserializationFeature ?? self.deserializationFeature,
39013902 dict: dict ?? self.dict,
39023903 dictionary: dictionary ?? self.dictionary,
39033904 double: double ?? self.double,
@@ -3928,7 +3929,6 @@ extension Obj2 {
39283929 function: function ?? self.function,
39293930 global: global ?? self.global,
39303931 go: go ?? self.go,
3931- goto: goto ?? self.goto,
39323932 obj2Default: obj2Default ?? self.obj2Default,
39333933 obj2Defer: obj2Defer ?? self.obj2Defer,
39343934 obj2Deinit: obj2Deinit ?? self.obj2Deinit,
@@ -4791,6 +4791,55 @@ extension Delete {
47914791 }
47924792 }
47934793
4794+// MARK: - DeserializationFeature
4795+@objcMembers class DeserializationFeature: NSObject, Codable {
4796+ let deserializationFeature: Int
4797+
4798+ enum CodingKeys: String, CodingKey {
4799+ case deserializationFeature = "DeserializationFeature"
4800+ }
4801+
4802+ init(deserializationFeature: Int) {
4803+ self.deserializationFeature = deserializationFeature
4804+ }
4805+}
4806+
4807+// MARK: DeserializationFeature convenience initializers and mutators
4808+
4809+extension DeserializationFeature {
4810+ convenience init(data: Data) throws {
4811+ let me = try newJSONDecoder().decode(DeserializationFeature.self, from: data)
4812+ self.init(deserializationFeature: me.deserializationFeature)
4813+ }
4814+
4815+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
4816+ guard let data = json.data(using: encoding) else {
4817+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
4818+ }
4819+ try self.init(data: data)
4820+ }
4821+
4822+ convenience init(fromURL url: URL) throws {
4823+ try self.init(data: try Data(contentsOf: url))
4824+ }
4825+
4826+ func with(
4827+ deserializationFeature: Int? = nil
4828+ ) -> DeserializationFeature {
4829+ return DeserializationFeature(
4830+ deserializationFeature: deserializationFeature ?? self.deserializationFeature
4831+ )
4832+ }
4833+
4834+ func jsonData() throws -> Data {
4835+ return try newJSONEncoder().encode(self)
4836+ }
4837+
4838+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
4839+ return String(data: try self.jsonData(), encoding: encoding)
4840+ }
4841+}
4842+
47944843 // MARK: - Dict
47954844 @objcMembers class Dict: NSObject, Codable {
47964845 let dict: Int
@@ -6217,55 +6266,6 @@ extension Go {
62176266 }
62186267 }
62196268
6220-// MARK: - Goto
6221-@objcMembers class Goto: NSObject, Codable {
6222- let goto: Int
6223-
6224- enum CodingKeys: String, CodingKey {
6225- case goto = "goto"
6226- }
6227-
6228- init(goto: Int) {
6229- self.goto = goto
6230- }
6231-}
6232-
6233-// MARK: Goto convenience initializers and mutators
6234-
6235-extension Goto {
6236- convenience init(data: Data) throws {
6237- let me = try newJSONDecoder().decode(Goto.self, from: data)
6238- self.init(goto: me.goto)
6239- }
6240-
6241- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
6242- guard let data = json.data(using: encoding) else {
6243- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
6244- }
6245- try self.init(data: data)
6246- }
6247-
6248- convenience init(fromURL url: URL) throws {
6249- try self.init(data: try Data(contentsOf: url))
6250- }
6251-
6252- func with(
6253- goto: Int? = nil
6254- ) -> Goto {
6255- return Goto(
6256- goto: goto ?? self.goto
6257- )
6258- }
6259-
6260- func jsonData() throws -> Data {
6261- return try newJSONEncoder().encode(self)
6262- }
6263-
6264- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
6265- return String(data: try self.jsonData(), encoding: encoding)
6266- }
6267-}
6268-
62696269 // MARK: - Default
62706270 @objcMembers class Default: NSObject, Codable {
62716271 let defaultDefault: Int
@@ -7102,6 +7102,7 @@ extension FalseClass {
71027102 // MARK: - Obj3
71037103 @objcMembers class Obj3: NSObject, Codable {
71047104 let dummy: Int
7105+ let goto: Goto
71057106 let hasOwnProperty: HasOwnProperty
71067107 let hashCode: HashCode
71077108 let hashable: HashableClass
@@ -7149,7 +7150,6 @@ extension FalseClass {
71497150 let new: New
71507151 let newtonsoft: Newtonsoft
71517152 let no: No
7152- let noexcept: Noexcept
71537153 let obj3Guard: Guard
71547154 let obj3If: If
71557155 let obj3Import: Import
@@ -7169,6 +7169,7 @@ extension FalseClass {
71697169
71707170 enum CodingKeys: String, CodingKey {
71717171 case dummy = "dummy"
7172+ case goto = "goto"
71727173 case hasOwnProperty = "hasOwnProperty"
71737174 case hashCode = "hashCode"
71747175 case hashable = "Hashable"
@@ -7216,7 +7217,6 @@ extension FalseClass {
72167217 case new = "new"
72177218 case newtonsoft = "newtonsoft"
72187219 case no = "NO"
7219- case noexcept = "noexcept"
72207220 case obj3Guard = "guard"
72217221 case obj3If = "if"
72227222 case obj3Import = "import"
@@ -7235,8 +7235,9 @@ extension FalseClass {
72357235 case obj3Nil = "nil"
72367236 }
72377237
7238- init(dummy: Int, hasOwnProperty: HasOwnProperty, hashCode: HashCode, hashable: HashableClass, hasher: HasherClass, id: ID, imp: Imp, implements: Implements, implicit: Implicit, inline: Inline, instanceof: Instanceof, int: IntClass, interface: Interface, isoDateTimeOffsetConverter: ISODateTimeOffsetConverter, iterable: Iterable, jdec: Jdec, jenc: Jenc, jpipe: Jpipe, jsonAny: JSONAnyClass, jsonCodingKey: JSONCodingKeyClass, jsonConverter: JSONConverter, jsonDecoder: JSONDecoderClass, jsonEncoder: JSONEncoderClass, jsonException: JSONException, jsonGenerator: JSONGenerator, jsonNode: JSONNode, jsonNull: JSONNullClass, jsonParser: JSONParser, jsonReader: JSONReader, jsonSerializer: JSONSerializer, jsonToken: JSONToken, jsonTokenType: JSONTokenType, jsonWriter: JSONWriter, lambda: Lambda, list: List, locale: LocaleClass, lock: Lock, long: Long, map: Map, mapEntry: MapEntry, metadataPropertyHandling: MetadataPropertyHandling, module: Module, mutable: Mutable, namespace: Namespace, native: Native, new: New, newtonsoft: Newtonsoft, no: No, noexcept: Noexcept, obj3Guard: Guard, obj3If: If, obj3Import: Import, obj3In: In, obj3Indirect: Indirect, obj3Infix: Infix, obj3Init: Init, obj3Inout: Inout, obj3Internal: Internal, obj3Is: Is, obj3JSON: JSON, obj3Lazy: Lazy, obj3Left: Left, obj3Let: Let, obj3Mutating: Mutating, obj3Nil: Nil) {
7238+ init(dummy: Int, goto: Goto, hasOwnProperty: HasOwnProperty, hashCode: HashCode, hashable: HashableClass, hasher: HasherClass, id: ID, imp: Imp, implements: Implements, implicit: Implicit, inline: Inline, instanceof: Instanceof, int: IntClass, interface: Interface, isoDateTimeOffsetConverter: ISODateTimeOffsetConverter, iterable: Iterable, jdec: Jdec, jenc: Jenc, jpipe: Jpipe, jsonAny: JSONAnyClass, jsonCodingKey: JSONCodingKeyClass, jsonConverter: JSONConverter, jsonDecoder: JSONDecoderClass, jsonEncoder: JSONEncoderClass, jsonException: JSONException, jsonGenerator: JSONGenerator, jsonNode: JSONNode, jsonNull: JSONNullClass, jsonParser: JSONParser, jsonReader: JSONReader, jsonSerializer: JSONSerializer, jsonToken: JSONToken, jsonTokenType: JSONTokenType, jsonWriter: JSONWriter, lambda: Lambda, list: List, locale: LocaleClass, lock: Lock, long: Long, map: Map, mapEntry: MapEntry, metadataPropertyHandling: MetadataPropertyHandling, module: Module, mutable: Mutable, namespace: Namespace, native: Native, new: New, newtonsoft: Newtonsoft, no: No, obj3Guard: Guard, obj3If: If, obj3Import: Import, obj3In: In, obj3Indirect: Indirect, obj3Infix: Infix, obj3Init: Init, obj3Inout: Inout, obj3Internal: Internal, obj3Is: Is, obj3JSON: JSON, obj3Lazy: Lazy, obj3Left: Left, obj3Let: Let, obj3Mutating: Mutating, obj3Nil: Nil) {
72397239 self.dummy = dummy
7240+ self.goto = goto
72407241 self.hasOwnProperty = hasOwnProperty
72417242 self.hashCode = hashCode
72427243 self.hashable = hashable
@@ -7284,7 +7285,6 @@ extension FalseClass {
72847285 self.new = new
72857286 self.newtonsoft = newtonsoft
72867287 self.no = no
7287- self.noexcept = noexcept
72887288 self.obj3Guard = obj3Guard
72897289 self.obj3If = obj3If
72907290 self.obj3Import = obj3Import
@@ -7309,7 +7309,7 @@ extension FalseClass {
73097309 extension Obj3 {
73107310 convenience init(data: Data) throws {
73117311 let me = try newJSONDecoder().decode(Obj3.self, from: data)
7312- self.init(dummy: me.dummy, hasOwnProperty: me.hasOwnProperty, hashCode: me.hashCode, hashable: me.hashable, hasher: me.hasher, id: me.id, imp: me.imp, implements: me.implements, implicit: me.implicit, inline: me.inline, instanceof: me.instanceof, int: me.int, interface: me.interface, isoDateTimeOffsetConverter: me.isoDateTimeOffsetConverter, iterable: me.iterable, jdec: me.jdec, jenc: me.jenc, jpipe: me.jpipe, jsonAny: me.jsonAny, jsonCodingKey: me.jsonCodingKey, jsonConverter: me.jsonConverter, jsonDecoder: me.jsonDecoder, jsonEncoder: me.jsonEncoder, jsonException: me.jsonException, jsonGenerator: me.jsonGenerator, jsonNode: me.jsonNode, jsonNull: me.jsonNull, jsonParser: me.jsonParser, jsonReader: me.jsonReader, jsonSerializer: me.jsonSerializer, jsonToken: me.jsonToken, jsonTokenType: me.jsonTokenType, jsonWriter: me.jsonWriter, lambda: me.lambda, list: me.list, locale: me.locale, lock: me.lock, long: me.long, map: me.map, mapEntry: me.mapEntry, metadataPropertyHandling: me.metadataPropertyHandling, module: me.module, mutable: me.mutable, namespace: me.namespace, native: me.native, new: me.new, newtonsoft: me.newtonsoft, no: me.no, noexcept: me.noexcept, obj3Guard: me.obj3Guard, obj3If: me.obj3If, obj3Import: me.obj3Import, obj3In: me.obj3In, obj3Indirect: me.obj3Indirect, obj3Infix: me.obj3Infix, obj3Init: me.obj3Init, obj3Inout: me.obj3Inout, obj3Internal: me.obj3Internal, obj3Is: me.obj3Is, obj3JSON: me.obj3JSON, obj3Lazy: me.obj3Lazy, obj3Left: me.obj3Left, obj3Let: me.obj3Let, obj3Mutating: me.obj3Mutating, obj3Nil: me.obj3Nil)
7312+ self.init(dummy: me.dummy, goto: me.goto, hasOwnProperty: me.hasOwnProperty, hashCode: me.hashCode, hashable: me.hashable, hasher: me.hasher, id: me.id, imp: me.imp, implements: me.implements, implicit: me.implicit, inline: me.inline, instanceof: me.instanceof, int: me.int, interface: me.interface, isoDateTimeOffsetConverter: me.isoDateTimeOffsetConverter, iterable: me.iterable, jdec: me.jdec, jenc: me.jenc, jpipe: me.jpipe, jsonAny: me.jsonAny, jsonCodingKey: me.jsonCodingKey, jsonConverter: me.jsonConverter, jsonDecoder: me.jsonDecoder, jsonEncoder: me.jsonEncoder, jsonException: me.jsonException, jsonGenerator: me.jsonGenerator, jsonNode: me.jsonNode, jsonNull: me.jsonNull, jsonParser: me.jsonParser, jsonReader: me.jsonReader, jsonSerializer: me.jsonSerializer, jsonToken: me.jsonToken, jsonTokenType: me.jsonTokenType, jsonWriter: me.jsonWriter, lambda: me.lambda, list: me.list, locale: me.locale, lock: me.lock, long: me.long, map: me.map, mapEntry: me.mapEntry, metadataPropertyHandling: me.metadataPropertyHandling, module: me.module, mutable: me.mutable, namespace: me.namespace, native: me.native, new: me.new, newtonsoft: me.newtonsoft, no: me.no, obj3Guard: me.obj3Guard, obj3If: me.obj3If, obj3Import: me.obj3Import, obj3In: me.obj3In, obj3Indirect: me.obj3Indirect, obj3Infix: me.obj3Infix, obj3Init: me.obj3Init, obj3Inout: me.obj3Inout, obj3Internal: me.obj3Internal, obj3Is: me.obj3Is, obj3JSON: me.obj3JSON, obj3Lazy: me.obj3Lazy, obj3Left: me.obj3Left, obj3Let: me.obj3Let, obj3Mutating: me.obj3Mutating, obj3Nil: me.obj3Nil)
73137313 }
73147314
73157315 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -7325,6 +7325,7 @@ extension Obj3 {
73257325
73267326 func with(
73277327 dummy: Int? = nil,
7328+ goto: Goto? = nil,
73287329 hasOwnProperty: HasOwnProperty? = nil,
73297330 hashCode: HashCode? = nil,
73307331 hashable: HashableClass? = nil,
@@ -7372,7 +7373,6 @@ extension Obj3 {
73727373 new: New? = nil,
73737374 newtonsoft: Newtonsoft? = nil,
73747375 no: No? = nil,
7375- noexcept: Noexcept? = nil,
73767376 obj3Guard: Guard? = nil,
73777377 obj3If: If? = nil,
73787378 obj3Import: Import? = nil,
@@ -7392,6 +7392,7 @@ extension Obj3 {
73927392 ) -> Obj3 {
73937393 return Obj3(
73947394 dummy: dummy ?? self.dummy,
7395+ goto: goto ?? self.goto,
73957396 hasOwnProperty: hasOwnProperty ?? self.hasOwnProperty,
73967397 hashCode: hashCode ?? self.hashCode,
73977398 hashable: hashable ?? self.hashable,
@@ -7439,7 +7440,6 @@ extension Obj3 {
74397440 new: new ?? self.new,
74407441 newtonsoft: newtonsoft ?? self.newtonsoft,
74417442 no: no ?? self.no,
7442- noexcept: noexcept ?? self.noexcept,
74437443 obj3Guard: obj3Guard ?? self.obj3Guard,
74447444 obj3If: obj3If ?? self.obj3If,
74457445 obj3Import: obj3Import ?? self.obj3Import,
@@ -7468,6 +7468,55 @@ extension Obj3 {
74687468 }
74697469 }
74707470
7471+// MARK: - Goto
7472+@objcMembers class Goto: NSObject, Codable {
7473+ let goto: Int
7474+
7475+ enum CodingKeys: String, CodingKey {
7476+ case goto = "goto"
7477+ }
7478+
7479+ init(goto: Int) {
7480+ self.goto = goto
7481+ }
7482+}
7483+
7484+// MARK: Goto convenience initializers and mutators
7485+
7486+extension Goto {
7487+ convenience init(data: Data) throws {
7488+ let me = try newJSONDecoder().decode(Goto.self, from: data)
7489+ self.init(goto: me.goto)
7490+ }
7491+
7492+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
7493+ guard let data = json.data(using: encoding) else {
7494+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
7495+ }
7496+ try self.init(data: data)
7497+ }
7498+
7499+ convenience init(fromURL url: URL) throws {
7500+ try self.init(data: try Data(contentsOf: url))
7501+ }
7502+
7503+ func with(
7504+ goto: Int? = nil
7505+ ) -> Goto {
7506+ return Goto(
7507+ goto: goto ?? self.goto
7508+ )
7509+ }
7510+
7511+ func jsonData() throws -> Data {
7512+ return try newJSONEncoder().encode(self)
7513+ }
7514+
7515+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
7516+ return String(data: try self.jsonData(), encoding: encoding)
7517+ }
7518+}
7519+
74717520 // MARK: - HasOwnProperty
74727521 @objcMembers class HasOwnProperty: NSObject, Codable {
74737522 let hasOwnProperty: Int
@@ -9771,55 +9820,6 @@ extension No {
97719820 }
97729821 }
97739822
9774-// MARK: - Noexcept
9775-@objcMembers class Noexcept: NSObject, Codable {
9776- let noexcept: Int
9777-
9778- enum CodingKeys: String, CodingKey {
9779- case noexcept = "noexcept"
9780- }
9781-
9782- init(noexcept: Int) {
9783- self.noexcept = noexcept
9784- }
9785-}
9786-
9787-// MARK: Noexcept convenience initializers and mutators
9788-
9789-extension Noexcept {
9790- convenience init(data: Data) throws {
9791- let me = try newJSONDecoder().decode(Noexcept.self, from: data)
9792- self.init(noexcept: me.noexcept)
9793- }
9794-
9795- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
9796- guard let data = json.data(using: encoding) else {
9797- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
9798- }
9799- try self.init(data: data)
9800- }
9801-
9802- convenience init(fromURL url: URL) throws {
9803- try self.init(data: try Data(contentsOf: url))
9804- }
9805-
9806- func with(
9807- noexcept: Int? = nil
9808- ) -> Noexcept {
9809- return Noexcept(
9810- noexcept: noexcept ?? self.noexcept
9811- )
9812- }
9813-
9814- func jsonData() throws -> Data {
9815- return try newJSONEncoder().encode(self)
9816- }
9817-
9818- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
9819- return String(data: try self.jsonData(), encoding: encoding)
9820- }
9821-}
9822-
98239823 // MARK: - Guard
98249824 @objcMembers class Guard: NSObject, Codable {
98259825 let guardGuard: Int
@@ -10608,6 +10608,7 @@ extension Nil {
1060810608 @objcMembers class Obj4: NSObject, Codable {
1060910609 let dummy: Int
1061010610 let noSuchMethod: NoSuchMethod
10611+ let noexcept: Noexcept
1061110612 let nonatomic: Nonatomic
1061210613 let none: None
1061310614 let nonlocal: Nonlocal
@@ -10640,6 +10641,8 @@ extension Nil {
1064010641 let obj4Right: Right
1064110642 let object: Object
1064210643 let objectMapper: ObjectMapper
10644+ let objectReader: ObjectReader
10645+ let objectWriter: ObjectWriter
1064310646 let of: Of
1064410647 let oneway: Oneway
1064510648 let or: Or
@@ -10668,13 +10671,11 @@ extension Nil {
1066810671 let runtimeType: RuntimeType
1066910672 let s: S
1067010673 let sbyte: Sbyte
10671- let sealed: Sealed
10672- let sel: Sel
10673- let select: Select
1067410674
1067510675 enum CodingKeys: String, CodingKey {
1067610676 case dummy = "dummy"
1067710677 case noSuchMethod = "noSuchMethod"
10678+ case noexcept = "noexcept"
1067810679 case nonatomic = "nonatomic"
1067910680 case none = "None"
1068010681 case nonlocal = "nonlocal"
@@ -10707,6 +10708,8 @@ extension Nil {
1070710708 case obj4Right = "right"
1070810709 case object = "object"
1070910710 case objectMapper = "ObjectMapper"
10711+ case objectReader = "ObjectReader"
10712+ case objectWriter = "ObjectWriter"
1071010713 case of = "of"
1071110714 case oneway = "oneway"
1071210715 case or = "or"
@@ -10735,14 +10738,12 @@ extension Nil {
1073510738 case runtimeType = "runtimeType"
1073610739 case s = "s"
1073710740 case sbyte = "sbyte"
10738- case sealed = "sealed"
10739- case sel = "SEL"
10740- case select = "select"
1074110741 }
1074210742
10743- init(dummy: Int, noSuchMethod: NoSuchMethod, nonatomic: Nonatomic, none: None, nonlocal: Nonlocal, not: Not, notEq: NotEq, nsError: NSErrorClass, nsObject: NSObjectClass, nsString: NSString, null: Null, nullptr: Nullptr, number: Number, obj4None: NoneClass, obj4Nonmutating: Nonmutating, obj4Null: NullClass, obj4Open: Open, obj4Operator: Operator, obj4Optional: Optional, obj4Override: Override, obj4Postfix: Postfix, obj4Precedence: Precedence, obj4Prefix: Prefix, obj4Private: Private, obj4Protocol: ProtocolClass, obj4Public: Public, obj4Repeat: Repeat, obj4Required: Required, obj4Retain: Retain, obj4Rethrows: Rethrows, obj4Return: Return, obj4Right: Right, object: Object, objectMapper: ObjectMapper, of: Of, oneway: Oneway, or: Or, orEq: OrEq, out: Out, package: Package, params: Params, pass: Pass, port: Port, print: Print, printMembers: PrintMembers, printf: Printf, protected: Protected, purpleProtocol: Obj4Protocol, quicktype: Quicktype, raise: Raise, range: Range, readonly: Readonly, ref: Ref, regExp: RegExp, register: Register, reinterpretCast: ReinterpretCast, require: Require, requires: Requires, restrict: Restrict, runtimeType: RuntimeType, s: S, sbyte: Sbyte, sealed: Sealed, sel: Sel, select: Select) {
10743+ init(dummy: Int, noSuchMethod: NoSuchMethod, noexcept: Noexcept, nonatomic: Nonatomic, none: None, nonlocal: Nonlocal, not: Not, notEq: NotEq, nsError: NSErrorClass, nsObject: NSObjectClass, nsString: NSString, null: Null, nullptr: Nullptr, number: Number, obj4None: NoneClass, obj4Nonmutating: Nonmutating, obj4Null: NullClass, obj4Open: Open, obj4Operator: Operator, obj4Optional: Optional, obj4Override: Override, obj4Postfix: Postfix, obj4Precedence: Precedence, obj4Prefix: Prefix, obj4Private: Private, obj4Protocol: ProtocolClass, obj4Public: Public, obj4Repeat: Repeat, obj4Required: Required, obj4Retain: Retain, obj4Rethrows: Rethrows, obj4Return: Return, obj4Right: Right, object: Object, objectMapper: ObjectMapper, objectReader: ObjectReader, objectWriter: ObjectWriter, of: Of, oneway: Oneway, or: Or, orEq: OrEq, out: Out, package: Package, params: Params, pass: Pass, port: Port, print: Print, printMembers: PrintMembers, printf: Printf, protected: Protected, purpleProtocol: Obj4Protocol, quicktype: Quicktype, raise: Raise, range: Range, readonly: Readonly, ref: Ref, regExp: RegExp, register: Register, reinterpretCast: ReinterpretCast, require: Require, requires: Requires, restrict: Restrict, runtimeType: RuntimeType, s: S, sbyte: Sbyte) {
1074410744 self.dummy = dummy
1074510745 self.noSuchMethod = noSuchMethod
10746+ self.noexcept = noexcept
1074610747 self.nonatomic = nonatomic
1074710748 self.none = none
1074810749 self.nonlocal = nonlocal
@@ -10775,6 +10776,8 @@ extension Nil {
1077510776 self.obj4Right = obj4Right
1077610777 self.object = object
1077710778 self.objectMapper = objectMapper
10779+ self.objectReader = objectReader
10780+ self.objectWriter = objectWriter
1077810781 self.of = of
1077910782 self.oneway = oneway
1078010783 self.or = or
@@ -10803,9 +10806,6 @@ extension Nil {
1080310806 self.runtimeType = runtimeType
1080410807 self.s = s
1080510808 self.sbyte = sbyte
10806- self.sealed = sealed
10807- self.sel = sel
10808- self.select = select
1080910809 }
1081010810 }
1081110811
@@ -10814,7 +10814,7 @@ extension Nil {
1081410814 extension Obj4 {
1081510815 convenience init(data: Data) throws {
1081610816 let me = try newJSONDecoder().decode(Obj4.self, from: data)
10817- self.init(dummy: me.dummy, noSuchMethod: me.noSuchMethod, nonatomic: me.nonatomic, none: me.none, nonlocal: me.nonlocal, not: me.not, notEq: me.notEq, nsError: me.nsError, nsObject: me.nsObject, nsString: me.nsString, null: me.null, nullptr: me.nullptr, number: me.number, obj4None: me.obj4None, obj4Nonmutating: me.obj4Nonmutating, obj4Null: me.obj4Null, obj4Open: me.obj4Open, obj4Operator: me.obj4Operator, obj4Optional: me.obj4Optional, obj4Override: me.obj4Override, obj4Postfix: me.obj4Postfix, obj4Precedence: me.obj4Precedence, obj4Prefix: me.obj4Prefix, obj4Private: me.obj4Private, obj4Protocol: me.obj4Protocol, obj4Public: me.obj4Public, obj4Repeat: me.obj4Repeat, obj4Required: me.obj4Required, obj4Retain: me.obj4Retain, obj4Rethrows: me.obj4Rethrows, obj4Return: me.obj4Return, obj4Right: me.obj4Right, object: me.object, objectMapper: me.objectMapper, of: me.of, oneway: me.oneway, or: me.or, orEq: me.orEq, out: me.out, package: me.package, params: me.params, pass: me.pass, port: me.port, print: me.print, printMembers: me.printMembers, printf: me.printf, protected: me.protected, purpleProtocol: me.purpleProtocol, quicktype: me.quicktype, raise: me.raise, range: me.range, readonly: me.readonly, ref: me.ref, regExp: me.regExp, register: me.register, reinterpretCast: me.reinterpretCast, require: me.require, requires: me.requires, restrict: me.restrict, runtimeType: me.runtimeType, s: me.s, sbyte: me.sbyte, sealed: me.sealed, sel: me.sel, select: me.select)
10817+ self.init(dummy: me.dummy, noSuchMethod: me.noSuchMethod, noexcept: me.noexcept, nonatomic: me.nonatomic, none: me.none, nonlocal: me.nonlocal, not: me.not, notEq: me.notEq, nsError: me.nsError, nsObject: me.nsObject, nsString: me.nsString, null: me.null, nullptr: me.nullptr, number: me.number, obj4None: me.obj4None, obj4Nonmutating: me.obj4Nonmutating, obj4Null: me.obj4Null, obj4Open: me.obj4Open, obj4Operator: me.obj4Operator, obj4Optional: me.obj4Optional, obj4Override: me.obj4Override, obj4Postfix: me.obj4Postfix, obj4Precedence: me.obj4Precedence, obj4Prefix: me.obj4Prefix, obj4Private: me.obj4Private, obj4Protocol: me.obj4Protocol, obj4Public: me.obj4Public, obj4Repeat: me.obj4Repeat, obj4Required: me.obj4Required, obj4Retain: me.obj4Retain, obj4Rethrows: me.obj4Rethrows, obj4Return: me.obj4Return, obj4Right: me.obj4Right, object: me.object, objectMapper: me.objectMapper, objectReader: me.objectReader, objectWriter: me.objectWriter, of: me.of, oneway: me.oneway, or: me.or, orEq: me.orEq, out: me.out, package: me.package, params: me.params, pass: me.pass, port: me.port, print: me.print, printMembers: me.printMembers, printf: me.printf, protected: me.protected, purpleProtocol: me.purpleProtocol, quicktype: me.quicktype, raise: me.raise, range: me.range, readonly: me.readonly, ref: me.ref, regExp: me.regExp, register: me.register, reinterpretCast: me.reinterpretCast, require: me.require, requires: me.requires, restrict: me.restrict, runtimeType: me.runtimeType, s: me.s, sbyte: me.sbyte)
1081810818 }
1081910819
1082010820 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -10831,6 +10831,7 @@ extension Obj4 {
1083110831 func with(
1083210832 dummy: Int? = nil,
1083310833 noSuchMethod: NoSuchMethod? = nil,
10834+ noexcept: Noexcept? = nil,
1083410835 nonatomic: Nonatomic? = nil,
1083510836 none: None? = nil,
1083610837 nonlocal: Nonlocal? = nil,
@@ -10863,6 +10864,8 @@ extension Obj4 {
1086310864 obj4Right: Right? = nil,
1086410865 object: Object? = nil,
1086510866 objectMapper: ObjectMapper? = nil,
10867+ objectReader: ObjectReader? = nil,
10868+ objectWriter: ObjectWriter? = nil,
1086610869 of: Of? = nil,
1086710870 oneway: Oneway? = nil,
1086810871 or: Or? = nil,
@@ -10890,14 +10893,12 @@ extension Obj4 {
1089010893 restrict: Restrict? = nil,
1089110894 runtimeType: RuntimeType? = nil,
1089210895 s: S? = nil,
10893- sbyte: Sbyte? = nil,
10894- sealed: Sealed? = nil,
10895- sel: Sel? = nil,
10896- select: Select? = nil
10896+ sbyte: Sbyte? = nil
1089710897 ) -> Obj4 {
1089810898 return Obj4(
1089910899 dummy: dummy ?? self.dummy,
1090010900 noSuchMethod: noSuchMethod ?? self.noSuchMethod,
10901+ noexcept: noexcept ?? self.noexcept,
1090110902 nonatomic: nonatomic ?? self.nonatomic,
1090210903 none: none ?? self.none,
1090310904 nonlocal: nonlocal ?? self.nonlocal,
@@ -10930,6 +10931,8 @@ extension Obj4 {
1093010931 obj4Right: obj4Right ?? self.obj4Right,
1093110932 object: object ?? self.object,
1093210933 objectMapper: objectMapper ?? self.objectMapper,
10934+ objectReader: objectReader ?? self.objectReader,
10935+ objectWriter: objectWriter ?? self.objectWriter,
1093310936 of: of ?? self.of,
1093410937 oneway: oneway ?? self.oneway,
1093510938 or: or ?? self.or,
@@ -10957,10 +10960,7 @@ extension Obj4 {
1095710960 restrict: restrict ?? self.restrict,
1095810961 runtimeType: runtimeType ?? self.runtimeType,
1095910962 s: s ?? self.s,
10960- sbyte: sbyte ?? self.sbyte,
10961- sealed: sealed ?? self.sealed,
10962- sel: sel ?? self.sel,
10963- select: select ?? self.select
10963+ sbyte: sbyte ?? self.sbyte
1096410964 )
1096510965 }
1096610966
@@ -11022,25 +11022,25 @@ extension NoSuchMethod {
1102211022 }
1102311023 }
1102411024
11025-// MARK: - Nonatomic
11026-@objcMembers class Nonatomic: NSObject, Codable {
11027- let nonatomic: Int
11025+// MARK: - Noexcept
11026+@objcMembers class Noexcept: NSObject, Codable {
11027+ let noexcept: Int
1102811028
1102911029 enum CodingKeys: String, CodingKey {
11030- case nonatomic = "nonatomic"
11030+ case noexcept = "noexcept"
1103111031 }
1103211032
11033- init(nonatomic: Int) {
11034- self.nonatomic = nonatomic
11033+ init(noexcept: Int) {
11034+ self.noexcept = noexcept
1103511035 }
1103611036 }
1103711037
11038-// MARK: Nonatomic convenience initializers and mutators
11038+// MARK: Noexcept convenience initializers and mutators
1103911039
11040-extension Nonatomic {
11040+extension Noexcept {
1104111041 convenience init(data: Data) throws {
11042- let me = try newJSONDecoder().decode(Nonatomic.self, from: data)
11043- self.init(nonatomic: me.nonatomic)
11042+ let me = try newJSONDecoder().decode(Noexcept.self, from: data)
11043+ self.init(noexcept: me.noexcept)
1104411044 }
1104511045
1104611046 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -11055,10 +11055,10 @@ extension Nonatomic {
1105511055 }
1105611056
1105711057 func with(
11058- nonatomic: Int? = nil
11059- ) -> Nonatomic {
11060- return Nonatomic(
11061- nonatomic: nonatomic ?? self.nonatomic
11058+ noexcept: Int? = nil
11059+ ) -> Noexcept {
11060+ return Noexcept(
11061+ noexcept: noexcept ?? self.noexcept
1106211062 )
1106311063 }
1106411064
@@ -11071,17 +11071,66 @@ extension Nonatomic {
1107111071 }
1107211072 }
1107311073
11074-// MARK: - None
11075-@objcMembers class None: NSObject, Codable {
11076- let none: Int
11074+// MARK: - Nonatomic
11075+@objcMembers class Nonatomic: NSObject, Codable {
11076+ let nonatomic: Int
1107711077
1107811078 enum CodingKeys: String, CodingKey {
11079- case none = "None"
11079+ case nonatomic = "nonatomic"
1108011080 }
1108111081
11082- init(none: Int) {
11083- self.none = none
11084- }
11082+ init(nonatomic: Int) {
11083+ self.nonatomic = nonatomic
11084+ }
11085+}
11086+
11087+// MARK: Nonatomic convenience initializers and mutators
11088+
11089+extension Nonatomic {
11090+ convenience init(data: Data) throws {
11091+ let me = try newJSONDecoder().decode(Nonatomic.self, from: data)
11092+ self.init(nonatomic: me.nonatomic)
11093+ }
11094+
11095+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
11096+ guard let data = json.data(using: encoding) else {
11097+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
11098+ }
11099+ try self.init(data: data)
11100+ }
11101+
11102+ convenience init(fromURL url: URL) throws {
11103+ try self.init(data: try Data(contentsOf: url))
11104+ }
11105+
11106+ func with(
11107+ nonatomic: Int? = nil
11108+ ) -> Nonatomic {
11109+ return Nonatomic(
11110+ nonatomic: nonatomic ?? self.nonatomic
11111+ )
11112+ }
11113+
11114+ func jsonData() throws -> Data {
11115+ return try newJSONEncoder().encode(self)
11116+ }
11117+
11118+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
11119+ return String(data: try self.jsonData(), encoding: encoding)
11120+ }
11121+}
11122+
11123+// MARK: - None
11124+@objcMembers class None: NSObject, Codable {
11125+ let none: Int
11126+
11127+ enum CodingKeys: String, CodingKey {
11128+ case none = "None"
11129+ }
11130+
11131+ init(none: Int) {
11132+ self.none = none
11133+ }
1108511134 }
1108611135
1108711136 // MARK: None convenience initializers and mutators
@@ -12590,6 +12639,104 @@ extension ObjectMapper {
1259012639 }
1259112640 }
1259212641
12642+// MARK: - ObjectReader
12643+@objcMembers class ObjectReader: NSObject, Codable {
12644+ let objectReader: Int
12645+
12646+ enum CodingKeys: String, CodingKey {
12647+ case objectReader = "ObjectReader"
12648+ }
12649+
12650+ init(objectReader: Int) {
12651+ self.objectReader = objectReader
12652+ }
12653+}
12654+
12655+// MARK: ObjectReader convenience initializers and mutators
12656+
12657+extension ObjectReader {
12658+ convenience init(data: Data) throws {
12659+ let me = try newJSONDecoder().decode(ObjectReader.self, from: data)
12660+ self.init(objectReader: me.objectReader)
12661+ }
12662+
12663+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12664+ guard let data = json.data(using: encoding) else {
12665+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12666+ }
12667+ try self.init(data: data)
12668+ }
12669+
12670+ convenience init(fromURL url: URL) throws {
12671+ try self.init(data: try Data(contentsOf: url))
12672+ }
12673+
12674+ func with(
12675+ objectReader: Int? = nil
12676+ ) -> ObjectReader {
12677+ return ObjectReader(
12678+ objectReader: objectReader ?? self.objectReader
12679+ )
12680+ }
12681+
12682+ func jsonData() throws -> Data {
12683+ return try newJSONEncoder().encode(self)
12684+ }
12685+
12686+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12687+ return String(data: try self.jsonData(), encoding: encoding)
12688+ }
12689+}
12690+
12691+// MARK: - ObjectWriter
12692+@objcMembers class ObjectWriter: NSObject, Codable {
12693+ let objectWriter: Int
12694+
12695+ enum CodingKeys: String, CodingKey {
12696+ case objectWriter = "ObjectWriter"
12697+ }
12698+
12699+ init(objectWriter: Int) {
12700+ self.objectWriter = objectWriter
12701+ }
12702+}
12703+
12704+// MARK: ObjectWriter convenience initializers and mutators
12705+
12706+extension ObjectWriter {
12707+ convenience init(data: Data) throws {
12708+ let me = try newJSONDecoder().decode(ObjectWriter.self, from: data)
12709+ self.init(objectWriter: me.objectWriter)
12710+ }
12711+
12712+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12713+ guard let data = json.data(using: encoding) else {
12714+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12715+ }
12716+ try self.init(data: data)
12717+ }
12718+
12719+ convenience init(fromURL url: URL) throws {
12720+ try self.init(data: try Data(contentsOf: url))
12721+ }
12722+
12723+ func with(
12724+ objectWriter: Int? = nil
12725+ ) -> ObjectWriter {
12726+ return ObjectWriter(
12727+ objectWriter: objectWriter ?? self.objectWriter
12728+ )
12729+ }
12730+
12731+ func jsonData() throws -> Data {
12732+ return try newJSONEncoder().encode(self)
12733+ }
12734+
12735+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12736+ return String(data: try self.jsonData(), encoding: encoding)
12737+ }
12738+}
12739+
1259312740 // MARK: - Of
1259412741 @objcMembers class Of: NSObject, Codable {
1259512742 let of: Int
@@ -13962,290 +14109,143 @@ extension Sbyte {
1396214109 }
1396314110 }
1396414111
13965-// MARK: - Sealed
13966-@objcMembers class Sealed: NSObject, Codable {
13967- let sealed: Int
14112+// MARK: - Obj5
14113+@objcMembers class Obj5: NSObject, Codable {
14114+ let dummy: Int
14115+ let obj5Self: SelfClass
14116+ let obj5Set: Set
14117+ let obj5Static: Static
14118+ let obj5Struct: Struct
14119+ let obj5Subscript: Subscript
14120+ let obj5Super: Super
14121+ let obj5Switch: Switch
14122+ let obj5Throw: Throw
14123+ let obj5Throws: Throws
14124+ let obj5True: True
14125+ let obj5Try: Try
14126+ let obj5Type: Obj5Type
14127+ let obj5Typealias: Typealias
14128+ let obj5Unowned: Unowned
14129+ let purpleSelf: Obj5Self
14130+ let purpleTrue: TrueClass
14131+ let sealed: Sealed
14132+ let sel: Sel
14133+ let select: Select
14134+ let sendable: Sendable
14135+ let serializationFeature: SerializationFeature
14136+ let serialize: Serialize
14137+ let serializerProvider: SerializerProvider
14138+ let short: Short
14139+ let signed: Signed
14140+ let simpleModule: SimpleModule
14141+ let sizeof: Sizeof
14142+ let stackalloc: Stackalloc
14143+ let standards: Standards
14144+ let staticAssert: StaticAssert
14145+ let staticCast: StaticCast
14146+ let stdDeserializer: StdDeserializer
14147+ let stdSerializer: StdSerializer
14148+ let strictfp: Strictfp
14149+ let string: StringClass
14150+ let symbol: Symbol
14151+ let synchronized: Synchronized
14152+ let system: System
14153+ let template: Template
14154+ let then: Then
14155+ let this: This
14156+ let threadLocal: ThreadLocal
14157+ let timeOnly: TimeOnly
14158+ let timeOnlyConverter: TimeOnlyConverter
14159+ let timeZone: TimeZoneClass
14160+ let toJSON: ToJSON
14161+ let toString: ToString
14162+ let topLevel: TopLevelClass
14163+ let transient: Transient
14164+ let type: TypeClass
14165+ let typedef: Typedef
14166+ let typeid: Typeid
14167+ let typename: Typename
14168+ let typeof: Typeof
14169+ let uint: Uint
14170+ let ulong: Ulong
14171+ let unchecked: Unchecked
14172+ let undefined: Undefined
14173+ let union: Union
14174+ let unsafe: Unsafe
14175+ let unsigned: Unsigned
14176+ let ushort: Ushort
14177+ let using: Using
14178+ let utf8JSONReader: Utf8JSONReader
1396814179
1396914180 enum CodingKeys: String, CodingKey {
14181+ case dummy = "dummy"
14182+ case obj5Self = "Self"
14183+ case obj5Set = "set"
14184+ case obj5Static = "static"
14185+ case obj5Struct = "struct"
14186+ case obj5Subscript = "subscript"
14187+ case obj5Super = "super"
14188+ case obj5Switch = "switch"
14189+ case obj5Throw = "throw"
14190+ case obj5Throws = "throws"
14191+ case obj5True = "True"
14192+ case obj5Try = "try"
14193+ case obj5Type = "type"
14194+ case obj5Typealias = "typealias"
14195+ case obj5Unowned = "unowned"
14196+ case purpleSelf = "self"
14197+ case purpleTrue = "true"
1397014198 case sealed = "sealed"
14199+ case sel = "SEL"
14200+ case select = "select"
14201+ case sendable = "Sendable"
14202+ case serializationFeature = "SerializationFeature"
14203+ case serialize = "serialize"
14204+ case serializerProvider = "SerializerProvider"
14205+ case short = "short"
14206+ case signed = "signed"
14207+ case simpleModule = "SimpleModule"
14208+ case sizeof = "sizeof"
14209+ case stackalloc = "stackalloc"
14210+ case standards = "Standards"
14211+ case staticAssert = "static_assert"
14212+ case staticCast = "static_cast"
14213+ case stdDeserializer = "StdDeserializer"
14214+ case stdSerializer = "StdSerializer"
14215+ case strictfp = "strictfp"
14216+ case string = "string"
14217+ case symbol = "symbol"
14218+ case synchronized = "synchronized"
14219+ case system = "system"
14220+ case template = "template"
14221+ case then = "then"
14222+ case this = "this"
14223+ case threadLocal = "thread_local"
14224+ case timeOnly = "TimeOnly"
14225+ case timeOnlyConverter = "TimeOnlyConverter"
14226+ case timeZone = "TimeZone"
14227+ case toJSON = "to_json"
14228+ case toString = "toString"
14229+ case topLevel = "top_level"
14230+ case transient = "transient"
14231+ case type = "Type"
14232+ case typedef = "typedef"
14233+ case typeid = "typeid"
14234+ case typename = "typename"
14235+ case typeof = "typeof"
14236+ case uint = "uint"
14237+ case ulong = "ulong"
14238+ case unchecked = "unchecked"
14239+ case undefined = "undefined"
14240+ case union = "union"
14241+ case unsafe = "unsafe"
14242+ case unsigned = "unsigned"
14243+ case ushort = "ushort"
14244+ case using = "using"
14245+ case utf8JSONReader = "Utf8JsonReader"
1397114246 }
1397214247
13973- init(sealed: Int) {
13974- self.sealed = sealed
13975- }
13976-}
13977-
13978-// MARK: Sealed convenience initializers and mutators
13979-
13980-extension Sealed {
13981- convenience init(data: Data) throws {
13982- let me = try newJSONDecoder().decode(Sealed.self, from: data)
13983- self.init(sealed: me.sealed)
13984- }
13985-
13986- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13987- guard let data = json.data(using: encoding) else {
13988- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13989- }
13990- try self.init(data: data)
13991- }
13992-
13993- convenience init(fromURL url: URL) throws {
13994- try self.init(data: try Data(contentsOf: url))
13995- }
13996-
13997- func with(
13998- sealed: Int? = nil
13999- ) -> Sealed {
14000- return Sealed(
14001- sealed: sealed ?? self.sealed
14002- )
14003- }
14004-
14005- func jsonData() throws -> Data {
14006- return try newJSONEncoder().encode(self)
14007- }
14008-
14009- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
14010- return String(data: try self.jsonData(), encoding: encoding)
14011- }
14012-}
14013-
14014-// MARK: - Sel
14015-@objcMembers class Sel: NSObject, Codable {
14016- let sel: Int
14017-
14018- enum CodingKeys: String, CodingKey {
14019- case sel = "SEL"
14020- }
14021-
14022- init(sel: Int) {
14023- self.sel = sel
14024- }
14025-}
14026-
14027-// MARK: Sel convenience initializers and mutators
14028-
14029-extension Sel {
14030- convenience init(data: Data) throws {
14031- let me = try newJSONDecoder().decode(Sel.self, from: data)
14032- self.init(sel: me.sel)
14033- }
14034-
14035- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
14036- guard let data = json.data(using: encoding) else {
14037- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
14038- }
14039- try self.init(data: data)
14040- }
14041-
14042- convenience init(fromURL url: URL) throws {
14043- try self.init(data: try Data(contentsOf: url))
14044- }
14045-
14046- func with(
14047- sel: Int? = nil
14048- ) -> Sel {
14049- return Sel(
14050- sel: sel ?? self.sel
14051- )
14052- }
14053-
14054- func jsonData() throws -> Data {
14055- return try newJSONEncoder().encode(self)
14056- }
14057-
14058- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
14059- return String(data: try self.jsonData(), encoding: encoding)
14060- }
14061-}
14062-
14063-// MARK: - Select
14064-@objcMembers class Select: NSObject, Codable {
14065- let select: Int
14066-
14067- enum CodingKeys: String, CodingKey {
14068- case select = "select"
14069- }
14070-
14071- init(select: Int) {
14072- self.select = select
14073- }
14074-}
14075-
14076-// MARK: Select convenience initializers and mutators
14077-
14078-extension Select {
14079- convenience init(data: Data) throws {
14080- let me = try newJSONDecoder().decode(Select.self, from: data)
14081- self.init(select: me.select)
14082- }
14083-
14084- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
14085- guard let data = json.data(using: encoding) else {
14086- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
14087- }
14088- try self.init(data: data)
14089- }
14090-
14091- convenience init(fromURL url: URL) throws {
14092- try self.init(data: try Data(contentsOf: url))
14093- }
14094-
14095- func with(
14096- select: Int? = nil
14097- ) -> Select {
14098- return Select(
14099- select: select ?? self.select
14100- )
14101- }
14102-
14103- func jsonData() throws -> Data {
14104- return try newJSONEncoder().encode(self)
14105- }
14106-
14107- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
14108- return String(data: try self.jsonData(), encoding: encoding)
14109- }
14110-}
14111-
14112-// MARK: - Obj5
14113-@objcMembers class Obj5: NSObject, Codable {
14114- let dummy: Int
14115- let obj5Self: SelfClass
14116- let obj5Set: Set
14117- let obj5Static: Static
14118- let obj5Struct: Struct
14119- let obj5Subscript: Subscript
14120- let obj5Super: Super
14121- let obj5Switch: Switch
14122- let obj5Throw: Throw
14123- let obj5Throws: Throws
14124- let obj5True: True
14125- let obj5Try: Try
14126- let obj5Type: Obj5Type
14127- let obj5Typealias: Typealias
14128- let obj5Unowned: Unowned
14129- let obj5Var: Var
14130- let purpleSelf: Obj5Self
14131- let purpleTrue: TrueClass
14132- let sendable: Sendable
14133- let serialize: Serialize
14134- let serializerProvider: SerializerProvider
14135- let short: Short
14136- let signed: Signed
14137- let simpleModule: SimpleModule
14138- let sizeof: Sizeof
14139- let stackalloc: Stackalloc
14140- let standards: Standards
14141- let staticAssert: StaticAssert
14142- let staticCast: StaticCast
14143- let stdDeserializer: StdDeserializer
14144- let stdSerializer: StdSerializer
14145- let strictfp: Strictfp
14146- let string: StringClass
14147- let symbol: Symbol
14148- let synchronized: Synchronized
14149- let system: System
14150- let template: Template
14151- let then: Then
14152- let this: This
14153- let threadLocal: ThreadLocal
14154- let timeOnly: TimeOnly
14155- let timeOnlyConverter: TimeOnlyConverter
14156- let timeZone: TimeZoneClass
14157- let toJSON: ToJSON
14158- let toString: ToString
14159- let topLevel: TopLevelClass
14160- let transient: Transient
14161- let type: TypeClass
14162- let typedef: Typedef
14163- let typeid: Typeid
14164- let typename: Typename
14165- let typeof: Typeof
14166- let uint: Uint
14167- let ulong: Ulong
14168- let unchecked: Unchecked
14169- let undefined: Undefined
14170- let union: Union
14171- let unsafe: Unsafe
14172- let unsigned: Unsigned
14173- let ushort: Ushort
14174- let using: Using
14175- let utf8JSONReader: Utf8JSONReader
14176- let utf8JSONWriter: Utf8JSONWriter
14177- let uuid: UUIDClass
14178- let virtual: Virtual
14179-
14180- enum CodingKeys: String, CodingKey {
14181- case dummy = "dummy"
14182- case obj5Self = "Self"
14183- case obj5Set = "set"
14184- case obj5Static = "static"
14185- case obj5Struct = "struct"
14186- case obj5Subscript = "subscript"
14187- case obj5Super = "super"
14188- case obj5Switch = "switch"
14189- case obj5Throw = "throw"
14190- case obj5Throws = "throws"
14191- case obj5True = "True"
14192- case obj5Try = "try"
14193- case obj5Type = "type"
14194- case obj5Typealias = "typealias"
14195- case obj5Unowned = "unowned"
14196- case obj5Var = "var"
14197- case purpleSelf = "self"
14198- case purpleTrue = "true"
14199- case sendable = "Sendable"
14200- case serialize = "serialize"
14201- case serializerProvider = "SerializerProvider"
14202- case short = "short"
14203- case signed = "signed"
14204- case simpleModule = "SimpleModule"
14205- case sizeof = "sizeof"
14206- case stackalloc = "stackalloc"
14207- case standards = "Standards"
14208- case staticAssert = "static_assert"
14209- case staticCast = "static_cast"
14210- case stdDeserializer = "StdDeserializer"
14211- case stdSerializer = "StdSerializer"
14212- case strictfp = "strictfp"
14213- case string = "string"
14214- case symbol = "symbol"
14215- case synchronized = "synchronized"
14216- case system = "system"
14217- case template = "template"
14218- case then = "then"
14219- case this = "this"
14220- case threadLocal = "thread_local"
14221- case timeOnly = "TimeOnly"
14222- case timeOnlyConverter = "TimeOnlyConverter"
14223- case timeZone = "TimeZone"
14224- case toJSON = "to_json"
14225- case toString = "toString"
14226- case topLevel = "top_level"
14227- case transient = "transient"
14228- case type = "Type"
14229- case typedef = "typedef"
14230- case typeid = "typeid"
14231- case typename = "typename"
14232- case typeof = "typeof"
14233- case uint = "uint"
14234- case ulong = "ulong"
14235- case unchecked = "unchecked"
14236- case undefined = "undefined"
14237- case union = "union"
14238- case unsafe = "unsafe"
14239- case unsigned = "unsigned"
14240- case ushort = "ushort"
14241- case using = "using"
14242- case utf8JSONReader = "Utf8JsonReader"
14243- case utf8JSONWriter = "Utf8JsonWriter"
14244- case uuid = "UUID"
14245- case virtual = "virtual"
14246- }
14247-
14248- init(dummy: Int, obj5Self: SelfClass, obj5Set: Set, obj5Static: Static, obj5Struct: Struct, obj5Subscript: Subscript, obj5Super: Super, obj5Switch: Switch, obj5Throw: Throw, obj5Throws: Throws, obj5True: True, obj5Try: Try, obj5Type: Obj5Type, obj5Typealias: Typealias, obj5Unowned: Unowned, obj5Var: Var, purpleSelf: Obj5Self, purpleTrue: TrueClass, sendable: Sendable, serialize: Serialize, serializerProvider: SerializerProvider, short: Short, signed: Signed, simpleModule: SimpleModule, sizeof: Sizeof, stackalloc: Stackalloc, standards: Standards, staticAssert: StaticAssert, staticCast: StaticCast, stdDeserializer: StdDeserializer, stdSerializer: StdSerializer, strictfp: Strictfp, string: StringClass, symbol: Symbol, synchronized: Synchronized, system: System, template: Template, then: Then, this: This, threadLocal: ThreadLocal, timeOnly: TimeOnly, timeOnlyConverter: TimeOnlyConverter, timeZone: TimeZoneClass, toJSON: ToJSON, toString: ToString, topLevel: TopLevelClass, transient: Transient, type: TypeClass, typedef: Typedef, typeid: Typeid, typename: Typename, typeof: Typeof, uint: Uint, ulong: Ulong, unchecked: Unchecked, undefined: Undefined, union: Union, unsafe: Unsafe, unsigned: Unsigned, ushort: Ushort, using: Using, utf8JSONReader: Utf8JSONReader, utf8JSONWriter: Utf8JSONWriter, uuid: UUIDClass, virtual: Virtual) {
14248+ init(dummy: Int, obj5Self: SelfClass, obj5Set: Set, obj5Static: Static, obj5Struct: Struct, obj5Subscript: Subscript, obj5Super: Super, obj5Switch: Switch, obj5Throw: Throw, obj5Throws: Throws, obj5True: True, obj5Try: Try, obj5Type: Obj5Type, obj5Typealias: Typealias, obj5Unowned: Unowned, purpleSelf: Obj5Self, purpleTrue: TrueClass, sealed: Sealed, sel: Sel, select: Select, sendable: Sendable, serializationFeature: SerializationFeature, serialize: Serialize, serializerProvider: SerializerProvider, short: Short, signed: Signed, simpleModule: SimpleModule, sizeof: Sizeof, stackalloc: Stackalloc, standards: Standards, staticAssert: StaticAssert, staticCast: StaticCast, stdDeserializer: StdDeserializer, stdSerializer: StdSerializer, strictfp: Strictfp, string: StringClass, symbol: Symbol, synchronized: Synchronized, system: System, template: Template, then: Then, this: This, threadLocal: ThreadLocal, timeOnly: TimeOnly, timeOnlyConverter: TimeOnlyConverter, timeZone: TimeZoneClass, toJSON: ToJSON, toString: ToString, topLevel: TopLevelClass, transient: Transient, type: TypeClass, typedef: Typedef, typeid: Typeid, typename: Typename, typeof: Typeof, uint: Uint, ulong: Ulong, unchecked: Unchecked, undefined: Undefined, union: Union, unsafe: Unsafe, unsigned: Unsigned, ushort: Ushort, using: Using, utf8JSONReader: Utf8JSONReader) {
1424914249 self.dummy = dummy
1425014250 self.obj5Self = obj5Self
1425114251 self.obj5Set = obj5Set
@@ -14261,10 +14261,13 @@ extension Select {
1426114261 self.obj5Type = obj5Type
1426214262 self.obj5Typealias = obj5Typealias
1426314263 self.obj5Unowned = obj5Unowned
14264- self.obj5Var = obj5Var
1426514264 self.purpleSelf = purpleSelf
1426614265 self.purpleTrue = purpleTrue
14266+ self.sealed = sealed
14267+ self.sel = sel
14268+ self.select = select
1426714269 self.sendable = sendable
14270+ self.serializationFeature = serializationFeature
1426814271 self.serialize = serialize
1426914272 self.serializerProvider = serializerProvider
1427014273 self.short = short
@@ -14308,9 +14311,6 @@ extension Select {
1430814311 self.ushort = ushort
1430914312 self.using = using
1431014313 self.utf8JSONReader = utf8JSONReader
14311- self.utf8JSONWriter = utf8JSONWriter
14312- self.uuid = uuid
14313- self.virtual = virtual
1431414314 }
1431514315 }
1431614316
@@ -14319,7 +14319,7 @@ extension Select {
1431914319 extension Obj5 {
1432014320 convenience init(data: Data) throws {
1432114321 let me = try newJSONDecoder().decode(Obj5.self, from: data)
14322- self.init(dummy: me.dummy, obj5Self: me.obj5Self, obj5Set: me.obj5Set, obj5Static: me.obj5Static, obj5Struct: me.obj5Struct, obj5Subscript: me.obj5Subscript, obj5Super: me.obj5Super, obj5Switch: me.obj5Switch, obj5Throw: me.obj5Throw, obj5Throws: me.obj5Throws, obj5True: me.obj5True, obj5Try: me.obj5Try, obj5Type: me.obj5Type, obj5Typealias: me.obj5Typealias, obj5Unowned: me.obj5Unowned, obj5Var: me.obj5Var, purpleSelf: me.purpleSelf, purpleTrue: me.purpleTrue, sendable: me.sendable, serialize: me.serialize, serializerProvider: me.serializerProvider, short: me.short, signed: me.signed, simpleModule: me.simpleModule, sizeof: me.sizeof, stackalloc: me.stackalloc, standards: me.standards, staticAssert: me.staticAssert, staticCast: me.staticCast, stdDeserializer: me.stdDeserializer, stdSerializer: me.stdSerializer, strictfp: me.strictfp, string: me.string, symbol: me.symbol, synchronized: me.synchronized, system: me.system, template: me.template, then: me.then, this: me.this, threadLocal: me.threadLocal, timeOnly: me.timeOnly, timeOnlyConverter: me.timeOnlyConverter, timeZone: me.timeZone, toJSON: me.toJSON, toString: me.toString, topLevel: me.topLevel, transient: me.transient, type: me.type, typedef: me.typedef, typeid: me.typeid, typename: me.typename, typeof: me.typeof, uint: me.uint, ulong: me.ulong, unchecked: me.unchecked, undefined: me.undefined, union: me.union, unsafe: me.unsafe, unsigned: me.unsigned, ushort: me.ushort, using: me.using, utf8JSONReader: me.utf8JSONReader, utf8JSONWriter: me.utf8JSONWriter, uuid: me.uuid, virtual: me.virtual)
14322+ self.init(dummy: me.dummy, obj5Self: me.obj5Self, obj5Set: me.obj5Set, obj5Static: me.obj5Static, obj5Struct: me.obj5Struct, obj5Subscript: me.obj5Subscript, obj5Super: me.obj5Super, obj5Switch: me.obj5Switch, obj5Throw: me.obj5Throw, obj5Throws: me.obj5Throws, obj5True: me.obj5True, obj5Try: me.obj5Try, obj5Type: me.obj5Type, obj5Typealias: me.obj5Typealias, obj5Unowned: me.obj5Unowned, purpleSelf: me.purpleSelf, purpleTrue: me.purpleTrue, sealed: me.sealed, sel: me.sel, select: me.select, sendable: me.sendable, serializationFeature: me.serializationFeature, serialize: me.serialize, serializerProvider: me.serializerProvider, short: me.short, signed: me.signed, simpleModule: me.simpleModule, sizeof: me.sizeof, stackalloc: me.stackalloc, standards: me.standards, staticAssert: me.staticAssert, staticCast: me.staticCast, stdDeserializer: me.stdDeserializer, stdSerializer: me.stdSerializer, strictfp: me.strictfp, string: me.string, symbol: me.symbol, synchronized: me.synchronized, system: me.system, template: me.template, then: me.then, this: me.this, threadLocal: me.threadLocal, timeOnly: me.timeOnly, timeOnlyConverter: me.timeOnlyConverter, timeZone: me.timeZone, toJSON: me.toJSON, toString: me.toString, topLevel: me.topLevel, transient: me.transient, type: me.type, typedef: me.typedef, typeid: me.typeid, typename: me.typename, typeof: me.typeof, uint: me.uint, ulong: me.ulong, unchecked: me.unchecked, undefined: me.undefined, union: me.union, unsafe: me.unsafe, unsigned: me.unsigned, ushort: me.ushort, using: me.using, utf8JSONReader: me.utf8JSONReader)
1432314323 }
1432414324
1432514325 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -14349,10 +14349,13 @@ extension Obj5 {
1434914349 obj5Type: Obj5Type? = nil,
1435014350 obj5Typealias: Typealias? = nil,
1435114351 obj5Unowned: Unowned? = nil,
14352- obj5Var: Var? = nil,
1435314352 purpleSelf: Obj5Self? = nil,
1435414353 purpleTrue: TrueClass? = nil,
14354+ sealed: Sealed? = nil,
14355+ sel: Sel? = nil,
14356+ select: Select? = nil,
1435514357 sendable: Sendable? = nil,
14358+ serializationFeature: SerializationFeature? = nil,
1435614359 serialize: Serialize? = nil,
1435714360 serializerProvider: SerializerProvider? = nil,
1435814361 short: Short? = nil,
@@ -14395,10 +14398,7 @@ extension Obj5 {
1439514398 unsigned: Unsigned? = nil,
1439614399 ushort: Ushort? = nil,
1439714400 using: Using? = nil,
14398- utf8JSONReader: Utf8JSONReader? = nil,
14399- utf8JSONWriter: Utf8JSONWriter? = nil,
14400- uuid: UUIDClass? = nil,
14401- virtual: Virtual? = nil
14401+ utf8JSONReader: Utf8JSONReader? = nil
1440214402 ) -> Obj5 {
1440314403 return Obj5(
1440414404 dummy: dummy ?? self.dummy,
@@ -14416,10 +14416,13 @@ extension Obj5 {
1441614416 obj5Type: obj5Type ?? self.obj5Type,
1441714417 obj5Typealias: obj5Typealias ?? self.obj5Typealias,
1441814418 obj5Unowned: obj5Unowned ?? self.obj5Unowned,
14419- obj5Var: obj5Var ?? self.obj5Var,
1442014419 purpleSelf: purpleSelf ?? self.purpleSelf,
1442114420 purpleTrue: purpleTrue ?? self.purpleTrue,
14421+ sealed: sealed ?? self.sealed,
14422+ sel: sel ?? self.sel,
14423+ select: select ?? self.select,
1442214424 sendable: sendable ?? self.sendable,
14425+ serializationFeature: serializationFeature ?? self.serializationFeature,
1442314426 serialize: serialize ?? self.serialize,
1442414427 serializerProvider: serializerProvider ?? self.serializerProvider,
1442514428 short: short ?? self.short,
@@ -14462,10 +14465,7 @@ extension Obj5 {
1446214465 unsigned: unsigned ?? self.unsigned,
1446314466 ushort: ushort ?? self.ushort,
1446414467 using: using ?? self.using,
14465- utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader,
14466- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
14467- uuid: uuid ?? self.uuid,
14468- virtual: virtual ?? self.virtual
14468+ utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader
1446914469 )
1447014470 }
1447114471
@@ -15148,10 +15148,157 @@ extension Unowned {
1514815148 }
1514915149
1515015150 func with(
15151- unownedUnowned: Int? = nil
15152- ) -> Unowned {
15153- return Unowned(
15154- unownedUnowned: unownedUnowned ?? self.unownedUnowned
15151+ unownedUnowned: Int? = nil
15152+ ) -> Unowned {
15153+ return Unowned(
15154+ unownedUnowned: unownedUnowned ?? self.unownedUnowned
15155+ )
15156+ }
15157+
15158+ func jsonData() throws -> Data {
15159+ return try newJSONEncoder().encode(self)
15160+ }
15161+
15162+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15163+ return String(data: try self.jsonData(), encoding: encoding)
15164+ }
15165+}
15166+
15167+// MARK: - Obj5Self
15168+@objcMembers class Obj5Self: NSObject, Codable {
15169+ let selfSelf: Int
15170+
15171+ enum CodingKeys: String, CodingKey {
15172+ case selfSelf = "self"
15173+ }
15174+
15175+ init(selfSelf: Int) {
15176+ self.selfSelf = selfSelf
15177+ }
15178+}
15179+
15180+// MARK: Obj5Self convenience initializers and mutators
15181+
15182+extension Obj5Self {
15183+ convenience init(data: Data) throws {
15184+ let me = try newJSONDecoder().decode(Obj5Self.self, from: data)
15185+ self.init(selfSelf: me.selfSelf)
15186+ }
15187+
15188+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15189+ guard let data = json.data(using: encoding) else {
15190+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15191+ }
15192+ try self.init(data: data)
15193+ }
15194+
15195+ convenience init(fromURL url: URL) throws {
15196+ try self.init(data: try Data(contentsOf: url))
15197+ }
15198+
15199+ func with(
15200+ selfSelf: Int? = nil
15201+ ) -> Obj5Self {
15202+ return Obj5Self(
15203+ selfSelf: selfSelf ?? self.selfSelf
15204+ )
15205+ }
15206+
15207+ func jsonData() throws -> Data {
15208+ return try newJSONEncoder().encode(self)
15209+ }
15210+
15211+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15212+ return String(data: try self.jsonData(), encoding: encoding)
15213+ }
15214+}
15215+
15216+// MARK: - TrueClass
15217+@objcMembers class TrueClass: NSObject, Codable {
15218+ let trueTrue: Int
15219+
15220+ enum CodingKeys: String, CodingKey {
15221+ case trueTrue = "true"
15222+ }
15223+
15224+ init(trueTrue: Int) {
15225+ self.trueTrue = trueTrue
15226+ }
15227+}
15228+
15229+// MARK: TrueClass convenience initializers and mutators
15230+
15231+extension TrueClass {
15232+ convenience init(data: Data) throws {
15233+ let me = try newJSONDecoder().decode(TrueClass.self, from: data)
15234+ self.init(trueTrue: me.trueTrue)
15235+ }
15236+
15237+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15238+ guard let data = json.data(using: encoding) else {
15239+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15240+ }
15241+ try self.init(data: data)
15242+ }
15243+
15244+ convenience init(fromURL url: URL) throws {
15245+ try self.init(data: try Data(contentsOf: url))
15246+ }
15247+
15248+ func with(
15249+ trueTrue: Int? = nil
15250+ ) -> TrueClass {
15251+ return TrueClass(
15252+ trueTrue: trueTrue ?? self.trueTrue
15253+ )
15254+ }
15255+
15256+ func jsonData() throws -> Data {
15257+ return try newJSONEncoder().encode(self)
15258+ }
15259+
15260+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15261+ return String(data: try self.jsonData(), encoding: encoding)
15262+ }
15263+}
15264+
15265+// MARK: - Sealed
15266+@objcMembers class Sealed: NSObject, Codable {
15267+ let sealed: Int
15268+
15269+ enum CodingKeys: String, CodingKey {
15270+ case sealed = "sealed"
15271+ }
15272+
15273+ init(sealed: Int) {
15274+ self.sealed = sealed
15275+ }
15276+}
15277+
15278+// MARK: Sealed convenience initializers and mutators
15279+
15280+extension Sealed {
15281+ convenience init(data: Data) throws {
15282+ let me = try newJSONDecoder().decode(Sealed.self, from: data)
15283+ self.init(sealed: me.sealed)
15284+ }
15285+
15286+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15287+ guard let data = json.data(using: encoding) else {
15288+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15289+ }
15290+ try self.init(data: data)
15291+ }
15292+
15293+ convenience init(fromURL url: URL) throws {
15294+ try self.init(data: try Data(contentsOf: url))
15295+ }
15296+
15297+ func with(
15298+ sealed: Int? = nil
15299+ ) -> Sealed {
15300+ return Sealed(
15301+ sealed: sealed ?? self.sealed
1515515302 )
1515615303 }
1515715304
@@ -15164,25 +15311,25 @@ extension Unowned {
1516415311 }
1516515312 }
1516615313
15167-// MARK: - Var
15168-@objcMembers class Var: NSObject, Codable {
15169- let varVar: Int
15314+// MARK: - Sel
15315+@objcMembers class Sel: NSObject, Codable {
15316+ let sel: Int
1517015317
1517115318 enum CodingKeys: String, CodingKey {
15172- case varVar = "var"
15319+ case sel = "SEL"
1517315320 }
1517415321
15175- init(varVar: Int) {
15176- self.varVar = varVar
15322+ init(sel: Int) {
15323+ self.sel = sel
1517715324 }
1517815325 }
1517915326
15180-// MARK: Var convenience initializers and mutators
15327+// MARK: Sel convenience initializers and mutators
1518115328
15182-extension Var {
15329+extension Sel {
1518315330 convenience init(data: Data) throws {
15184- let me = try newJSONDecoder().decode(Var.self, from: data)
15185- self.init(varVar: me.varVar)
15331+ let me = try newJSONDecoder().decode(Sel.self, from: data)
15332+ self.init(sel: me.sel)
1518615333 }
1518715334
1518815335 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -15197,10 +15344,10 @@ extension Var {
1519715344 }
1519815345
1519915346 func with(
15200- varVar: Int? = nil
15201- ) -> Var {
15202- return Var(
15203- varVar: varVar ?? self.varVar
15347+ sel: Int? = nil
15348+ ) -> Sel {
15349+ return Sel(
15350+ sel: sel ?? self.sel
1520415351 )
1520515352 }
1520615353
@@ -15213,25 +15360,25 @@ extension Var {
1521315360 }
1521415361 }
1521515362
15216-// MARK: - Obj5Self
15217-@objcMembers class Obj5Self: NSObject, Codable {
15218- let selfSelf: Int
15363+// MARK: - Select
15364+@objcMembers class Select: NSObject, Codable {
15365+ let select: Int
1521915366
1522015367 enum CodingKeys: String, CodingKey {
15221- case selfSelf = "self"
15368+ case select = "select"
1522215369 }
1522315370
15224- init(selfSelf: Int) {
15225- self.selfSelf = selfSelf
15371+ init(select: Int) {
15372+ self.select = select
1522615373 }
1522715374 }
1522815375
15229-// MARK: Obj5Self convenience initializers and mutators
15376+// MARK: Select convenience initializers and mutators
1523015377
15231-extension Obj5Self {
15378+extension Select {
1523215379 convenience init(data: Data) throws {
15233- let me = try newJSONDecoder().decode(Obj5Self.self, from: data)
15234- self.init(selfSelf: me.selfSelf)
15380+ let me = try newJSONDecoder().decode(Select.self, from: data)
15381+ self.init(select: me.select)
1523515382 }
1523615383
1523715384 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -15246,10 +15393,10 @@ extension Obj5Self {
1524615393 }
1524715394
1524815395 func with(
15249- selfSelf: Int? = nil
15250- ) -> Obj5Self {
15251- return Obj5Self(
15252- selfSelf: selfSelf ?? self.selfSelf
15396+ select: Int? = nil
15397+ ) -> Select {
15398+ return Select(
15399+ select: select ?? self.select
1525315400 )
1525415401 }
1525515402
@@ -15262,25 +15409,25 @@ extension Obj5Self {
1526215409 }
1526315410 }
1526415411
15265-// MARK: - TrueClass
15266-@objcMembers class TrueClass: NSObject, Codable {
15267- let trueTrue: Int
15412+// MARK: - Sendable
15413+@objcMembers class Sendable: NSObject, Codable {
15414+ let sendable: Int
1526815415
1526915416 enum CodingKeys: String, CodingKey {
15270- case trueTrue = "true"
15417+ case sendable = "Sendable"
1527115418 }
1527215419
15273- init(trueTrue: Int) {
15274- self.trueTrue = trueTrue
15420+ init(sendable: Int) {
15421+ self.sendable = sendable
1527515422 }
1527615423 }
1527715424
15278-// MARK: TrueClass convenience initializers and mutators
15425+// MARK: Sendable convenience initializers and mutators
1527915426
15280-extension TrueClass {
15427+extension Sendable {
1528115428 convenience init(data: Data) throws {
15282- let me = try newJSONDecoder().decode(TrueClass.self, from: data)
15283- self.init(trueTrue: me.trueTrue)
15429+ let me = try newJSONDecoder().decode(Sendable.self, from: data)
15430+ self.init(sendable: me.sendable)
1528415431 }
1528515432
1528615433 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -15295,10 +15442,10 @@ extension TrueClass {
1529515442 }
1529615443
1529715444 func with(
15298- trueTrue: Int? = nil
15299- ) -> TrueClass {
15300- return TrueClass(
15301- trueTrue: trueTrue ?? self.trueTrue
15445+ sendable: Int? = nil
15446+ ) -> Sendable {
15447+ return Sendable(
15448+ sendable: sendable ?? self.sendable
1530215449 )
1530315450 }
1530415451
@@ -15311,25 +15458,25 @@ extension TrueClass {
1531115458 }
1531215459 }
1531315460
15314-// MARK: - Sendable
15315-@objcMembers class Sendable: NSObject, Codable {
15316- let sendable: Int
15461+// MARK: - SerializationFeature
15462+@objcMembers class SerializationFeature: NSObject, Codable {
15463+ let serializationFeature: Int
1531715464
1531815465 enum CodingKeys: String, CodingKey {
15319- case sendable = "Sendable"
15466+ case serializationFeature = "SerializationFeature"
1532015467 }
1532115468
15322- init(sendable: Int) {
15323- self.sendable = sendable
15469+ init(serializationFeature: Int) {
15470+ self.serializationFeature = serializationFeature
1532415471 }
1532515472 }
1532615473
15327-// MARK: Sendable convenience initializers and mutators
15474+// MARK: SerializationFeature convenience initializers and mutators
1532815475
15329-extension Sendable {
15476+extension SerializationFeature {
1533015477 convenience init(data: Data) throws {
15331- let me = try newJSONDecoder().decode(Sendable.self, from: data)
15332- self.init(sendable: me.sendable)
15478+ let me = try newJSONDecoder().decode(SerializationFeature.self, from: data)
15479+ self.init(serializationFeature: me.serializationFeature)
1533315480 }
1533415481
1533515482 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -15344,10 +15491,10 @@ extension Sendable {
1534415491 }
1534515492
1534615493 func with(
15347- sendable: Int? = nil
15348- ) -> Sendable {
15349- return Sendable(
15350- sendable: sendable ?? self.sendable
15494+ serializationFeature: Int? = nil
15495+ ) -> SerializationFeature {
15496+ return SerializationFeature(
15497+ serializationFeature: serializationFeature ?? self.serializationFeature
1535115498 )
1535215499 }
1535315500
@@ -17376,165 +17523,18 @@ extension Ushort {
1737617523 enum CodingKeys: String, CodingKey {
1737717524 case using = "using"
1737817525 }
17379-
17380- init(using: Int) {
17381- self.using = using
17382- }
17383-}
17384-
17385-// MARK: Using convenience initializers and mutators
17386-
17387-extension Using {
17388- convenience init(data: Data) throws {
17389- let me = try newJSONDecoder().decode(Using.self, from: data)
17390- self.init(using: me.using)
17391- }
17392-
17393- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
17394- guard let data = json.data(using: encoding) else {
17395- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
17396- }
17397- try self.init(data: data)
17398- }
17399-
17400- convenience init(fromURL url: URL) throws {
17401- try self.init(data: try Data(contentsOf: url))
17402- }
17403-
17404- func with(
17405- using: Int? = nil
17406- ) -> Using {
17407- return Using(
17408- using: using ?? self.using
17409- )
17410- }
17411-
17412- func jsonData() throws -> Data {
17413- return try newJSONEncoder().encode(self)
17414- }
17415-
17416- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
17417- return String(data: try self.jsonData(), encoding: encoding)
17418- }
17419-}
17420-
17421-// MARK: - Utf8JSONReader
17422-@objcMembers class Utf8JSONReader: NSObject, Codable {
17423- let utf8JSONReader: Int
17424-
17425- enum CodingKeys: String, CodingKey {
17426- case utf8JSONReader = "Utf8JsonReader"
17427- }
17428-
17429- init(utf8JSONReader: Int) {
17430- self.utf8JSONReader = utf8JSONReader
17431- }
17432-}
17433-
17434-// MARK: Utf8JSONReader convenience initializers and mutators
17435-
17436-extension Utf8JSONReader {
17437- convenience init(data: Data) throws {
17438- let me = try newJSONDecoder().decode(Utf8JSONReader.self, from: data)
17439- self.init(utf8JSONReader: me.utf8JSONReader)
17440- }
17441-
17442- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
17443- guard let data = json.data(using: encoding) else {
17444- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
17445- }
17446- try self.init(data: data)
17447- }
17448-
17449- convenience init(fromURL url: URL) throws {
17450- try self.init(data: try Data(contentsOf: url))
17451- }
17452-
17453- func with(
17454- utf8JSONReader: Int? = nil
17455- ) -> Utf8JSONReader {
17456- return Utf8JSONReader(
17457- utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader
17458- )
17459- }
17460-
17461- func jsonData() throws -> Data {
17462- return try newJSONEncoder().encode(self)
17463- }
17464-
17465- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
17466- return String(data: try self.jsonData(), encoding: encoding)
17467- }
17468-}
17469-
17470-// MARK: - Utf8JSONWriter
17471-@objcMembers class Utf8JSONWriter: NSObject, Codable {
17472- let utf8JSONWriter: Int
17473-
17474- enum CodingKeys: String, CodingKey {
17475- case utf8JSONWriter = "Utf8JsonWriter"
17476- }
17477-
17478- init(utf8JSONWriter: Int) {
17479- self.utf8JSONWriter = utf8JSONWriter
17480- }
17481-}
17482-
17483-// MARK: Utf8JSONWriter convenience initializers and mutators
17484-
17485-extension Utf8JSONWriter {
17486- convenience init(data: Data) throws {
17487- let me = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
17488- self.init(utf8JSONWriter: me.utf8JSONWriter)
17489- }
17490-
17491- convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
17492- guard let data = json.data(using: encoding) else {
17493- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
17494- }
17495- try self.init(data: data)
17496- }
17497-
17498- convenience init(fromURL url: URL) throws {
17499- try self.init(data: try Data(contentsOf: url))
17500- }
17501-
17502- func with(
17503- utf8JSONWriter: Int? = nil
17504- ) -> Utf8JSONWriter {
17505- return Utf8JSONWriter(
17506- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
17507- )
17508- }
17509-
17510- func jsonData() throws -> Data {
17511- return try newJSONEncoder().encode(self)
17512- }
17513-
17514- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
17515- return String(data: try self.jsonData(), encoding: encoding)
17516- }
17517-}
17518-
17519-// MARK: - UUIDClass
17520-@objcMembers class UUIDClass: NSObject, Codable {
17521- let uuid: Int
17522-
17523- enum CodingKeys: String, CodingKey {
17524- case uuid = "UUID"
17525- }
17526-
17527- init(uuid: Int) {
17528- self.uuid = uuid
17526+
17527+ init(using: Int) {
17528+ self.using = using
1752917529 }
1753017530 }
1753117531
17532-// MARK: UUIDClass convenience initializers and mutators
17532+// MARK: Using convenience initializers and mutators
1753317533
17534-extension UUIDClass {
17534+extension Using {
1753517535 convenience init(data: Data) throws {
17536- let me = try newJSONDecoder().decode(UUIDClass.self, from: data)
17537- self.init(uuid: me.uuid)
17536+ let me = try newJSONDecoder().decode(Using.self, from: data)
17537+ self.init(using: me.using)
1753817538 }
1753917539
1754017540 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17549,10 +17549,10 @@ extension UUIDClass {
1754917549 }
1755017550
1755117551 func with(
17552- uuid: Int? = nil
17553- ) -> UUIDClass {
17554- return UUIDClass(
17555- uuid: uuid ?? self.uuid
17552+ using: Int? = nil
17553+ ) -> Using {
17554+ return Using(
17555+ using: using ?? self.using
1755617556 )
1755717557 }
1755817558
@@ -17565,25 +17565,25 @@ extension UUIDClass {
1756517565 }
1756617566 }
1756717567
17568-// MARK: - Virtual
17569-@objcMembers class Virtual: NSObject, Codable {
17570- let virtual: Int
17568+// MARK: - Utf8JSONReader
17569+@objcMembers class Utf8JSONReader: NSObject, Codable {
17570+ let utf8JSONReader: Int
1757117571
1757217572 enum CodingKeys: String, CodingKey {
17573- case virtual = "virtual"
17573+ case utf8JSONReader = "Utf8JsonReader"
1757417574 }
1757517575
17576- init(virtual: Int) {
17577- self.virtual = virtual
17576+ init(utf8JSONReader: Int) {
17577+ self.utf8JSONReader = utf8JSONReader
1757817578 }
1757917579 }
1758017580
17581-// MARK: Virtual convenience initializers and mutators
17581+// MARK: Utf8JSONReader convenience initializers and mutators
1758217582
17583-extension Virtual {
17583+extension Utf8JSONReader {
1758417584 convenience init(data: Data) throws {
17585- let me = try newJSONDecoder().decode(Virtual.self, from: data)
17586- self.init(virtual: me.virtual)
17585+ let me = try newJSONDecoder().decode(Utf8JSONReader.self, from: data)
17586+ self.init(utf8JSONReader: me.utf8JSONReader)
1758717587 }
1758817588
1758917589 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17598,10 +17598,10 @@ extension Virtual {
1759817598 }
1759917599
1760017600 func with(
17601- virtual: Int? = nil
17602- ) -> Virtual {
17603- return Virtual(
17604- virtual: virtual ?? self.virtual
17601+ utf8JSONReader: Int? = nil
17602+ ) -> Utf8JSONReader {
17603+ return Utf8JSONReader(
17604+ utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader
1760517605 )
1760617606 }
1760717607
@@ -17617,10 +17617,14 @@ extension Virtual {
1761717617 // MARK: - Obj6
1761817618 @objcMembers class Obj6: NSObject, Codable {
1761917619 let dummy: Int
17620+ let obj6Var: Var
1762017621 let obj6Weak: Weak
1762117622 let obj6Where: Where
1762217623 let obj6While: While
1762317624 let obj6WillSet: WillSet
17625+ let utf8JSONWriter: Utf8JSONWriter
17626+ let uuid: UUIDClass
17627+ let virtual: Virtual
1762417628 let void: Void
1762517629 let volatile: Volatile
1762617630 let wcharT: WcharT
@@ -17632,10 +17636,14 @@ extension Virtual {
1763217636
1763317637 enum CodingKeys: String, CodingKey {
1763417638 case dummy = "dummy"
17639+ case obj6Var = "var"
1763517640 case obj6Weak = "weak"
1763617641 case obj6Where = "where"
1763717642 case obj6While = "while"
1763817643 case obj6WillSet = "willSet"
17644+ case utf8JSONWriter = "Utf8JsonWriter"
17645+ case uuid = "UUID"
17646+ case virtual = "virtual"
1763917647 case void = "void"
1764017648 case volatile = "volatile"
1764117649 case wcharT = "wchar_t"
@@ -17646,12 +17654,16 @@ extension Virtual {
1764617654 case yield = "yield"
1764717655 }
1764817656
17649- init(dummy: Int, obj6Weak: Weak, obj6Where: Where, obj6While: While, obj6WillSet: WillSet, void: Void, volatile: Volatile, wcharT: WcharT, with: With, xor: Xor, xorEq: XorEq, yes: Yes, yield: Yield) {
17657+ init(dummy: Int, obj6Var: Var, obj6Weak: Weak, obj6Where: Where, obj6While: While, obj6WillSet: WillSet, utf8JSONWriter: Utf8JSONWriter, uuid: UUIDClass, virtual: Virtual, void: Void, volatile: Volatile, wcharT: WcharT, with: With, xor: Xor, xorEq: XorEq, yes: Yes, yield: Yield) {
1765017658 self.dummy = dummy
17659+ self.obj6Var = obj6Var
1765117660 self.obj6Weak = obj6Weak
1765217661 self.obj6Where = obj6Where
1765317662 self.obj6While = obj6While
1765417663 self.obj6WillSet = obj6WillSet
17664+ self.utf8JSONWriter = utf8JSONWriter
17665+ self.uuid = uuid
17666+ self.virtual = virtual
1765517667 self.void = void
1765617668 self.volatile = volatile
1765717669 self.wcharT = wcharT
@@ -17668,7 +17680,7 @@ extension Virtual {
1766817680 extension Obj6 {
1766917681 convenience init(data: Data) throws {
1767017682 let me = try newJSONDecoder().decode(Obj6.self, from: data)
17671- self.init(dummy: me.dummy, obj6Weak: me.obj6Weak, obj6Where: me.obj6Where, obj6While: me.obj6While, obj6WillSet: me.obj6WillSet, void: me.void, volatile: me.volatile, wcharT: me.wcharT, with: me.with, xor: me.xor, xorEq: me.xorEq, yes: me.yes, yield: me.yield)
17683+ self.init(dummy: me.dummy, obj6Var: me.obj6Var, obj6Weak: me.obj6Weak, obj6Where: me.obj6Where, obj6While: me.obj6While, obj6WillSet: me.obj6WillSet, utf8JSONWriter: me.utf8JSONWriter, uuid: me.uuid, virtual: me.virtual, void: me.void, volatile: me.volatile, wcharT: me.wcharT, with: me.with, xor: me.xor, xorEq: me.xorEq, yes: me.yes, yield: me.yield)
1767217684 }
1767317685
1767417686 convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17684,10 +17696,14 @@ extension Obj6 {
1768417696
1768517697 func with(
1768617698 dummy: Int? = nil,
17699+ obj6Var: Var? = nil,
1768717700 obj6Weak: Weak? = nil,
1768817701 obj6Where: Where? = nil,
1768917702 obj6While: While? = nil,
1769017703 obj6WillSet: WillSet? = nil,
17704+ utf8JSONWriter: Utf8JSONWriter? = nil,
17705+ uuid: UUIDClass? = nil,
17706+ virtual: Virtual? = nil,
1769117707 void: Void? = nil,
1769217708 volatile: Volatile? = nil,
1769317709 wcharT: WcharT? = nil,
@@ -17699,10 +17715,14 @@ extension Obj6 {
1769917715 ) -> Obj6 {
1770017716 return Obj6(
1770117717 dummy: dummy ?? self.dummy,
17718+ obj6Var: obj6Var ?? self.obj6Var,
1770217719 obj6Weak: obj6Weak ?? self.obj6Weak,
1770317720 obj6Where: obj6Where ?? self.obj6Where,
1770417721 obj6While: obj6While ?? self.obj6While,
1770517722 obj6WillSet: obj6WillSet ?? self.obj6WillSet,
17723+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
17724+ uuid: uuid ?? self.uuid,
17725+ virtual: virtual ?? self.virtual,
1770617726 void: void ?? self.void,
1770717727 volatile: volatile ?? self.volatile,
1770817728 wcharT: wcharT ?? self.wcharT,
@@ -17723,6 +17743,55 @@ extension Obj6 {
1772317743 }
1772417744 }
1772517745
17746+// MARK: - Var
17747+@objcMembers class Var: NSObject, Codable {
17748+ let varVar: Int
17749+
17750+ enum CodingKeys: String, CodingKey {
17751+ case varVar = "var"
17752+ }
17753+
17754+ init(varVar: Int) {
17755+ self.varVar = varVar
17756+ }
17757+}
17758+
17759+// MARK: Var convenience initializers and mutators
17760+
17761+extension Var {
17762+ convenience init(data: Data) throws {
17763+ let me = try newJSONDecoder().decode(Var.self, from: data)
17764+ self.init(varVar: me.varVar)
17765+ }
17766+
17767+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
17768+ guard let data = json.data(using: encoding) else {
17769+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
17770+ }
17771+ try self.init(data: data)
17772+ }
17773+
17774+ convenience init(fromURL url: URL) throws {
17775+ try self.init(data: try Data(contentsOf: url))
17776+ }
17777+
17778+ func with(
17779+ varVar: Int? = nil
17780+ ) -> Var {
17781+ return Var(
17782+ varVar: varVar ?? self.varVar
17783+ )
17784+ }
17785+
17786+ func jsonData() throws -> Data {
17787+ return try newJSONEncoder().encode(self)
17788+ }
17789+
17790+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
17791+ return String(data: try self.jsonData(), encoding: encoding)
17792+ }
17793+}
17794+
1772617795 // MARK: - Weak
1772717796 @objcMembers class Weak: NSObject, Codable {
1772817797 let weakWeak: Int
@@ -17919,6 +17988,153 @@ extension WillSet {
1791917988 }
1792017989 }
1792117990
17991+// MARK: - Utf8JSONWriter
17992+@objcMembers class Utf8JSONWriter: NSObject, Codable {
17993+ let utf8JSONWriter: Int
17994+
17995+ enum CodingKeys: String, CodingKey {
17996+ case utf8JSONWriter = "Utf8JsonWriter"
17997+ }
17998+
17999+ init(utf8JSONWriter: Int) {
18000+ self.utf8JSONWriter = utf8JSONWriter
18001+ }
18002+}
18003+
18004+// MARK: Utf8JSONWriter convenience initializers and mutators
18005+
18006+extension Utf8JSONWriter {
18007+ convenience init(data: Data) throws {
18008+ let me = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
18009+ self.init(utf8JSONWriter: me.utf8JSONWriter)
18010+ }
18011+
18012+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
18013+ guard let data = json.data(using: encoding) else {
18014+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
18015+ }
18016+ try self.init(data: data)
18017+ }
18018+
18019+ convenience init(fromURL url: URL) throws {
18020+ try self.init(data: try Data(contentsOf: url))
18021+ }
18022+
18023+ func with(
18024+ utf8JSONWriter: Int? = nil
18025+ ) -> Utf8JSONWriter {
18026+ return Utf8JSONWriter(
18027+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
18028+ )
18029+ }
18030+
18031+ func jsonData() throws -> Data {
18032+ return try newJSONEncoder().encode(self)
18033+ }
18034+
18035+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
18036+ return String(data: try self.jsonData(), encoding: encoding)
18037+ }
18038+}
18039+
18040+// MARK: - UUIDClass
18041+@objcMembers class UUIDClass: NSObject, Codable {
18042+ let uuid: Int
18043+
18044+ enum CodingKeys: String, CodingKey {
18045+ case uuid = "UUID"
18046+ }
18047+
18048+ init(uuid: Int) {
18049+ self.uuid = uuid
18050+ }
18051+}
18052+
18053+// MARK: UUIDClass convenience initializers and mutators
18054+
18055+extension UUIDClass {
18056+ convenience init(data: Data) throws {
18057+ let me = try newJSONDecoder().decode(UUIDClass.self, from: data)
18058+ self.init(uuid: me.uuid)
18059+ }
18060+
18061+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
18062+ guard let data = json.data(using: encoding) else {
18063+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
18064+ }
18065+ try self.init(data: data)
18066+ }
18067+
18068+ convenience init(fromURL url: URL) throws {
18069+ try self.init(data: try Data(contentsOf: url))
18070+ }
18071+
18072+ func with(
18073+ uuid: Int? = nil
18074+ ) -> UUIDClass {
18075+ return UUIDClass(
18076+ uuid: uuid ?? self.uuid
18077+ )
18078+ }
18079+
18080+ func jsonData() throws -> Data {
18081+ return try newJSONEncoder().encode(self)
18082+ }
18083+
18084+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
18085+ return String(data: try self.jsonData(), encoding: encoding)
18086+ }
18087+}
18088+
18089+// MARK: - Virtual
18090+@objcMembers class Virtual: NSObject, Codable {
18091+ let virtual: Int
18092+
18093+ enum CodingKeys: String, CodingKey {
18094+ case virtual = "virtual"
18095+ }
18096+
18097+ init(virtual: Int) {
18098+ self.virtual = virtual
18099+ }
18100+}
18101+
18102+// MARK: Virtual convenience initializers and mutators
18103+
18104+extension Virtual {
18105+ convenience init(data: Data) throws {
18106+ let me = try newJSONDecoder().decode(Virtual.self, from: data)
18107+ self.init(virtual: me.virtual)
18108+ }
18109+
18110+ convenience init(_ json: String, using encoding: String.Encoding = .utf8) throws {
18111+ guard let data = json.data(using: encoding) else {
18112+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
18113+ }
18114+ try self.init(data: data)
18115+ }
18116+
18117+ convenience init(fromURL url: URL) throws {
18118+ try self.init(data: try Data(contentsOf: url))
18119+ }
18120+
18121+ func with(
18122+ virtual: Int? = nil
18123+ ) -> Virtual {
18124+ return Virtual(
18125+ virtual: virtual ?? self.virtual
18126+ )
18127+ }
18128+
18129+ func jsonData() throws -> Data {
18130+ return try newJSONEncoder().encode(self)
18131+ }
18132+
18133+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
18134+ return String(data: try self.jsonData(), encoding: encoding)
18135+ }
18136+}
18137+
1792218138 // MARK: - Void
1792318139 @objcMembers class Void: NSObject, Codable {
1792418140 let void: Int
Mswiftprotocol-equatable--bd9068f466c1 / quicktype.swift+810 −594
@@ -3610,6 +3610,7 @@ struct Obj2: Codable, Equatable {
36103610 let del: Del
36113611 let delegate: Delegate
36123612 let delete: Delete
3613+ let deserializationFeature: DeserializationFeature
36133614 let dict: Dict
36143615 let dictionary: Dictionary
36153616 let double: DoubleClass
@@ -3640,7 +3641,6 @@ struct Obj2: Codable, Equatable {
36403641 let function: Function
36413642 let global: Global
36423643 let go: Go
3643- let goto: Goto
36443644 let obj2Default: Default
36453645 let obj2Defer: Defer
36463646 let obj2Deinit: Deinit
@@ -3677,6 +3677,7 @@ struct Obj2: Codable, Equatable {
36773677 case del = "del"
36783678 case delegate = "delegate"
36793679 case delete = "delete"
3680+ case deserializationFeature = "DeserializationFeature"
36803681 case dict = "dict"
36813682 case dictionary = "dictionary"
36823683 case double = "double"
@@ -3707,7 +3708,6 @@ struct Obj2: Codable, Equatable {
37073708 case function = "function"
37083709 case global = "global"
37093710 case go = "go"
3710- case goto = "goto"
37113711 case obj2Default = "default"
37123712 case obj2Defer = "defer"
37133713 case obj2Deinit = "deinit"
@@ -3764,6 +3764,7 @@ extension Obj2 {
37643764 del: Del? = nil,
37653765 delegate: Delegate? = nil,
37663766 delete: Delete? = nil,
3767+ deserializationFeature: DeserializationFeature? = nil,
37673768 dict: Dict? = nil,
37683769 dictionary: Dictionary? = nil,
37693770 double: DoubleClass? = nil,
@@ -3794,7 +3795,6 @@ extension Obj2 {
37943795 function: Function? = nil,
37953796 global: Global? = nil,
37963797 go: Go? = nil,
3797- goto: Goto? = nil,
37983798 obj2Default: Default? = nil,
37993799 obj2Defer: Defer? = nil,
38003800 obj2Deinit: Deinit? = nil,
@@ -3831,6 +3831,7 @@ extension Obj2 {
38313831 del: del ?? self.del,
38323832 delegate: delegate ?? self.delegate,
38333833 delete: delete ?? self.delete,
3834+ deserializationFeature: deserializationFeature ?? self.deserializationFeature,
38343835 dict: dict ?? self.dict,
38353836 dictionary: dictionary ?? self.dictionary,
38363837 double: double ?? self.double,
@@ -3861,7 +3862,6 @@ extension Obj2 {
38613862 function: function ?? self.function,
38623863 global: global ?? self.global,
38633864 go: go ?? self.go,
3864- goto: goto ?? self.goto,
38653865 obj2Default: obj2Default ?? self.obj2Default,
38663866 obj2Defer: obj2Defer ?? self.obj2Defer,
38673867 obj2Deinit: obj2Deinit ?? self.obj2Deinit,
@@ -4747,6 +4747,56 @@ extension Delete {
47474747 // for types that require the use of JSONAny, nor will the implementation of Hashable be
47484748 // synthesized for types that have collections (such as arrays or dictionaries).
47494749
4750+// MARK: - DeserializationFeature
4751+struct DeserializationFeature: Codable, Equatable {
4752+ let deserializationFeature: Int
4753+
4754+ enum CodingKeys: String, CodingKey {
4755+ case deserializationFeature = "DeserializationFeature"
4756+ }
4757+}
4758+
4759+// MARK: DeserializationFeature convenience initializers and mutators
4760+
4761+extension DeserializationFeature {
4762+ init(data: Data) throws {
4763+ self = try newJSONDecoder().decode(DeserializationFeature.self, from: data)
4764+ }
4765+
4766+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
4767+ guard let data = json.data(using: encoding) else {
4768+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
4769+ }
4770+ try self.init(data: data)
4771+ }
4772+
4773+ init(fromURL url: URL) throws {
4774+ try self.init(data: try Data(contentsOf: url))
4775+ }
4776+
4777+ func with(
4778+ deserializationFeature: Int? = nil
4779+ ) -> DeserializationFeature {
4780+ return DeserializationFeature(
4781+ deserializationFeature: deserializationFeature ?? self.deserializationFeature
4782+ )
4783+ }
4784+
4785+ func jsonData() throws -> Data {
4786+ return try newJSONEncoder().encode(self)
4787+ }
4788+
4789+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
4790+ return String(data: try self.jsonData(), encoding: encoding)
4791+ }
4792+}
4793+
4794+//
4795+// Hashable or Equatable:
4796+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
4797+// for types that require the use of JSONAny, nor will the implementation of Hashable be
4798+// synthesized for types that have collections (such as arrays or dictionaries).
4799+
47504800 // MARK: - Dict
47514801 struct Dict: Codable, Equatable {
47524802 let dict: Int
@@ -6202,56 +6252,6 @@ extension Go {
62026252 // for types that require the use of JSONAny, nor will the implementation of Hashable be
62036253 // synthesized for types that have collections (such as arrays or dictionaries).
62046254
6205-// MARK: - Goto
6206-struct Goto: Codable, Equatable {
6207- let goto: Int
6208-
6209- enum CodingKeys: String, CodingKey {
6210- case goto = "goto"
6211- }
6212-}
6213-
6214-// MARK: Goto convenience initializers and mutators
6215-
6216-extension Goto {
6217- init(data: Data) throws {
6218- self = try newJSONDecoder().decode(Goto.self, from: data)
6219- }
6220-
6221- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
6222- guard let data = json.data(using: encoding) else {
6223- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
6224- }
6225- try self.init(data: data)
6226- }
6227-
6228- init(fromURL url: URL) throws {
6229- try self.init(data: try Data(contentsOf: url))
6230- }
6231-
6232- func with(
6233- goto: Int? = nil
6234- ) -> Goto {
6235- return Goto(
6236- goto: goto ?? self.goto
6237- )
6238- }
6239-
6240- func jsonData() throws -> Data {
6241- return try newJSONEncoder().encode(self)
6242- }
6243-
6244- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
6245- return String(data: try self.jsonData(), encoding: encoding)
6246- }
6247-}
6248-
6249-//
6250-// Hashable or Equatable:
6251-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
6252-// for types that require the use of JSONAny, nor will the implementation of Hashable be
6253-// synthesized for types that have collections (such as arrays or dictionaries).
6254-
62556255 // MARK: - Default
62566256 struct Default: Codable, Equatable {
62576257 let defaultDefault: Int
@@ -7105,6 +7105,7 @@ extension FalseClass {
71057105 // MARK: - Obj3
71067106 struct Obj3: Codable, Equatable {
71077107 let dummy: Int
7108+ let goto: Goto
71087109 let hasOwnProperty: HasOwnProperty
71097110 let hashCode: HashCode
71107111 let hashable: HashableClass
@@ -7152,7 +7153,6 @@ struct Obj3: Codable, Equatable {
71527153 let new: New
71537154 let newtonsoft: Newtonsoft
71547155 let no: No
7155- let noexcept: Noexcept
71567156 let obj3Guard: Guard
71577157 let obj3If: If
71587158 let obj3Import: Import
@@ -7172,6 +7172,7 @@ struct Obj3: Codable, Equatable {
71727172
71737173 enum CodingKeys: String, CodingKey {
71747174 case dummy = "dummy"
7175+ case goto = "goto"
71757176 case hasOwnProperty = "hasOwnProperty"
71767177 case hashCode = "hashCode"
71777178 case hashable = "Hashable"
@@ -7219,7 +7220,6 @@ struct Obj3: Codable, Equatable {
72197220 case new = "new"
72207221 case newtonsoft = "newtonsoft"
72217222 case no = "NO"
7222- case noexcept = "noexcept"
72237223 case obj3Guard = "guard"
72247224 case obj3If = "if"
72257225 case obj3Import = "import"
@@ -7259,6 +7259,7 @@ extension Obj3 {
72597259
72607260 func with(
72617261 dummy: Int? = nil,
7262+ goto: Goto? = nil,
72627263 hasOwnProperty: HasOwnProperty? = nil,
72637264 hashCode: HashCode? = nil,
72647265 hashable: HashableClass? = nil,
@@ -7306,7 +7307,6 @@ extension Obj3 {
73067307 new: New? = nil,
73077308 newtonsoft: Newtonsoft? = nil,
73087309 no: No? = nil,
7309- noexcept: Noexcept? = nil,
73107310 obj3Guard: Guard? = nil,
73117311 obj3If: If? = nil,
73127312 obj3Import: Import? = nil,
@@ -7326,6 +7326,7 @@ extension Obj3 {
73267326 ) -> Obj3 {
73277327 return Obj3(
73287328 dummy: dummy ?? self.dummy,
7329+ goto: goto ?? self.goto,
73297330 hasOwnProperty: hasOwnProperty ?? self.hasOwnProperty,
73307331 hashCode: hashCode ?? self.hashCode,
73317332 hashable: hashable ?? self.hashable,
@@ -7373,7 +7374,6 @@ extension Obj3 {
73737374 new: new ?? self.new,
73747375 newtonsoft: newtonsoft ?? self.newtonsoft,
73757376 no: no ?? self.no,
7376- noexcept: noexcept ?? self.noexcept,
73777377 obj3Guard: obj3Guard ?? self.obj3Guard,
73787378 obj3If: obj3If ?? self.obj3If,
73797379 obj3Import: obj3Import ?? self.obj3Import,
@@ -7408,6 +7408,56 @@ extension Obj3 {
74087408 // for types that require the use of JSONAny, nor will the implementation of Hashable be
74097409 // synthesized for types that have collections (such as arrays or dictionaries).
74107410
7411+// MARK: - Goto
7412+struct Goto: Codable, Equatable {
7413+ let goto: Int
7414+
7415+ enum CodingKeys: String, CodingKey {
7416+ case goto = "goto"
7417+ }
7418+}
7419+
7420+// MARK: Goto convenience initializers and mutators
7421+
7422+extension Goto {
7423+ init(data: Data) throws {
7424+ self = try newJSONDecoder().decode(Goto.self, from: data)
7425+ }
7426+
7427+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
7428+ guard let data = json.data(using: encoding) else {
7429+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
7430+ }
7431+ try self.init(data: data)
7432+ }
7433+
7434+ init(fromURL url: URL) throws {
7435+ try self.init(data: try Data(contentsOf: url))
7436+ }
7437+
7438+ func with(
7439+ goto: Int? = nil
7440+ ) -> Goto {
7441+ return Goto(
7442+ goto: goto ?? self.goto
7443+ )
7444+ }
7445+
7446+ func jsonData() throws -> Data {
7447+ return try newJSONEncoder().encode(self)
7448+ }
7449+
7450+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
7451+ return String(data: try self.jsonData(), encoding: encoding)
7452+ }
7453+}
7454+
7455+//
7456+// Hashable or Equatable:
7457+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
7458+// for types that require the use of JSONAny, nor will the implementation of Hashable be
7459+// synthesized for types that have collections (such as arrays or dictionaries).
7460+
74117461 // MARK: - HasOwnProperty
74127462 struct HasOwnProperty: Codable, Equatable {
74137463 let hasOwnProperty: Int
@@ -9758,56 +9808,6 @@ extension No {
97589808 // for types that require the use of JSONAny, nor will the implementation of Hashable be
97599809 // synthesized for types that have collections (such as arrays or dictionaries).
97609810
9761-// MARK: - Noexcept
9762-struct Noexcept: Codable, Equatable {
9763- let noexcept: Int
9764-
9765- enum CodingKeys: String, CodingKey {
9766- case noexcept = "noexcept"
9767- }
9768-}
9769-
9770-// MARK: Noexcept convenience initializers and mutators
9771-
9772-extension Noexcept {
9773- init(data: Data) throws {
9774- self = try newJSONDecoder().decode(Noexcept.self, from: data)
9775- }
9776-
9777- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
9778- guard let data = json.data(using: encoding) else {
9779- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
9780- }
9781- try self.init(data: data)
9782- }
9783-
9784- init(fromURL url: URL) throws {
9785- try self.init(data: try Data(contentsOf: url))
9786- }
9787-
9788- func with(
9789- noexcept: Int? = nil
9790- ) -> Noexcept {
9791- return Noexcept(
9792- noexcept: noexcept ?? self.noexcept
9793- )
9794- }
9795-
9796- func jsonData() throws -> Data {
9797- return try newJSONEncoder().encode(self)
9798- }
9799-
9800- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
9801- return String(data: try self.jsonData(), encoding: encoding)
9802- }
9803-}
9804-
9805-//
9806-// Hashable or Equatable:
9807-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
9808-// for types that require the use of JSONAny, nor will the implementation of Hashable be
9809-// synthesized for types that have collections (such as arrays or dictionaries).
9810-
98119811 // MARK: - Guard
98129812 struct Guard: Codable, Equatable {
98139813 let guardGuard: Int
@@ -10612,6 +10612,7 @@ extension Nil {
1061210612 struct Obj4: Codable, Equatable {
1061310613 let dummy: Int
1061410614 let noSuchMethod: NoSuchMethod
10615+ let noexcept: Noexcept
1061510616 let nonatomic: Nonatomic
1061610617 let none: None
1061710618 let nonlocal: Nonlocal
@@ -10643,6 +10644,8 @@ struct Obj4: Codable, Equatable {
1064310644 let obj4Right: Right
1064410645 let object: Object
1064510646 let objectMapper: ObjectMapper
10647+ let objectReader: ObjectReader
10648+ let objectWriter: ObjectWriter
1064610649 let of: Of
1064710650 let oneway: Oneway
1064810651 let or: Or
@@ -10672,13 +10675,11 @@ struct Obj4: Codable, Equatable {
1067210675 let runtimeType: RuntimeType
1067310676 let s: S
1067410677 let sbyte: Sbyte
10675- let sealed: Sealed
10676- let sel: Sel
10677- let select: Select
1067810678
1067910679 enum CodingKeys: String, CodingKey {
1068010680 case dummy = "dummy"
1068110681 case noSuchMethod = "noSuchMethod"
10682+ case noexcept = "noexcept"
1068210683 case nonatomic = "nonatomic"
1068310684 case none = "None"
1068410685 case nonlocal = "nonlocal"
@@ -10710,6 +10711,8 @@ struct Obj4: Codable, Equatable {
1071010711 case obj4Right = "right"
1071110712 case object = "object"
1071210713 case objectMapper = "ObjectMapper"
10714+ case objectReader = "ObjectReader"
10715+ case objectWriter = "ObjectWriter"
1071310716 case of = "of"
1071410717 case oneway = "oneway"
1071510718 case or = "or"
@@ -10739,9 +10742,6 @@ struct Obj4: Codable, Equatable {
1073910742 case runtimeType = "runtimeType"
1074010743 case s = "s"
1074110744 case sbyte = "sbyte"
10742- case sealed = "sealed"
10743- case sel = "SEL"
10744- case select = "select"
1074510745 }
1074610746 }
1074710747
@@ -10766,6 +10766,7 @@ extension Obj4 {
1076610766 func with(
1076710767 dummy: Int? = nil,
1076810768 noSuchMethod: NoSuchMethod? = nil,
10769+ noexcept: Noexcept? = nil,
1076910770 nonatomic: Nonatomic? = nil,
1077010771 none: None? = nil,
1077110772 nonlocal: Nonlocal? = nil,
@@ -10797,6 +10798,8 @@ extension Obj4 {
1079710798 obj4Right: Right? = nil,
1079810799 object: Object? = nil,
1079910800 objectMapper: ObjectMapper? = nil,
10801+ objectReader: ObjectReader? = nil,
10802+ objectWriter: ObjectWriter? = nil,
1080010803 of: Of? = nil,
1080110804 oneway: Oneway? = nil,
1080210805 or: Or? = nil,
@@ -10825,14 +10828,12 @@ extension Obj4 {
1082510828 retain: Retain? = nil,
1082610829 runtimeType: RuntimeType? = nil,
1082710830 s: S? = nil,
10828- sbyte: Sbyte? = nil,
10829- sealed: Sealed? = nil,
10830- sel: Sel? = nil,
10831- select: Select? = nil
10831+ sbyte: Sbyte? = nil
1083210832 ) -> Obj4 {
1083310833 return Obj4(
1083410834 dummy: dummy ?? self.dummy,
1083510835 noSuchMethod: noSuchMethod ?? self.noSuchMethod,
10836+ noexcept: noexcept ?? self.noexcept,
1083610837 nonatomic: nonatomic ?? self.nonatomic,
1083710838 none: none ?? self.none,
1083810839 nonlocal: nonlocal ?? self.nonlocal,
@@ -10864,6 +10865,8 @@ extension Obj4 {
1086410865 obj4Right: obj4Right ?? self.obj4Right,
1086510866 object: object ?? self.object,
1086610867 objectMapper: objectMapper ?? self.objectMapper,
10868+ objectReader: objectReader ?? self.objectReader,
10869+ objectWriter: objectWriter ?? self.objectWriter,
1086710870 of: of ?? self.of,
1086810871 oneway: oneway ?? self.oneway,
1086910872 or: or ?? self.or,
@@ -10892,10 +10895,7 @@ extension Obj4 {
1089210895 retain: retain ?? self.retain,
1089310896 runtimeType: runtimeType ?? self.runtimeType,
1089410897 s: s ?? self.s,
10895- sbyte: sbyte ?? self.sbyte,
10896- sealed: sealed ?? self.sealed,
10897- sel: sel ?? self.sel,
10898- select: select ?? self.select
10898+ sbyte: sbyte ?? self.sbyte
1089910899 )
1090010900 }
1090110901
@@ -10964,20 +10964,20 @@ extension NoSuchMethod {
1096410964 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1096510965 // synthesized for types that have collections (such as arrays or dictionaries).
1096610966
10967-// MARK: - Nonatomic
10968-struct Nonatomic: Codable, Equatable {
10969- let nonatomic: Int
10967+// MARK: - Noexcept
10968+struct Noexcept: Codable, Equatable {
10969+ let noexcept: Int
1097010970
1097110971 enum CodingKeys: String, CodingKey {
10972- case nonatomic = "nonatomic"
10972+ case noexcept = "noexcept"
1097310973 }
1097410974 }
1097510975
10976-// MARK: Nonatomic convenience initializers and mutators
10976+// MARK: Noexcept convenience initializers and mutators
1097710977
10978-extension Nonatomic {
10978+extension Noexcept {
1097910979 init(data: Data) throws {
10980- self = try newJSONDecoder().decode(Nonatomic.self, from: data)
10980+ self = try newJSONDecoder().decode(Noexcept.self, from: data)
1098110981 }
1098210982
1098310983 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -10992,10 +10992,10 @@ extension Nonatomic {
1099210992 }
1099310993
1099410994 func with(
10995- nonatomic: Int? = nil
10996- ) -> Nonatomic {
10997- return Nonatomic(
10998- nonatomic: nonatomic ?? self.nonatomic
10995+ noexcept: Int? = nil
10996+ ) -> Noexcept {
10997+ return Noexcept(
10998+ noexcept: noexcept ?? self.noexcept
1099910999 )
1100011000 }
1100111001
@@ -11014,20 +11014,20 @@ extension Nonatomic {
1101411014 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1101511015 // synthesized for types that have collections (such as arrays or dictionaries).
1101611016
11017-// MARK: - None
11018-struct None: Codable, Equatable {
11019- let none: Int
11017+// MARK: - Nonatomic
11018+struct Nonatomic: Codable, Equatable {
11019+ let nonatomic: Int
1102011020
1102111021 enum CodingKeys: String, CodingKey {
11022- case none = "None"
11022+ case nonatomic = "nonatomic"
1102311023 }
1102411024 }
1102511025
11026-// MARK: None convenience initializers and mutators
11026+// MARK: Nonatomic convenience initializers and mutators
1102711027
11028-extension None {
11028+extension Nonatomic {
1102911029 init(data: Data) throws {
11030- self = try newJSONDecoder().decode(None.self, from: data)
11030+ self = try newJSONDecoder().decode(Nonatomic.self, from: data)
1103111031 }
1103211032
1103311033 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -11042,9 +11042,59 @@ extension None {
1104211042 }
1104311043
1104411044 func with(
11045- none: Int? = nil
11046- ) -> None {
11047- return None(
11045+ nonatomic: Int? = nil
11046+ ) -> Nonatomic {
11047+ return Nonatomic(
11048+ nonatomic: nonatomic ?? self.nonatomic
11049+ )
11050+ }
11051+
11052+ func jsonData() throws -> Data {
11053+ return try newJSONEncoder().encode(self)
11054+ }
11055+
11056+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
11057+ return String(data: try self.jsonData(), encoding: encoding)
11058+ }
11059+}
11060+
11061+//
11062+// Hashable or Equatable:
11063+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
11064+// for types that require the use of JSONAny, nor will the implementation of Hashable be
11065+// synthesized for types that have collections (such as arrays or dictionaries).
11066+
11067+// MARK: - None
11068+struct None: Codable, Equatable {
11069+ let none: Int
11070+
11071+ enum CodingKeys: String, CodingKey {
11072+ case none = "None"
11073+ }
11074+}
11075+
11076+// MARK: None convenience initializers and mutators
11077+
11078+extension None {
11079+ init(data: Data) throws {
11080+ self = try newJSONDecoder().decode(None.self, from: data)
11081+ }
11082+
11083+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
11084+ guard let data = json.data(using: encoding) else {
11085+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
11086+ }
11087+ try self.init(data: data)
11088+ }
11089+
11090+ init(fromURL url: URL) throws {
11091+ try self.init(data: try Data(contentsOf: url))
11092+ }
11093+
11094+ func with(
11095+ none: Int? = nil
11096+ ) -> None {
11097+ return None(
1104811098 none: none ?? self.none
1104911099 )
1105011100 }
@@ -12514,6 +12564,106 @@ extension ObjectMapper {
1251412564 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1251512565 // synthesized for types that have collections (such as arrays or dictionaries).
1251612566
12567+// MARK: - ObjectReader
12568+struct ObjectReader: Codable, Equatable {
12569+ let objectReader: Int
12570+
12571+ enum CodingKeys: String, CodingKey {
12572+ case objectReader = "ObjectReader"
12573+ }
12574+}
12575+
12576+// MARK: ObjectReader convenience initializers and mutators
12577+
12578+extension ObjectReader {
12579+ init(data: Data) throws {
12580+ self = try newJSONDecoder().decode(ObjectReader.self, from: data)
12581+ }
12582+
12583+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12584+ guard let data = json.data(using: encoding) else {
12585+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12586+ }
12587+ try self.init(data: data)
12588+ }
12589+
12590+ init(fromURL url: URL) throws {
12591+ try self.init(data: try Data(contentsOf: url))
12592+ }
12593+
12594+ func with(
12595+ objectReader: Int? = nil
12596+ ) -> ObjectReader {
12597+ return ObjectReader(
12598+ objectReader: objectReader ?? self.objectReader
12599+ )
12600+ }
12601+
12602+ func jsonData() throws -> Data {
12603+ return try newJSONEncoder().encode(self)
12604+ }
12605+
12606+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12607+ return String(data: try self.jsonData(), encoding: encoding)
12608+ }
12609+}
12610+
12611+//
12612+// Hashable or Equatable:
12613+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
12614+// for types that require the use of JSONAny, nor will the implementation of Hashable be
12615+// synthesized for types that have collections (such as arrays or dictionaries).
12616+
12617+// MARK: - ObjectWriter
12618+struct ObjectWriter: Codable, Equatable {
12619+ let objectWriter: Int
12620+
12621+ enum CodingKeys: String, CodingKey {
12622+ case objectWriter = "ObjectWriter"
12623+ }
12624+}
12625+
12626+// MARK: ObjectWriter convenience initializers and mutators
12627+
12628+extension ObjectWriter {
12629+ init(data: Data) throws {
12630+ self = try newJSONDecoder().decode(ObjectWriter.self, from: data)
12631+ }
12632+
12633+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12634+ guard let data = json.data(using: encoding) else {
12635+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12636+ }
12637+ try self.init(data: data)
12638+ }
12639+
12640+ init(fromURL url: URL) throws {
12641+ try self.init(data: try Data(contentsOf: url))
12642+ }
12643+
12644+ func with(
12645+ objectWriter: Int? = nil
12646+ ) -> ObjectWriter {
12647+ return ObjectWriter(
12648+ objectWriter: objectWriter ?? self.objectWriter
12649+ )
12650+ }
12651+
12652+ func jsonData() throws -> Data {
12653+ return try newJSONEncoder().encode(self)
12654+ }
12655+
12656+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12657+ return String(data: try self.jsonData(), encoding: encoding)
12658+ }
12659+}
12660+
12661+//
12662+// Hashable or Equatable:
12663+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
12664+// for types that require the use of JSONAny, nor will the implementation of Hashable be
12665+// synthesized for types that have collections (such as arrays or dictionaries).
12666+
1251712667 // MARK: - Of
1251812668 struct Of: Codable, Equatable {
1251912669 let of: Int
@@ -13964,244 +14114,97 @@ extension Sbyte {
1396414114 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1396514115 // synthesized for types that have collections (such as arrays or dictionaries).
1396614116
13967-// MARK: - Sealed
13968-struct Sealed: Codable, Equatable {
13969- let sealed: Int
14117+// MARK: - Obj5
14118+struct Obj5: Codable, Equatable {
14119+ let dummy: Int
14120+ let obj5Self: SelfClass
14121+ let obj5Set: Set
14122+ let obj5Static: Static
14123+ let obj5Struct: Struct
14124+ let obj5Subscript: Subscript
14125+ let obj5Super: Super
14126+ let obj5Switch: Switch
14127+ let obj5Throw: Throw
14128+ let obj5Throws: Throws
14129+ let obj5True: True
14130+ let obj5Try: Try
14131+ let obj5Type: Obj5Type
14132+ let obj5Typealias: Typealias
14133+ let obj5Unowned: Unowned
14134+ let purpleSelf: Obj5Self
14135+ let purpleTrue: TrueClass
14136+ let sealed: Sealed
14137+ let sel: Sel
14138+ let select: Select
14139+ let sendable: Sendable
14140+ let serializationFeature: SerializationFeature
14141+ let serialize: Serialize
14142+ let serializerProvider: SerializerProvider
14143+ let short: Short
14144+ let signed: Signed
14145+ let simpleModule: SimpleModule
14146+ let sizeof: Sizeof
14147+ let stackalloc: Stackalloc
14148+ let standards: Standards
14149+ let staticAssert: StaticAssert
14150+ let staticCast: StaticCast
14151+ let stdDeserializer: StdDeserializer
14152+ let stdSerializer: StdSerializer
14153+ let strictfp: Strictfp
14154+ let string: StringClass
14155+ let symbol: Symbol
14156+ let synchronized: Synchronized
14157+ let system: System
14158+ let template: Template
14159+ let then: Then
14160+ let this: This
14161+ let threadLocal: ThreadLocal
14162+ let timeOnly: TimeOnly
14163+ let timeOnlyConverter: TimeOnlyConverter
14164+ let timeZone: TimeZoneClass
14165+ let toJSON: ToJSON
14166+ let toString: ToString
14167+ let topLevel: TopLevelClass
14168+ let transient: Transient
14169+ let type: TypeClass
14170+ let typedef: Typedef
14171+ let typeid: Typeid
14172+ let typename: Typename
14173+ let typeof: Typeof
14174+ let uint: Uint
14175+ let ulong: Ulong
14176+ let unchecked: Unchecked
14177+ let undefined: Undefined
14178+ let union: Union
14179+ let unsafe: Unsafe
14180+ let unsigned: Unsigned
14181+ let ushort: Ushort
14182+ let using: Using
14183+ let utf8JSONReader: Utf8JSONReader
1397014184
1397114185 enum CodingKeys: String, CodingKey {
14186+ case dummy = "dummy"
14187+ case obj5Self = "Self"
14188+ case obj5Set = "set"
14189+ case obj5Static = "static"
14190+ case obj5Struct = "struct"
14191+ case obj5Subscript = "subscript"
14192+ case obj5Super = "super"
14193+ case obj5Switch = "switch"
14194+ case obj5Throw = "throw"
14195+ case obj5Throws = "throws"
14196+ case obj5True = "True"
14197+ case obj5Try = "try"
14198+ case obj5Type = "type"
14199+ case obj5Typealias = "typealias"
14200+ case obj5Unowned = "unowned"
14201+ case purpleSelf = "self"
14202+ case purpleTrue = "true"
1397214203 case sealed = "sealed"
13973- }
13974-}
13975-
13976-// MARK: Sealed convenience initializers and mutators
13977-
13978-extension Sealed {
13979- init(data: Data) throws {
13980- self = try newJSONDecoder().decode(Sealed.self, from: data)
13981- }
13982-
13983- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13984- guard let data = json.data(using: encoding) else {
13985- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13986- }
13987- try self.init(data: data)
13988- }
13989-
13990- init(fromURL url: URL) throws {
13991- try self.init(data: try Data(contentsOf: url))
13992- }
13993-
13994- func with(
13995- sealed: Int? = nil
13996- ) -> Sealed {
13997- return Sealed(
13998- sealed: sealed ?? self.sealed
13999- )
14000- }
14001-
14002- func jsonData() throws -> Data {
14003- return try newJSONEncoder().encode(self)
14004- }
14005-
14006- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
14007- return String(data: try self.jsonData(), encoding: encoding)
14008- }
14009-}
14010-
14011-//
14012-// Hashable or Equatable:
14013-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
14014-// for types that require the use of JSONAny, nor will the implementation of Hashable be
14015-// synthesized for types that have collections (such as arrays or dictionaries).
14016-
14017-// MARK: - Sel
14018-struct Sel: Codable, Equatable {
14019- let sel: Int
14020-
14021- enum CodingKeys: String, CodingKey {
1402214204 case sel = "SEL"
14023- }
14024-}
14025-
14026-// MARK: Sel convenience initializers and mutators
14027-
14028-extension Sel {
14029- init(data: Data) throws {
14030- self = try newJSONDecoder().decode(Sel.self, from: data)
14031- }
14032-
14033- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
14034- guard let data = json.data(using: encoding) else {
14035- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
14036- }
14037- try self.init(data: data)
14038- }
14039-
14040- init(fromURL url: URL) throws {
14041- try self.init(data: try Data(contentsOf: url))
14042- }
14043-
14044- func with(
14045- sel: Int? = nil
14046- ) -> Sel {
14047- return Sel(
14048- sel: sel ?? self.sel
14049- )
14050- }
14051-
14052- func jsonData() throws -> Data {
14053- return try newJSONEncoder().encode(self)
14054- }
14055-
14056- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
14057- return String(data: try self.jsonData(), encoding: encoding)
14058- }
14059-}
14060-
14061-//
14062-// Hashable or Equatable:
14063-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
14064-// for types that require the use of JSONAny, nor will the implementation of Hashable be
14065-// synthesized for types that have collections (such as arrays or dictionaries).
14066-
14067-// MARK: - Select
14068-struct Select: Codable, Equatable {
14069- let select: Int
14070-
14071- enum CodingKeys: String, CodingKey {
1407214205 case select = "select"
14073- }
14074-}
14075-
14076-// MARK: Select convenience initializers and mutators
14077-
14078-extension Select {
14079- init(data: Data) throws {
14080- self = try newJSONDecoder().decode(Select.self, from: data)
14081- }
14082-
14083- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
14084- guard let data = json.data(using: encoding) else {
14085- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
14086- }
14087- try self.init(data: data)
14088- }
14089-
14090- init(fromURL url: URL) throws {
14091- try self.init(data: try Data(contentsOf: url))
14092- }
14093-
14094- func with(
14095- select: Int? = nil
14096- ) -> Select {
14097- return Select(
14098- select: select ?? self.select
14099- )
14100- }
14101-
14102- func jsonData() throws -> Data {
14103- return try newJSONEncoder().encode(self)
14104- }
14105-
14106- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
14107- return String(data: try self.jsonData(), encoding: encoding)
14108- }
14109-}
14110-
14111-//
14112-// Hashable or Equatable:
14113-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
14114-// for types that require the use of JSONAny, nor will the implementation of Hashable be
14115-// synthesized for types that have collections (such as arrays or dictionaries).
14116-
14117-// MARK: - Obj5
14118-struct Obj5: Codable, Equatable {
14119- let dummy: Int
14120- let obj5Self: SelfClass
14121- let obj5Set: Set
14122- let obj5Static: Static
14123- let obj5Struct: Struct
14124- let obj5Subscript: Subscript
14125- let obj5Super: Super
14126- let obj5Switch: Switch
14127- let obj5Throw: Throw
14128- let obj5Throws: Throws
14129- let obj5True: True
14130- let obj5Try: Try
14131- let obj5Type: Obj5Type
14132- let obj5Typealias: Typealias
14133- let obj5Unowned: Unowned
14134- let obj5Var: Var
14135- let purpleSelf: Obj5Self
14136- let purpleTrue: TrueClass
14137- let sendable: Sendable
14138- let serialize: Serialize
14139- let serializerProvider: SerializerProvider
14140- let short: Short
14141- let signed: Signed
14142- let simpleModule: SimpleModule
14143- let sizeof: Sizeof
14144- let stackalloc: Stackalloc
14145- let standards: Standards
14146- let staticAssert: StaticAssert
14147- let staticCast: StaticCast
14148- let stdDeserializer: StdDeserializer
14149- let stdSerializer: StdSerializer
14150- let strictfp: Strictfp
14151- let string: StringClass
14152- let symbol: Symbol
14153- let synchronized: Synchronized
14154- let system: System
14155- let template: Template
14156- let then: Then
14157- let this: This
14158- let threadLocal: ThreadLocal
14159- let timeOnly: TimeOnly
14160- let timeOnlyConverter: TimeOnlyConverter
14161- let timeZone: TimeZoneClass
14162- let toJSON: ToJSON
14163- let toString: ToString
14164- let topLevel: TopLevelClass
14165- let transient: Transient
14166- let type: TypeClass
14167- let typedef: Typedef
14168- let typeid: Typeid
14169- let typename: Typename
14170- let typeof: Typeof
14171- let uint: Uint
14172- let ulong: Ulong
14173- let unchecked: Unchecked
14174- let undefined: Undefined
14175- let union: Union
14176- let unsafe: Unsafe
14177- let unsigned: Unsigned
14178- let ushort: Ushort
14179- let using: Using
14180- let utf8JSONReader: Utf8JSONReader
14181- let utf8JSONWriter: Utf8JSONWriter
14182- let uuid: UUIDClass
14183- let virtual: Virtual
14184-
14185- enum CodingKeys: String, CodingKey {
14186- case dummy = "dummy"
14187- case obj5Self = "Self"
14188- case obj5Set = "set"
14189- case obj5Static = "static"
14190- case obj5Struct = "struct"
14191- case obj5Subscript = "subscript"
14192- case obj5Super = "super"
14193- case obj5Switch = "switch"
14194- case obj5Throw = "throw"
14195- case obj5Throws = "throws"
14196- case obj5True = "True"
14197- case obj5Try = "try"
14198- case obj5Type = "type"
14199- case obj5Typealias = "typealias"
14200- case obj5Unowned = "unowned"
14201- case obj5Var = "var"
14202- case purpleSelf = "self"
14203- case purpleTrue = "true"
1420414206 case sendable = "Sendable"
14207+ case serializationFeature = "SerializationFeature"
1420514208 case serialize = "serialize"
1420614209 case serializerProvider = "SerializerProvider"
1420714210 case short = "short"
@@ -14245,9 +14248,6 @@ struct Obj5: Codable, Equatable {
1424514248 case ushort = "ushort"
1424614249 case using = "using"
1424714250 case utf8JSONReader = "Utf8JsonReader"
14248- case utf8JSONWriter = "Utf8JsonWriter"
14249- case uuid = "UUID"
14250- case virtual = "virtual"
1425114251 }
1425214252 }
1425314253
@@ -14285,10 +14285,13 @@ extension Obj5 {
1428514285 obj5Type: Obj5Type? = nil,
1428614286 obj5Typealias: Typealias? = nil,
1428714287 obj5Unowned: Unowned? = nil,
14288- obj5Var: Var? = nil,
1428914288 purpleSelf: Obj5Self? = nil,
1429014289 purpleTrue: TrueClass? = nil,
14290+ sealed: Sealed? = nil,
14291+ sel: Sel? = nil,
14292+ select: Select? = nil,
1429114293 sendable: Sendable? = nil,
14294+ serializationFeature: SerializationFeature? = nil,
1429214295 serialize: Serialize? = nil,
1429314296 serializerProvider: SerializerProvider? = nil,
1429414297 short: Short? = nil,
@@ -14331,10 +14334,7 @@ extension Obj5 {
1433114334 unsigned: Unsigned? = nil,
1433214335 ushort: Ushort? = nil,
1433314336 using: Using? = nil,
14334- utf8JSONReader: Utf8JSONReader? = nil,
14335- utf8JSONWriter: Utf8JSONWriter? = nil,
14336- uuid: UUIDClass? = nil,
14337- virtual: Virtual? = nil
14337+ utf8JSONReader: Utf8JSONReader? = nil
1433814338 ) -> Obj5 {
1433914339 return Obj5(
1434014340 dummy: dummy ?? self.dummy,
@@ -14352,10 +14352,13 @@ extension Obj5 {
1435214352 obj5Type: obj5Type ?? self.obj5Type,
1435314353 obj5Typealias: obj5Typealias ?? self.obj5Typealias,
1435414354 obj5Unowned: obj5Unowned ?? self.obj5Unowned,
14355- obj5Var: obj5Var ?? self.obj5Var,
1435614355 purpleSelf: purpleSelf ?? self.purpleSelf,
1435714356 purpleTrue: purpleTrue ?? self.purpleTrue,
14357+ sealed: sealed ?? self.sealed,
14358+ sel: sel ?? self.sel,
14359+ select: select ?? self.select,
1435814360 sendable: sendable ?? self.sendable,
14361+ serializationFeature: serializationFeature ?? self.serializationFeature,
1435914362 serialize: serialize ?? self.serialize,
1436014363 serializerProvider: serializerProvider ?? self.serializerProvider,
1436114364 short: short ?? self.short,
@@ -14398,10 +14401,7 @@ extension Obj5 {
1439814401 unsigned: unsigned ?? self.unsigned,
1439914402 ushort: ushort ?? self.ushort,
1440014403 using: using ?? self.using,
14401- utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader,
14402- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
14403- uuid: uuid ?? self.uuid,
14404- virtual: virtual ?? self.virtual
14404+ utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader
1440514405 )
1440614406 }
1440714407
@@ -15120,56 +15120,6 @@ extension Unowned {
1512015120 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1512115121 // synthesized for types that have collections (such as arrays or dictionaries).
1512215122
15123-// MARK: - Var
15124-struct Var: Codable, Equatable {
15125- let varVar: Int
15126-
15127- enum CodingKeys: String, CodingKey {
15128- case varVar = "var"
15129- }
15130-}
15131-
15132-// MARK: Var convenience initializers and mutators
15133-
15134-extension Var {
15135- init(data: Data) throws {
15136- self = try newJSONDecoder().decode(Var.self, from: data)
15137- }
15138-
15139- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15140- guard let data = json.data(using: encoding) else {
15141- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15142- }
15143- try self.init(data: data)
15144- }
15145-
15146- init(fromURL url: URL) throws {
15147- try self.init(data: try Data(contentsOf: url))
15148- }
15149-
15150- func with(
15151- varVar: Int? = nil
15152- ) -> Var {
15153- return Var(
15154- varVar: varVar ?? self.varVar
15155- )
15156- }
15157-
15158- func jsonData() throws -> Data {
15159- return try newJSONEncoder().encode(self)
15160- }
15161-
15162- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15163- return String(data: try self.jsonData(), encoding: encoding)
15164- }
15165-}
15166-
15167-//
15168-// Hashable or Equatable:
15169-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
15170-// for types that require the use of JSONAny, nor will the implementation of Hashable be
15171-// synthesized for types that have collections (such as arrays or dictionaries).
15172-
1517315123 // MARK: - Obj5Self
1517415124 struct Obj5Self: Codable, Equatable {
1517515125 let selfSelf: Int
@@ -15270,11 +15220,161 @@ extension TrueClass {
1527015220 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1527115221 // synthesized for types that have collections (such as arrays or dictionaries).
1527215222
15273-// MARK: - Sendable
15274-struct Sendable: Codable, Equatable {
15275- let sendable: Int
15276-
15277- enum CodingKeys: String, CodingKey {
15223+// MARK: - Sealed
15224+struct Sealed: Codable, Equatable {
15225+ let sealed: Int
15226+
15227+ enum CodingKeys: String, CodingKey {
15228+ case sealed = "sealed"
15229+ }
15230+}
15231+
15232+// MARK: Sealed convenience initializers and mutators
15233+
15234+extension Sealed {
15235+ init(data: Data) throws {
15236+ self = try newJSONDecoder().decode(Sealed.self, from: data)
15237+ }
15238+
15239+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15240+ guard let data = json.data(using: encoding) else {
15241+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15242+ }
15243+ try self.init(data: data)
15244+ }
15245+
15246+ init(fromURL url: URL) throws {
15247+ try self.init(data: try Data(contentsOf: url))
15248+ }
15249+
15250+ func with(
15251+ sealed: Int? = nil
15252+ ) -> Sealed {
15253+ return Sealed(
15254+ sealed: sealed ?? self.sealed
15255+ )
15256+ }
15257+
15258+ func jsonData() throws -> Data {
15259+ return try newJSONEncoder().encode(self)
15260+ }
15261+
15262+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15263+ return String(data: try self.jsonData(), encoding: encoding)
15264+ }
15265+}
15266+
15267+//
15268+// Hashable or Equatable:
15269+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
15270+// for types that require the use of JSONAny, nor will the implementation of Hashable be
15271+// synthesized for types that have collections (such as arrays or dictionaries).
15272+
15273+// MARK: - Sel
15274+struct Sel: Codable, Equatable {
15275+ let sel: Int
15276+
15277+ enum CodingKeys: String, CodingKey {
15278+ case sel = "SEL"
15279+ }
15280+}
15281+
15282+// MARK: Sel convenience initializers and mutators
15283+
15284+extension Sel {
15285+ init(data: Data) throws {
15286+ self = try newJSONDecoder().decode(Sel.self, from: data)
15287+ }
15288+
15289+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15290+ guard let data = json.data(using: encoding) else {
15291+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15292+ }
15293+ try self.init(data: data)
15294+ }
15295+
15296+ init(fromURL url: URL) throws {
15297+ try self.init(data: try Data(contentsOf: url))
15298+ }
15299+
15300+ func with(
15301+ sel: Int? = nil
15302+ ) -> Sel {
15303+ return Sel(
15304+ sel: sel ?? self.sel
15305+ )
15306+ }
15307+
15308+ func jsonData() throws -> Data {
15309+ return try newJSONEncoder().encode(self)
15310+ }
15311+
15312+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15313+ return String(data: try self.jsonData(), encoding: encoding)
15314+ }
15315+}
15316+
15317+//
15318+// Hashable or Equatable:
15319+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
15320+// for types that require the use of JSONAny, nor will the implementation of Hashable be
15321+// synthesized for types that have collections (such as arrays or dictionaries).
15322+
15323+// MARK: - Select
15324+struct Select: Codable, Equatable {
15325+ let select: Int
15326+
15327+ enum CodingKeys: String, CodingKey {
15328+ case select = "select"
15329+ }
15330+}
15331+
15332+// MARK: Select convenience initializers and mutators
15333+
15334+extension Select {
15335+ init(data: Data) throws {
15336+ self = try newJSONDecoder().decode(Select.self, from: data)
15337+ }
15338+
15339+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15340+ guard let data = json.data(using: encoding) else {
15341+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15342+ }
15343+ try self.init(data: data)
15344+ }
15345+
15346+ init(fromURL url: URL) throws {
15347+ try self.init(data: try Data(contentsOf: url))
15348+ }
15349+
15350+ func with(
15351+ select: Int? = nil
15352+ ) -> Select {
15353+ return Select(
15354+ select: select ?? self.select
15355+ )
15356+ }
15357+
15358+ func jsonData() throws -> Data {
15359+ return try newJSONEncoder().encode(self)
15360+ }
15361+
15362+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15363+ return String(data: try self.jsonData(), encoding: encoding)
15364+ }
15365+}
15366+
15367+//
15368+// Hashable or Equatable:
15369+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
15370+// for types that require the use of JSONAny, nor will the implementation of Hashable be
15371+// synthesized for types that have collections (such as arrays or dictionaries).
15372+
15373+// MARK: - Sendable
15374+struct Sendable: Codable, Equatable {
15375+ let sendable: Int
15376+
15377+ enum CodingKeys: String, CodingKey {
1527815378 case sendable = "Sendable"
1527915379 }
1528015380 }
@@ -15320,6 +15420,56 @@ extension Sendable {
1532015420 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1532115421 // synthesized for types that have collections (such as arrays or dictionaries).
1532215422
15423+// MARK: - SerializationFeature
15424+struct SerializationFeature: Codable, Equatable {
15425+ let serializationFeature: Int
15426+
15427+ enum CodingKeys: String, CodingKey {
15428+ case serializationFeature = "SerializationFeature"
15429+ }
15430+}
15431+
15432+// MARK: SerializationFeature convenience initializers and mutators
15433+
15434+extension SerializationFeature {
15435+ init(data: Data) throws {
15436+ self = try newJSONDecoder().decode(SerializationFeature.self, from: data)
15437+ }
15438+
15439+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15440+ guard let data = json.data(using: encoding) else {
15441+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15442+ }
15443+ try self.init(data: data)
15444+ }
15445+
15446+ init(fromURL url: URL) throws {
15447+ try self.init(data: try Data(contentsOf: url))
15448+ }
15449+
15450+ func with(
15451+ serializationFeature: Int? = nil
15452+ ) -> SerializationFeature {
15453+ return SerializationFeature(
15454+ serializationFeature: serializationFeature ?? self.serializationFeature
15455+ )
15456+ }
15457+
15458+ func jsonData() throws -> Data {
15459+ return try newJSONEncoder().encode(self)
15460+ }
15461+
15462+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15463+ return String(data: try self.jsonData(), encoding: encoding)
15464+ }
15465+}
15466+
15467+//
15468+// Hashable or Equatable:
15469+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
15470+// for types that require the use of JSONAny, nor will the implementation of Hashable be
15471+// synthesized for types that have collections (such as arrays or dictionaries).
15472+
1532315473 // MARK: - Serialize
1532415474 struct Serialize: Codable, Equatable {
1532515475 let serialize: Int
@@ -17470,20 +17620,52 @@ extension Utf8JSONReader {
1747017620 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1747117621 // synthesized for types that have collections (such as arrays or dictionaries).
1747217622
17473-// MARK: - Utf8JSONWriter
17474-struct Utf8JSONWriter: Codable, Equatable {
17475- let utf8JSONWriter: Int
17623+// MARK: - Obj6
17624+struct Obj6: Codable, Equatable {
17625+ let dummy: Int
17626+ let obj6Var: Var
17627+ let obj6Weak: Weak
17628+ let obj6Where: Where
17629+ let obj6While: While
17630+ let obj6WillSet: WillSet
17631+ let utf8JSONWriter: Utf8JSONWriter
17632+ let uuid: UUIDClass
17633+ let virtual: Virtual
17634+ let void: Void
17635+ let volatile: Volatile
17636+ let wcharT: WcharT
17637+ let with: With
17638+ let xor: Xor
17639+ let xorEq: XorEq
17640+ let yes: Yes
17641+ let yield: Yield
1747617642
1747717643 enum CodingKeys: String, CodingKey {
17644+ case dummy = "dummy"
17645+ case obj6Var = "var"
17646+ case obj6Weak = "weak"
17647+ case obj6Where = "where"
17648+ case obj6While = "while"
17649+ case obj6WillSet = "willSet"
1747817650 case utf8JSONWriter = "Utf8JsonWriter"
17651+ case uuid = "UUID"
17652+ case virtual = "virtual"
17653+ case void = "void"
17654+ case volatile = "volatile"
17655+ case wcharT = "wchar_t"
17656+ case with = "with"
17657+ case xor = "xor"
17658+ case xorEq = "xor_eq"
17659+ case yes = "YES"
17660+ case yield = "yield"
1747917661 }
1748017662 }
1748117663
17482-// MARK: Utf8JSONWriter convenience initializers and mutators
17664+// MARK: Obj6 convenience initializers and mutators
1748317665
17484-extension Utf8JSONWriter {
17666+extension Obj6 {
1748517667 init(data: Data) throws {
17486- self = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
17668+ self = try newJSONDecoder().decode(Obj6.self, from: data)
1748717669 }
1748817670
1748917671 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17498,42 +17680,74 @@ extension Utf8JSONWriter {
1749817680 }
1749917681
1750017682 func with(
17501- utf8JSONWriter: Int? = nil
17502- ) -> Utf8JSONWriter {
17503- return Utf8JSONWriter(
17504- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
17505- )
17506- }
17507-
17508- func jsonData() throws -> Data {
17509- return try newJSONEncoder().encode(self)
17510- }
17511-
17512- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
17513- return String(data: try self.jsonData(), encoding: encoding)
17514- }
17515-}
17516-
17517-//
17518-// Hashable or Equatable:
17519-// The compiler will not be able to synthesize the implementation of Hashable or Equatable
17520-// for types that require the use of JSONAny, nor will the implementation of Hashable be
17683+ dummy: Int? = nil,
17684+ obj6Var: Var? = nil,
17685+ obj6Weak: Weak? = nil,
17686+ obj6Where: Where? = nil,
17687+ obj6While: While? = nil,
17688+ obj6WillSet: WillSet? = nil,
17689+ utf8JSONWriter: Utf8JSONWriter? = nil,
17690+ uuid: UUIDClass? = nil,
17691+ virtual: Virtual? = nil,
17692+ void: Void? = nil,
17693+ volatile: Volatile? = nil,
17694+ wcharT: WcharT? = nil,
17695+ with: With? = nil,
17696+ xor: Xor? = nil,
17697+ xorEq: XorEq? = nil,
17698+ yes: Yes? = nil,
17699+ yield: Yield? = nil
17700+ ) -> Obj6 {
17701+ return Obj6(
17702+ dummy: dummy ?? self.dummy,
17703+ obj6Var: obj6Var ?? self.obj6Var,
17704+ obj6Weak: obj6Weak ?? self.obj6Weak,
17705+ obj6Where: obj6Where ?? self.obj6Where,
17706+ obj6While: obj6While ?? self.obj6While,
17707+ obj6WillSet: obj6WillSet ?? self.obj6WillSet,
17708+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
17709+ uuid: uuid ?? self.uuid,
17710+ virtual: virtual ?? self.virtual,
17711+ void: void ?? self.void,
17712+ volatile: volatile ?? self.volatile,
17713+ wcharT: wcharT ?? self.wcharT,
17714+ with: with ?? self.with,
17715+ xor: xor ?? self.xor,
17716+ xorEq: xorEq ?? self.xorEq,
17717+ yes: yes ?? self.yes,
17718+ yield: yield ?? self.yield
17719+ )
17720+ }
17721+
17722+ func jsonData() throws -> Data {
17723+ return try newJSONEncoder().encode(self)
17724+ }
17725+
17726+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
17727+ return String(data: try self.jsonData(), encoding: encoding)
17728+ }
17729+}
17730+
17731+//
17732+// Hashable or Equatable:
17733+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
17734+// for types that require the use of JSONAny, nor will the implementation of Hashable be
1752117735 // synthesized for types that have collections (such as arrays or dictionaries).
1752217736
17523-// MARK: - UUIDClass
17524-struct UUIDClass: Codable, Equatable {
17525- let uuid: Int
17737+// MARK: - Var
17738+struct Var: Codable, Equatable {
17739+ let varVar: Int
1752617740
1752717741 enum CodingKeys: String, CodingKey {
17528- case uuid = "UUID"
17742+ case varVar = "var"
1752917743 }
1753017744 }
1753117745
17532-// MARK: UUIDClass convenience initializers and mutators
17746+// MARK: Var convenience initializers and mutators
1753317747
17534-extension UUIDClass {
17748+extension Var {
1753517749 init(data: Data) throws {
17536- self = try newJSONDecoder().decode(UUIDClass.self, from: data)
17750+ self = try newJSONDecoder().decode(Var.self, from: data)
1753717751 }
1753817752
1753917753 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17548,10 +17762,10 @@ extension UUIDClass {
1754817762 }
1754917763
1755017764 func with(
17551- uuid: Int? = nil
17552- ) -> UUIDClass {
17553- return UUIDClass(
17554- uuid: uuid ?? self.uuid
17765+ varVar: Int? = nil
17766+ ) -> Var {
17767+ return Var(
17768+ varVar: varVar ?? self.varVar
1755517769 )
1755617770 }
1755717771
@@ -17570,20 +17784,20 @@ extension UUIDClass {
1757017784 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1757117785 // synthesized for types that have collections (such as arrays or dictionaries).
1757217786
17573-// MARK: - Virtual
17574-struct Virtual: Codable, Equatable {
17575- let virtual: Int
17787+// MARK: - Weak
17788+struct Weak: Codable, Equatable {
17789+ let weakWeak: Int
1757617790
1757717791 enum CodingKeys: String, CodingKey {
17578- case virtual = "virtual"
17792+ case weakWeak = "weak"
1757917793 }
1758017794 }
1758117795
17582-// MARK: Virtual convenience initializers and mutators
17796+// MARK: Weak convenience initializers and mutators
1758317797
17584-extension Virtual {
17798+extension Weak {
1758517799 init(data: Data) throws {
17586- self = try newJSONDecoder().decode(Virtual.self, from: data)
17800+ self = try newJSONDecoder().decode(Weak.self, from: data)
1758717801 }
1758817802
1758917803 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17598,10 +17812,10 @@ extension Virtual {
1759817812 }
1759917813
1760017814 func with(
17601- virtual: Int? = nil
17602- ) -> Virtual {
17603- return Virtual(
17604- virtual: virtual ?? self.virtual
17815+ weakWeak: Int? = nil
17816+ ) -> Weak {
17817+ return Weak(
17818+ weakWeak: weakWeak ?? self.weakWeak
1760517819 )
1760617820 }
1760717821
@@ -17620,44 +17834,20 @@ extension Virtual {
1762017834 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1762117835 // synthesized for types that have collections (such as arrays or dictionaries).
1762217836
17623-// MARK: - Obj6
17624-struct Obj6: Codable, Equatable {
17625- let dummy: Int
17626- let obj6Weak: Weak
17627- let obj6Where: Where
17628- let obj6While: While
17629- let obj6WillSet: WillSet
17630- let void: Void
17631- let volatile: Volatile
17632- let wcharT: WcharT
17633- let with: With
17634- let xor: Xor
17635- let xorEq: XorEq
17636- let yes: Yes
17637- let yield: Yield
17837+// MARK: - Where
17838+struct Where: Codable, Equatable {
17839+ let whereWhere: Int
1763817840
1763917841 enum CodingKeys: String, CodingKey {
17640- case dummy = "dummy"
17641- case obj6Weak = "weak"
17642- case obj6Where = "where"
17643- case obj6While = "while"
17644- case obj6WillSet = "willSet"
17645- case void = "void"
17646- case volatile = "volatile"
17647- case wcharT = "wchar_t"
17648- case with = "with"
17649- case xor = "xor"
17650- case xorEq = "xor_eq"
17651- case yes = "YES"
17652- case yield = "yield"
17842+ case whereWhere = "where"
1765317843 }
1765417844 }
1765517845
17656-// MARK: Obj6 convenience initializers and mutators
17846+// MARK: Where convenience initializers and mutators
1765717847
17658-extension Obj6 {
17848+extension Where {
1765917849 init(data: Data) throws {
17660- self = try newJSONDecoder().decode(Obj6.self, from: data)
17850+ self = try newJSONDecoder().decode(Where.self, from: data)
1766117851 }
1766217852
1766317853 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17672,34 +17862,10 @@ extension Obj6 {
1767217862 }
1767317863
1767417864 func with(
17675- dummy: Int? = nil,
17676- obj6Weak: Weak? = nil,
17677- obj6Where: Where? = nil,
17678- obj6While: While? = nil,
17679- obj6WillSet: WillSet? = nil,
17680- void: Void? = nil,
17681- volatile: Volatile? = nil,
17682- wcharT: WcharT? = nil,
17683- with: With? = nil,
17684- xor: Xor? = nil,
17685- xorEq: XorEq? = nil,
17686- yes: Yes? = nil,
17687- yield: Yield? = nil
17688- ) -> Obj6 {
17689- return Obj6(
17690- dummy: dummy ?? self.dummy,
17691- obj6Weak: obj6Weak ?? self.obj6Weak,
17692- obj6Where: obj6Where ?? self.obj6Where,
17693- obj6While: obj6While ?? self.obj6While,
17694- obj6WillSet: obj6WillSet ?? self.obj6WillSet,
17695- void: void ?? self.void,
17696- volatile: volatile ?? self.volatile,
17697- wcharT: wcharT ?? self.wcharT,
17698- with: with ?? self.with,
17699- xor: xor ?? self.xor,
17700- xorEq: xorEq ?? self.xorEq,
17701- yes: yes ?? self.yes,
17702- yield: yield ?? self.yield
17865+ whereWhere: Int? = nil
17866+ ) -> Where {
17867+ return Where(
17868+ whereWhere: whereWhere ?? self.whereWhere
1770317869 )
1770417870 }
1770517871
@@ -17718,20 +17884,20 @@ extension Obj6 {
1771817884 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1771917885 // synthesized for types that have collections (such as arrays or dictionaries).
1772017886
17721-// MARK: - Weak
17722-struct Weak: Codable, Equatable {
17723- let weakWeak: Int
17887+// MARK: - While
17888+struct While: Codable, Equatable {
17889+ let whileWhile: Int
1772417890
1772517891 enum CodingKeys: String, CodingKey {
17726- case weakWeak = "weak"
17892+ case whileWhile = "while"
1772717893 }
1772817894 }
1772917895
17730-// MARK: Weak convenience initializers and mutators
17896+// MARK: While convenience initializers and mutators
1773117897
17732-extension Weak {
17898+extension While {
1773317899 init(data: Data) throws {
17734- self = try newJSONDecoder().decode(Weak.self, from: data)
17900+ self = try newJSONDecoder().decode(While.self, from: data)
1773517901 }
1773617902
1773717903 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17746,10 +17912,10 @@ extension Weak {
1774617912 }
1774717913
1774817914 func with(
17749- weakWeak: Int? = nil
17750- ) -> Weak {
17751- return Weak(
17752- weakWeak: weakWeak ?? self.weakWeak
17915+ whileWhile: Int? = nil
17916+ ) -> While {
17917+ return While(
17918+ whileWhile: whileWhile ?? self.whileWhile
1775317919 )
1775417920 }
1775517921
@@ -17768,20 +17934,20 @@ extension Weak {
1776817934 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1776917935 // synthesized for types that have collections (such as arrays or dictionaries).
1777017936
17771-// MARK: - Where
17772-struct Where: Codable, Equatable {
17773- let whereWhere: Int
17937+// MARK: - WillSet
17938+struct WillSet: Codable, Equatable {
17939+ let willSetWillSet: Int
1777417940
1777517941 enum CodingKeys: String, CodingKey {
17776- case whereWhere = "where"
17942+ case willSetWillSet = "willSet"
1777717943 }
1777817944 }
1777917945
17780-// MARK: Where convenience initializers and mutators
17946+// MARK: WillSet convenience initializers and mutators
1778117947
17782-extension Where {
17948+extension WillSet {
1778317949 init(data: Data) throws {
17784- self = try newJSONDecoder().decode(Where.self, from: data)
17950+ self = try newJSONDecoder().decode(WillSet.self, from: data)
1778517951 }
1778617952
1778717953 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17796,10 +17962,10 @@ extension Where {
1779617962 }
1779717963
1779817964 func with(
17799- whereWhere: Int? = nil
17800- ) -> Where {
17801- return Where(
17802- whereWhere: whereWhere ?? self.whereWhere
17965+ willSetWillSet: Int? = nil
17966+ ) -> WillSet {
17967+ return WillSet(
17968+ willSetWillSet: willSetWillSet ?? self.willSetWillSet
1780317969 )
1780417970 }
1780517971
@@ -17818,20 +17984,20 @@ extension Where {
1781817984 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1781917985 // synthesized for types that have collections (such as arrays or dictionaries).
1782017986
17821-// MARK: - While
17822-struct While: Codable, Equatable {
17823- let whileWhile: Int
17987+// MARK: - Utf8JSONWriter
17988+struct Utf8JSONWriter: Codable, Equatable {
17989+ let utf8JSONWriter: Int
1782417990
1782517991 enum CodingKeys: String, CodingKey {
17826- case whileWhile = "while"
17992+ case utf8JSONWriter = "Utf8JsonWriter"
1782717993 }
1782817994 }
1782917995
17830-// MARK: While convenience initializers and mutators
17996+// MARK: Utf8JSONWriter convenience initializers and mutators
1783117997
17832-extension While {
17998+extension Utf8JSONWriter {
1783317999 init(data: Data) throws {
17834- self = try newJSONDecoder().decode(While.self, from: data)
18000+ self = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
1783518001 }
1783618002
1783718003 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17846,10 +18012,10 @@ extension While {
1784618012 }
1784718013
1784818014 func with(
17849- whileWhile: Int? = nil
17850- ) -> While {
17851- return While(
17852- whileWhile: whileWhile ?? self.whileWhile
18015+ utf8JSONWriter: Int? = nil
18016+ ) -> Utf8JSONWriter {
18017+ return Utf8JSONWriter(
18018+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
1785318019 )
1785418020 }
1785518021
@@ -17868,20 +18034,20 @@ extension While {
1786818034 // for types that require the use of JSONAny, nor will the implementation of Hashable be
1786918035 // synthesized for types that have collections (such as arrays or dictionaries).
1787018036
17871-// MARK: - WillSet
17872-struct WillSet: Codable, Equatable {
17873- let willSetWillSet: Int
18037+// MARK: - UUIDClass
18038+struct UUIDClass: Codable, Equatable {
18039+ let uuid: Int
1787418040
1787518041 enum CodingKeys: String, CodingKey {
17876- case willSetWillSet = "willSet"
18042+ case uuid = "UUID"
1787718043 }
1787818044 }
1787918045
17880-// MARK: WillSet convenience initializers and mutators
18046+// MARK: UUIDClass convenience initializers and mutators
1788118047
17882-extension WillSet {
18048+extension UUIDClass {
1788318049 init(data: Data) throws {
17884- self = try newJSONDecoder().decode(WillSet.self, from: data)
18050+ self = try newJSONDecoder().decode(UUIDClass.self, from: data)
1788518051 }
1788618052
1788718053 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -17896,10 +18062,60 @@ extension WillSet {
1789618062 }
1789718063
1789818064 func with(
17899- willSetWillSet: Int? = nil
17900- ) -> WillSet {
17901- return WillSet(
17902- willSetWillSet: willSetWillSet ?? self.willSetWillSet
18065+ uuid: Int? = nil
18066+ ) -> UUIDClass {
18067+ return UUIDClass(
18068+ uuid: uuid ?? self.uuid
18069+ )
18070+ }
18071+
18072+ func jsonData() throws -> Data {
18073+ return try newJSONEncoder().encode(self)
18074+ }
18075+
18076+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
18077+ return String(data: try self.jsonData(), encoding: encoding)
18078+ }
18079+}
18080+
18081+//
18082+// Hashable or Equatable:
18083+// The compiler will not be able to synthesize the implementation of Hashable or Equatable
18084+// for types that require the use of JSONAny, nor will the implementation of Hashable be
18085+// synthesized for types that have collections (such as arrays or dictionaries).
18086+
18087+// MARK: - Virtual
18088+struct Virtual: Codable, Equatable {
18089+ let virtual: Int
18090+
18091+ enum CodingKeys: String, CodingKey {
18092+ case virtual = "virtual"
18093+ }
18094+}
18095+
18096+// MARK: Virtual convenience initializers and mutators
18097+
18098+extension Virtual {
18099+ init(data: Data) throws {
18100+ self = try newJSONDecoder().decode(Virtual.self, from: data)
18101+ }
18102+
18103+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
18104+ guard let data = json.data(using: encoding) else {
18105+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
18106+ }
18107+ try self.init(data: data)
18108+ }
18109+
18110+ init(fromURL url: URL) throws {
18111+ try self.init(data: try Data(contentsOf: url))
18112+ }
18113+
18114+ func with(
18115+ virtual: Int? = nil
18116+ ) -> Virtual {
18117+ return Virtual(
18118+ virtual: virtual ?? self.virtual
1790318119 )
1790418120 }
Mswiftsendable-true--1c3982c78639 / quicktype.swift+636 −444
@@ -3208,6 +3208,7 @@ struct Obj2: Codable, Sendable {
32083208 let del: Del
32093209 let delegate: Delegate
32103210 let delete: Delete
3211+ let deserializationFeature: DeserializationFeature
32113212 let dict: Dict
32123213 let dictionary: Dictionary
32133214 let double: DoubleClass
@@ -3238,7 +3239,6 @@ struct Obj2: Codable, Sendable {
32383239 let function: Function
32393240 let global: Global
32403241 let go: Go
3241- let goto: Goto
32423242 let obj2Default: Default
32433243 let obj2Defer: Defer
32443244 let obj2Deinit: Deinit
@@ -3275,6 +3275,7 @@ struct Obj2: Codable, Sendable {
32753275 case del = "del"
32763276 case delegate = "delegate"
32773277 case delete = "delete"
3278+ case deserializationFeature = "DeserializationFeature"
32783279 case dict = "dict"
32793280 case dictionary = "dictionary"
32803281 case double = "double"
@@ -3305,7 +3306,6 @@ struct Obj2: Codable, Sendable {
33053306 case function = "function"
33063307 case global = "global"
33073308 case go = "go"
3308- case goto = "goto"
33093309 case obj2Default = "default"
33103310 case obj2Defer = "defer"
33113311 case obj2Deinit = "deinit"
@@ -3362,6 +3362,7 @@ extension Obj2 {
33623362 del: Del? = nil,
33633363 delegate: Delegate? = nil,
33643364 delete: Delete? = nil,
3365+ deserializationFeature: DeserializationFeature? = nil,
33653366 dict: Dict? = nil,
33663367 dictionary: Dictionary? = nil,
33673368 double: DoubleClass? = nil,
@@ -3392,7 +3393,6 @@ extension Obj2 {
33923393 function: Function? = nil,
33933394 global: Global? = nil,
33943395 go: Go? = nil,
3395- goto: Goto? = nil,
33963396 obj2Default: Default? = nil,
33973397 obj2Defer: Defer? = nil,
33983398 obj2Deinit: Deinit? = nil,
@@ -3429,6 +3429,7 @@ extension Obj2 {
34293429 del: del ?? self.del,
34303430 delegate: delegate ?? self.delegate,
34313431 delete: delete ?? self.delete,
3432+ deserializationFeature: deserializationFeature ?? self.deserializationFeature,
34323433 dict: dict ?? self.dict,
34333434 dictionary: dictionary ?? self.dictionary,
34343435 double: double ?? self.double,
@@ -3459,7 +3460,6 @@ extension Obj2 {
34593460 function: function ?? self.function,
34603461 global: global ?? self.global,
34613462 go: go ?? self.go,
3462- goto: goto ?? self.goto,
34633463 obj2Default: obj2Default ?? self.obj2Default,
34643464 obj2Defer: obj2Defer ?? self.obj2Defer,
34653465 obj2Deinit: obj2Deinit ?? self.obj2Deinit,
@@ -4237,6 +4237,50 @@ extension Delete {
42374237 }
42384238 }
42394239
4240+// MARK: - DeserializationFeature
4241+struct DeserializationFeature: Codable, Sendable {
4242+ let deserializationFeature: Int
4243+
4244+ enum CodingKeys: String, CodingKey {
4245+ case deserializationFeature = "DeserializationFeature"
4246+ }
4247+}
4248+
4249+// MARK: DeserializationFeature convenience initializers and mutators
4250+
4251+extension DeserializationFeature {
4252+ init(data: Data) throws {
4253+ self = try newJSONDecoder().decode(DeserializationFeature.self, from: data)
4254+ }
4255+
4256+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
4257+ guard let data = json.data(using: encoding) else {
4258+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
4259+ }
4260+ try self.init(data: data)
4261+ }
4262+
4263+ init(fromURL url: URL) throws {
4264+ try self.init(data: try Data(contentsOf: url))
4265+ }
4266+
4267+ func with(
4268+ deserializationFeature: Int? = nil
4269+ ) -> DeserializationFeature {
4270+ return DeserializationFeature(
4271+ deserializationFeature: deserializationFeature ?? self.deserializationFeature
4272+ )
4273+ }
4274+
4275+ func jsonData() throws -> Data {
4276+ return try newJSONEncoder().encode(self)
4277+ }
4278+
4279+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
4280+ return String(data: try self.jsonData(), encoding: encoding)
4281+ }
4282+}
4283+
42404284 // MARK: - Dict
42414285 struct Dict: Codable, Sendable {
42424286 let dict: Int
@@ -5518,50 +5562,6 @@ extension Go {
55185562 }
55195563 }
55205564
5521-// MARK: - Goto
5522-struct Goto: Codable, Sendable {
5523- let goto: Int
5524-
5525- enum CodingKeys: String, CodingKey {
5526- case goto = "goto"
5527- }
5528-}
5529-
5530-// MARK: Goto convenience initializers and mutators
5531-
5532-extension Goto {
5533- init(data: Data) throws {
5534- self = try newJSONDecoder().decode(Goto.self, from: data)
5535- }
5536-
5537- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
5538- guard let data = json.data(using: encoding) else {
5539- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
5540- }
5541- try self.init(data: data)
5542- }
5543-
5544- init(fromURL url: URL) throws {
5545- try self.init(data: try Data(contentsOf: url))
5546- }
5547-
5548- func with(
5549- goto: Int? = nil
5550- ) -> Goto {
5551- return Goto(
5552- goto: goto ?? self.goto
5553- )
5554- }
5555-
5556- func jsonData() throws -> Data {
5557- return try newJSONEncoder().encode(self)
5558- }
5559-
5560- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
5561- return String(data: try self.jsonData(), encoding: encoding)
5562- }
5563-}
5564-
55655565 // MARK: - Default
55665566 struct Default: Codable, Sendable {
55675567 let defaultDefault: Int
@@ -6313,6 +6313,7 @@ extension FalseClass {
63136313 // MARK: - Obj3
63146314 struct Obj3: Codable, Sendable {
63156315 let dummy: Int
6316+ let goto: Goto
63166317 let hasOwnProperty: HasOwnProperty
63176318 let hashCode: HashCode
63186319 let hashable: HashableClass
@@ -6360,7 +6361,6 @@ struct Obj3: Codable, Sendable {
63606361 let new: New
63616362 let newtonsoft: Newtonsoft
63626363 let no: No
6363- let noexcept: Noexcept
63646364 let obj3Guard: Guard
63656365 let obj3If: If
63666366 let obj3Import: Import
@@ -6380,6 +6380,7 @@ struct Obj3: Codable, Sendable {
63806380
63816381 enum CodingKeys: String, CodingKey {
63826382 case dummy = "dummy"
6383+ case goto = "goto"
63836384 case hasOwnProperty = "hasOwnProperty"
63846385 case hashCode = "hashCode"
63856386 case hashable = "Hashable"
@@ -6427,7 +6428,6 @@ struct Obj3: Codable, Sendable {
64276428 case new = "new"
64286429 case newtonsoft = "newtonsoft"
64296430 case no = "NO"
6430- case noexcept = "noexcept"
64316431 case obj3Guard = "guard"
64326432 case obj3If = "if"
64336433 case obj3Import = "import"
@@ -6467,6 +6467,7 @@ extension Obj3 {
64676467
64686468 func with(
64696469 dummy: Int? = nil,
6470+ goto: Goto? = nil,
64706471 hasOwnProperty: HasOwnProperty? = nil,
64716472 hashCode: HashCode? = nil,
64726473 hashable: HashableClass? = nil,
@@ -6514,7 +6515,6 @@ extension Obj3 {
65146515 new: New? = nil,
65156516 newtonsoft: Newtonsoft? = nil,
65166517 no: No? = nil,
6517- noexcept: Noexcept? = nil,
65186518 obj3Guard: Guard? = nil,
65196519 obj3If: If? = nil,
65206520 obj3Import: Import? = nil,
@@ -6534,6 +6534,7 @@ extension Obj3 {
65346534 ) -> Obj3 {
65356535 return Obj3(
65366536 dummy: dummy ?? self.dummy,
6537+ goto: goto ?? self.goto,
65376538 hasOwnProperty: hasOwnProperty ?? self.hasOwnProperty,
65386539 hashCode: hashCode ?? self.hashCode,
65396540 hashable: hashable ?? self.hashable,
@@ -6581,7 +6582,6 @@ extension Obj3 {
65816582 new: new ?? self.new,
65826583 newtonsoft: newtonsoft ?? self.newtonsoft,
65836584 no: no ?? self.no,
6584- noexcept: noexcept ?? self.noexcept,
65856585 obj3Guard: obj3Guard ?? self.obj3Guard,
65866586 obj3If: obj3If ?? self.obj3If,
65876587 obj3Import: obj3Import ?? self.obj3Import,
@@ -6610,6 +6610,50 @@ extension Obj3 {
66106610 }
66116611 }
66126612
6613+// MARK: - Goto
6614+struct Goto: Codable, Sendable {
6615+ let goto: Int
6616+
6617+ enum CodingKeys: String, CodingKey {
6618+ case goto = "goto"
6619+ }
6620+}
6621+
6622+// MARK: Goto convenience initializers and mutators
6623+
6624+extension Goto {
6625+ init(data: Data) throws {
6626+ self = try newJSONDecoder().decode(Goto.self, from: data)
6627+ }
6628+
6629+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
6630+ guard let data = json.data(using: encoding) else {
6631+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
6632+ }
6633+ try self.init(data: data)
6634+ }
6635+
6636+ init(fromURL url: URL) throws {
6637+ try self.init(data: try Data(contentsOf: url))
6638+ }
6639+
6640+ func with(
6641+ goto: Int? = nil
6642+ ) -> Goto {
6643+ return Goto(
6644+ goto: goto ?? self.goto
6645+ )
6646+ }
6647+
6648+ func jsonData() throws -> Data {
6649+ return try newJSONEncoder().encode(self)
6650+ }
6651+
6652+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
6653+ return String(data: try self.jsonData(), encoding: encoding)
6654+ }
6655+}
6656+
66136657 // MARK: - HasOwnProperty
66146658 struct HasOwnProperty: Codable, Sendable {
66156659 let hasOwnProperty: Int
@@ -8678,50 +8722,6 @@ extension No {
86788722 }
86798723 }
86808724
8681-// MARK: - Noexcept
8682-struct Noexcept: Codable, Sendable {
8683- let noexcept: Int
8684-
8685- enum CodingKeys: String, CodingKey {
8686- case noexcept = "noexcept"
8687- }
8688-}
8689-
8690-// MARK: Noexcept convenience initializers and mutators
8691-
8692-extension Noexcept {
8693- init(data: Data) throws {
8694- self = try newJSONDecoder().decode(Noexcept.self, from: data)
8695- }
8696-
8697- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
8698- guard let data = json.data(using: encoding) else {
8699- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
8700- }
8701- try self.init(data: data)
8702- }
8703-
8704- init(fromURL url: URL) throws {
8705- try self.init(data: try Data(contentsOf: url))
8706- }
8707-
8708- func with(
8709- noexcept: Int? = nil
8710- ) -> Noexcept {
8711- return Noexcept(
8712- noexcept: noexcept ?? self.noexcept
8713- )
8714- }
8715-
8716- func jsonData() throws -> Data {
8717- return try newJSONEncoder().encode(self)
8718- }
8719-
8720- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
8721- return String(data: try self.jsonData(), encoding: encoding)
8722- }
8723-}
8724-
87258725 // MARK: - Guard
87268726 struct Guard: Codable, Sendable {
87278727 let guardGuard: Int
@@ -9430,6 +9430,7 @@ extension Nil {
94309430 struct Obj4: Codable, Sendable {
94319431 let dummy: Int
94329432 let noSuchMethod: NoSuchMethod
9433+ let noexcept: Noexcept
94339434 let nonatomic: Nonatomic
94349435 let none: None
94359436 let nonlocal: Nonlocal
@@ -9461,6 +9462,8 @@ struct Obj4: Codable, Sendable {
94619462 let obj4Right: Right
94629463 let object: Object
94639464 let objectMapper: ObjectMapper
9465+ let objectReader: ObjectReader
9466+ let objectWriter: ObjectWriter
94649467 let of: Of
94659468 let oneway: Oneway
94669469 let or: Or
@@ -9490,13 +9493,11 @@ struct Obj4: Codable, Sendable {
94909493 let runtimeType: RuntimeType
94919494 let s: S
94929495 let sbyte: Sbyte
9493- let sealed: Sealed
9494- let sel: Sel
9495- let select: Select
94969496
94979497 enum CodingKeys: String, CodingKey {
94989498 case dummy = "dummy"
94999499 case noSuchMethod = "noSuchMethod"
9500+ case noexcept = "noexcept"
95009501 case nonatomic = "nonatomic"
95019502 case none = "None"
95029503 case nonlocal = "nonlocal"
@@ -9528,6 +9529,8 @@ struct Obj4: Codable, Sendable {
95289529 case obj4Right = "right"
95299530 case object = "object"
95309531 case objectMapper = "ObjectMapper"
9532+ case objectReader = "ObjectReader"
9533+ case objectWriter = "ObjectWriter"
95319534 case of = "of"
95329535 case oneway = "oneway"
95339536 case or = "or"
@@ -9557,9 +9560,6 @@ struct Obj4: Codable, Sendable {
95579560 case runtimeType = "runtimeType"
95589561 case s = "s"
95599562 case sbyte = "sbyte"
9560- case sealed = "sealed"
9561- case sel = "SEL"
9562- case select = "select"
95639563 }
95649564 }
95659565
@@ -9584,6 +9584,7 @@ extension Obj4 {
95849584 func with(
95859585 dummy: Int? = nil,
95869586 noSuchMethod: NoSuchMethod? = nil,
9587+ noexcept: Noexcept? = nil,
95879588 nonatomic: Nonatomic? = nil,
95889589 none: None? = nil,
95899590 nonlocal: Nonlocal? = nil,
@@ -9615,6 +9616,8 @@ extension Obj4 {
96159616 obj4Right: Right? = nil,
96169617 object: Object? = nil,
96179618 objectMapper: ObjectMapper? = nil,
9619+ objectReader: ObjectReader? = nil,
9620+ objectWriter: ObjectWriter? = nil,
96189621 of: Of? = nil,
96199622 oneway: Oneway? = nil,
96209623 or: Or? = nil,
@@ -9643,14 +9646,12 @@ extension Obj4 {
96439646 retain: Retain? = nil,
96449647 runtimeType: RuntimeType? = nil,
96459648 s: S? = nil,
9646- sbyte: Sbyte? = nil,
9647- sealed: Sealed? = nil,
9648- sel: Sel? = nil,
9649- select: Select? = nil
9649+ sbyte: Sbyte? = nil
96509650 ) -> Obj4 {
96519651 return Obj4(
96529652 dummy: dummy ?? self.dummy,
96539653 noSuchMethod: noSuchMethod ?? self.noSuchMethod,
9654+ noexcept: noexcept ?? self.noexcept,
96549655 nonatomic: nonatomic ?? self.nonatomic,
96559656 none: none ?? self.none,
96569657 nonlocal: nonlocal ?? self.nonlocal,
@@ -9682,6 +9683,8 @@ extension Obj4 {
96829683 obj4Right: obj4Right ?? self.obj4Right,
96839684 object: object ?? self.object,
96849685 objectMapper: objectMapper ?? self.objectMapper,
9686+ objectReader: objectReader ?? self.objectReader,
9687+ objectWriter: objectWriter ?? self.objectWriter,
96859688 of: of ?? self.of,
96869689 oneway: oneway ?? self.oneway,
96879690 or: or ?? self.or,
@@ -9710,10 +9713,7 @@ extension Obj4 {
97109713 retain: retain ?? self.retain,
97119714 runtimeType: runtimeType ?? self.runtimeType,
97129715 s: s ?? self.s,
9713- sbyte: sbyte ?? self.sbyte,
9714- sealed: sealed ?? self.sealed,
9715- sel: sel ?? self.sel,
9716- select: select ?? self.select
9716+ sbyte: sbyte ?? self.sbyte
97179717 )
97189718 }
97199719
@@ -9770,6 +9770,50 @@ extension NoSuchMethod {
97709770 }
97719771 }
97729772
9773+// MARK: - Noexcept
9774+struct Noexcept: Codable, Sendable {
9775+ let noexcept: Int
9776+
9777+ enum CodingKeys: String, CodingKey {
9778+ case noexcept = "noexcept"
9779+ }
9780+}
9781+
9782+// MARK: Noexcept convenience initializers and mutators
9783+
9784+extension Noexcept {
9785+ init(data: Data) throws {
9786+ self = try newJSONDecoder().decode(Noexcept.self, from: data)
9787+ }
9788+
9789+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
9790+ guard let data = json.data(using: encoding) else {
9791+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
9792+ }
9793+ try self.init(data: data)
9794+ }
9795+
9796+ init(fromURL url: URL) throws {
9797+ try self.init(data: try Data(contentsOf: url))
9798+ }
9799+
9800+ func with(
9801+ noexcept: Int? = nil
9802+ ) -> Noexcept {
9803+ return Noexcept(
9804+ noexcept: noexcept ?? self.noexcept
9805+ )
9806+ }
9807+
9808+ func jsonData() throws -> Data {
9809+ return try newJSONEncoder().encode(self)
9810+ }
9811+
9812+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
9813+ return String(data: try self.jsonData(), encoding: encoding)
9814+ }
9815+}
9816+
97739817 // MARK: - Nonatomic
97749818 struct Nonatomic: Codable, Sendable {
97759819 let nonatomic: Int
@@ -11134,20 +11178,20 @@ extension ObjectMapper {
1113411178 }
1113511179 }
1113611180
11137-// MARK: - Of
11138-struct Of: Codable, Sendable {
11139- let of: Int
11181+// MARK: - ObjectReader
11182+struct ObjectReader: Codable, Sendable {
11183+ let objectReader: Int
1114011184
1114111185 enum CodingKeys: String, CodingKey {
11142- case of = "of"
11186+ case objectReader = "ObjectReader"
1114311187 }
1114411188 }
1114511189
11146-// MARK: Of convenience initializers and mutators
11190+// MARK: ObjectReader convenience initializers and mutators
1114711191
11148-extension Of {
11192+extension ObjectReader {
1114911193 init(data: Data) throws {
11150- self = try newJSONDecoder().decode(Of.self, from: data)
11194+ self = try newJSONDecoder().decode(ObjectReader.self, from: data)
1115111195 }
1115211196
1115311197 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -11162,10 +11206,10 @@ extension Of {
1116211206 }
1116311207
1116411208 func with(
11165- of: Int? = nil
11166- ) -> Of {
11167- return Of(
11168- of: of ?? self.of
11209+ objectReader: Int? = nil
11210+ ) -> ObjectReader {
11211+ return ObjectReader(
11212+ objectReader: objectReader ?? self.objectReader
1116911213 )
1117011214 }
1117111215
@@ -11178,20 +11222,20 @@ extension Of {
1117811222 }
1117911223 }
1118011224
11181-// MARK: - Oneway
11182-struct Oneway: Codable, Sendable {
11183- let oneway: Int
11225+// MARK: - ObjectWriter
11226+struct ObjectWriter: Codable, Sendable {
11227+ let objectWriter: Int
1118411228
1118511229 enum CodingKeys: String, CodingKey {
11186- case oneway = "oneway"
11230+ case objectWriter = "ObjectWriter"
1118711231 }
1118811232 }
1118911233
11190-// MARK: Oneway convenience initializers and mutators
11234+// MARK: ObjectWriter convenience initializers and mutators
1119111235
11192-extension Oneway {
11236+extension ObjectWriter {
1119311237 init(data: Data) throws {
11194- self = try newJSONDecoder().decode(Oneway.self, from: data)
11238+ self = try newJSONDecoder().decode(ObjectWriter.self, from: data)
1119511239 }
1119611240
1119711241 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -11206,7 +11250,95 @@ extension Oneway {
1120611250 }
1120711251
1120811252 func with(
11209- oneway: Int? = nil
11253+ objectWriter: Int? = nil
11254+ ) -> ObjectWriter {
11255+ return ObjectWriter(
11256+ objectWriter: objectWriter ?? self.objectWriter
11257+ )
11258+ }
11259+
11260+ func jsonData() throws -> Data {
11261+ return try newJSONEncoder().encode(self)
11262+ }
11263+
11264+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
11265+ return String(data: try self.jsonData(), encoding: encoding)
11266+ }
11267+}
11268+
11269+// MARK: - Of
11270+struct Of: Codable, Sendable {
11271+ let of: Int
11272+
11273+ enum CodingKeys: String, CodingKey {
11274+ case of = "of"
11275+ }
11276+}
11277+
11278+// MARK: Of convenience initializers and mutators
11279+
11280+extension Of {
11281+ init(data: Data) throws {
11282+ self = try newJSONDecoder().decode(Of.self, from: data)
11283+ }
11284+
11285+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
11286+ guard let data = json.data(using: encoding) else {
11287+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
11288+ }
11289+ try self.init(data: data)
11290+ }
11291+
11292+ init(fromURL url: URL) throws {
11293+ try self.init(data: try Data(contentsOf: url))
11294+ }
11295+
11296+ func with(
11297+ of: Int? = nil
11298+ ) -> Of {
11299+ return Of(
11300+ of: of ?? self.of
11301+ )
11302+ }
11303+
11304+ func jsonData() throws -> Data {
11305+ return try newJSONEncoder().encode(self)
11306+ }
11307+
11308+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
11309+ return String(data: try self.jsonData(), encoding: encoding)
11310+ }
11311+}
11312+
11313+// MARK: - Oneway
11314+struct Oneway: Codable, Sendable {
11315+ let oneway: Int
11316+
11317+ enum CodingKeys: String, CodingKey {
11318+ case oneway = "oneway"
11319+ }
11320+}
11321+
11322+// MARK: Oneway convenience initializers and mutators
11323+
11324+extension Oneway {
11325+ init(data: Data) throws {
11326+ self = try newJSONDecoder().decode(Oneway.self, from: data)
11327+ }
11328+
11329+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
11330+ guard let data = json.data(using: encoding) else {
11331+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
11332+ }
11333+ try self.init(data: data)
11334+ }
11335+
11336+ init(fromURL url: URL) throws {
11337+ try self.init(data: try Data(contentsOf: url))
11338+ }
11339+
11340+ func with(
11341+ oneway: Int? = nil
1121011342 ) -> Oneway {
1121111343 return Oneway(
1121211344 oneway: oneway ?? self.oneway
@@ -12410,138 +12542,6 @@ extension Sbyte {
1241012542 }
1241112543 }
1241212544
12413-// MARK: - Sealed
12414-struct Sealed: Codable, Sendable {
12415- let sealed: Int
12416-
12417- enum CodingKeys: String, CodingKey {
12418- case sealed = "sealed"
12419- }
12420-}
12421-
12422-// MARK: Sealed convenience initializers and mutators
12423-
12424-extension Sealed {
12425- init(data: Data) throws {
12426- self = try newJSONDecoder().decode(Sealed.self, from: data)
12427- }
12428-
12429- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12430- guard let data = json.data(using: encoding) else {
12431- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12432- }
12433- try self.init(data: data)
12434- }
12435-
12436- init(fromURL url: URL) throws {
12437- try self.init(data: try Data(contentsOf: url))
12438- }
12439-
12440- func with(
12441- sealed: Int? = nil
12442- ) -> Sealed {
12443- return Sealed(
12444- sealed: sealed ?? self.sealed
12445- )
12446- }
12447-
12448- func jsonData() throws -> Data {
12449- return try newJSONEncoder().encode(self)
12450- }
12451-
12452- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12453- return String(data: try self.jsonData(), encoding: encoding)
12454- }
12455-}
12456-
12457-// MARK: - Sel
12458-struct Sel: Codable, Sendable {
12459- let sel: Int
12460-
12461- enum CodingKeys: String, CodingKey {
12462- case sel = "SEL"
12463- }
12464-}
12465-
12466-// MARK: Sel convenience initializers and mutators
12467-
12468-extension Sel {
12469- init(data: Data) throws {
12470- self = try newJSONDecoder().decode(Sel.self, from: data)
12471- }
12472-
12473- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12474- guard let data = json.data(using: encoding) else {
12475- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12476- }
12477- try self.init(data: data)
12478- }
12479-
12480- init(fromURL url: URL) throws {
12481- try self.init(data: try Data(contentsOf: url))
12482- }
12483-
12484- func with(
12485- sel: Int? = nil
12486- ) -> Sel {
12487- return Sel(
12488- sel: sel ?? self.sel
12489- )
12490- }
12491-
12492- func jsonData() throws -> Data {
12493- return try newJSONEncoder().encode(self)
12494- }
12495-
12496- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12497- return String(data: try self.jsonData(), encoding: encoding)
12498- }
12499-}
12500-
12501-// MARK: - Select
12502-struct Select: Codable, Sendable {
12503- let select: Int
12504-
12505- enum CodingKeys: String, CodingKey {
12506- case select = "select"
12507- }
12508-}
12509-
12510-// MARK: Select convenience initializers and mutators
12511-
12512-extension Select {
12513- init(data: Data) throws {
12514- self = try newJSONDecoder().decode(Select.self, from: data)
12515- }
12516-
12517- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12518- guard let data = json.data(using: encoding) else {
12519- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12520- }
12521- try self.init(data: data)
12522- }
12523-
12524- init(fromURL url: URL) throws {
12525- try self.init(data: try Data(contentsOf: url))
12526- }
12527-
12528- func with(
12529- select: Int? = nil
12530- ) -> Select {
12531- return Select(
12532- select: select ?? self.select
12533- )
12534- }
12535-
12536- func jsonData() throws -> Data {
12537- return try newJSONEncoder().encode(self)
12538- }
12539-
12540- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12541- return String(data: try self.jsonData(), encoding: encoding)
12542- }
12543-}
12544-
1254512545 // MARK: - Obj5
1254612546 struct Obj5: Codable, Sendable {
1254712547 let dummy: Int
@@ -12559,10 +12559,13 @@ struct Obj5: Codable, Sendable {
1255912559 let obj5Type: Obj5Type
1256012560 let obj5Typealias: Typealias
1256112561 let obj5Unowned: Unowned
12562- let obj5Var: Var
1256312562 let purpleSelf: Obj5Self
1256412563 let purpleTrue: TrueClass
12564+ let sealed: Sealed
12565+ let sel: Sel
12566+ let select: Select
1256512567 let sendable: SendableClass
12568+ let serializationFeature: SerializationFeature
1256612569 let serialize: Serialize
1256712570 let serializerProvider: SerializerProvider
1256812571 let short: Short
@@ -12606,9 +12609,6 @@ struct Obj5: Codable, Sendable {
1260612609 let ushort: Ushort
1260712610 let using: Using
1260812611 let utf8JSONReader: Utf8JSONReader
12609- let utf8JSONWriter: Utf8JSONWriter
12610- let uuid: UUIDClass
12611- let virtual: Virtual
1261212612
1261312613 enum CodingKeys: String, CodingKey {
1261412614 case dummy = "dummy"
@@ -12626,10 +12626,13 @@ struct Obj5: Codable, Sendable {
1262612626 case obj5Type = "type"
1262712627 case obj5Typealias = "typealias"
1262812628 case obj5Unowned = "unowned"
12629- case obj5Var = "var"
1263012629 case purpleSelf = "self"
1263112630 case purpleTrue = "true"
12631+ case sealed = "sealed"
12632+ case sel = "SEL"
12633+ case select = "select"
1263212634 case sendable = "Sendable"
12635+ case serializationFeature = "SerializationFeature"
1263312636 case serialize = "serialize"
1263412637 case serializerProvider = "SerializerProvider"
1263512638 case short = "short"
@@ -12673,9 +12676,6 @@ struct Obj5: Codable, Sendable {
1267312676 case ushort = "ushort"
1267412677 case using = "using"
1267512678 case utf8JSONReader = "Utf8JsonReader"
12676- case utf8JSONWriter = "Utf8JsonWriter"
12677- case uuid = "UUID"
12678- case virtual = "virtual"
1267912679 }
1268012680 }
1268112681
@@ -12713,10 +12713,13 @@ extension Obj5 {
1271312713 obj5Type: Obj5Type? = nil,
1271412714 obj5Typealias: Typealias? = nil,
1271512715 obj5Unowned: Unowned? = nil,
12716- obj5Var: Var? = nil,
1271712716 purpleSelf: Obj5Self? = nil,
1271812717 purpleTrue: TrueClass? = nil,
12718+ sealed: Sealed? = nil,
12719+ sel: Sel? = nil,
12720+ select: Select? = nil,
1271912721 sendable: SendableClass? = nil,
12722+ serializationFeature: SerializationFeature? = nil,
1272012723 serialize: Serialize? = nil,
1272112724 serializerProvider: SerializerProvider? = nil,
1272212725 short: Short? = nil,
@@ -12759,10 +12762,7 @@ extension Obj5 {
1275912762 unsigned: Unsigned? = nil,
1276012763 ushort: Ushort? = nil,
1276112764 using: Using? = nil,
12762- utf8JSONReader: Utf8JSONReader? = nil,
12763- utf8JSONWriter: Utf8JSONWriter? = nil,
12764- uuid: UUIDClass? = nil,
12765- virtual: Virtual? = nil
12765+ utf8JSONReader: Utf8JSONReader? = nil
1276612766 ) -> Obj5 {
1276712767 return Obj5(
1276812768 dummy: dummy ?? self.dummy,
@@ -12780,10 +12780,13 @@ extension Obj5 {
1278012780 obj5Type: obj5Type ?? self.obj5Type,
1278112781 obj5Typealias: obj5Typealias ?? self.obj5Typealias,
1278212782 obj5Unowned: obj5Unowned ?? self.obj5Unowned,
12783- obj5Var: obj5Var ?? self.obj5Var,
1278412783 purpleSelf: purpleSelf ?? self.purpleSelf,
1278512784 purpleTrue: purpleTrue ?? self.purpleTrue,
12785+ sealed: sealed ?? self.sealed,
12786+ sel: sel ?? self.sel,
12787+ select: select ?? self.select,
1278612788 sendable: sendable ?? self.sendable,
12789+ serializationFeature: serializationFeature ?? self.serializationFeature,
1278712790 serialize: serialize ?? self.serialize,
1278812791 serializerProvider: serializerProvider ?? self.serializerProvider,
1278912792 short: short ?? self.short,
@@ -12826,10 +12829,7 @@ extension Obj5 {
1282612829 unsigned: unsigned ?? self.unsigned,
1282712830 ushort: ushort ?? self.ushort,
1282812831 using: using ?? self.using,
12829- utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader,
12830- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
12831- uuid: uuid ?? self.uuid,
12832- virtual: virtual ?? self.virtual
12832+ utf8JSONReader: utf8JSONReader ?? self.utf8JSONReader
1283312833 )
1283412834 }
1283512835
@@ -13458,20 +13458,20 @@ extension Unowned {
1345813458 }
1345913459 }
1346013460
13461-// MARK: - Var
13462-struct Var: Codable, Sendable {
13463- let varVar: Int
13461+// MARK: - Obj5Self
13462+struct Obj5Self: Codable, Sendable {
13463+ let selfSelf: Int
1346413464
1346513465 enum CodingKeys: String, CodingKey {
13466- case varVar = "var"
13466+ case selfSelf = "self"
1346713467 }
1346813468 }
1346913469
13470-// MARK: Var convenience initializers and mutators
13470+// MARK: Obj5Self convenience initializers and mutators
1347113471
13472-extension Var {
13472+extension Obj5Self {
1347313473 init(data: Data) throws {
13474- self = try newJSONDecoder().decode(Var.self, from: data)
13474+ self = try newJSONDecoder().decode(Obj5Self.self, from: data)
1347513475 }
1347613476
1347713477 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -13486,10 +13486,10 @@ extension Var {
1348613486 }
1348713487
1348813488 func with(
13489- varVar: Int? = nil
13490- ) -> Var {
13491- return Var(
13492- varVar: varVar ?? self.varVar
13489+ selfSelf: Int? = nil
13490+ ) -> Obj5Self {
13491+ return Obj5Self(
13492+ selfSelf: selfSelf ?? self.selfSelf
1349313493 )
1349413494 }
1349513495
@@ -13502,20 +13502,20 @@ extension Var {
1350213502 }
1350313503 }
1350413504
13505-// MARK: - Obj5Self
13506-struct Obj5Self: Codable, Sendable {
13507- let selfSelf: Int
13505+// MARK: - TrueClass
13506+struct TrueClass: Codable, Sendable {
13507+ let trueTrue: Int
1350813508
1350913509 enum CodingKeys: String, CodingKey {
13510- case selfSelf = "self"
13510+ case trueTrue = "true"
1351113511 }
1351213512 }
1351313513
13514-// MARK: Obj5Self convenience initializers and mutators
13514+// MARK: TrueClass convenience initializers and mutators
1351513515
13516-extension Obj5Self {
13516+extension TrueClass {
1351713517 init(data: Data) throws {
13518- self = try newJSONDecoder().decode(Obj5Self.self, from: data)
13518+ self = try newJSONDecoder().decode(TrueClass.self, from: data)
1351913519 }
1352013520
1352113521 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -13530,10 +13530,10 @@ extension Obj5Self {
1353013530 }
1353113531
1353213532 func with(
13533- selfSelf: Int? = nil
13534- ) -> Obj5Self {
13535- return Obj5Self(
13536- selfSelf: selfSelf ?? self.selfSelf
13533+ trueTrue: Int? = nil
13534+ ) -> TrueClass {
13535+ return TrueClass(
13536+ trueTrue: trueTrue ?? self.trueTrue
1353713537 )
1353813538 }
1353913539
@@ -13546,20 +13546,20 @@ extension Obj5Self {
1354613546 }
1354713547 }
1354813548
13549-// MARK: - TrueClass
13550-struct TrueClass: Codable, Sendable {
13551- let trueTrue: Int
13549+// MARK: - Sealed
13550+struct Sealed: Codable, Sendable {
13551+ let sealed: Int
1355213552
1355313553 enum CodingKeys: String, CodingKey {
13554- case trueTrue = "true"
13554+ case sealed = "sealed"
1355513555 }
1355613556 }
1355713557
13558-// MARK: TrueClass convenience initializers and mutators
13558+// MARK: Sealed convenience initializers and mutators
1355913559
13560-extension TrueClass {
13560+extension Sealed {
1356113561 init(data: Data) throws {
13562- self = try newJSONDecoder().decode(TrueClass.self, from: data)
13562+ self = try newJSONDecoder().decode(Sealed.self, from: data)
1356313563 }
1356413564
1356513565 init(_ json: String, using encoding: String.Encoding = .utf8) throws {
@@ -13574,10 +13574,98 @@ extension TrueClass {
1357413574 }
1357513575
1357613576 func with(
13577- trueTrue: Int? = nil
13578- ) -> TrueClass {
13579- return TrueClass(
13580- trueTrue: trueTrue ?? self.trueTrue
13577+ sealed: Int? = nil
13578+ ) -> Sealed {
13579+ return Sealed(
13580+ sealed: sealed ?? self.sealed
13581+ )
13582+ }
13583+
13584+ func jsonData() throws -> Data {
13585+ return try newJSONEncoder().encode(self)
13586+ }
13587+
13588+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
13589+ return String(data: try self.jsonData(), encoding: encoding)
13590+ }
13591+}
13592+
13593+// MARK: - Sel
13594+struct Sel: Codable, Sendable {
13595+ let sel: Int
13596+
13597+ enum CodingKeys: String, CodingKey {
13598+ case sel = "SEL"
13599+ }
13600+}
13601+
13602+// MARK: Sel convenience initializers and mutators
13603+
13604+extension Sel {
13605+ init(data: Data) throws {
13606+ self = try newJSONDecoder().decode(Sel.self, from: data)
13607+ }
13608+
13609+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13610+ guard let data = json.data(using: encoding) else {
13611+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13612+ }
13613+ try self.init(data: data)
13614+ }
13615+
13616+ init(fromURL url: URL) throws {
13617+ try self.init(data: try Data(contentsOf: url))
13618+ }
13619+
13620+ func with(
13621+ sel: Int? = nil
13622+ ) -> Sel {
13623+ return Sel(
13624+ sel: sel ?? self.sel
13625+ )
13626+ }
13627+
13628+ func jsonData() throws -> Data {
13629+ return try newJSONEncoder().encode(self)
13630+ }
13631+
13632+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
13633+ return String(data: try self.jsonData(), encoding: encoding)
13634+ }
13635+}
13636+
13637+// MARK: - Select
13638+struct Select: Codable, Sendable {
13639+ let select: Int
13640+
13641+ enum CodingKeys: String, CodingKey {
13642+ case select = "select"
13643+ }
13644+}
13645+
13646+// MARK: Select convenience initializers and mutators
13647+
13648+extension Select {
13649+ init(data: Data) throws {
13650+ self = try newJSONDecoder().decode(Select.self, from: data)
13651+ }
13652+
13653+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13654+ guard let data = json.data(using: encoding) else {
13655+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13656+ }
13657+ try self.init(data: data)
13658+ }
13659+
13660+ init(fromURL url: URL) throws {
13661+ try self.init(data: try Data(contentsOf: url))
13662+ }
13663+
13664+ func with(
13665+ select: Int? = nil
13666+ ) -> Select {
13667+ return Select(
13668+ select: select ?? self.select
1358113669 )
1358213670 }
1358313671
@@ -13634,6 +13722,50 @@ extension SendableClass {
1363413722 }
1363513723 }
1363613724
13725+// MARK: - SerializationFeature
13726+struct SerializationFeature: Codable, Sendable {
13727+ let serializationFeature: Int
13728+
13729+ enum CodingKeys: String, CodingKey {
13730+ case serializationFeature = "SerializationFeature"
13731+ }
13732+}
13733+
13734+// MARK: SerializationFeature convenience initializers and mutators
13735+
13736+extension SerializationFeature {
13737+ init(data: Data) throws {
13738+ self = try newJSONDecoder().decode(SerializationFeature.self, from: data)
13739+ }
13740+
13741+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
13742+ guard let data = json.data(using: encoding) else {
13743+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
13744+ }
13745+ try self.init(data: data)
13746+ }
13747+
13748+ init(fromURL url: URL) throws {
13749+ try self.init(data: try Data(contentsOf: url))
13750+ }
13751+
13752+ func with(
13753+ serializationFeature: Int? = nil
13754+ ) -> SerializationFeature {
13755+ return SerializationFeature(
13756+ serializationFeature: serializationFeature ?? self.serializationFeature
13757+ )
13758+ }
13759+
13760+ func jsonData() throws -> Data {
13761+ return try newJSONEncoder().encode(self)
13762+ }
13763+
13764+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
13765+ return String(data: try self.jsonData(), encoding: encoding)
13766+ }
13767+}
13768+
1363713769 // MARK: - Serialize
1363813770 struct Serialize: Codable, Sendable {
1363913771 let serialize: Int
@@ -15526,145 +15658,17 @@ extension Utf8JSONReader {
1552615658 }
1552715659 }
1552815660
15529-// MARK: - Utf8JSONWriter
15530-struct Utf8JSONWriter: Codable, Sendable {
15531- let utf8JSONWriter: Int
15532-
15533- enum CodingKeys: String, CodingKey {
15534- case utf8JSONWriter = "Utf8JsonWriter"
15535- }
15536-}
15537-
15538-// MARK: Utf8JSONWriter convenience initializers and mutators
15539-
15540-extension Utf8JSONWriter {
15541- init(data: Data) throws {
15542- self = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
15543- }
15544-
15545- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15546- guard let data = json.data(using: encoding) else {
15547- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15548- }
15549- try self.init(data: data)
15550- }
15551-
15552- init(fromURL url: URL) throws {
15553- try self.init(data: try Data(contentsOf: url))
15554- }
15555-
15556- func with(
15557- utf8JSONWriter: Int? = nil
15558- ) -> Utf8JSONWriter {
15559- return Utf8JSONWriter(
15560- utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
15561- )
15562- }
15563-
15564- func jsonData() throws -> Data {
15565- return try newJSONEncoder().encode(self)
15566- }
15567-
15568- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15569- return String(data: try self.jsonData(), encoding: encoding)
15570- }
15571-}
15572-
15573-// MARK: - UUIDClass
15574-struct UUIDClass: Codable, Sendable {
15575- let uuid: Int
15576-
15577- enum CodingKeys: String, CodingKey {
15578- case uuid = "UUID"
15579- }
15580-}
15581-
15582-// MARK: UUIDClass convenience initializers and mutators
15583-
15584-extension UUIDClass {
15585- init(data: Data) throws {
15586- self = try newJSONDecoder().decode(UUIDClass.self, from: data)
15587- }
15588-
15589- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15590- guard let data = json.data(using: encoding) else {
15591- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15592- }
15593- try self.init(data: data)
15594- }
15595-
15596- init(fromURL url: URL) throws {
15597- try self.init(data: try Data(contentsOf: url))
15598- }
15599-
15600- func with(
15601- uuid: Int? = nil
15602- ) -> UUIDClass {
15603- return UUIDClass(
15604- uuid: uuid ?? self.uuid
15605- )
15606- }
15607-
15608- func jsonData() throws -> Data {
15609- return try newJSONEncoder().encode(self)
15610- }
15611-
15612- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15613- return String(data: try self.jsonData(), encoding: encoding)
15614- }
15615-}
15616-
15617-// MARK: - Virtual
15618-struct Virtual: Codable, Sendable {
15619- let virtual: Int
15620-
15621- enum CodingKeys: String, CodingKey {
15622- case virtual = "virtual"
15623- }
15624-}
15625-
15626-// MARK: Virtual convenience initializers and mutators
15627-
15628-extension Virtual {
15629- init(data: Data) throws {
15630- self = try newJSONDecoder().decode(Virtual.self, from: data)
15631- }
15632-
15633- init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15634- guard let data = json.data(using: encoding) else {
15635- throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15636- }
15637- try self.init(data: data)
15638- }
15639-
15640- init(fromURL url: URL) throws {
15641- try self.init(data: try Data(contentsOf: url))
15642- }
15643-
15644- func with(
15645- virtual: Int? = nil
15646- ) -> Virtual {
15647- return Virtual(
15648- virtual: virtual ?? self.virtual
15649- )
15650- }
15651-
15652- func jsonData() throws -> Data {
15653- return try newJSONEncoder().encode(self)
15654- }
15655-
15656- func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15657- return String(data: try self.jsonData(), encoding: encoding)
15658- }
15659-}
15660-
1566115661 // MARK: - Obj6
1566215662 struct Obj6: Codable, Sendable {
1566315663 let dummy: Int
15664+ let obj6Var: Var
1566415665 let obj6Weak: Weak
1566515666 let obj6Where: Where
1566615667 let obj6While: While
1566715668 let obj6WillSet: WillSet
15669+ let utf8JSONWriter: Utf8JSONWriter
15670+ let uuid: UUIDClass
15671+ let virtual: Virtual
1566815672 let void: Void
1566915673 let volatile: Volatile
1567015674 let wcharT: WcharT
@@ -15676,10 +15680,14 @@ struct Obj6: Codable, Sendable {
1567615680
1567715681 enum CodingKeys: String, CodingKey {
1567815682 case dummy = "dummy"
15683+ case obj6Var = "var"
1567915684 case obj6Weak = "weak"
1568015685 case obj6Where = "where"
1568115686 case obj6While = "while"
1568215687 case obj6WillSet = "willSet"
15688+ case utf8JSONWriter = "Utf8JsonWriter"
15689+ case uuid = "UUID"
15690+ case virtual = "virtual"
1568315691 case void = "void"
1568415692 case volatile = "volatile"
1568515693 case wcharT = "wchar_t"
@@ -15711,10 +15719,14 @@ extension Obj6 {
1571115719
1571215720 func with(
1571315721 dummy: Int? = nil,
15722+ obj6Var: Var? = nil,
1571415723 obj6Weak: Weak? = nil,
1571515724 obj6Where: Where? = nil,
1571615725 obj6While: While? = nil,
1571715726 obj6WillSet: WillSet? = nil,
15727+ utf8JSONWriter: Utf8JSONWriter? = nil,
15728+ uuid: UUIDClass? = nil,
15729+ virtual: Virtual? = nil,
1571815730 void: Void? = nil,
1571915731 volatile: Volatile? = nil,
1572015732 wcharT: WcharT? = nil,
@@ -15726,10 +15738,14 @@ extension Obj6 {
1572615738 ) -> Obj6 {
1572715739 return Obj6(
1572815740 dummy: dummy ?? self.dummy,
15741+ obj6Var: obj6Var ?? self.obj6Var,
1572915742 obj6Weak: obj6Weak ?? self.obj6Weak,
1573015743 obj6Where: obj6Where ?? self.obj6Where,
1573115744 obj6While: obj6While ?? self.obj6While,
1573215745 obj6WillSet: obj6WillSet ?? self.obj6WillSet,
15746+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter,
15747+ uuid: uuid ?? self.uuid,
15748+ virtual: virtual ?? self.virtual,
1573315749 void: void ?? self.void,
1573415750 volatile: volatile ?? self.volatile,
1573515751 wcharT: wcharT ?? self.wcharT,
@@ -15750,6 +15766,50 @@ extension Obj6 {
1575015766 }
1575115767 }
1575215768
15769+// MARK: - Var
15770+struct Var: Codable, Sendable {
15771+ let varVar: Int
15772+
15773+ enum CodingKeys: String, CodingKey {
15774+ case varVar = "var"
15775+ }
15776+}
15777+
15778+// MARK: Var convenience initializers and mutators
15779+
15780+extension Var {
15781+ init(data: Data) throws {
15782+ self = try newJSONDecoder().decode(Var.self, from: data)
15783+ }
15784+
15785+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15786+ guard let data = json.data(using: encoding) else {
15787+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15788+ }
15789+ try self.init(data: data)
15790+ }
15791+
15792+ init(fromURL url: URL) throws {
15793+ try self.init(data: try Data(contentsOf: url))
15794+ }
15795+
15796+ func with(
15797+ varVar: Int? = nil
15798+ ) -> Var {
15799+ return Var(
15800+ varVar: varVar ?? self.varVar
15801+ )
15802+ }
15803+
15804+ func jsonData() throws -> Data {
15805+ return try newJSONEncoder().encode(self)
15806+ }
15807+
15808+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15809+ return String(data: try self.jsonData(), encoding: encoding)
15810+ }
15811+}
15812+
1575315813 // MARK: - Weak
1575415814 struct Weak: Codable, Sendable {
1575515815 let weakWeak: Int
@@ -15926,6 +15986,138 @@ extension WillSet {
1592615986 }
1592715987 }
1592815988
15989+// MARK: - Utf8JSONWriter
15990+struct Utf8JSONWriter: Codable, Sendable {
15991+ let utf8JSONWriter: Int
15992+
15993+ enum CodingKeys: String, CodingKey {
15994+ case utf8JSONWriter = "Utf8JsonWriter"
15995+ }
15996+}
15997+
15998+// MARK: Utf8JSONWriter convenience initializers and mutators
15999+
16000+extension Utf8JSONWriter {
16001+ init(data: Data) throws {
16002+ self = try newJSONDecoder().decode(Utf8JSONWriter.self, from: data)
16003+ }
16004+
16005+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
16006+ guard let data = json.data(using: encoding) else {
16007+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
16008+ }
16009+ try self.init(data: data)
16010+ }
16011+
16012+ init(fromURL url: URL) throws {
16013+ try self.init(data: try Data(contentsOf: url))
16014+ }
16015+
16016+ func with(
16017+ utf8JSONWriter: Int? = nil
16018+ ) -> Utf8JSONWriter {
16019+ return Utf8JSONWriter(
16020+ utf8JSONWriter: utf8JSONWriter ?? self.utf8JSONWriter
16021+ )
16022+ }
16023+
16024+ func jsonData() throws -> Data {
16025+ return try newJSONEncoder().encode(self)
16026+ }
16027+
16028+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
16029+ return String(data: try self.jsonData(), encoding: encoding)
16030+ }
16031+}
16032+
16033+// MARK: - UUIDClass
16034+struct UUIDClass: Codable, Sendable {
16035+ let uuid: Int
16036+
16037+ enum CodingKeys: String, CodingKey {
16038+ case uuid = "UUID"
16039+ }
16040+}
16041+
16042+// MARK: UUIDClass convenience initializers and mutators
16043+
16044+extension UUIDClass {
16045+ init(data: Data) throws {
16046+ self = try newJSONDecoder().decode(UUIDClass.self, from: data)
16047+ }
16048+
16049+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
16050+ guard let data = json.data(using: encoding) else {
16051+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
16052+ }
16053+ try self.init(data: data)
16054+ }
16055+
16056+ init(fromURL url: URL) throws {
16057+ try self.init(data: try Data(contentsOf: url))
16058+ }
16059+
16060+ func with(
16061+ uuid: Int? = nil
16062+ ) -> UUIDClass {
16063+ return UUIDClass(
16064+ uuid: uuid ?? self.uuid
16065+ )
16066+ }
16067+
16068+ func jsonData() throws -> Data {
16069+ return try newJSONEncoder().encode(self)
16070+ }
16071+
16072+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
16073+ return String(data: try self.jsonData(), encoding: encoding)
16074+ }
16075+}
16076+
16077+// MARK: - Virtual
16078+struct Virtual: Codable, Sendable {
16079+ let virtual: Int
16080+
16081+ enum CodingKeys: String, CodingKey {
16082+ case virtual = "virtual"
16083+ }
16084+}
16085+
16086+// MARK: Virtual convenience initializers and mutators
16087+
16088+extension Virtual {
16089+ init(data: Data) throws {
16090+ self = try newJSONDecoder().decode(Virtual.self, from: data)
16091+ }
16092+
16093+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
16094+ guard let data = json.data(using: encoding) else {
16095+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
16096+ }
16097+ try self.init(data: data)
16098+ }
16099+
16100+ init(fromURL url: URL) throws {
16101+ try self.init(data: try Data(contentsOf: url))
16102+ }
16103+
16104+ func with(
16105+ virtual: Int? = nil
16106+ ) -> Virtual {
16107+ return Virtual(
16108+ virtual: virtual ?? self.virtual
16109+ )
16110+ }
16111+
16112+ func jsonData() throws -> Data {
16113+ return try newJSONEncoder().encode(self)
16114+ }
16115+
16116+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
16117+ return String(data: try self.jsonData(), encoding: encoding)
16118+ }
16119+}
16120+
1592916121 // MARK: - Void
1593016122 struct Void: Codable, Sendable {
1593116123 let void: Int
Mtypescript-effect-schemadefault / TopLevel.ts+65 −45
@@ -55,22 +55,6 @@ export class Void extends S.Class<Void>("Void")({
5555 "void": S.Int,
5656 }) {}
5757
58-export class Obj6 extends S.Class<Obj6>("Obj6")({
59- "dummy": S.Int,
60- "void": Void,
61- "volatile": Volatile,
62- "wchar_t": WcharT,
63- "weak": Weak,
64- "where": Where,
65- "while": While,
66- "willSet": WillSet,
67- "with": With,
68- "xor": Xor,
69- "xor_eq": XorEq,
70- "YES": Yes,
71- "yield": Yield,
72-}) {}
73-
7458 export class Virtual extends S.Class<Virtual>("Virtual")({
7559 "virtual": S.Int,
7660 }) {}
@@ -87,6 +71,26 @@ export class Utf8JsonWriter extends S.Class<Utf8JsonWriter>("Utf8JsonWriter")({
8771 "Utf8JsonWriter": S.Int,
8872 }) {}
8973
74+export class Obj6 extends S.Class<Obj6>("Obj6")({
75+ "dummy": S.Int,
76+ "Utf8JsonWriter": Utf8JsonWriter,
77+ "UUID": Uuid,
78+ "var": Var,
79+ "virtual": Virtual,
80+ "void": Void,
81+ "volatile": Volatile,
82+ "wchar_t": WcharT,
83+ "weak": Weak,
84+ "where": Where,
85+ "while": While,
86+ "willSet": WillSet,
87+ "with": With,
88+ "xor": Xor,
89+ "xor_eq": XorEq,
90+ "YES": Yes,
91+ "yield": Yield,
92+}) {}
93+
9094 export class Utf8JsonReader extends S.Class<Utf8JsonReader>("Utf8JsonReader")({
9195 "Utf8JsonReader": S.Int,
9296 }) {}
@@ -308,6 +312,10 @@ export class Serialize extends S.Class<Serialize>("Serialize")({
308312 "serialize": S.Int,
309313 }) {}
310314
315+export class SerializationFeature extends S.Class<SerializationFeature>("SerializationFeature")({
316+ "SerializationFeature": S.Int,
317+}) {}
318+
311319 export class Sendable extends S.Class<Sendable>("Sendable")({
312320 "Sendable": S.Int,
313321 }) {}
@@ -316,6 +324,18 @@ export class Self extends S.Class<Self>("Self")({
316324 "Self": S.Int,
317325 }) {}
318326
327+export class Select extends S.Class<Select>("Select")({
328+ "select": S.Int,
329+}) {}
330+
331+export class Sel extends S.Class<Sel>("Sel")({
332+ "SEL": S.Int,
333+}) {}
334+
335+export class Sealed extends S.Class<Sealed>("Sealed")({
336+ "sealed": S.Int,
337+}) {}
338+
319339 export class TypeClass extends S.Class<TypeClass>("TypeClass")({
320340 "type": S.Int,
321341 }) {}
@@ -333,8 +353,12 @@ export class Obj5 extends S.Class<Obj5>("Obj5")({
333353 "self": SelfClass,
334354 "true": TrueClass,
335355 "type": TypeClass,
356+ "sealed": Sealed,
357+ "SEL": Sel,
358+ "select": Select,
336359 "Self": Self,
337360 "Sendable": Sendable,
361+ "SerializationFeature": SerializationFeature,
338362 "serialize": Serialize,
339363 "SerializerProvider": SerializerProvider,
340364 "set": Set,
@@ -390,25 +414,9 @@ export class Obj5 extends S.Class<Obj5>("Obj5")({
390414 "ushort": Ushort,
391415 "using": Using,
392416 "Utf8JsonReader": Utf8JsonReader,
393- "Utf8JsonWriter": Utf8JsonWriter,
394- "UUID": Uuid,
395- "var": Var,
396- "virtual": Virtual,
397417 }) {}
398418 Object.defineProperty(Obj5.prototype, "toString", { writable: true });
399419
400-export class Select extends S.Class<Select>("Select")({
401- "select": S.Int,
402-}) {}
403-
404-export class Sel extends S.Class<Sel>("Sel")({
405- "SEL": S.Int,
406-}) {}
407-
408-export class Sealed extends S.Class<Sealed>("Sealed")({
409- "sealed": S.Int,
410-}) {}
411-
412420 export class Sbyte extends S.Class<Sbyte>("Sbyte")({
413421 "sbyte": S.Int,
414422 }) {}
@@ -581,6 +589,14 @@ export class Of extends S.Class<Of>("Of")({
581589 "of": S.Int,
582590 }) {}
583591
592+export class ObjectWriter extends S.Class<ObjectWriter>("ObjectWriter")({
593+ "ObjectWriter": S.Int,
594+}) {}
595+
596+export class ObjectReader extends S.Class<ObjectReader>("ObjectReader")({
597+ "ObjectReader": S.Int,
598+}) {}
599+
584600 export class ObjectMapper extends S.Class<ObjectMapper>("ObjectMapper")({
585601 "ObjectMapper": S.Int,
586602 }) {}
@@ -649,6 +665,10 @@ export class Nonatomic extends S.Class<Nonatomic>("Nonatomic")({
649665 "nonatomic": S.Int,
650666 }) {}
651667
668+export class Noexcept extends S.Class<Noexcept>("Noexcept")({
669+ "noexcept": S.Int,
670+}) {}
671+
652672 export class NoSuchMethod extends S.Class<NoSuchMethod>("NoSuchMethod")({
653673 "noSuchMethod": S.Int,
654674 }) {}
@@ -656,6 +676,7 @@ export class NoSuchMethod extends S.Class<NoSuchMethod>("NoSuchMethod")({
656676 export class Obj4 extends S.Class<Obj4>("Obj4")({
657677 "dummy": S.Int,
658678 "noSuchMethod": NoSuchMethod,
679+ "noexcept": Noexcept,
659680 "nonatomic": Nonatomic,
660681 "None": None,
661682 "nonlocal": Nonlocal,
@@ -673,6 +694,8 @@ export class Obj4 extends S.Class<Obj4>("Obj4")({
673694 "protocol": ProtocolClass,
674695 "object": ObjectClass,
675696 "ObjectMapper": ObjectMapper,
697+ "ObjectReader": ObjectReader,
698+ "ObjectWriter": ObjectWriter,
676699 "of": Of,
677700 "oneway": Oneway,
678701 "open": Open,
@@ -716,13 +739,6 @@ export class Obj4 extends S.Class<Obj4>("Obj4")({
716739 "runtimeType": RuntimeType,
717740 "s": SClass,
718741 "sbyte": Sbyte,
719- "sealed": Sealed,
720- "SEL": Sel,
721- "select": Select,
722-}) {}
723-
724-export class Noexcept extends S.Class<Noexcept>("Noexcept")({
725- "noexcept": S.Int,
726742 }) {}
727743
728744 export class No extends S.Class<No>("No")({
@@ -977,8 +993,13 @@ export class Guard extends S.Class<Guard>("Guard")({
977993 "guard": S.Int,
978994 }) {}
979995
996+export class Goto extends S.Class<Goto>("Goto")({
997+ "goto": S.Int,
998+}) {}
999+
9801000 export class Obj3 extends S.Class<Obj3>("Obj3")({
9811001 "dummy": S.Int,
1002+ "goto": Goto,
9821003 "guard": Guard,
9831004 "hasOwnProperty": HasOwnProperty,
9841005 "hashCode": HashCode,
@@ -1042,17 +1063,12 @@ export class Obj3 extends S.Class<Obj3>("Obj3")({
10421063 "newtonsoft": Newtonsoft,
10431064 "nil": Nil,
10441065 "NO": No,
1045- "noexcept": Noexcept,
10461066 }) {}
10471067
10481068 export class FalseClass extends S.Class<FalseClass>("FalseClass")({
10491069 "false": S.Int,
10501070 }) {}
10511071
1052-export class Goto extends S.Class<Goto>("Goto")({
1053- "goto": S.Int,
1054-}) {}
1055-
10561072 export class Go extends S.Class<Go>("Go")({
10571073 "go": S.Int,
10581074 }) {}
@@ -1221,6 +1237,10 @@ export class Dict extends S.Class<Dict>("Dict")({
12211237 "dict": S.Int,
12221238 }) {}
12231239
1240+export class DeserializationFeature extends S.Class<DeserializationFeature>("DeserializationFeature")({
1241+ "DeserializationFeature": S.Int,
1242+}) {}
1243+
12241244 export class Delete extends S.Class<Delete>("Delete")({
12251245 "delete": S.Int,
12261246 }) {}
@@ -1322,6 +1342,7 @@ export class Obj2 extends S.Class<Obj2>("Obj2")({
13221342 "del": Del,
13231343 "delegate": Delegate,
13241344 "delete": Delete,
1345+ "DeserializationFeature": DeserializationFeature,
13251346 "dict": Dict,
13261347 "dictionary": Dictionary,
13271348 "didSet": DidSet,
@@ -1365,7 +1386,6 @@ export class Obj2 extends S.Class<Obj2>("Obj2")({
13651386 "get": Get,
13661387 "global": Global,
13671388 "go": Go,
1368- "goto": Goto,
13691389 "false": FalseClass,
13701390 }) {}
Mtypescript-zoddefault / TopLevel.ts+58 −34
@@ -427,6 +427,11 @@ export const DeleteSchema = z.object({
427427 });
428428 export type Delete = z.infer<typeof DeleteSchema>;
429429
430+export const DeserializationFeatureSchema = z.object({
431+ "DeserializationFeature": z.number().int(),
432+});
433+export type DeserializationFeature = z.infer<typeof DeserializationFeatureSchema>;
434+
430435 export const DictSchema = z.object({
431436 "dict": z.number().int(),
432437 });
@@ -637,16 +642,16 @@ export const GoSchema = z.object({
637642 });
638643 export type Go = z.infer<typeof GoSchema>;
639644
640-export const GotoSchema = z.object({
641- "goto": z.number().int(),
642-});
643-export type Goto = z.infer<typeof GotoSchema>;
644-
645645 export const FalseClassSchema = z.object({
646646 "false": z.number().int(),
647647 });
648648 export type FalseClass = z.infer<typeof FalseClassSchema>;
649649
650+export const GotoSchema = z.object({
651+ "goto": z.number().int(),
652+});
653+export type Goto = z.infer<typeof GotoSchema>;
654+
650655 export const GuardSchema = z.object({
651656 "guard": z.number().int(),
652657 });
@@ -962,16 +967,16 @@ export const NoSchema = z.object({
962967 });
963968 export type No = z.infer<typeof NoSchema>;
964969
965-export const NoexceptSchema = z.object({
966- "noexcept": z.number().int(),
967-});
968-export type Noexcept = z.infer<typeof NoexceptSchema>;
969-
970970 export const NoSuchMethodSchema = z.object({
971971 "noSuchMethod": z.number().int(),
972972 });
973973 export type NoSuchMethod = z.infer<typeof NoSuchMethodSchema>;
974974
975+export const NoexceptSchema = z.object({
976+ "noexcept": z.number().int(),
977+});
978+export type Noexcept = z.infer<typeof NoexceptSchema>;
979+
975980 export const NonatomicSchema = z.object({
976981 "nonatomic": z.number().int(),
977982 });
@@ -1057,6 +1062,16 @@ export const ObjectMapperSchema = z.object({
10571062 });
10581063 export type ObjectMapper = z.infer<typeof ObjectMapperSchema>;
10591064
1065+export const ObjectReaderSchema = z.object({
1066+ "ObjectReader": z.number().int(),
1067+});
1068+export type ObjectReader = z.infer<typeof ObjectReaderSchema>;
1069+
1070+export const ObjectWriterSchema = z.object({
1071+ "ObjectWriter": z.number().int(),
1072+});
1073+export type ObjectWriter = z.infer<typeof ObjectWriterSchema>;
1074+
10601075 export const OfSchema = z.object({
10611076 "of": z.number().int(),
10621077 });
@@ -1272,21 +1287,6 @@ export const SbyteSchema = z.object({
12721287 });
12731288 export type Sbyte = z.infer<typeof SbyteSchema>;
12741289
1275-export const SealedSchema = z.object({
1276- "sealed": z.number().int(),
1277-});
1278-export type Sealed = z.infer<typeof SealedSchema>;
1279-
1280-export const SelSchema = z.object({
1281- "SEL": z.number().int(),
1282-});
1283-export type Sel = z.infer<typeof SelSchema>;
1284-
1285-export const SelectSchema = z.object({
1286- "select": z.number().int(),
1287-});
1288-export type Select = z.infer<typeof SelectSchema>;
1289-
12901290 export const SelfClassSchema = z.object({
12911291 "self": z.number().int(),
12921292 });
@@ -1302,6 +1302,21 @@ export const TypeClassSchema = z.object({
13021302 });
13031303 export type TypeClass = z.infer<typeof TypeClassSchema>;
13041304
1305+export const SealedSchema = z.object({
1306+ "sealed": z.number().int(),
1307+});
1308+export type Sealed = z.infer<typeof SealedSchema>;
1309+
1310+export const SelSchema = z.object({
1311+ "SEL": z.number().int(),
1312+});
1313+export type Sel = z.infer<typeof SelSchema>;
1314+
1315+export const SelectSchema = z.object({
1316+ "select": z.number().int(),
1317+});
1318+export type Select = z.infer<typeof SelectSchema>;
1319+
13051320 export const SelfSchema = z.object({
13061321 "Self": z.number().int(),
13071322 });
@@ -1312,6 +1327,11 @@ export const SendableSchema = z.object({
13121327 });
13131328 export type Sendable = z.infer<typeof SendableSchema>;
13141329
1330+export const SerializationFeatureSchema = z.object({
1331+ "SerializationFeature": z.number().int(),
1332+});
1333+export type SerializationFeature = z.infer<typeof SerializationFeatureSchema>;
1334+
13151335 export const SerializeSchema = z.object({
13161336 "serialize": z.number().int(),
13171337 });
@@ -1757,6 +1777,7 @@ export const Obj2Schema = z.object({
17571777 "del": DelSchema,
17581778 "delegate": DelegateSchema,
17591779 "delete": DeleteSchema,
1780+ "DeserializationFeature": DeserializationFeatureSchema,
17601781 "dict": DictSchema,
17611782 "dictionary": DictionarySchema,
17621783 "didSet": DidSetSchema,
@@ -1800,13 +1821,13 @@ export const Obj2Schema = z.object({
18001821 "get": GetSchema,
18011822 "global": GlobalSchema,
18021823 "go": GoSchema,
1803- "goto": GotoSchema,
18041824 "false": FalseClassSchema,
18051825 });
18061826 export type Obj2 = z.infer<typeof Obj2Schema>;
18071827
18081828 export const Obj3Schema = z.object({
18091829 "dummy": z.number().int(),
1830+ "goto": GotoSchema,
18101831 "guard": GuardSchema,
18111832 "hasOwnProperty": HasOwnPropertySchema,
18121833 "hashCode": HashCodeSchema,
@@ -1870,13 +1891,13 @@ export const Obj3Schema = z.object({
18701891 "newtonsoft": NewtonsoftSchema,
18711892 "nil": NilSchema,
18721893 "NO": NoSchema,
1873- "noexcept": NoexceptSchema,
18741894 });
18751895 export type Obj3 = z.infer<typeof Obj3Schema>;
18761896
18771897 export const Obj4Schema = z.object({
18781898 "dummy": z.number().int(),
18791899 "noSuchMethod": NoSuchMethodSchema,
1900+ "noexcept": NoexceptSchema,
18801901 "nonatomic": NonatomicSchema,
18811902 "None": NoneSchema,
18821903 "nonlocal": NonlocalSchema,
@@ -1894,6 +1915,8 @@ export const Obj4Schema = z.object({
18941915 "protocol": ProtocolClassSchema,
18951916 "object": ObjectClassSchema,
18961917 "ObjectMapper": ObjectMapperSchema,
1918+ "ObjectReader": ObjectReaderSchema,
1919+ "ObjectWriter": ObjectWriterSchema,
18971920 "of": OfSchema,
18981921 "oneway": OnewaySchema,
18991922 "open": OpenSchema,
@@ -1937,9 +1960,6 @@ export const Obj4Schema = z.object({
19371960 "runtimeType": RuntimeTypeSchema,
19381961 "s": SSchema,
19391962 "sbyte": SbyteSchema,
1940- "sealed": SealedSchema,
1941- "SEL": SelSchema,
1942- "select": SelectSchema,
19431963 });
19441964 export type Obj4 = z.infer<typeof Obj4Schema>;
19451965
@@ -1948,8 +1968,12 @@ export const Obj5Schema = z.object({
19481968 "self": SelfClassSchema,
19491969 "true": TrueClassSchema,
19501970 "type": TypeClassSchema,
1971+ "sealed": SealedSchema,
1972+ "SEL": SelSchema,
1973+ "select": SelectSchema,
19511974 "Self": SelfSchema,
19521975 "Sendable": SendableSchema,
1976+ "SerializationFeature": SerializationFeatureSchema,
19531977 "serialize": SerializeSchema,
19541978 "SerializerProvider": SerializerProviderSchema,
19551979 "set": SetSchema,
@@ -2005,15 +2029,15 @@ export const Obj5Schema = z.object({
20052029 "ushort": UshortSchema,
20062030 "using": UsingSchema,
20072031 "Utf8JsonReader": Utf8JsonReaderSchema,
2008- "Utf8JsonWriter": Utf8JsonWriterSchema,
2009- "UUID": UuidSchema,
2010- "var": VarSchema,
2011- "virtual": VirtualSchema,
20122032 });
20132033 export type Obj5 = z.infer<typeof Obj5Schema>;
20142034
20152035 export const Obj6Schema = z.object({
20162036 "dummy": z.number().int(),
2037+ "Utf8JsonWriter": Utf8JsonWriterSchema,
2038+ "UUID": UuidSchema,
2039+ "var": VarSchema,
2040+ "virtual": VirtualSchema,
20172041 "void": VoidSchema,
20182042 "volatile": VolatileSchema,
20192043 "wchar_t": WcharTSchema,
Mtypescriptdefault / TopLevel.ts+248 −212
@@ -342,71 +342,71 @@ export interface DateClass {
342342 }
343343
344344 export interface Obj2 {
345- DateFormatter: DateFormatter;
346- DateOnly: DateOnly;
347- DateOnlyConverter: DateOnlyConverter;
348- DateTime: DateTime;
349- DateTimeStyles: DateTimeStyles;
350- Decoder: Decoder;
351- DecodingError: DecodingError;
352- Encoder: Encoder;
353- EnumValues: EnumValues;
354- Equatable: Equatable;
355- False: False;
356- FormatException: FormatException;
357- date_parse_handling: DateParseHandling;
358- debugger: Debugger;
359- decimal: Decimal;
360- declare: Declare;
361- decltype: Decltype;
362- decode_string: DecodeString;
363- def: Def;
364- default: Default;
365- defer: Defer;
366- deinit: Deinit;
367- del: Del;
368- delegate: Delegate;
369- delete: Delete;
370- dict: Dict;
371- dictionary: Dictionary;
372- didSet: DidSet;
373- do: Do;
374- double: Double;
375- dummy: number;
376- dynamic: Dynamic;
377- dynamic_cast: DynamicCast;
378- elif: Elif;
379- else: Else;
380- encode_quick_type: EncodeQuickType;
381- enum: Enum;
382- equalityContract: EqualityContract;
383- event: Event;
384- except: Except;
385- exception: Exception;
386- explicit: Explicit;
387- export: Export;
388- exposing: Exposing;
389- extends: Extends;
390- extension: Extension;
391- extern: Extern;
392- fallthrough: Fallthrough;
393- false: FalseClass;
394- fileprivate: Fileprivate;
395- final: Final;
396- finally: Finally;
397- fixed: Fixed;
398- float: Float;
399- for: For;
400- foreach: Foreach;
401- friend: Friend;
402- from: From;
403- from_json: FromJSON;
404- func: Func;
405- function: Function;
406- get: Get;
407- global: Global;
408- go: Go;
409- goto: Goto;
345+ DateFormatter: DateFormatter;
346+ DateOnly: DateOnly;
347+ DateOnlyConverter: DateOnlyConverter;
348+ DateTime: DateTime;
349+ DateTimeStyles: DateTimeStyles;
350+ Decoder: Decoder;
351+ DecodingError: DecodingError;
352+ DeserializationFeature: DeserializationFeature;
353+ Encoder: Encoder;
354+ EnumValues: EnumValues;
355+ Equatable: Equatable;
356+ False: False;
357+ FormatException: FormatException;
358+ date_parse_handling: DateParseHandling;
359+ debugger: Debugger;
360+ decimal: Decimal;
361+ declare: Declare;
362+ decltype: Decltype;
363+ decode_string: DecodeString;
364+ def: Def;
365+ default: Default;
366+ defer: Defer;
367+ deinit: Deinit;
368+ del: Del;
369+ delegate: Delegate;
370+ delete: Delete;
371+ dict: Dict;
372+ dictionary: Dictionary;
373+ didSet: DidSet;
374+ do: Do;
375+ double: Double;
376+ dummy: number;
377+ dynamic: Dynamic;
378+ dynamic_cast: DynamicCast;
379+ elif: Elif;
380+ else: Else;
381+ encode_quick_type: EncodeQuickType;
382+ enum: Enum;
383+ equalityContract: EqualityContract;
384+ event: Event;
385+ except: Except;
386+ exception: Exception;
387+ explicit: Explicit;
388+ export: Export;
389+ exposing: Exposing;
390+ extends: Extends;
391+ extension: Extension;
392+ extern: Extern;
393+ fallthrough: Fallthrough;
394+ false: FalseClass;
395+ fileprivate: Fileprivate;
396+ final: Final;
397+ finally: Finally;
398+ fixed: Fixed;
399+ float: Float;
400+ for: For;
401+ foreach: Foreach;
402+ friend: Friend;
403+ from: From;
404+ from_json: FromJSON;
405+ func: Func;
406+ function: Function;
407+ get: Get;
408+ global: Global;
409+ go: Go;
410410 }
411411
412412 export interface DateFormatter {
@@ -437,6 +437,10 @@ export interface DecodingError {
437437 DecodingError: number;
438438 }
439439
440+export interface DeserializationFeature {
441+ DeserializationFeature: number;
442+}
443+
440444 export interface Encoder {
441445 Encoder: number;
442446 }
@@ -663,10 +667,6 @@ export interface Go {
663667 go: number;
664668 }
665669
666-export interface Goto {
667- goto: number;
668-}
669-
670670 export interface Obj3 {
671671 Hashable: Hashable;
672672 Hasher: Hasher;
@@ -687,6 +687,7 @@ export interface Obj3 {
687687 MapEntry: MapEntry;
688688 NO: No;
689689 dummy: number;
690+ goto: Goto;
690691 guard: Guard;
691692 hasOwnProperty: HasOwnProperty;
692693 hashCode: HashCode;
@@ -732,7 +733,6 @@ export interface Obj3 {
732733 new: New;
733734 newtonsoft: Newtonsoft;
734735 nil: Nil;
735- noexcept: Noexcept;
736736 }
737737
738738 export interface Hashable {
@@ -807,6 +807,10 @@ export interface No {
807807 NO: number;
808808 }
809809
810+export interface Goto {
811+ goto: number;
812+}
813+
810814 export interface Guard {
811815 guard: number;
812816 }
@@ -987,10 +991,6 @@ export interface Nil {
987991 nil: number;
988992 }
989993
990-export interface Noexcept {
991- noexcept: number;
992-}
993-
994994 export interface Obj4 {
995995 NSError: NSError;
996996 NSObject: NSObject;
@@ -998,11 +998,13 @@ export interface Obj4 {
998998 NULL: Null;
999999 None: None;
10001000 ObjectMapper: ObjectMapper;
1001+ ObjectReader: ObjectReader;
1002+ ObjectWriter: ObjectWriter;
10011003 Protocol: Protocol;
10021004 RegExp: RegExp;
1003- SEL: Sel;
10041005 dummy: number;
10051006 noSuchMethod: NoSuchMethod;
1007+ noexcept: Noexcept;
10061008 nonatomic: Nonatomic;
10071009 none: NoneClass;
10081010 nonlocal: Nonlocal;
@@ -1055,8 +1057,6 @@ export interface Obj4 {
10551057 runtimeType: RuntimeType;
10561058 s: S;
10571059 sbyte: Sbyte;
1058- sealed: Sealed;
1059- select: Select;
10601060 }
10611061
10621062 export interface NSError {
@@ -1083,6 +1083,14 @@ export interface ObjectMapper {
10831083 ObjectMapper: number;
10841084 }
10851085
1086+export interface ObjectReader {
1087+ ObjectReader: number;
1088+}
1089+
1090+export interface ObjectWriter {
1091+ ObjectWriter: number;
1092+}
1093+
10861094 export interface Protocol {
10871095 Protocol: number;
10881096 }
@@ -1091,14 +1099,14 @@ export interface RegExp {
10911099 RegExp: string;
10921100 }
10931101
1094-export interface Sel {
1095- SEL: number;
1096-}
1097-
10981102 export interface NoSuchMethod {
10991103 noSuchMethod: number;
11001104 }
11011105
1106+export interface Noexcept {
1107+ noexcept: number;
1108+}
1109+
11021110 export interface Nonatomic {
11031111 nonatomic: number;
11041112 }
@@ -1307,80 +1315,76 @@ export interface Sbyte {
13071315 sbyte: number;
13081316 }
13091317
1310-export interface Sealed {
1311- sealed: number;
1312-}
1313-
1314-export interface Select {
1315- select: number;
1318+export interface Obj5 {
1319+ SEL: Sel;
1320+ Self: Self;
1321+ Sendable: Sendable;
1322+ SerializationFeature: SerializationFeature;
1323+ SerializerProvider: SerializerProvider;
1324+ SimpleModule: SimpleModule;
1325+ Standards: Standards;
1326+ StdDeserializer: StdDeserializer;
1327+ StdSerializer: StdSerializer;
1328+ TimeOnly: TimeOnly;
1329+ TimeOnlyConverter: TimeOnlyConverter;
1330+ TimeZone: TimeZone;
1331+ True: True;
1332+ Type: Type;
1333+ Utf8JsonReader: Utf8JSONReader;
1334+ dummy: number;
1335+ sealed: Sealed;
1336+ select: Select;
1337+ self: SelfClass;
1338+ serialize: Serialize;
1339+ set: Set;
1340+ short: Short;
1341+ signed: Signed;
1342+ sizeof: Sizeof;
1343+ stackalloc: Stackalloc;
1344+ static: Static;
1345+ static_assert: StaticAssert;
1346+ static_cast: StaticCast;
1347+ strictfp: Strictfp;
1348+ string: String;
1349+ struct: Struct;
1350+ subscript: Subscript;
1351+ super: Super;
1352+ switch: Switch;
1353+ symbol: Symbol;
1354+ synchronized: Synchronized;
1355+ system: System;
1356+ template: Template;
1357+ then: Then;
1358+ this: This;
1359+ thread_local: ThreadLocal;
1360+ throw: Throw;
1361+ throws: Throws;
1362+ toString: ToString;
1363+ to_json: ToJSON;
1364+ top_level: TopLevelClass;
1365+ transient: Transient;
1366+ true: TrueClass;
1367+ try: Try;
1368+ type: TypeClass;
1369+ typealias: Typealias;
1370+ typedef: Typedef;
1371+ typeid: Typeid;
1372+ typename: Typename;
1373+ typeof: Typeof;
1374+ uint: Uint;
1375+ ulong: Ulong;
1376+ unchecked: Unchecked;
1377+ undefined: Undefined;
1378+ union: Union;
1379+ unowned: Unowned;
1380+ unsafe: Unsafe;
1381+ unsigned: Unsigned;
1382+ ushort: Ushort;
1383+ using: Using;
13161384 }
13171385
1318-export interface Obj5 {
1319- Self: Self;
1320- Sendable: Sendable;
1321- SerializerProvider: SerializerProvider;
1322- SimpleModule: SimpleModule;
1323- Standards: Standards;
1324- StdDeserializer: StdDeserializer;
1325- StdSerializer: StdSerializer;
1326- TimeOnly: TimeOnly;
1327- TimeOnlyConverter: TimeOnlyConverter;
1328- TimeZone: TimeZone;
1329- True: True;
1330- Type: Type;
1331- UUID: UUID;
1332- Utf8JsonReader: Utf8JSONReader;
1333- Utf8JsonWriter: Utf8JSONWriter;
1334- dummy: number;
1335- self: SelfClass;
1336- serialize: Serialize;
1337- set: Set;
1338- short: Short;
1339- signed: Signed;
1340- sizeof: Sizeof;
1341- stackalloc: Stackalloc;
1342- static: Static;
1343- static_assert: StaticAssert;
1344- static_cast: StaticCast;
1345- strictfp: Strictfp;
1346- string: String;
1347- struct: Struct;
1348- subscript: Subscript;
1349- super: Super;
1350- switch: Switch;
1351- symbol: Symbol;
1352- synchronized: Synchronized;
1353- system: System;
1354- template: Template;
1355- then: Then;
1356- this: This;
1357- thread_local: ThreadLocal;
1358- throw: Throw;
1359- throws: Throws;
1360- toString: ToString;
1361- to_json: ToJSON;
1362- top_level: TopLevelClass;
1363- transient: Transient;
1364- true: TrueClass;
1365- try: Try;
1366- type: TypeClass;
1367- typealias: Typealias;
1368- typedef: Typedef;
1369- typeid: Typeid;
1370- typename: Typename;
1371- typeof: Typeof;
1372- uint: Uint;
1373- ulong: Ulong;
1374- unchecked: Unchecked;
1375- undefined: Undefined;
1376- union: Union;
1377- unowned: Unowned;
1378- unsafe: Unsafe;
1379- unsigned: Unsigned;
1380- ushort: Ushort;
1381- using: Using;
1382- var: Var;
1383- virtual: Virtual;
1386+export interface Sel {
1387+ SEL: number;
13841388 }
13851389
13861390 export interface Self {
@@ -1391,6 +1395,10 @@ export interface Sendable {
13911395 Sendable: number;
13921396 }
13931397
1398+export interface SerializationFeature {
1399+ SerializationFeature: number;
1400+}
1401+
13941402 export interface SerializerProvider {
13951403 SerializerProvider: number;
13961404 }
@@ -1431,16 +1439,16 @@ export interface Type {
14311439 Type: number;
14321440 }
14331441
1434-export interface UUID {
1435- UUID: number;
1436-}
1437-
14381442 export interface Utf8JSONReader {
14391443 Utf8JsonReader: number;
14401444 }
14411445
1442-export interface Utf8JSONWriter {
1443- Utf8JsonWriter: number;
1446+export interface Sealed {
1447+ sealed: number;
1448+}
1449+
1450+export interface Select {
1451+ select: number;
14441452 }
14451453
14461454 export interface SelfClass {
@@ -1631,34 +1639,46 @@ export interface Using {
16311639 using: number;
16321640 }
16331641
1634-export interface Var {
1635- var: number;
1642+export interface Obj6 {
1643+ UUID: UUID;
1644+ Utf8JsonWriter: Utf8JSONWriter;
1645+ YES: Yes;
1646+ dummy: number;
1647+ var: Var;
1648+ virtual: Virtual;
1649+ void: Void;
1650+ volatile: Volatile;
1651+ wchar_t: WcharT;
1652+ weak: Weak;
1653+ where: Where;
1654+ while: While;
1655+ willSet: WillSet;
1656+ with: With;
1657+ xor: Xor;
1658+ xor_eq: XorEq;
1659+ yield: Yield;
16361660 }
16371661
1638-export interface Virtual {
1639- virtual: number;
1662+export interface UUID {
1663+ UUID: number;
16401664 }
16411665
1642-export interface Obj6 {
1643- YES: Yes;
1644- dummy: number;
1645- void: Void;
1646- volatile: Volatile;
1647- wchar_t: WcharT;
1648- weak: Weak;
1649- where: Where;
1650- while: While;
1651- willSet: WillSet;
1652- with: With;
1653- xor: Xor;
1654- xor_eq: XorEq;
1655- yield: Yield;
1666+export interface Utf8JSONWriter {
1667+ Utf8JsonWriter: number;
16561668 }
16571669
16581670 export interface Yes {
16591671 YES: number;
16601672 }
16611673
1674+export interface Var {
1675+ var: number;
1676+}
1677+
1678+export interface Virtual {
1679+ virtual: number;
1680+}
1681+
16621682 export interface Void {
16631683 void: number;
16641684 }
@@ -2167,6 +2187,7 @@ const typeMap: any = {
21672187 { json: "DateTimeStyles", js: "DateTimeStyles", typ: r("DateTimeStyles") },
21682188 { json: "Decoder", js: "Decoder", typ: r("Decoder") },
21692189 { json: "DecodingError", js: "DecodingError", typ: r("DecodingError") },
2190+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: r("DeserializationFeature") },
21702191 { json: "Encoder", js: "Encoder", typ: r("Encoder") },
21712192 { json: "EnumValues", js: "EnumValues", typ: r("EnumValues") },
21722193 { json: "Equatable", js: "Equatable", typ: r("Equatable") },
@@ -2224,7 +2245,6 @@ const typeMap: any = {
22242245 { json: "get", js: "get", typ: r("Get") },
22252246 { json: "global", js: "global", typ: r("Global") },
22262247 { json: "go", js: "go", typ: r("Go") },
2227- { json: "goto", js: "goto", typ: r("Goto") },
22282248 ], false),
22292249 "DateFormatter": o([
22302250 { json: "DateFormatter", js: "DateFormatter", typ: i(0) },
@@ -2247,6 +2267,9 @@ const typeMap: any = {
22472267 "DecodingError": o([
22482268 { json: "DecodingError", js: "DecodingError", typ: i(0) },
22492269 ], false),
2270+ "DeserializationFeature": o([
2271+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: i(0) },
2272+ ], false),
22502273 "Encoder": o([
22512274 { json: "Encoder", js: "Encoder", typ: i(0) },
22522275 ], false),
@@ -2415,9 +2438,6 @@ const typeMap: any = {
24152438 "Go": o([
24162439 { json: "go", js: "go", typ: i(0) },
24172440 ], false),
2418- "Goto": o([
2419- { json: "goto", js: "goto", typ: i(0) },
2420- ], false),
24212441 "Obj3": o([
24222442 { json: "Hashable", js: "Hashable", typ: r("Hashable") },
24232443 { json: "Hasher", js: "Hasher", typ: r("Hasher") },
@@ -2438,6 +2458,7 @@ const typeMap: any = {
24382458 { json: "MapEntry", js: "MapEntry", typ: r("MapEntry") },
24392459 { json: "NO", js: "NO", typ: r("No") },
24402460 { json: "dummy", js: "dummy", typ: i(0) },
2461+ { json: "goto", js: "goto", typ: r("Goto") },
24412462 { json: "guard", js: "guard", typ: r("Guard") },
24422463 { json: "hasOwnProperty", js: "hasOwnProperty", typ: r("HasOwnProperty") },
24432464 { json: "hashCode", js: "hashCode", typ: r("HashCode") },
@@ -2483,7 +2504,6 @@ const typeMap: any = {
24832504 { json: "new", js: "new", typ: r("New") },
24842505 { json: "newtonsoft", js: "newtonsoft", typ: r("Newtonsoft") },
24852506 { json: "nil", js: "nil", typ: r("Nil") },
2486- { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
24872507 ], false),
24882508 "Hashable": o([
24892509 { json: "Hashable", js: "Hashable", typ: i(0) },
@@ -2539,6 +2559,9 @@ const typeMap: any = {
25392559 "No": o([
25402560 { json: "NO", js: "NO", typ: i(0) },
25412561 ], false),
2562+ "Goto": o([
2563+ { json: "goto", js: "goto", typ: i(0) },
2564+ ], false),
25422565 "Guard": o([
25432566 { json: "guard", js: "guard", typ: i(0) },
25442567 ], false),
@@ -2674,9 +2697,6 @@ const typeMap: any = {
26742697 "Nil": o([
26752698 { json: "nil", js: "nil", typ: i(0) },
26762699 ], false),
2677- "Noexcept": o([
2678- { json: "noexcept", js: "noexcept", typ: i(0) },
2679- ], false),
26802700 "Obj4": o([
26812701 { json: "NSError", js: "NSError", typ: r("NSError") },
26822702 { json: "NSObject", js: "NSObject", typ: r("NSObject") },
@@ -2684,11 +2704,13 @@ const typeMap: any = {
26842704 { json: "NULL", js: "NULL", typ: r("Null") },
26852705 { json: "None", js: "None", typ: r("None") },
26862706 { json: "ObjectMapper", js: "ObjectMapper", typ: r("ObjectMapper") },
2707+ { json: "ObjectReader", js: "ObjectReader", typ: r("ObjectReader") },
2708+ { json: "ObjectWriter", js: "ObjectWriter", typ: r("ObjectWriter") },
26872709 { json: "Protocol", js: "Protocol", typ: r("Protocol") },
26882710 { json: "RegExp", js: "RegExp", typ: r("RegExp") },
2689- { json: "SEL", js: "SEL", typ: r("Sel") },
26902711 { json: "dummy", js: "dummy", typ: i(0) },
26912712 { json: "noSuchMethod", js: "noSuchMethod", typ: r("NoSuchMethod") },
2713+ { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
26922714 { json: "nonatomic", js: "nonatomic", typ: r("Nonatomic") },
26932715 { json: "none", js: "none", typ: r("NoneClass") },
26942716 { json: "nonlocal", js: "nonlocal", typ: r("Nonlocal") },
@@ -2741,8 +2763,6 @@ const typeMap: any = {
27412763 { json: "runtimeType", js: "runtimeType", typ: r("RuntimeType") },
27422764 { json: "s", js: "s", typ: r("S") },
27432765 { json: "sbyte", js: "sbyte", typ: r("Sbyte") },
2744- { json: "sealed", js: "sealed", typ: r("Sealed") },
2745- { json: "select", js: "select", typ: r("Select") },
27462766 ], false),
27472767 "NSError": o([
27482768 { json: "NSError", js: "NSError", typ: i(0) },
@@ -2762,18 +2782,24 @@ const typeMap: any = {
27622782 "ObjectMapper": o([
27632783 { json: "ObjectMapper", js: "ObjectMapper", typ: i(0) },
27642784 ], false),
2785+ "ObjectReader": o([
2786+ { json: "ObjectReader", js: "ObjectReader", typ: i(0) },
2787+ ], false),
2788+ "ObjectWriter": o([
2789+ { json: "ObjectWriter", js: "ObjectWriter", typ: i(0) },
2790+ ], false),
27652791 "Protocol": o([
27662792 { json: "Protocol", js: "Protocol", typ: i(0) },
27672793 ], false),
27682794 "RegExp": o([
27692795 { json: "RegExp", js: "RegExp", typ: { uuid: "" } },
27702796 ], false),
2771- "Sel": o([
2772- { json: "SEL", js: "SEL", typ: i(0) },
2773- ], false),
27742797 "NoSuchMethod": o([
27752798 { json: "noSuchMethod", js: "noSuchMethod", typ: i(0) },
27762799 ], false),
2800+ "Noexcept": o([
2801+ { json: "noexcept", js: "noexcept", typ: i(0) },
2802+ ], false),
27772803 "Nonatomic": o([
27782804 { json: "nonatomic", js: "nonatomic", typ: i(0) },
27792805 ], false),
@@ -2930,15 +2956,11 @@ const typeMap: any = {
29302956 "Sbyte": o([
29312957 { json: "sbyte", js: "sbyte", typ: i(0) },
29322958 ], false),
2933- "Sealed": o([
2934- { json: "sealed", js: "sealed", typ: i(0) },
2935- ], false),
2936- "Select": o([
2937- { json: "select", js: "select", typ: i(0) },
2938- ], false),
29392959 "Obj5": o([
2960+ { json: "SEL", js: "SEL", typ: r("Sel") },
29402961 { json: "Self", js: "Self", typ: r("Self") },
29412962 { json: "Sendable", js: "Sendable", typ: r("Sendable") },
2963+ { json: "SerializationFeature", js: "SerializationFeature", typ: r("SerializationFeature") },
29422964 { json: "SerializerProvider", js: "SerializerProvider", typ: r("SerializerProvider") },
29432965 { json: "SimpleModule", js: "SimpleModule", typ: r("SimpleModule") },
29442966 { json: "Standards", js: "Standards", typ: r("Standards") },
@@ -2949,10 +2971,10 @@ const typeMap: any = {
29492971 { json: "TimeZone", js: "TimeZone", typ: r("TimeZone") },
29502972 { json: "True", js: "True", typ: r("True") },
29512973 { json: "Type", js: "Type", typ: r("Type") },
2952- { json: "UUID", js: "UUID", typ: r("UUID") },
29532974 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: r("Utf8JSONReader") },
2954- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
29552975 { json: "dummy", js: "dummy", typ: i(0) },
2976+ { json: "sealed", js: "sealed", typ: r("Sealed") },
2977+ { json: "select", js: "select", typ: r("Select") },
29562978 { json: "self", js: "self", typ: r("SelfClass") },
29572979 { json: "serialize", js: "serialize", typ: r("Serialize") },
29582980 { json: "set", js: "set", typ: r("Set") },
@@ -3000,8 +3022,9 @@ const typeMap: any = {
30003022 { json: "unsigned", js: "unsigned", typ: r("Unsigned") },
30013023 { json: "ushort", js: "ushort", typ: r("Ushort") },
30023024 { json: "using", js: "using", typ: r("Using") },
3003- { json: "var", js: "var", typ: r("Var") },
3004- { json: "virtual", js: "virtual", typ: r("Virtual") },
3025+ ], false),
3026+ "Sel": o([
3027+ { json: "SEL", js: "SEL", typ: i(0) },
30053028 ], false),
30063029 "Self": o([
30073030 { json: "Self", js: "Self", typ: i(0) },
@@ -3009,6 +3032,9 @@ const typeMap: any = {
30093032 "Sendable": o([
30103033 { json: "Sendable", js: "Sendable", typ: i(0) },
30113034 ], false),
3035+ "SerializationFeature": o([
3036+ { json: "SerializationFeature", js: "SerializationFeature", typ: i(0) },
3037+ ], false),
30123038 "SerializerProvider": o([
30133039 { json: "SerializerProvider", js: "SerializerProvider", typ: i(0) },
30143040 ], false),
@@ -3039,14 +3065,14 @@ const typeMap: any = {
30393065 "Type": o([
30403066 { json: "Type", js: "Type", typ: i(0) },
30413067 ], false),
3042- "UUID": o([
3043- { json: "UUID", js: "UUID", typ: i(0) },
3044- ], false),
30453068 "Utf8JSONReader": o([
30463069 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: i(0) },
30473070 ], false),
3048- "Utf8JSONWriter": o([
3049- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
3071+ "Sealed": o([
3072+ { json: "sealed", js: "sealed", typ: i(0) },
3073+ ], false),
3074+ "Select": o([
3075+ { json: "select", js: "select", typ: i(0) },
30503076 ], false),
30513077 "SelfClass": o([
30523078 { json: "self", js: "self", typ: i(0) },
@@ -3189,15 +3215,13 @@ const typeMap: any = {
31893215 "Using": o([
31903216 { json: "using", js: "using", typ: i(0) },
31913217 ], false),
3192- "Var": o([
3193- { json: "var", js: "var", typ: i(0) },
3194- ], false),
3195- "Virtual": o([
3196- { json: "virtual", js: "virtual", typ: i(0) },
3197- ], false),
31983218 "Obj6": o([
3219+ { json: "UUID", js: "UUID", typ: r("UUID") },
3220+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
31993221 { json: "YES", js: "YES", typ: r("Yes") },
32003222 { json: "dummy", js: "dummy", typ: i(0) },
3223+ { json: "var", js: "var", typ: r("Var") },
3224+ { json: "virtual", js: "virtual", typ: r("Virtual") },
32013225 { json: "void", js: "void", typ: r("Void") },
32023226 { json: "volatile", js: "volatile", typ: r("Volatile") },
32033227 { json: "wchar_t", js: "wchar_t", typ: r("WcharT") },
@@ -3210,9 +3234,21 @@ const typeMap: any = {
32103234 { json: "xor_eq", js: "xor_eq", typ: r("XorEq") },
32113235 { json: "yield", js: "yield", typ: r("Yield") },
32123236 ], false),
3237+ "UUID": o([
3238+ { json: "UUID", js: "UUID", typ: i(0) },
3239+ ], false),
3240+ "Utf8JSONWriter": o([
3241+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
3242+ ], false),
32133243 "Yes": o([
32143244 { json: "YES", js: "YES", typ: i(0) },
32153245 ], false),
3246+ "Var": o([
3247+ { json: "var", js: "var", typ: i(0) },
3248+ ], false),
3249+ "Virtual": o([
3250+ { json: "virtual", js: "virtual", typ: i(0) },
3251+ ], false),
32163252 "Void": o([
32173253 { json: "void", js: "void", typ: i(0) },
32183254 ], false),
Mtypescriptprefer-types-true--df33e18681f9 / TopLevel.ts+248 −212
@@ -342,71 +342,71 @@ export type DateClass = {
342342 }
343343
344344 export type Obj2 = {
345- DateFormatter: DateFormatter;
346- DateOnly: DateOnly;
347- DateOnlyConverter: DateOnlyConverter;
348- DateTime: DateTime;
349- DateTimeStyles: DateTimeStyles;
350- Decoder: Decoder;
351- DecodingError: DecodingError;
352- Encoder: Encoder;
353- EnumValues: EnumValues;
354- Equatable: Equatable;
355- False: False;
356- FormatException: FormatException;
357- date_parse_handling: DateParseHandling;
358- debugger: Debugger;
359- decimal: Decimal;
360- declare: Declare;
361- decltype: Decltype;
362- decode_string: DecodeString;
363- def: Def;
364- default: Default;
365- defer: Defer;
366- deinit: Deinit;
367- del: Del;
368- delegate: Delegate;
369- delete: Delete;
370- dict: Dict;
371- dictionary: Dictionary;
372- didSet: DidSet;
373- do: Do;
374- double: Double;
375- dummy: number;
376- dynamic: Dynamic;
377- dynamic_cast: DynamicCast;
378- elif: Elif;
379- else: Else;
380- encode_quick_type: EncodeQuickType;
381- enum: Enum;
382- equalityContract: EqualityContract;
383- event: Event;
384- except: Except;
385- exception: Exception;
386- explicit: Explicit;
387- export: Export;
388- exposing: Exposing;
389- extends: Extends;
390- extension: Extension;
391- extern: Extern;
392- fallthrough: Fallthrough;
393- false: FalseClass;
394- fileprivate: Fileprivate;
395- final: Final;
396- finally: Finally;
397- fixed: Fixed;
398- float: Float;
399- for: For;
400- foreach: Foreach;
401- friend: Friend;
402- from: From;
403- from_json: FromJSON;
404- func: Func;
405- function: Function;
406- get: Get;
407- global: Global;
408- go: Go;
409- goto: Goto;
345+ DateFormatter: DateFormatter;
346+ DateOnly: DateOnly;
347+ DateOnlyConverter: DateOnlyConverter;
348+ DateTime: DateTime;
349+ DateTimeStyles: DateTimeStyles;
350+ Decoder: Decoder;
351+ DecodingError: DecodingError;
352+ DeserializationFeature: DeserializationFeature;
353+ Encoder: Encoder;
354+ EnumValues: EnumValues;
355+ Equatable: Equatable;
356+ False: False;
357+ FormatException: FormatException;
358+ date_parse_handling: DateParseHandling;
359+ debugger: Debugger;
360+ decimal: Decimal;
361+ declare: Declare;
362+ decltype: Decltype;
363+ decode_string: DecodeString;
364+ def: Def;
365+ default: Default;
366+ defer: Defer;
367+ deinit: Deinit;
368+ del: Del;
369+ delegate: Delegate;
370+ delete: Delete;
371+ dict: Dict;
372+ dictionary: Dictionary;
373+ didSet: DidSet;
374+ do: Do;
375+ double: Double;
376+ dummy: number;
377+ dynamic: Dynamic;
378+ dynamic_cast: DynamicCast;
379+ elif: Elif;
380+ else: Else;
381+ encode_quick_type: EncodeQuickType;
382+ enum: Enum;
383+ equalityContract: EqualityContract;
384+ event: Event;
385+ except: Except;
386+ exception: Exception;
387+ explicit: Explicit;
388+ export: Export;
389+ exposing: Exposing;
390+ extends: Extends;
391+ extension: Extension;
392+ extern: Extern;
393+ fallthrough: Fallthrough;
394+ false: FalseClass;
395+ fileprivate: Fileprivate;
396+ final: Final;
397+ finally: Finally;
398+ fixed: Fixed;
399+ float: Float;
400+ for: For;
401+ foreach: Foreach;
402+ friend: Friend;
403+ from: From;
404+ from_json: FromJSON;
405+ func: Func;
406+ function: Function;
407+ get: Get;
408+ global: Global;
409+ go: Go;
410410 }
411411
412412 export type DateFormatter = {
@@ -437,6 +437,10 @@ export type DecodingError = {
437437 DecodingError: number;
438438 }
439439
440+export type DeserializationFeature = {
441+ DeserializationFeature: number;
442+}
443+
440444 export type Encoder = {
441445 Encoder: number;
442446 }
@@ -663,10 +667,6 @@ export type Go = {
663667 go: number;
664668 }
665669
666-export type Goto = {
667- goto: number;
668-}
669-
670670 export type Obj3 = {
671671 Hashable: Hashable;
672672 Hasher: Hasher;
@@ -687,6 +687,7 @@ export type Obj3 = {
687687 MapEntry: MapEntry;
688688 NO: No;
689689 dummy: number;
690+ goto: Goto;
690691 guard: Guard;
691692 hasOwnProperty: HasOwnProperty;
692693 hashCode: HashCode;
@@ -732,7 +733,6 @@ export type Obj3 = {
732733 new: New;
733734 newtonsoft: Newtonsoft;
734735 nil: Nil;
735- noexcept: Noexcept;
736736 }
737737
738738 export type Hashable = {
@@ -807,6 +807,10 @@ export type No = {
807807 NO: number;
808808 }
809809
810+export type Goto = {
811+ goto: number;
812+}
813+
810814 export type Guard = {
811815 guard: number;
812816 }
@@ -987,10 +991,6 @@ export type Nil = {
987991 nil: number;
988992 }
989993
990-export type Noexcept = {
991- noexcept: number;
992-}
993-
994994 export type Obj4 = {
995995 NSError: NSError;
996996 NSObject: NSObject;
@@ -998,11 +998,13 @@ export type Obj4 = {
998998 NULL: Null;
999999 None: None;
10001000 ObjectMapper: ObjectMapper;
1001+ ObjectReader: ObjectReader;
1002+ ObjectWriter: ObjectWriter;
10011003 Protocol: Protocol;
10021004 RegExp: RegExp;
1003- SEL: Sel;
10041005 dummy: number;
10051006 noSuchMethod: NoSuchMethod;
1007+ noexcept: Noexcept;
10061008 nonatomic: Nonatomic;
10071009 none: NoneClass;
10081010 nonlocal: Nonlocal;
@@ -1055,8 +1057,6 @@ export type Obj4 = {
10551057 runtimeType: RuntimeType;
10561058 s: S;
10571059 sbyte: Sbyte;
1058- sealed: Sealed;
1059- select: Select;
10601060 }
10611061
10621062 export type NSError = {
@@ -1083,6 +1083,14 @@ export type ObjectMapper = {
10831083 ObjectMapper: number;
10841084 }
10851085
1086+export type ObjectReader = {
1087+ ObjectReader: number;
1088+}
1089+
1090+export type ObjectWriter = {
1091+ ObjectWriter: number;
1092+}
1093+
10861094 export type Protocol = {
10871095 Protocol: number;
10881096 }
@@ -1091,14 +1099,14 @@ export type RegExp = {
10911099 RegExp: string;
10921100 }
10931101
1094-export type Sel = {
1095- SEL: number;
1096-}
1097-
10981102 export type NoSuchMethod = {
10991103 noSuchMethod: number;
11001104 }
11011105
1106+export type Noexcept = {
1107+ noexcept: number;
1108+}
1109+
11021110 export type Nonatomic = {
11031111 nonatomic: number;
11041112 }
@@ -1307,80 +1315,76 @@ export type Sbyte = {
13071315 sbyte: number;
13081316 }
13091317
1310-export type Sealed = {
1311- sealed: number;
1312-}
1313-
1314-export type Select = {
1315- select: number;
1318+export type Obj5 = {
1319+ SEL: Sel;
1320+ Self: Self;
1321+ Sendable: Sendable;
1322+ SerializationFeature: SerializationFeature;
1323+ SerializerProvider: SerializerProvider;
1324+ SimpleModule: SimpleModule;
1325+ Standards: Standards;
1326+ StdDeserializer: StdDeserializer;
1327+ StdSerializer: StdSerializer;
1328+ TimeOnly: TimeOnly;
1329+ TimeOnlyConverter: TimeOnlyConverter;
1330+ TimeZone: TimeZone;
1331+ True: True;
1332+ Type: Type;
1333+ Utf8JsonReader: Utf8JSONReader;
1334+ dummy: number;
1335+ sealed: Sealed;
1336+ select: Select;
1337+ self: SelfClass;
1338+ serialize: Serialize;
1339+ set: Set;
1340+ short: Short;
1341+ signed: Signed;
1342+ sizeof: Sizeof;
1343+ stackalloc: Stackalloc;
1344+ static: Static;
1345+ static_assert: StaticAssert;
1346+ static_cast: StaticCast;
1347+ strictfp: Strictfp;
1348+ string: String;
1349+ struct: Struct;
1350+ subscript: Subscript;
1351+ super: Super;
1352+ switch: Switch;
1353+ symbol: Symbol;
1354+ synchronized: Synchronized;
1355+ system: System;
1356+ template: Template;
1357+ then: Then;
1358+ this: This;
1359+ thread_local: ThreadLocal;
1360+ throw: Throw;
1361+ throws: Throws;
1362+ toString: ToString;
1363+ to_json: ToJSON;
1364+ top_level: TopLevelClass;
1365+ transient: Transient;
1366+ true: TrueClass;
1367+ try: Try;
1368+ type: TypeClass;
1369+ typealias: Typealias;
1370+ typedef: Typedef;
1371+ typeid: Typeid;
1372+ typename: Typename;
1373+ typeof: Typeof;
1374+ uint: Uint;
1375+ ulong: Ulong;
1376+ unchecked: Unchecked;
1377+ undefined: Undefined;
1378+ union: Union;
1379+ unowned: Unowned;
1380+ unsafe: Unsafe;
1381+ unsigned: Unsigned;
1382+ ushort: Ushort;
1383+ using: Using;
13161384 }
13171385
1318-export type Obj5 = {
1319- Self: Self;
1320- Sendable: Sendable;
1321- SerializerProvider: SerializerProvider;
1322- SimpleModule: SimpleModule;
1323- Standards: Standards;
1324- StdDeserializer: StdDeserializer;
1325- StdSerializer: StdSerializer;
1326- TimeOnly: TimeOnly;
1327- TimeOnlyConverter: TimeOnlyConverter;
1328- TimeZone: TimeZone;
1329- True: True;
1330- Type: Type;
1331- UUID: UUID;
1332- Utf8JsonReader: Utf8JSONReader;
1333- Utf8JsonWriter: Utf8JSONWriter;
1334- dummy: number;
1335- self: SelfClass;
1336- serialize: Serialize;
1337- set: Set;
1338- short: Short;
1339- signed: Signed;
1340- sizeof: Sizeof;
1341- stackalloc: Stackalloc;
1342- static: Static;
1343- static_assert: StaticAssert;
1344- static_cast: StaticCast;
1345- strictfp: Strictfp;
1346- string: String;
1347- struct: Struct;
1348- subscript: Subscript;
1349- super: Super;
1350- switch: Switch;
1351- symbol: Symbol;
1352- synchronized: Synchronized;
1353- system: System;
1354- template: Template;
1355- then: Then;
1356- this: This;
1357- thread_local: ThreadLocal;
1358- throw: Throw;
1359- throws: Throws;
1360- toString: ToString;
1361- to_json: ToJSON;
1362- top_level: TopLevelClass;
1363- transient: Transient;
1364- true: TrueClass;
1365- try: Try;
1366- type: TypeClass;
1367- typealias: Typealias;
1368- typedef: Typedef;
1369- typeid: Typeid;
1370- typename: Typename;
1371- typeof: Typeof;
1372- uint: Uint;
1373- ulong: Ulong;
1374- unchecked: Unchecked;
1375- undefined: Undefined;
1376- union: Union;
1377- unowned: Unowned;
1378- unsafe: Unsafe;
1379- unsigned: Unsigned;
1380- ushort: Ushort;
1381- using: Using;
1382- var: Var;
1383- virtual: Virtual;
1386+export type Sel = {
1387+ SEL: number;
13841388 }
13851389
13861390 export type Self = {
@@ -1391,6 +1395,10 @@ export type Sendable = {
13911395 Sendable: number;
13921396 }
13931397
1398+export type SerializationFeature = {
1399+ SerializationFeature: number;
1400+}
1401+
13941402 export type SerializerProvider = {
13951403 SerializerProvider: number;
13961404 }
@@ -1431,16 +1439,16 @@ export type Type = {
14311439 Type: number;
14321440 }
14331441
1434-export type UUID = {
1435- UUID: number;
1436-}
1437-
14381442 export type Utf8JSONReader = {
14391443 Utf8JsonReader: number;
14401444 }
14411445
1442-export type Utf8JSONWriter = {
1443- Utf8JsonWriter: number;
1446+export type Sealed = {
1447+ sealed: number;
1448+}
1449+
1450+export type Select = {
1451+ select: number;
14441452 }
14451453
14461454 export type SelfClass = {
@@ -1631,34 +1639,46 @@ export type Using = {
16311639 using: number;
16321640 }
16331641
1634-export type Var = {
1635- var: number;
1642+export type Obj6 = {
1643+ UUID: UUID;
1644+ Utf8JsonWriter: Utf8JSONWriter;
1645+ YES: Yes;
1646+ dummy: number;
1647+ var: Var;
1648+ virtual: Virtual;
1649+ void: Void;
1650+ volatile: Volatile;
1651+ wchar_t: WcharT;
1652+ weak: Weak;
1653+ where: Where;
1654+ while: While;
1655+ willSet: WillSet;
1656+ with: With;
1657+ xor: Xor;
1658+ xor_eq: XorEq;
1659+ yield: Yield;
16361660 }
16371661
1638-export type Virtual = {
1639- virtual: number;
1662+export type UUID = {
1663+ UUID: number;
16401664 }
16411665
1642-export type Obj6 = {
1643- YES: Yes;
1644- dummy: number;
1645- void: Void;
1646- volatile: Volatile;
1647- wchar_t: WcharT;
1648- weak: Weak;
1649- where: Where;
1650- while: While;
1651- willSet: WillSet;
1652- with: With;
1653- xor: Xor;
1654- xor_eq: XorEq;
1655- yield: Yield;
1666+export type Utf8JSONWriter = {
1667+ Utf8JsonWriter: number;
16561668 }
16571669
16581670 export type Yes = {
16591671 YES: number;
16601672 }
16611673
1674+export type Var = {
1675+ var: number;
1676+}
1677+
1678+export type Virtual = {
1679+ virtual: number;
1680+}
1681+
16621682 export type Void = {
16631683 void: number;
16641684 }
@@ -2167,6 +2187,7 @@ const typeMap: any = {
21672187 { json: "DateTimeStyles", js: "DateTimeStyles", typ: r("DateTimeStyles") },
21682188 { json: "Decoder", js: "Decoder", typ: r("Decoder") },
21692189 { json: "DecodingError", js: "DecodingError", typ: r("DecodingError") },
2190+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: r("DeserializationFeature") },
21702191 { json: "Encoder", js: "Encoder", typ: r("Encoder") },
21712192 { json: "EnumValues", js: "EnumValues", typ: r("EnumValues") },
21722193 { json: "Equatable", js: "Equatable", typ: r("Equatable") },
@@ -2224,7 +2245,6 @@ const typeMap: any = {
22242245 { json: "get", js: "get", typ: r("Get") },
22252246 { json: "global", js: "global", typ: r("Global") },
22262247 { json: "go", js: "go", typ: r("Go") },
2227- { json: "goto", js: "goto", typ: r("Goto") },
22282248 ], false),
22292249 "DateFormatter": o([
22302250 { json: "DateFormatter", js: "DateFormatter", typ: i(0) },
@@ -2247,6 +2267,9 @@ const typeMap: any = {
22472267 "DecodingError": o([
22482268 { json: "DecodingError", js: "DecodingError", typ: i(0) },
22492269 ], false),
2270+ "DeserializationFeature": o([
2271+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: i(0) },
2272+ ], false),
22502273 "Encoder": o([
22512274 { json: "Encoder", js: "Encoder", typ: i(0) },
22522275 ], false),
@@ -2415,9 +2438,6 @@ const typeMap: any = {
24152438 "Go": o([
24162439 { json: "go", js: "go", typ: i(0) },
24172440 ], false),
2418- "Goto": o([
2419- { json: "goto", js: "goto", typ: i(0) },
2420- ], false),
24212441 "Obj3": o([
24222442 { json: "Hashable", js: "Hashable", typ: r("Hashable") },
24232443 { json: "Hasher", js: "Hasher", typ: r("Hasher") },
@@ -2438,6 +2458,7 @@ const typeMap: any = {
24382458 { json: "MapEntry", js: "MapEntry", typ: r("MapEntry") },
24392459 { json: "NO", js: "NO", typ: r("No") },
24402460 { json: "dummy", js: "dummy", typ: i(0) },
2461+ { json: "goto", js: "goto", typ: r("Goto") },
24412462 { json: "guard", js: "guard", typ: r("Guard") },
24422463 { json: "hasOwnProperty", js: "hasOwnProperty", typ: r("HasOwnProperty") },
24432464 { json: "hashCode", js: "hashCode", typ: r("HashCode") },
@@ -2483,7 +2504,6 @@ const typeMap: any = {
24832504 { json: "new", js: "new", typ: r("New") },
24842505 { json: "newtonsoft", js: "newtonsoft", typ: r("Newtonsoft") },
24852506 { json: "nil", js: "nil", typ: r("Nil") },
2486- { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
24872507 ], false),
24882508 "Hashable": o([
24892509 { json: "Hashable", js: "Hashable", typ: i(0) },
@@ -2539,6 +2559,9 @@ const typeMap: any = {
25392559 "No": o([
25402560 { json: "NO", js: "NO", typ: i(0) },
25412561 ], false),
2562+ "Goto": o([
2563+ { json: "goto", js: "goto", typ: i(0) },
2564+ ], false),
25422565 "Guard": o([
25432566 { json: "guard", js: "guard", typ: i(0) },
25442567 ], false),
@@ -2674,9 +2697,6 @@ const typeMap: any = {
26742697 "Nil": o([
26752698 { json: "nil", js: "nil", typ: i(0) },
26762699 ], false),
2677- "Noexcept": o([
2678- { json: "noexcept", js: "noexcept", typ: i(0) },
2679- ], false),
26802700 "Obj4": o([
26812701 { json: "NSError", js: "NSError", typ: r("NSError") },
26822702 { json: "NSObject", js: "NSObject", typ: r("NSObject") },
@@ -2684,11 +2704,13 @@ const typeMap: any = {
26842704 { json: "NULL", js: "NULL", typ: r("Null") },
26852705 { json: "None", js: "None", typ: r("None") },
26862706 { json: "ObjectMapper", js: "ObjectMapper", typ: r("ObjectMapper") },
2707+ { json: "ObjectReader", js: "ObjectReader", typ: r("ObjectReader") },
2708+ { json: "ObjectWriter", js: "ObjectWriter", typ: r("ObjectWriter") },
26872709 { json: "Protocol", js: "Protocol", typ: r("Protocol") },
26882710 { json: "RegExp", js: "RegExp", typ: r("RegExp") },
2689- { json: "SEL", js: "SEL", typ: r("Sel") },
26902711 { json: "dummy", js: "dummy", typ: i(0) },
26912712 { json: "noSuchMethod", js: "noSuchMethod", typ: r("NoSuchMethod") },
2713+ { json: "noexcept", js: "noexcept", typ: r("Noexcept") },
26922714 { json: "nonatomic", js: "nonatomic", typ: r("Nonatomic") },
26932715 { json: "none", js: "none", typ: r("NoneClass") },
26942716 { json: "nonlocal", js: "nonlocal", typ: r("Nonlocal") },
@@ -2741,8 +2763,6 @@ const typeMap: any = {
27412763 { json: "runtimeType", js: "runtimeType", typ: r("RuntimeType") },
27422764 { json: "s", js: "s", typ: r("S") },
27432765 { json: "sbyte", js: "sbyte", typ: r("Sbyte") },
2744- { json: "sealed", js: "sealed", typ: r("Sealed") },
2745- { json: "select", js: "select", typ: r("Select") },
27462766 ], false),
27472767 "NSError": o([
27482768 { json: "NSError", js: "NSError", typ: i(0) },
@@ -2762,18 +2782,24 @@ const typeMap: any = {
27622782 "ObjectMapper": o([
27632783 { json: "ObjectMapper", js: "ObjectMapper", typ: i(0) },
27642784 ], false),
2785+ "ObjectReader": o([
2786+ { json: "ObjectReader", js: "ObjectReader", typ: i(0) },
2787+ ], false),
2788+ "ObjectWriter": o([
2789+ { json: "ObjectWriter", js: "ObjectWriter", typ: i(0) },
2790+ ], false),
27652791 "Protocol": o([
27662792 { json: "Protocol", js: "Protocol", typ: i(0) },
27672793 ], false),
27682794 "RegExp": o([
27692795 { json: "RegExp", js: "RegExp", typ: { uuid: "" } },
27702796 ], false),
2771- "Sel": o([
2772- { json: "SEL", js: "SEL", typ: i(0) },
2773- ], false),
27742797 "NoSuchMethod": o([
27752798 { json: "noSuchMethod", js: "noSuchMethod", typ: i(0) },
27762799 ], false),
2800+ "Noexcept": o([
2801+ { json: "noexcept", js: "noexcept", typ: i(0) },
2802+ ], false),
27772803 "Nonatomic": o([
27782804 { json: "nonatomic", js: "nonatomic", typ: i(0) },
27792805 ], false),
@@ -2930,15 +2956,11 @@ const typeMap: any = {
29302956 "Sbyte": o([
29312957 { json: "sbyte", js: "sbyte", typ: i(0) },
29322958 ], false),
2933- "Sealed": o([
2934- { json: "sealed", js: "sealed", typ: i(0) },
2935- ], false),
2936- "Select": o([
2937- { json: "select", js: "select", typ: i(0) },
2938- ], false),
29392959 "Obj5": o([
2960+ { json: "SEL", js: "SEL", typ: r("Sel") },
29402961 { json: "Self", js: "Self", typ: r("Self") },
29412962 { json: "Sendable", js: "Sendable", typ: r("Sendable") },
2963+ { json: "SerializationFeature", js: "SerializationFeature", typ: r("SerializationFeature") },
29422964 { json: "SerializerProvider", js: "SerializerProvider", typ: r("SerializerProvider") },
29432965 { json: "SimpleModule", js: "SimpleModule", typ: r("SimpleModule") },
29442966 { json: "Standards", js: "Standards", typ: r("Standards") },
@@ -2949,10 +2971,10 @@ const typeMap: any = {
29492971 { json: "TimeZone", js: "TimeZone", typ: r("TimeZone") },
29502972 { json: "True", js: "True", typ: r("True") },
29512973 { json: "Type", js: "Type", typ: r("Type") },
2952- { json: "UUID", js: "UUID", typ: r("UUID") },
29532974 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: r("Utf8JSONReader") },
2954- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
29552975 { json: "dummy", js: "dummy", typ: i(0) },
2976+ { json: "sealed", js: "sealed", typ: r("Sealed") },
2977+ { json: "select", js: "select", typ: r("Select") },
29562978 { json: "self", js: "self", typ: r("SelfClass") },
29572979 { json: "serialize", js: "serialize", typ: r("Serialize") },
29582980 { json: "set", js: "set", typ: r("Set") },
@@ -3000,8 +3022,9 @@ const typeMap: any = {
30003022 { json: "unsigned", js: "unsigned", typ: r("Unsigned") },
30013023 { json: "ushort", js: "ushort", typ: r("Ushort") },
30023024 { json: "using", js: "using", typ: r("Using") },
3003- { json: "var", js: "var", typ: r("Var") },
3004- { json: "virtual", js: "virtual", typ: r("Virtual") },
3025+ ], false),
3026+ "Sel": o([
3027+ { json: "SEL", js: "SEL", typ: i(0) },
30053028 ], false),
30063029 "Self": o([
30073030 { json: "Self", js: "Self", typ: i(0) },
@@ -3009,6 +3032,9 @@ const typeMap: any = {
30093032 "Sendable": o([
30103033 { json: "Sendable", js: "Sendable", typ: i(0) },
30113034 ], false),
3035+ "SerializationFeature": o([
3036+ { json: "SerializationFeature", js: "SerializationFeature", typ: i(0) },
3037+ ], false),
30123038 "SerializerProvider": o([
30133039 { json: "SerializerProvider", js: "SerializerProvider", typ: i(0) },
30143040 ], false),
@@ -3039,14 +3065,14 @@ const typeMap: any = {
30393065 "Type": o([
30403066 { json: "Type", js: "Type", typ: i(0) },
30413067 ], false),
3042- "UUID": o([
3043- { json: "UUID", js: "UUID", typ: i(0) },
3044- ], false),
30453068 "Utf8JSONReader": o([
30463069 { json: "Utf8JsonReader", js: "Utf8JsonReader", typ: i(0) },
30473070 ], false),
3048- "Utf8JSONWriter": o([
3049- { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
3071+ "Sealed": o([
3072+ { json: "sealed", js: "sealed", typ: i(0) },
3073+ ], false),
3074+ "Select": o([
3075+ { json: "select", js: "select", typ: i(0) },
30503076 ], false),
30513077 "SelfClass": o([
30523078 { json: "self", js: "self", typ: i(0) },
@@ -3189,15 +3215,13 @@ const typeMap: any = {
31893215 "Using": o([
31903216 { json: "using", js: "using", typ: i(0) },
31913217 ], false),
3192- "Var": o([
3193- { json: "var", js: "var", typ: i(0) },
3194- ], false),
3195- "Virtual": o([
3196- { json: "virtual", js: "virtual", typ: i(0) },
3197- ], false),
31983218 "Obj6": o([
3219+ { json: "UUID", js: "UUID", typ: r("UUID") },
3220+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: r("Utf8JSONWriter") },
31993221 { json: "YES", js: "YES", typ: r("Yes") },
32003222 { json: "dummy", js: "dummy", typ: i(0) },
3223+ { json: "var", js: "var", typ: r("Var") },
3224+ { json: "virtual", js: "virtual", typ: r("Virtual") },
32013225 { json: "void", js: "void", typ: r("Void") },
32023226 { json: "volatile", js: "volatile", typ: r("Volatile") },
32033227 { json: "wchar_t", js: "wchar_t", typ: r("WcharT") },
@@ -3210,9 +3234,21 @@ const typeMap: any = {
32103234 { json: "xor_eq", js: "xor_eq", typ: r("XorEq") },
32113235 { json: "yield", js: "yield", typ: r("Yield") },
32123236 ], false),
3237+ "UUID": o([
3238+ { json: "UUID", js: "UUID", typ: i(0) },
3239+ ], false),
3240+ "Utf8JSONWriter": o([
3241+ { json: "Utf8JsonWriter", js: "Utf8JsonWriter", typ: i(0) },
3242+ ], false),
32133243 "Yes": o([
32143244 { json: "YES", js: "YES", typ: i(0) },
32153245 ], false),
3246+ "Var": o([
3247+ { json: "var", js: "var", typ: i(0) },
3248+ ], false),
3249+ "Virtual": o([
3250+ { json: "virtual", js: "virtual", typ: i(0) },
3251+ ], false),
32163252 "Void": o([
32173253 { json: "void", js: "void", typ: i(0) },
32183254 ], false),
Test case

test/inputs/schema/keyword-enum.schema

34 generated files · +284 −12
Mschema-cjsondefault / TopLevel.c+8 −0
@@ -81,6 +81,7 @@ enum Enum cJSON_GetEnumValue(const cJSON * j) {
8181 else if (!strcmp(cJSON_GetStringValue(j), "debugger")) x = ENUM_DEBUGGER;
8282 else if (!strcmp(cJSON_GetStringValue(j), "decimal")) x = ENUM_DECIMAL;
8383 else if (!strcmp(cJSON_GetStringValue(j), "declare")) x = ENUM_DECLARE;
84+ else if (!strcmp(cJSON_GetStringValue(j), "DeserializationFeature")) x = ENUM_DESERIALIZATION_FEATURE;
8485 else if (!strcmp(cJSON_GetStringValue(j), "decltype")) x = ENUM_DECLTYPE;
8586 else if (!strcmp(cJSON_GetStringValue(j), "decode_string")) x = ENUM_DECODE_STRING;
8687 else if (!strcmp(cJSON_GetStringValue(j), "Decoder")) x = ENUM_DECODER;
@@ -217,6 +218,8 @@ enum Enum cJSON_GetEnumValue(const cJSON * j) {
217218 else if (!strcmp(cJSON_GetStringValue(j), "number")) x = ENUM_NUMBER;
218219 else if (!strcmp(cJSON_GetStringValue(j), "object")) x = ENUM_OBJECT;
219220 else if (!strcmp(cJSON_GetStringValue(j), "ObjectMapper")) x = ENUM_OBJECT_MAPPER;
221+ else if (!strcmp(cJSON_GetStringValue(j), "ObjectReader")) x = ENUM_OBJECT_READER;
222+ else if (!strcmp(cJSON_GetStringValue(j), "ObjectWriter")) x = ENUM_OBJECT_WRITER;
220223 else if (!strcmp(cJSON_GetStringValue(j), "of")) x = ENUM_OF;
221224 else if (!strcmp(cJSON_GetStringValue(j), "oneway")) x = ENUM_ONEWAY;
222225 else if (!strcmp(cJSON_GetStringValue(j), "open")) x = ENUM_OPEN;
@@ -268,6 +271,7 @@ enum Enum cJSON_GetEnumValue(const cJSON * j) {
268271 else if (!strcmp(cJSON_GetStringValue(j), "self")) x = ENUM_ENUM_SELF;
269272 else if (!strcmp(cJSON_GetStringValue(j), "Sendable")) x = ENUM_SENDABLE;
270273 else if (!strcmp(cJSON_GetStringValue(j), "serialize")) x = ENUM_SERIALIZE;
274+ else if (!strcmp(cJSON_GetStringValue(j), "SerializationFeature")) x = ENUM_SERIALIZATION_FEATURE;
271275 else if (!strcmp(cJSON_GetStringValue(j), "SerializerProvider")) x = ENUM_SERIALIZER_PROVIDER;
272276 else if (!strcmp(cJSON_GetStringValue(j), "set")) x = ENUM_SET;
273277 else if (!strcmp(cJSON_GetStringValue(j), "short")) x = ENUM_SHORT;
@@ -421,6 +425,7 @@ cJSON * cJSON_CreateEnum(const enum Enum x) {
421425 case ENUM_DEBUGGER: j = cJSON_CreateString("debugger"); break;
422426 case ENUM_DECIMAL: j = cJSON_CreateString("decimal"); break;
423427 case ENUM_DECLARE: j = cJSON_CreateString("declare"); break;
428+ case ENUM_DESERIALIZATION_FEATURE: j = cJSON_CreateString("DeserializationFeature"); break;
424429 case ENUM_DECLTYPE: j = cJSON_CreateString("decltype"); break;
425430 case ENUM_DECODE_STRING: j = cJSON_CreateString("decode_string"); break;
426431 case ENUM_DECODER: j = cJSON_CreateString("Decoder"); break;
@@ -557,6 +562,8 @@ cJSON * cJSON_CreateEnum(const enum Enum x) {
557562 case ENUM_NUMBER: j = cJSON_CreateString("number"); break;
558563 case ENUM_OBJECT: j = cJSON_CreateString("object"); break;
559564 case ENUM_OBJECT_MAPPER: j = cJSON_CreateString("ObjectMapper"); break;
565+ case ENUM_OBJECT_READER: j = cJSON_CreateString("ObjectReader"); break;
566+ case ENUM_OBJECT_WRITER: j = cJSON_CreateString("ObjectWriter"); break;
560567 case ENUM_OF: j = cJSON_CreateString("of"); break;
561568 case ENUM_ONEWAY: j = cJSON_CreateString("oneway"); break;
562569 case ENUM_OPEN: j = cJSON_CreateString("open"); break;
@@ -608,6 +615,7 @@ cJSON * cJSON_CreateEnum(const enum Enum x) {
608615 case ENUM_ENUM_SELF: j = cJSON_CreateString("self"); break;
609616 case ENUM_SENDABLE: j = cJSON_CreateString("Sendable"); break;
610617 case ENUM_SERIALIZE: j = cJSON_CreateString("serialize"); break;
618+ case ENUM_SERIALIZATION_FEATURE: j = cJSON_CreateString("SerializationFeature"); break;
611619 case ENUM_SERIALIZER_PROVIDER: j = cJSON_CreateString("SerializerProvider"); break;
612620 case ENUM_SET: j = cJSON_CreateString("set"); break;
613621 case ENUM_SHORT: j = cJSON_CreateString("short"); break;
Mschema-cjsondefault / TopLevel.h+4 −0
@@ -122,6 +122,7 @@ enum Enum {
122122 ENUM_DEBUGGER,
123123 ENUM_DECIMAL,
124124 ENUM_DECLARE,
125+ ENUM_DESERIALIZATION_FEATURE,
125126 ENUM_DECLTYPE,
126127 ENUM_DECODE_STRING,
127128 ENUM_DECODER,
@@ -258,6 +259,8 @@ enum Enum {
258259 ENUM_NUMBER,
259260 ENUM_OBJECT,
260261 ENUM_OBJECT_MAPPER,
262+ ENUM_OBJECT_READER,
263+ ENUM_OBJECT_WRITER,
261264 ENUM_OF,
262265 ENUM_ONEWAY,
263266 ENUM_OPEN,
@@ -309,6 +312,7 @@ enum Enum {
309312 ENUM_ENUM_SELF,
310313 ENUM_SENDABLE,
311314 ENUM_SERIALIZE,
315+ ENUM_SERIALIZATION_FEATURE,
312316 ENUM_SERIALIZER_PROVIDER,
313317 ENUM_SET,
314318 ENUM_SHORT,
Mschema-cplusplusdefault / quicktype.hpp+9 −1
@@ -89,7 +89,7 @@ namespace quicktype {
8989 }
9090 #endif
9191
92- enum class Enum : int { EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, ENUM_NULL, PURPLE_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY };
92+ enum class Enum : int { EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DESERIALIZATION_FEATURE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, ENUM_NULL, PURPLE_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OBJECT_READER, OBJECT_WRITER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZATION_FEATURE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY };
9393
9494 class TopLevel {
9595 public:
@@ -199,6 +199,7 @@ namespace quicktype {
199199 {"debugger", Enum::DEBUGGER},
200200 {"decimal", Enum::DECIMAL},
201201 {"declare", Enum::DECLARE},
202+ {"DeserializationFeature", Enum::DESERIALIZATION_FEATURE},
202203 {"decltype", Enum::DECLTYPE},
203204 {"decode_string", Enum::DECODE_STRING},
204205 {"Decoder", Enum::DECODER},
@@ -335,6 +336,8 @@ namespace quicktype {
335336 {"number", Enum::NUMBER},
336337 {"object", Enum::OBJECT},
337338 {"ObjectMapper", Enum::OBJECT_MAPPER},
339+ {"ObjectReader", Enum::OBJECT_READER},
340+ {"ObjectWriter", Enum::OBJECT_WRITER},
338341 {"of", Enum::OF},
339342 {"oneway", Enum::ONEWAY},
340343 {"open", Enum::OPEN},
@@ -386,6 +389,7 @@ namespace quicktype {
386389 {"self", Enum::ENUM_SELF},
387390 {"Sendable", Enum::SENDABLE},
388391 {"serialize", Enum::SERIALIZE},
392+ {"SerializationFeature", Enum::SERIALIZATION_FEATURE},
389393 {"SerializerProvider", Enum::SERIALIZER_PROVIDER},
390394 {"set", Enum::SET},
391395 {"short", Enum::SHORT},
@@ -542,6 +546,7 @@ namespace quicktype {
542546 case Enum::DEBUGGER: j = "debugger"; break;
543547 case Enum::DECIMAL: j = "decimal"; break;
544548 case Enum::DECLARE: j = "declare"; break;
549+ case Enum::DESERIALIZATION_FEATURE: j = "DeserializationFeature"; break;
545550 case Enum::DECLTYPE: j = "decltype"; break;
546551 case Enum::DECODE_STRING: j = "decode_string"; break;
547552 case Enum::DECODER: j = "Decoder"; break;
@@ -678,6 +683,8 @@ namespace quicktype {
678683 case Enum::NUMBER: j = "number"; break;
679684 case Enum::OBJECT: j = "object"; break;
680685 case Enum::OBJECT_MAPPER: j = "ObjectMapper"; break;
686+ case Enum::OBJECT_READER: j = "ObjectReader"; break;
687+ case Enum::OBJECT_WRITER: j = "ObjectWriter"; break;
681688 case Enum::OF: j = "of"; break;
682689 case Enum::ONEWAY: j = "oneway"; break;
683690 case Enum::OPEN: j = "open"; break;
@@ -729,6 +736,7 @@ namespace quicktype {
729736 case Enum::ENUM_SELF: j = "self"; break;
730737 case Enum::SENDABLE: j = "Sendable"; break;
731738 case Enum::SERIALIZE: j = "serialize"; break;
739+ case Enum::SERIALIZATION_FEATURE: j = "SerializationFeature"; break;
732740 case Enum::SERIALIZER_PROVIDER: j = "SerializerProvider"; break;
733741 case Enum::SET: j = "set"; break;
734742 case Enum::SHORT: j = "short"; break;
Mschema-csharp-recordsdefault / QuickType.cs+21 −1
@@ -29,7 +29,7 @@ namespace QuickType
2929 public Enum? Enum { get; set; }
3030 }
3131
32- public enum Enum { Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, Asm, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBool, PurpleBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJson, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, Id, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, IsoDateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, Json, JsonConverter, JsonSerializer, JsonToken, JsonWriter, JsonAny, JsonCodingKey, JsonDecoder, JsonEncoder, JsonException, JsonGenerator, JsonNode, JsonNull, JsonParser, JsonReader, JsonTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NsObject, NoSuchMethod, Not, NotEq, NsError, NsString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJson, TopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JsonReader, Utf8JsonWriter, Uuid, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy };
32+ public enum Enum { Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, Asm, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBool, PurpleBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, DeserializationFeature, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJson, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, Id, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, IsoDateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, Json, JsonConverter, JsonSerializer, JsonToken, JsonWriter, JsonAny, JsonCodingKey, JsonDecoder, JsonEncoder, JsonException, JsonGenerator, JsonNode, JsonNull, JsonParser, JsonReader, JsonTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NsObject, NoSuchMethod, Not, NotEq, NsError, NsString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, ObjectReader, ObjectWriter, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializationFeature, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJson, TopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JsonReader, Utf8JsonWriter, Uuid, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy };
3333
3434 public partial record TopLevel
3535 {
@@ -211,6 +211,8 @@ namespace QuickType
211211 return Enum.Decimal;
212212 case "declare":
213213 return Enum.Declare;
214+ case "DeserializationFeature":
215+ return Enum.DeserializationFeature;
214216 case "decltype":
215217 return Enum.Decltype;
216218 case "decode_string":
@@ -483,6 +485,10 @@ namespace QuickType
483485 return Enum.Object;
484486 case "ObjectMapper":
485487 return Enum.ObjectMapper;
488+ case "ObjectReader":
489+ return Enum.ObjectReader;
490+ case "ObjectWriter":
491+ return Enum.ObjectWriter;
486492 case "of":
487493 return Enum.Of;
488494 case "oneway":
@@ -585,6 +591,8 @@ namespace QuickType
585591 return Enum.Sendable;
586592 case "serialize":
587593 return Enum.Serialize;
594+ case "SerializationFeature":
595+ return Enum.SerializationFeature;
588596 case "SerializerProvider":
589597 return Enum.SerializerProvider;
590598 case "set":
@@ -964,6 +972,9 @@ namespace QuickType
964972 case Enum.Declare:
965973 serializer.Serialize(writer, "declare");
966974 return;
975+ case Enum.DeserializationFeature:
976+ serializer.Serialize(writer, "DeserializationFeature");
977+ return;
967978 case Enum.Decltype:
968979 serializer.Serialize(writer, "decltype");
969980 return;
@@ -1372,6 +1383,12 @@ namespace QuickType
13721383 case Enum.ObjectMapper:
13731384 serializer.Serialize(writer, "ObjectMapper");
13741385 return;
1386+ case Enum.ObjectReader:
1387+ serializer.Serialize(writer, "ObjectReader");
1388+ return;
1389+ case Enum.ObjectWriter:
1390+ serializer.Serialize(writer, "ObjectWriter");
1391+ return;
13751392 case Enum.Of:
13761393 serializer.Serialize(writer, "of");
13771394 return;
@@ -1525,6 +1542,9 @@ namespace QuickType
15251542 case Enum.Serialize:
15261543 serializer.Serialize(writer, "serialize");
15271544 return;
1545+ case Enum.SerializationFeature:
1546+ serializer.Serialize(writer, "SerializationFeature");
1547+ return;
15281548 case Enum.SerializerProvider:
15291549 serializer.Serialize(writer, "SerializerProvider");
15301550 return;
Mschema-csharp-SystemTextJsondefault / QuickType.cs+21 −1
@@ -27,7 +27,7 @@ namespace QuickType
2727 public Enum? Enum { get; set; }
2828 }
2929
30- public enum Enum { Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, Asm, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBool, PurpleBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJson, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, Id, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, IsoDateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, Json, JsonConverter, JsonSerializer, JsonToken, JsonWriter, JsonAny, JsonCodingKey, JsonDecoder, JsonEncoder, JsonException, JsonGenerator, JsonNode, JsonNull, JsonParser, JsonReader, JsonTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NsObject, NoSuchMethod, Not, NotEq, NsError, NsString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJson, TopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JsonReader, Utf8JsonWriter, Uuid, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy };
30+ public enum Enum { Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, Asm, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBool, PurpleBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, DeserializationFeature, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJson, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, Id, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, IsoDateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, Json, JsonConverter, JsonSerializer, JsonToken, JsonWriter, JsonAny, JsonCodingKey, JsonDecoder, JsonEncoder, JsonException, JsonGenerator, JsonNode, JsonNull, JsonParser, JsonReader, JsonTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NsObject, NoSuchMethod, Not, NotEq, NsError, NsString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, ObjectReader, ObjectWriter, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializationFeature, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJson, TopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JsonReader, Utf8JsonWriter, Uuid, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy };
3131
3232 public partial class TopLevel
3333 {
@@ -208,6 +208,8 @@ namespace QuickType
208208 return Enum.Decimal;
209209 case "declare":
210210 return Enum.Declare;
211+ case "DeserializationFeature":
212+ return Enum.DeserializationFeature;
211213 case "decltype":
212214 return Enum.Decltype;
213215 case "decode_string":
@@ -480,6 +482,10 @@ namespace QuickType
480482 return Enum.Object;
481483 case "ObjectMapper":
482484 return Enum.ObjectMapper;
485+ case "ObjectReader":
486+ return Enum.ObjectReader;
487+ case "ObjectWriter":
488+ return Enum.ObjectWriter;
483489 case "of":
484490 return Enum.Of;
485491 case "oneway":
@@ -582,6 +588,8 @@ namespace QuickType
582588 return Enum.Sendable;
583589 case "serialize":
584590 return Enum.Serialize;
591+ case "SerializationFeature":
592+ return Enum.SerializationFeature;
585593 case "SerializerProvider":
586594 return Enum.SerializerProvider;
587595 case "set":
@@ -955,6 +963,9 @@ namespace QuickType
955963 case Enum.Declare:
956964 JsonSerializer.Serialize(writer, "declare", options);
957965 return;
966+ case Enum.DeserializationFeature:
967+ JsonSerializer.Serialize(writer, "DeserializationFeature", options);
968+ return;
958969 case Enum.Decltype:
959970 JsonSerializer.Serialize(writer, "decltype", options);
960971 return;
@@ -1363,6 +1374,12 @@ namespace QuickType
13631374 case Enum.ObjectMapper:
13641375 JsonSerializer.Serialize(writer, "ObjectMapper", options);
13651376 return;
1377+ case Enum.ObjectReader:
1378+ JsonSerializer.Serialize(writer, "ObjectReader", options);
1379+ return;
1380+ case Enum.ObjectWriter:
1381+ JsonSerializer.Serialize(writer, "ObjectWriter", options);
1382+ return;
13661383 case Enum.Of:
13671384 JsonSerializer.Serialize(writer, "of", options);
13681385 return;
@@ -1516,6 +1533,9 @@ namespace QuickType
15161533 case Enum.Serialize:
15171534 JsonSerializer.Serialize(writer, "serialize", options);
15181535 return;
1536+ case Enum.SerializationFeature:
1537+ JsonSerializer.Serialize(writer, "SerializationFeature", options);
1538+ return;
15191539 case Enum.SerializerProvider:
15201540 JsonSerializer.Serialize(writer, "SerializerProvider", options);
15211541 return;
Mschema-csharpdefault / QuickType.cs+21 −1
@@ -29,7 +29,7 @@ namespace QuickType
2929 public Enum? Enum { get; set; }
3030 }
3131
32- public enum Enum { Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, Asm, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBool, PurpleBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJson, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, Id, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, IsoDateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, Json, JsonConverter, JsonSerializer, JsonToken, JsonWriter, JsonAny, JsonCodingKey, JsonDecoder, JsonEncoder, JsonException, JsonGenerator, JsonNode, JsonNull, JsonParser, JsonReader, JsonTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NsObject, NoSuchMethod, Not, NotEq, NsError, NsString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJson, TopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JsonReader, Utf8JsonWriter, Uuid, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy };
32+ public enum Enum { Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, Asm, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBool, PurpleBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, DeserializationFeature, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJson, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, Id, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, IsoDateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, Json, JsonConverter, JsonSerializer, JsonToken, JsonWriter, JsonAny, JsonCodingKey, JsonDecoder, JsonEncoder, JsonException, JsonGenerator, JsonNode, JsonNull, JsonParser, JsonReader, JsonTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NsObject, NoSuchMethod, Not, NotEq, NsError, NsString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, ObjectReader, ObjectWriter, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializationFeature, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJson, TopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JsonReader, Utf8JsonWriter, Uuid, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy };
3333
3434 public partial class TopLevel
3535 {
@@ -211,6 +211,8 @@ namespace QuickType
211211 return Enum.Decimal;
212212 case "declare":
213213 return Enum.Declare;
214+ case "DeserializationFeature":
215+ return Enum.DeserializationFeature;
214216 case "decltype":
215217 return Enum.Decltype;
216218 case "decode_string":
@@ -483,6 +485,10 @@ namespace QuickType
483485 return Enum.Object;
484486 case "ObjectMapper":
485487 return Enum.ObjectMapper;
488+ case "ObjectReader":
489+ return Enum.ObjectReader;
490+ case "ObjectWriter":
491+ return Enum.ObjectWriter;
486492 case "of":
487493 return Enum.Of;
488494 case "oneway":
@@ -585,6 +591,8 @@ namespace QuickType
585591 return Enum.Sendable;
586592 case "serialize":
587593 return Enum.Serialize;
594+ case "SerializationFeature":
595+ return Enum.SerializationFeature;
588596 case "SerializerProvider":
589597 return Enum.SerializerProvider;
590598 case "set":
@@ -964,6 +972,9 @@ namespace QuickType
964972 case Enum.Declare:
965973 serializer.Serialize(writer, "declare");
966974 return;
975+ case Enum.DeserializationFeature:
976+ serializer.Serialize(writer, "DeserializationFeature");
977+ return;
967978 case Enum.Decltype:
968979 serializer.Serialize(writer, "decltype");
969980 return;
@@ -1372,6 +1383,12 @@ namespace QuickType
13721383 case Enum.ObjectMapper:
13731384 serializer.Serialize(writer, "ObjectMapper");
13741385 return;
1386+ case Enum.ObjectReader:
1387+ serializer.Serialize(writer, "ObjectReader");
1388+ return;
1389+ case Enum.ObjectWriter:
1390+ serializer.Serialize(writer, "ObjectWriter");
1391+ return;
13751392 case Enum.Of:
13761393 serializer.Serialize(writer, "of");
13771394 return;
@@ -1525,6 +1542,9 @@ namespace QuickType
15251542 case Enum.Serialize:
15261543 serializer.Serialize(writer, "serialize");
15271544 return;
1545+ case Enum.SerializationFeature:
1546+ serializer.Serialize(writer, "SerializationFeature");
1547+ return;
15281548 case Enum.SerializerProvider:
15291549 serializer.Serialize(writer, "SerializerProvider");
15301550 return;
Mschema-dartdefault / TopLevel.dart+8 −0
@@ -98,6 +98,7 @@ enum Enum {
9898 DEBUGGER,
9999 DECIMAL,
100100 DECLARE,
101+ DESERIALIZATION_FEATURE,
101102 DECLTYPE,
102103 DECODE_STRING,
103104 DECODER,
@@ -234,6 +235,8 @@ enum Enum {
234235 NUMBER,
235236 OBJECT,
236237 OBJECT_MAPPER,
238+ OBJECT_READER,
239+ OBJECT_WRITER,
237240 OF,
238241 ONEWAY,
239242 OPEN,
@@ -285,6 +288,7 @@ enum Enum {
285288 ENUM_SELF,
286289 SENDABLE,
287290 SERIALIZE,
291+ SERIALIZATION_FEATURE,
288292 SERIALIZER_PROVIDER,
289293 SET,
290294 SHORT,
@@ -434,6 +438,7 @@ final enumValues = EnumValues({
434438 "debugger": Enum.DEBUGGER,
435439 "decimal": Enum.DECIMAL,
436440 "declare": Enum.DECLARE,
441+ "DeserializationFeature": Enum.DESERIALIZATION_FEATURE,
437442 "decltype": Enum.DECLTYPE,
438443 "decode_string": Enum.DECODE_STRING,
439444 "Decoder": Enum.DECODER,
@@ -570,6 +575,8 @@ final enumValues = EnumValues({
570575 "number": Enum.NUMBER,
571576 "object": Enum.OBJECT,
572577 "ObjectMapper": Enum.OBJECT_MAPPER,
578+ "ObjectReader": Enum.OBJECT_READER,
579+ "ObjectWriter": Enum.OBJECT_WRITER,
573580 "of": Enum.OF,
574581 "oneway": Enum.ONEWAY,
575582 "open": Enum.OPEN,
@@ -621,6 +628,7 @@ final enumValues = EnumValues({
621628 "self": Enum.ENUM_SELF,
622629 "Sendable": Enum.SENDABLE,
623630 "serialize": Enum.SERIALIZE,
631+ "SerializationFeature": Enum.SERIALIZATION_FEATURE,
624632 "SerializerProvider": Enum.SERIALIZER_PROVIDER,
625633 "set": Enum.SET,
626634 "short": Enum.SHORT,
Mschema-elixirdefault / QuickType.ex+4 −0
@@ -80,6 +80,7 @@ defmodule EnumEnum do
8080 :debugger,
8181 :decimal,
8282 :declare,
83+ :DeserializationFeature,
8384 :decltype,
8485 :decode_string,
8586 :Decoder,
@@ -216,6 +217,8 @@ defmodule EnumEnum do
216217 :number,
217218 :object,
218219 :ObjectMapper,
220+ :ObjectReader,
221+ :ObjectWriter,
219222 :of,
220223 :oneway,
221224 :open,
@@ -267,6 +270,7 @@ defmodule EnumEnum do
267270 :self,
268271 :Sendable,
269272 :serialize,
273+ :SerializationFeature,
270274 :SerializerProvider,
271275 :set,
272276 :short,
Mschema-elmdefault / QuickType.elm+12 −0
@@ -101,6 +101,7 @@ type EnumEnum
101101 | Debugger
102102 | Decimal
103103 | Declare
104+ | DeserializationFeature
104105 | Decltype
105106 | DecodeString
106107 | Decoder
@@ -237,6 +238,8 @@ type EnumEnum
237238 | Number
238239 | Object
239240 | ObjectMapper
241+ | ObjectReader
242+ | ObjectWriter
240243 | Of
241244 | Oneway
242245 | Open
@@ -288,6 +291,7 @@ type EnumEnum
288291 | EnumSelf
289292 | Sendable
290293 | Serialize
294+ | SerializationFeature
291295 | SerializerProvider
292296 | Set
293297 | Short
@@ -462,6 +466,7 @@ enumEnum =
462466 "debugger" -> Jdec.succeed Debugger
463467 "decimal" -> Jdec.succeed Decimal
464468 "declare" -> Jdec.succeed Declare
469+ "DeserializationFeature" -> Jdec.succeed DeserializationFeature
465470 "decltype" -> Jdec.succeed Decltype
466471 "decode_string" -> Jdec.succeed DecodeString
467472 "Decoder" -> Jdec.succeed Decoder
@@ -598,6 +603,8 @@ enumEnum =
598603 "number" -> Jdec.succeed Number
599604 "object" -> Jdec.succeed Object
600605 "ObjectMapper" -> Jdec.succeed ObjectMapper
606+ "ObjectReader" -> Jdec.succeed ObjectReader
607+ "ObjectWriter" -> Jdec.succeed ObjectWriter
601608 "of" -> Jdec.succeed Of
602609 "oneway" -> Jdec.succeed Oneway
603610 "open" -> Jdec.succeed Open
@@ -649,6 +656,7 @@ enumEnum =
649656 "self" -> Jdec.succeed EnumSelf
650657 "Sendable" -> Jdec.succeed Sendable
651658 "serialize" -> Jdec.succeed Serialize
659+ "SerializationFeature" -> Jdec.succeed SerializationFeature
652660 "SerializerProvider" -> Jdec.succeed SerializerProvider
653661 "set" -> Jdec.succeed Set
654662 "short" -> Jdec.succeed Short
@@ -800,6 +808,7 @@ encodeEnumEnum x = case x of
800808 Debugger -> Jenc.string "debugger"
801809 Decimal -> Jenc.string "decimal"
802810 Declare -> Jenc.string "declare"
811+ DeserializationFeature -> Jenc.string "DeserializationFeature"
803812 Decltype -> Jenc.string "decltype"
804813 DecodeString -> Jenc.string "decode_string"
805814 Decoder -> Jenc.string "Decoder"
@@ -936,6 +945,8 @@ encodeEnumEnum x = case x of
936945 Number -> Jenc.string "number"
937946 Object -> Jenc.string "object"
938947 ObjectMapper -> Jenc.string "ObjectMapper"
948+ ObjectReader -> Jenc.string "ObjectReader"
949+ ObjectWriter -> Jenc.string "ObjectWriter"
939950 Of -> Jenc.string "of"
940951 Oneway -> Jenc.string "oneway"
941952 Open -> Jenc.string "open"
@@ -987,6 +998,7 @@ encodeEnumEnum x = case x of
987998 EnumSelf -> Jenc.string "self"
988999 Sendable -> Jenc.string "Sendable"
9891000 Serialize -> Jenc.string "serialize"
1001+ SerializationFeature -> Jenc.string "SerializationFeature"
9901002 SerializerProvider -> Jenc.string "SerializerProvider"
9911003 Set -> Jenc.string "set"
9921004 Short -> Jenc.string "short"
Mschema-flowdefault / TopLevel.js+8 −0
@@ -88,6 +88,7 @@ export type Enum =
8888 | "debugger"
8989 | "decimal"
9090 | "declare"
91+ | "DeserializationFeature"
9192 | "decltype"
9293 | "decode_string"
9394 | "Decoder"
@@ -224,6 +225,8 @@ export type Enum =
224225 | "number"
225226 | "object"
226227 | "ObjectMapper"
228+ | "ObjectReader"
229+ | "ObjectWriter"
227230 | "of"
228231 | "oneway"
229232 | "open"
@@ -275,6 +278,7 @@ export type Enum =
275278 | "self"
276279 | "Sendable"
277280 | "serialize"
281+ | "SerializationFeature"
278282 | "SerializerProvider"
279283 | "set"
280284 | "short"
@@ -611,6 +615,7 @@ const typeMap: any = {
611615 "debugger",
612616 "decimal",
613617 "declare",
618+ "DeserializationFeature",
614619 "decltype",
615620 "decode_string",
616621 "Decoder",
@@ -747,6 +752,8 @@ const typeMap: any = {
747752 "number",
748753 "object",
749754 "ObjectMapper",
755+ "ObjectReader",
756+ "ObjectWriter",
750757 "of",
751758 "oneway",
752759 "open",
@@ -798,6 +805,7 @@ const typeMap: any = {
798805 "self",
799806 "Sendable",
800807 "serialize",
808+ "SerializationFeature",
801809 "SerializerProvider",
802810 "set",
803811 "short",
Mschema-golangdefault / quicktype.go+5 −1
@@ -98,6 +98,7 @@ const (
9898 Debugger EnumEnum = "debugger"
9999 Decimal EnumEnum = "decimal"
100100 Declare EnumEnum = "declare"
101+ DeserializationFeature EnumEnum = "DeserializationFeature"
101102 Decltype EnumEnum = "decltype"
102103 DecodeString EnumEnum = "decode_string"
103104 Decoder EnumEnum = "Decoder"
@@ -234,6 +235,8 @@ const (
234235 Number EnumEnum = "number"
235236 Object EnumEnum = "object"
236237 ObjectMapper EnumEnum = "ObjectMapper"
238+ ObjectReader EnumEnum = "ObjectReader"
239+ ObjectWriter EnumEnum = "ObjectWriter"
237240 Of EnumEnum = "of"
238241 Oneway EnumEnum = "oneway"
239242 Open EnumEnum = "open"
@@ -285,6 +288,7 @@ const (
285288 EnumSelf EnumEnum = "self"
286289 Sendable EnumEnum = "Sendable"
287290 Serialize EnumEnum = "serialize"
291+ SerializationFeature EnumEnum = "SerializationFeature"
288292 SerializerProvider EnumEnum = "SerializerProvider"
289293 Set EnumEnum = "set"
290294 Short EnumEnum = "short"
@@ -367,7 +371,7 @@ func (x *EnumEnum) UnmarshalJSON(data []byte) error {
367371 var value string
368372 if err := json.Unmarshal(data, &value); err != nil { return err }
369373 switch EnumEnum(value) {
370- case Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, ASM, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBOOL, EnumBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJSON, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, ID, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, ISODateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, JSON, JSONConverter, JSONSerializer, JSONToken, JSONWriter, JSONAny, JSONCodingKey, JSONDecoder, JSONEncoder, JSONException, JSONGenerator, JSONNode, JSONNull, JSONParser, JSONReader, JSONTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NSObject, NoSuchMethod, Not, NotEq, NSError, NSString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJSON, EnumTopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JSONReader, Utf8JSONWriter, UUID, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy: *x = EnumEnum(value); return nil
374+ case Empty, Bool, Complex, Imaginery, Abstract, Alignas, Alignof, And, AndEq, Any, EnumAny, Array, As, ASM, Assert, Associatedtype, Associativity, Async, Atomic, AtomicCancel, AtomicCommit, AtomicNoexcept, Auto, Await, Base, Bitand, Bitor, EnumBOOL, EnumBool, Boolean, Break, Bycopy, Byref, Byte, Calendar, Case, Catch, Chan, Char, Char16T, Char32T, Checked, Class, EnumClass, Clone, CoAwait, CoReturn, CoYield, Codable, CodingKey, CodingKeys, Compl, Concept, Console, Const, ConstCast, Constexpr, Constructor, Continue, Convenience, Convert, Converter, CultureInfo, Date, DateParseHandling, DateFormatter, DateOnly, DateOnlyConverter, DateTime, DateTimeStyles, Debugger, Decimal, Declare, DeserializationFeature, Decltype, DecodeString, Decoder, DecodingError, Def, Default, Defer, Deinit, Del, Delegate, Delete, Dict, Dictionary, DidSet, Do, Double, Dynamic, DynamicCast, Elif, Else, EncodeQuickType, Encoder, Enum, EnumValues, Equatable, EqualityContract, Event, Except, Exception, Explicit, Export, Exposing, Extends, Extension, Extern, Fallthrough, False, EnumFalse, Fileprivate, Final, Finally, Fixed, Float, For, Foreach, FormatException, Friend, From, FromJSON, Func, Function, Get, Global, Go, Goto, Guard, Hashable, HashCode, Hasher, HasOwnProperty, ID, If, Imp, Implements, Implicit, Import, In, Indirect, Infix, Init, Inline, Inout, Instanceof, Int, Interface, Internal, ISODateTimeOffsetConverter, Iterable, Is, Jdec, Jenc, Jpipe, JSON, JSONConverter, JSONSerializer, JSONToken, JSONWriter, JSONAny, JSONCodingKey, JSONDecoder, JSONEncoder, JSONException, JSONGenerator, JSONNode, JSONNull, JSONParser, JSONReader, JSONTokenType, Lambda, Lazy, Left, Let, List, Locale, Lock, Long, Map, MapEntry, MetadataPropertyHandling, Module, Mutable, Mutating, Namespace, Native, New, Newtonsoft, Nil, No, Noexcept, Nonatomic, None, EnumNone, Nonlocal, Nonmutating, NSObject, NoSuchMethod, Not, NotEq, NSError, NSString, Null, EnumNull, Nullptr, Number, Object, ObjectMapper, ObjectReader, ObjectWriter, Of, Oneway, Open, Operator, Optional, Or, OrEq, Out, Override, Package, Params, Pass, Port, Postfix, Precedence, Prefix, Print, Printf, PrintMembers, Private, Protected, Protocol, EnumProtocol, Public, Quicktype, Raise, Range, Readonly, Ref, RegExp, Register, ReinterpretCast, Repeat, Require, Required, Requires, Restrict, Retain, Rethrows, Return, Right, RuntimeType, S, Sbyte, Sealed, Sel, Select, Self, EnumSelf, Sendable, Serialize, SerializationFeature, SerializerProvider, Set, Short, Signed, SimpleModule, Sizeof, Stackalloc, Standards, Static, StaticAssert, StaticCast, StdDeserializer, StdSerializer, Strictfp, String, Struct, Subscript, Super, Switch, Symbol, Synchronized, System, Template, Then, This, ThreadLocal, Throw, Throws, TimeOnly, TimeOnlyConverter, TimeZone, ToJSON, EnumTopLevel, ToString, Transient, True, EnumTrue, Try, Type, EnumType, Typealias, Typedef, Typeid, Typename, Typeof, Uint, Ulong, Unchecked, Undefined, Union, Unowned, Unsafe, Unsigned, Ushort, Using, Utf8JSONReader, Utf8JSONWriter, UUID, Var, Virtual, Void, Volatile, WcharT, Weak, Where, While, WillSet, With, Xor, XorEq, Yes, Yield, Dummy: *x = EnumEnum(value); return nil
371375 }
372376 return invalidEnumEnum(value)
373377 }
Mschema-haskelldefault / QuickType.hs+12 −0
@@ -91,6 +91,7 @@ data EnumEnum
9191 | DebuggerEnumEnum
9292 | DecimalEnumEnum
9393 | DeclareEnumEnum
94+ | DeserializationFeatureEnumEnum
9495 | DecltypeEnumEnum
9596 | DecodeStringEnumEnum
9697 | DecoderEnumEnum
@@ -227,6 +228,8 @@ data EnumEnum
227228 | NumberEnumEnum
228229 | ObjectEnumEnum
229230 | ObjectMapperEnumEnum
231+ | ObjectReaderEnumEnum
232+ | ObjectWriterEnumEnum
230233 | OfEnumEnum
231234 | OnewayEnumEnum
232235 | OpenEnumEnum
@@ -278,6 +281,7 @@ data EnumEnum
278281 | PurpleSelfEnumEnum
279282 | SendableEnumEnum
280283 | SerializeEnumEnum
284+ | SerializationFeatureEnumEnum
281285 | SerializerProviderEnumEnum
282286 | SetEnumEnum
283287 | ShortEnumEnum
@@ -440,6 +444,7 @@ instance ToJSON EnumEnum where
440444 toJSON DebuggerEnumEnum = "debugger"
441445 toJSON DecimalEnumEnum = "decimal"
442446 toJSON DeclareEnumEnum = "declare"
447+ toJSON DeserializationFeatureEnumEnum = "DeserializationFeature"
443448 toJSON DecltypeEnumEnum = "decltype"
444449 toJSON DecodeStringEnumEnum = "decode_string"
445450 toJSON DecoderEnumEnum = "Decoder"
@@ -576,6 +581,8 @@ instance ToJSON EnumEnum where
576581 toJSON NumberEnumEnum = "number"
577582 toJSON ObjectEnumEnum = "object"
578583 toJSON ObjectMapperEnumEnum = "ObjectMapper"
584+ toJSON ObjectReaderEnumEnum = "ObjectReader"
585+ toJSON ObjectWriterEnumEnum = "ObjectWriter"
579586 toJSON OfEnumEnum = "of"
580587 toJSON OnewayEnumEnum = "oneway"
581588 toJSON OpenEnumEnum = "open"
@@ -627,6 +634,7 @@ instance ToJSON EnumEnum where
627634 toJSON PurpleSelfEnumEnum = "self"
628635 toJSON SendableEnumEnum = "Sendable"
629636 toJSON SerializeEnumEnum = "serialize"
637+ toJSON SerializationFeatureEnumEnum = "SerializationFeature"
630638 toJSON SerializerProviderEnumEnum = "SerializerProvider"
631639 toJSON SetEnumEnum = "set"
632640 toJSON ShortEnumEnum = "short"
@@ -777,6 +785,7 @@ instance FromJSON EnumEnum where
777785 parseText "debugger" = return DebuggerEnumEnum
778786 parseText "decimal" = return DecimalEnumEnum
779787 parseText "declare" = return DeclareEnumEnum
788+ parseText "DeserializationFeature" = return DeserializationFeatureEnumEnum
780789 parseText "decltype" = return DecltypeEnumEnum
781790 parseText "decode_string" = return DecodeStringEnumEnum
782791 parseText "Decoder" = return DecoderEnumEnum
@@ -913,6 +922,8 @@ instance FromJSON EnumEnum where
913922 parseText "number" = return NumberEnumEnum
914923 parseText "object" = return ObjectEnumEnum
915924 parseText "ObjectMapper" = return ObjectMapperEnumEnum
925+ parseText "ObjectReader" = return ObjectReaderEnumEnum
926+ parseText "ObjectWriter" = return ObjectWriterEnumEnum
916927 parseText "of" = return OfEnumEnum
917928 parseText "oneway" = return OnewayEnumEnum
918929 parseText "open" = return OpenEnumEnum
@@ -964,6 +975,7 @@ instance FromJSON EnumEnum where
964975 parseText "self" = return PurpleSelfEnumEnum
965976 parseText "Sendable" = return SendableEnumEnum
966977 parseText "serialize" = return SerializeEnumEnum
978+ parseText "SerializationFeature" = return SerializationFeatureEnumEnum
967979 parseText "SerializerProvider" = return SerializerProviderEnumEnum
968980 parseText "set" = return SetEnumEnum
969981 parseText "short" = return ShortEnumEnum
Mschema-java-datetime-legacydefault / src / main / java / io / quicktype / Enum.java+9 −1
@@ -4,7 +4,7 @@ import java.io.IOException;
44 import com.fasterxml.jackson.annotation.*;
55
66 public enum Enum {
7- EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, NULL, ENUM_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY;
7+ EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DESERIALIZATION_FEATURE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, NULL, ENUM_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OBJECT_READER, OBJECT_WRITER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZATION_FEATURE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY;
88
99 @JsonValue
1010 public String toValue() {
@@ -82,6 +82,7 @@ public enum Enum {
8282 case DEBUGGER: return "debugger";
8383 case DECIMAL: return "decimal";
8484 case DECLARE: return "declare";
85+ case DESERIALIZATION_FEATURE: return "DeserializationFeature";
8586 case DECLTYPE: return "decltype";
8687 case DECODE_STRING: return "decode_string";
8788 case DECODER: return "Decoder";
@@ -218,6 +219,8 @@ public enum Enum {
218219 case NUMBER: return "number";
219220 case OBJECT: return "object";
220221 case OBJECT_MAPPER: return "ObjectMapper";
222+ case OBJECT_READER: return "ObjectReader";
223+ case OBJECT_WRITER: return "ObjectWriter";
221224 case OF: return "of";
222225 case ONEWAY: return "oneway";
223226 case OPEN: return "open";
@@ -269,6 +272,7 @@ public enum Enum {
269272 case ENUM_SELF: return "self";
270273 case SENDABLE: return "Sendable";
271274 case SERIALIZE: return "serialize";
275+ case SERIALIZATION_FEATURE: return "SerializationFeature";
272276 case SERIALIZER_PROVIDER: return "SerializerProvider";
273277 case SET: return "set";
274278 case SHORT: return "short";
@@ -421,6 +425,7 @@ public enum Enum {
421425 if (value.equals("debugger")) return DEBUGGER;
422426 if (value.equals("decimal")) return DECIMAL;
423427 if (value.equals("declare")) return DECLARE;
428+ if (value.equals("DeserializationFeature")) return DESERIALIZATION_FEATURE;
424429 if (value.equals("decltype")) return DECLTYPE;
425430 if (value.equals("decode_string")) return DECODE_STRING;
426431 if (value.equals("Decoder")) return DECODER;
@@ -557,6 +562,8 @@ public enum Enum {
557562 if (value.equals("number")) return NUMBER;
558563 if (value.equals("object")) return OBJECT;
559564 if (value.equals("ObjectMapper")) return OBJECT_MAPPER;
565+ if (value.equals("ObjectReader")) return OBJECT_READER;
566+ if (value.equals("ObjectWriter")) return OBJECT_WRITER;
560567 if (value.equals("of")) return OF;
561568 if (value.equals("oneway")) return ONEWAY;
562569 if (value.equals("open")) return OPEN;
@@ -608,6 +615,7 @@ public enum Enum {
608615 if (value.equals("self")) return ENUM_SELF;
609616 if (value.equals("Sendable")) return SENDABLE;
610617 if (value.equals("serialize")) return SERIALIZE;
618+ if (value.equals("SerializationFeature")) return SERIALIZATION_FEATURE;
611619 if (value.equals("SerializerProvider")) return SERIALIZER_PROVIDER;
612620 if (value.equals("set")) return SET;
613621 if (value.equals("short")) return SHORT;
Mschema-java-lombokdefault / src / main / java / io / quicktype / Enum.java+9 −1
@@ -4,7 +4,7 @@ import java.io.IOException;
44 import com.fasterxml.jackson.annotation.*;
55
66 public enum Enum {
7- EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, NULL, ENUM_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY;
7+ EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DESERIALIZATION_FEATURE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, NULL, ENUM_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OBJECT_READER, OBJECT_WRITER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZATION_FEATURE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY;
88
99 @JsonValue
1010 public String toValue() {
@@ -82,6 +82,7 @@ public enum Enum {
8282 case DEBUGGER: return "debugger";
8383 case DECIMAL: return "decimal";
8484 case DECLARE: return "declare";
85+ case DESERIALIZATION_FEATURE: return "DeserializationFeature";
8586 case DECLTYPE: return "decltype";
8687 case DECODE_STRING: return "decode_string";
8788 case DECODER: return "Decoder";
@@ -218,6 +219,8 @@ public enum Enum {
218219 case NUMBER: return "number";
219220 case OBJECT: return "object";
220221 case OBJECT_MAPPER: return "ObjectMapper";
222+ case OBJECT_READER: return "ObjectReader";
223+ case OBJECT_WRITER: return "ObjectWriter";
221224 case OF: return "of";
222225 case ONEWAY: return "oneway";
223226 case OPEN: return "open";
@@ -269,6 +272,7 @@ public enum Enum {
269272 case ENUM_SELF: return "self";
270273 case SENDABLE: return "Sendable";
271274 case SERIALIZE: return "serialize";
275+ case SERIALIZATION_FEATURE: return "SerializationFeature";
272276 case SERIALIZER_PROVIDER: return "SerializerProvider";
273277 case SET: return "set";
274278 case SHORT: return "short";
@@ -421,6 +425,7 @@ public enum Enum {
421425 if (value.equals("debugger")) return DEBUGGER;
422426 if (value.equals("decimal")) return DECIMAL;
423427 if (value.equals("declare")) return DECLARE;
428+ if (value.equals("DeserializationFeature")) return DESERIALIZATION_FEATURE;
424429 if (value.equals("decltype")) return DECLTYPE;
425430 if (value.equals("decode_string")) return DECODE_STRING;
426431 if (value.equals("Decoder")) return DECODER;
@@ -557,6 +562,8 @@ public enum Enum {
557562 if (value.equals("number")) return NUMBER;
558563 if (value.equals("object")) return OBJECT;
559564 if (value.equals("ObjectMapper")) return OBJECT_MAPPER;
565+ if (value.equals("ObjectReader")) return OBJECT_READER;
566+ if (value.equals("ObjectWriter")) return OBJECT_WRITER;
560567 if (value.equals("of")) return OF;
561568 if (value.equals("oneway")) return ONEWAY;
562569 if (value.equals("open")) return OPEN;
@@ -608,6 +615,7 @@ public enum Enum {
608615 if (value.equals("self")) return ENUM_SELF;
609616 if (value.equals("Sendable")) return SENDABLE;
610617 if (value.equals("serialize")) return SERIALIZE;
618+ if (value.equals("SerializationFeature")) return SERIALIZATION_FEATURE;
611619 if (value.equals("SerializerProvider")) return SERIALIZER_PROVIDER;
612620 if (value.equals("set")) return SET;
613621 if (value.equals("short")) return SHORT;
Mschema-javadefault / src / main / java / io / quicktype / Enum.java+9 −1
@@ -4,7 +4,7 @@ import java.io.IOException;
44 import com.fasterxml.jackson.annotation.*;
55
66 public enum Enum {
7- EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, NULL, ENUM_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY;
7+ EMPTY, BOOL, COMPLEX, IMAGINERY, ABSTRACT, ALIGNAS, ALIGNOF, AND, AND_EQ, ANY, ENUM_ANY, ARRAY, AS, ASM, ASSERT, ASSOCIATEDTYPE, ASSOCIATIVITY, ASYNC, ATOMIC, ATOMIC_CANCEL, ATOMIC_COMMIT, ATOMIC_NOEXCEPT, AUTO, AWAIT, BASE, BITAND, BITOR, ENUM_BOOL, PURPLE_BOOL, BOOLEAN, BREAK, BYCOPY, BYREF, BYTE, CALENDAR, CASE, CATCH, CHAN, CHAR, CHAR16_T, CHAR32_T, CHECKED, CLASS, ENUM_CLASS, CLONE, CO_AWAIT, CO_RETURN, CO_YIELD, CODABLE, CODING_KEY, CODING_KEYS, COMPL, CONCEPT, CONSOLE, CONST, CONST_CAST, CONSTEXPR, CONSTRUCTOR, CONTINUE, CONVENIENCE, CONVERT, CONVERTER, CULTURE_INFO, DATE, DATE_PARSE_HANDLING, DATE_FORMATTER, DATE_ONLY, DATE_ONLY_CONVERTER, DATE_TIME, DATE_TIME_STYLES, DEBUGGER, DECIMAL, DECLARE, DESERIALIZATION_FEATURE, DECLTYPE, DECODE_STRING, DECODER, DECODING_ERROR, DEF, DEFAULT, DEFER, DEINIT, DEL, DELEGATE, DELETE, DICT, DICTIONARY, DID_SET, DO, DOUBLE, DYNAMIC, DYNAMIC_CAST, ELIF, ELSE, ENCODE_QUICK_TYPE, ENCODER, ENUM, ENUM_VALUES, EQUATABLE, EQUALITY_CONTRACT, EVENT, EXCEPT, EXCEPTION, EXPLICIT, EXPORT, EXPOSING, EXTENDS, EXTENSION, EXTERN, FALLTHROUGH, FALSE, ENUM_FALSE, FILEPRIVATE, FINAL, FINALLY, FIXED, FLOAT, FOR, FOREACH, FORMAT_EXCEPTION, FRIEND, FROM, FROM_JSON, FUNC, FUNCTION, GET, GLOBAL, GO, GOTO, GUARD, HASHABLE, HASH_CODE, HASHER, HAS_OWN_PROPERTY, ID, IF, IMP, IMPLEMENTS, IMPLICIT, IMPORT, IN, INDIRECT, INFIX, INIT, INLINE, INOUT, INSTANCEOF, INT, INTERFACE, INTERNAL, ISO_DATE_TIME_OFFSET_CONVERTER, ITERABLE, IS, JDEC, JENC, JPIPE, JSON, JSON_CONVERTER, JSON_SERIALIZER, JSON_TOKEN, JSON_WRITER, JSON_ANY, JSON_CODING_KEY, JSON_DECODER, JSON_ENCODER, JSON_EXCEPTION, JSON_GENERATOR, JSON_NODE, JSON_NULL, JSON_PARSER, JSON_READER, JSON_TOKEN_TYPE, LAMBDA, LAZY, LEFT, LET, LIST, LOCALE, LOCK, LONG, MAP, MAP_ENTRY, METADATA_PROPERTY_HANDLING, MODULE, MUTABLE, MUTATING, NAMESPACE, NATIVE, NEW, NEWTONSOFT, NIL, NO, NOEXCEPT, NONATOMIC, NONE, ENUM_NONE, NONLOCAL, NONMUTATING, NS_OBJECT, NO_SUCH_METHOD, NOT, NOT_EQ, NS_ERROR, NS_STRING, NULL, ENUM_NULL, NULLPTR, NUMBER, OBJECT, OBJECT_MAPPER, OBJECT_READER, OBJECT_WRITER, OF, ONEWAY, OPEN, OPERATOR, OPTIONAL, OR, OR_EQ, OUT, OVERRIDE, PACKAGE, PARAMS, PASS, PORT, POSTFIX, PRECEDENCE, PREFIX, PRINT, PRINTF, PRINT_MEMBERS, PRIVATE, PROTECTED, PROTOCOL, ENUM_PROTOCOL, PUBLIC, QUICKTYPE, RAISE, RANGE, READONLY, REF, REG_EXP, REGISTER, REINTERPRET_CAST, REPEAT, REQUIRE, REQUIRED, REQUIRES, RESTRICT, RETAIN, RETHROWS, RETURN, RIGHT, RUNTIME_TYPE, S, SBYTE, SEALED, SEL, SELECT, SELF, ENUM_SELF, SENDABLE, SERIALIZE, SERIALIZATION_FEATURE, SERIALIZER_PROVIDER, SET, SHORT, SIGNED, SIMPLE_MODULE, SIZEOF, STACKALLOC, STANDARDS, STATIC, STATIC_ASSERT, STATIC_CAST, STD_DESERIALIZER, STD_SERIALIZER, STRICTFP, STRING, STRUCT, SUBSCRIPT, SUPER, SWITCH, SYMBOL, SYNCHRONIZED, SYSTEM, TEMPLATE, THEN, THIS, THREAD_LOCAL, THROW, THROWS, TIME_ONLY, TIME_ONLY_CONVERTER, TIME_ZONE, TO_JSON, TOP_LEVEL, TO_STRING, TRANSIENT, TRUE, ENUM_TRUE, TRY, TYPE, ENUM_TYPE, TYPEALIAS, TYPEDEF, TYPEID, TYPENAME, TYPEOF, UINT, ULONG, UNCHECKED, UNDEFINED, UNION, UNOWNED, UNSAFE, UNSIGNED, USHORT, USING, UTF8_JSON_READER, UTF8_JSON_WRITER, UUID, VAR, VIRTUAL, VOID, VOLATILE, WCHAR_T, WEAK, WHERE, WHILE, WILL_SET, WITH, XOR, XOR_EQ, YES, YIELD, DUMMY;
88
99 @JsonValue
1010 public String toValue() {
@@ -82,6 +82,7 @@ public enum Enum {
8282 case DEBUGGER: return "debugger";
8383 case DECIMAL: return "decimal";
8484 case DECLARE: return "declare";
85+ case DESERIALIZATION_FEATURE: return "DeserializationFeature";
8586 case DECLTYPE: return "decltype";
8687 case DECODE_STRING: return "decode_string";
8788 case DECODER: return "Decoder";
@@ -218,6 +219,8 @@ public enum Enum {
218219 case NUMBER: return "number";
219220 case OBJECT: return "object";
220221 case OBJECT_MAPPER: return "ObjectMapper";
222+ case OBJECT_READER: return "ObjectReader";
223+ case OBJECT_WRITER: return "ObjectWriter";
221224 case OF: return "of";
222225 case ONEWAY: return "oneway";
223226 case OPEN: return "open";
@@ -269,6 +272,7 @@ public enum Enum {
269272 case ENUM_SELF: return "self";
270273 case SENDABLE: return "Sendable";
271274 case SERIALIZE: return "serialize";
275+ case SERIALIZATION_FEATURE: return "SerializationFeature";
272276 case SERIALIZER_PROVIDER: return "SerializerProvider";
273277 case SET: return "set";
274278 case SHORT: return "short";
@@ -421,6 +425,7 @@ public enum Enum {
421425 if (value.equals("debugger")) return DEBUGGER;
422426 if (value.equals("decimal")) return DECIMAL;
423427 if (value.equals("declare")) return DECLARE;
428+ if (value.equals("DeserializationFeature")) return DESERIALIZATION_FEATURE;
424429 if (value.equals("decltype")) return DECLTYPE;
425430 if (value.equals("decode_string")) return DECODE_STRING;
426431 if (value.equals("Decoder")) return DECODER;
@@ -557,6 +562,8 @@ public enum Enum {
557562 if (value.equals("number")) return NUMBER;
558563 if (value.equals("object")) return OBJECT;
559564 if (value.equals("ObjectMapper")) return OBJECT_MAPPER;
565+ if (value.equals("ObjectReader")) return OBJECT_READER;
566+ if (value.equals("ObjectWriter")) return OBJECT_WRITER;
560567 if (value.equals("of")) return OF;
561568 if (value.equals("oneway")) return ONEWAY;
562569 if (value.equals("open")) return OPEN;
@@ -608,6 +615,7 @@ public enum Enum {
608615 if (value.equals("self")) return ENUM_SELF;
609616 if (value.equals("Sendable")) return SENDABLE;
610617 if (value.equals("serialize")) return SERIALIZE;
618+ if (value.equals("SerializationFeature")) return SERIALIZATION_FEATURE;
611619 if (value.equals("SerializerProvider")) return SERIALIZER_PROVIDER;
612620 if (value.equals("set")) return SET;
613621 if (value.equals("short")) return SHORT;
Mschema-javascript-prop-typesdefault / toplevel.js+1 −1
@@ -13,7 +13,7 @@
1313 import PropTypes from "prop-types";
1414
1515 let _TopLevel;
16-const _Enum = PropTypes.oneOf(['_', '_Bool', '_Complex', '_Imaginery', 'abstract', 'alignas', 'alignof', 'and', 'and_eq', 'any', 'Any', 'array', 'as', 'asm', 'assert', 'associatedtype', 'associativity', 'async', 'atomic', 'atomic_cancel', 'atomic_commit', 'atomic_noexcept', 'auto', 'await', 'base', 'bitand', 'bitor', 'BOOL', 'bool', 'boolean', 'break', 'bycopy', 'byref', 'byte', 'Calendar', 'case', 'catch', 'chan', 'char', 'char16_t', 'char32_t', 'checked', 'class', 'Class', 'clone', 'co_await', 'co_return', 'co_yield', 'Codable', 'CodingKey', 'CodingKeys', 'compl', 'concept', 'console', 'const', 'const_cast', 'constexpr', 'constructor', 'continue', 'convenience', 'convert', 'converter', 'CultureInfo', 'date', 'date_parse_handling', 'DateFormatter', 'DateOnly', 'DateOnlyConverter', 'DateTime', 'DateTimeStyles', 'debugger', 'decimal', 'declare', 'decltype', 'decode_string', 'Decoder', 'DecodingError', 'def', 'default', 'defer', 'deinit', 'del', 'delegate', 'delete', 'dict', 'dictionary', 'didSet', 'do', 'double', 'dynamic', 'dynamic_cast', 'elif', 'else', 'encode_quick_type', 'Encoder', 'enum', 'EnumValues', 'Equatable', 'equalityContract', 'event', 'except', 'exception', 'explicit', 'export', 'exposing', 'extends', 'extension', 'extern', 'fallthrough', 'false', 'False', 'fileprivate', 'final', 'finally', 'fixed', 'float', 'for', 'foreach', 'FormatException', 'friend', 'from', 'from_json', 'func', 'function', 'get', 'global', 'go', 'goto', 'guard', 'Hashable', 'hashCode', 'Hasher', 'hasOwnProperty', 'id', 'if', 'IMP', 'implements', 'implicit', 'import', 'in', 'indirect', 'infix', 'init', 'inline', 'inout', 'instanceof', 'int', 'interface', 'internal', 'IsoDateTimeOffsetConverter', 'iterable', 'is', 'jdec', 'jenc', 'jpipe', 'json', 'json_converter', 'json_serializer', 'json_token', 'json_writer', 'JSONAny', 'JSONCodingKey', 'JSONDecoder', 'JSONEncoder', 'JsonException', 'JsonGenerator', 'JsonNode', 'JSONNull', 'JsonParser', 'JsonReader', 'JsonTokenType', 'lambda', 'lazy', 'left', 'let', 'list', 'Locale', 'lock', 'long', 'map', 'MapEntry', 'metadata_property_handling', 'module', 'mutable', 'mutating', 'namespace', 'native', 'new', 'newtonsoft', 'nil', 'NO', 'noexcept', 'nonatomic', 'none', 'None', 'nonlocal', 'nonmutating', 'NSObject', 'noSuchMethod', 'not', 'not_eq', 'NSError', 'NSString', 'NULL', 'null', 'nullptr', 'number', 'object', 'ObjectMapper', 'of', 'oneway', 'open', 'operator', 'optional', 'or', 'or_eq', 'out', 'override', 'package', 'params', 'pass', 'port', 'postfix', 'precedence', 'prefix', 'print', 'printf', 'printMembers', 'private', 'protected', 'Protocol', 'protocol', 'public', 'quicktype', 'raise', 'range', 'readonly', 'ref', 'RegExp', 'register', 'reinterpret_cast', 'repeat', 'require', 'required', 'requires', 'restrict', 'retain', 'rethrows', 'return', 'right', 'runtimeType', 's', 'sbyte', 'sealed', 'SEL', 'select', 'Self', 'self', 'Sendable', 'serialize', 'SerializerProvider', 'set', 'short', 'signed', 'SimpleModule', 'sizeof', 'stackalloc', 'Standards', 'static', 'static_assert', 'static_cast', 'StdDeserializer', 'StdSerializer', 'strictfp', 'string', 'struct', 'subscript', 'super', 'switch', 'symbol', 'synchronized', 'system', 'template', 'then', 'this', 'thread_local', 'throw', 'throws', 'TimeOnly', 'TimeOnlyConverter', 'TimeZone', 'to_json', 'top_level', 'toString', 'transient', 'True', 'true', 'try', 'Type', 'type', 'typealias', 'typedef', 'typeid', 'typename', 'typeof', 'uint', 'ulong', 'unchecked', 'undefined', 'union', 'unowned', 'unsafe', 'unsigned', 'ushort', 'using', 'Utf8JsonReader', 'Utf8JsonWriter', 'UUID', 'var', 'virtual', 'void', 'volatile', 'wchar_t', 'weak', 'where', 'while', 'willSet', 'with', 'xor', 'xor_eq', 'YES', 'yield', 'dummy']);
16+const _Enum = PropTypes.oneOf(['_', '_Bool', '_Complex', '_Imaginery', 'abstract', 'alignas', 'alignof', 'and', 'and_eq', 'any', 'Any', 'array', 'as', 'asm', 'assert', 'associatedtype', 'associativity', 'async', 'atomic', 'atomic_cancel', 'atomic_commit', 'atomic_noexcept', 'auto', 'await', 'base', 'bitand', 'bitor', 'BOOL', 'bool', 'boolean', 'break', 'bycopy', 'byref', 'byte', 'Calendar', 'case', 'catch', 'chan', 'char', 'char16_t', 'char32_t', 'checked', 'class', 'Class', 'clone', 'co_await', 'co_return', 'co_yield', 'Codable', 'CodingKey', 'CodingKeys', 'compl', 'concept', 'console', 'const', 'const_cast', 'constexpr', 'constructor', 'continue', 'convenience', 'convert', 'converter', 'CultureInfo', 'date', 'date_parse_handling', 'DateFormatter', 'DateOnly', 'DateOnlyConverter', 'DateTime', 'DateTimeStyles', 'debugger', 'decimal', 'declare', 'DeserializationFeature', 'decltype', 'decode_string', 'Decoder', 'DecodingError', 'def', 'default', 'defer', 'deinit', 'del', 'delegate', 'delete', 'dict', 'dictionary', 'didSet', 'do', 'double', 'dynamic', 'dynamic_cast', 'elif', 'else', 'encode_quick_type', 'Encoder', 'enum', 'EnumValues', 'Equatable', 'equalityContract', 'event', 'except', 'exception', 'explicit', 'export', 'exposing', 'extends', 'extension', 'extern', 'fallthrough', 'false', 'False', 'fileprivate', 'final', 'finally', 'fixed', 'float', 'for', 'foreach', 'FormatException', 'friend', 'from', 'from_json', 'func', 'function', 'get', 'global', 'go', 'goto', 'guard', 'Hashable', 'hashCode', 'Hasher', 'hasOwnProperty', 'id', 'if', 'IMP', 'implements', 'implicit', 'import', 'in', 'indirect', 'infix', 'init', 'inline', 'inout', 'instanceof', 'int', 'interface', 'internal', 'IsoDateTimeOffsetConverter', 'iterable', 'is', 'jdec', 'jenc', 'jpipe', 'json', 'json_converter', 'json_serializer', 'json_token', 'json_writer', 'JSONAny', 'JSONCodingKey', 'JSONDecoder', 'JSONEncoder', 'JsonException', 'JsonGenerator', 'JsonNode', 'JSONNull', 'JsonParser', 'JsonReader', 'JsonTokenType', 'lambda', 'lazy', 'left', 'let', 'list', 'Locale', 'lock', 'long', 'map', 'MapEntry', 'metadata_property_handling', 'module', 'mutable', 'mutating', 'namespace', 'native', 'new', 'newtonsoft', 'nil', 'NO', 'noexcept', 'nonatomic', 'none', 'None', 'nonlocal', 'nonmutating', 'NSObject', 'noSuchMethod', 'not', 'not_eq', 'NSError', 'NSString', 'NULL', 'null', 'nullptr', 'number', 'object', 'ObjectMapper', 'ObjectReader', 'ObjectWriter', 'of', 'oneway', 'open', 'operator', 'optional', 'or', 'or_eq', 'out', 'override', 'package', 'params', 'pass', 'port', 'postfix', 'precedence', 'prefix', 'print', 'printf', 'printMembers', 'private', 'protected', 'Protocol', 'protocol', 'public', 'quicktype', 'raise', 'range', 'readonly', 'ref', 'RegExp', 'register', 'reinterpret_cast', 'repeat', 'require', 'required', 'requires', 'restrict', 'retain', 'rethrows', 'return', 'right', 'runtimeType', 's', 'sbyte', 'sealed', 'SEL', 'select', 'Self', 'self', 'Sendable', 'serialize', 'SerializationFeature', 'SerializerProvider', 'set', 'short', 'signed', 'SimpleModule', 'sizeof', 'stackalloc', 'Standards', 'static', 'static_assert', 'static_cast', 'StdDeserializer', 'StdSerializer', 'strictfp', 'string', 'struct', 'subscript', 'super', 'switch', 'symbol', 'synchronized', 'system', 'template', 'then', 'this', 'thread_local', 'throw', 'throws', 'TimeOnly', 'TimeOnlyConverter', 'TimeZone', 'to_json', 'top_level', 'toString', 'transient', 'True', 'true', 'try', 'Type', 'type', 'typealias', 'typedef', 'typeid', 'typename', 'typeof', 'uint', 'ulong', 'unchecked', 'undefined', 'union', 'unowned', 'unsafe', 'unsigned', 'ushort', 'using', 'Utf8JsonReader', 'Utf8JsonWriter', 'UUID', 'var', 'virtual', 'void', 'volatile', 'wchar_t', 'weak', 'where', 'while', 'willSet', 'with', 'xor', 'xor_eq', 'YES', 'yield', 'dummy']);
1717 _TopLevel = PropTypes.shape({
1818 "enum": PropTypes.oneOfType([_Enum, PropTypes.oneOf([null])]),
1919 });
Mschema-javascriptdefault / TopLevel.js+4 −0
@@ -269,6 +269,7 @@ const typeMap = {
269269 "debugger",
270270 "decimal",
271271 "declare",
272+ "DeserializationFeature",
272273 "decltype",
273274 "decode_string",
274275 "Decoder",
@@ -405,6 +406,8 @@ const typeMap = {
405406 "number",
406407 "object",
407408 "ObjectMapper",
409+ "ObjectReader",
410+ "ObjectWriter",
408411 "of",
409412 "oneway",
410413 "open",
@@ -456,6 +459,7 @@ const typeMap = {
456459 "self",
457460 "Sendable",
458461 "serialize",
462+ "SerializationFeature",
459463 "SerializerProvider",
460464 "set",
461465 "short",
Mschema-kotlin-jacksondefault / TopLevel.kt+8 −0
@@ -114,6 +114,7 @@ enum class EnumEnum(val value: String) {
114114 Debugger("debugger"),
115115 Decimal("decimal"),
116116 Declare("declare"),
117+ DeserializationFeature("DeserializationFeature"),
117118 Decltype("decltype"),
118119 DecodeString("decode_string"),
119120 Decoder("Decoder"),
@@ -250,6 +251,8 @@ enum class EnumEnum(val value: String) {
250251 Number("number"),
251252 Object("object"),
252253 EnumObjectMapper("ObjectMapper"),
254+ ObjectReader("ObjectReader"),
255+ ObjectWriter("ObjectWriter"),
253256 Of("of"),
254257 Oneway("oneway"),
255258 Open("open"),
@@ -301,6 +304,7 @@ enum class EnumEnum(val value: String) {
301304 EnumSelf("self"),
302305 Sendable("Sendable"),
303306 Serialize("serialize"),
307+ SerializationFeature("SerializationFeature"),
304308 EnumSerializerProvider("SerializerProvider"),
305309 Set("set"),
306310 EnumShort("short"),
@@ -450,6 +454,7 @@ enum class EnumEnum(val value: String) {
450454 "debugger" -> Debugger
451455 "decimal" -> Decimal
452456 "declare" -> Declare
457+ "DeserializationFeature" -> DeserializationFeature
453458 "decltype" -> Decltype
454459 "decode_string" -> DecodeString
455460 "Decoder" -> Decoder
@@ -586,6 +591,8 @@ enum class EnumEnum(val value: String) {
586591 "number" -> Number
587592 "object" -> Object
588593 "ObjectMapper" -> EnumObjectMapper
594+ "ObjectReader" -> ObjectReader
595+ "ObjectWriter" -> ObjectWriter
589596 "of" -> Of
590597 "oneway" -> Oneway
591598 "open" -> Open
@@ -637,6 +644,7 @@ enum class EnumEnum(val value: String) {
637644 "self" -> EnumSelf
638645 "Sendable" -> Sendable
639646 "serialize" -> Serialize
647+ "SerializationFeature" -> SerializationFeature
640648 "SerializerProvider" -> EnumSerializerProvider
641649 "set" -> Set
642650 "short" -> EnumShort
Mschema-kotlindefault / TopLevel.kt+8 −0
@@ -101,6 +101,7 @@ enum class EnumEnum(val value: String) {
101101 Debugger("debugger"),
102102 Decimal("decimal"),
103103 Declare("declare"),
104+ DeserializationFeature("DeserializationFeature"),
104105 Decltype("decltype"),
105106 DecodeString("decode_string"),
106107 Decoder("Decoder"),
@@ -237,6 +238,8 @@ enum class EnumEnum(val value: String) {
237238 Number("number"),
238239 Object("object"),
239240 ObjectMapper("ObjectMapper"),
241+ ObjectReader("ObjectReader"),
242+ ObjectWriter("ObjectWriter"),
240243 Of("of"),
241244 Oneway("oneway"),
242245 Open("open"),
@@ -288,6 +291,7 @@ enum class EnumEnum(val value: String) {
288291 EnumSelf("self"),
289292 Sendable("Sendable"),
290293 Serialize("serialize"),
294+ SerializationFeature("SerializationFeature"),
291295 SerializerProvider("SerializerProvider"),
292296 Set("set"),
293297 EnumShort("short"),
@@ -437,6 +441,7 @@ enum class EnumEnum(val value: String) {
437441 "debugger" -> Debugger
438442 "decimal" -> Decimal
439443 "declare" -> Declare
444+ "DeserializationFeature" -> DeserializationFeature
440445 "decltype" -> Decltype
441446 "decode_string" -> DecodeString
442447 "Decoder" -> Decoder
@@ -573,6 +578,8 @@ enum class EnumEnum(val value: String) {
573578 "number" -> Number
574579 "object" -> Object
575580 "ObjectMapper" -> ObjectMapper
581+ "ObjectReader" -> ObjectReader
582+ "ObjectWriter" -> ObjectWriter
576583 "of" -> Of
577584 "oneway" -> Oneway
578585 "open" -> Open
@@ -624,6 +631,7 @@ enum class EnumEnum(val value: String) {
624631 "self" -> EnumSelf
625632 "Sendable" -> Sendable
626633 "serialize" -> Serialize
634+ "SerializationFeature" -> SerializationFeature
627635 "SerializerProvider" -> SerializerProvider
628636 "set" -> Set
629637 "short" -> EnumShort
Mschema-kotlinxdefault / TopLevel.kt+4 −0
@@ -90,6 +90,7 @@ enum class EnumEnum(val value: String) {
9090 @SerialName("debugger") Debugger("debugger"),
9191 @SerialName("decimal") Decimal("decimal"),
9292 @SerialName("declare") Declare("declare"),
93+ @SerialName("DeserializationFeature") DeserializationFeature("DeserializationFeature"),
9394 @SerialName("decltype") Decltype("decltype"),
9495 @SerialName("decode_string") DecodeString("decode_string"),
9596 @SerialName("Decoder") EnumDecoder("Decoder"),
@@ -226,6 +227,8 @@ enum class EnumEnum(val value: String) {
226227 @SerialName("number") Number("number"),
227228 @SerialName("object") Object("object"),
228229 @SerialName("ObjectMapper") ObjectMapper("ObjectMapper"),
230+ @SerialName("ObjectReader") ObjectReader("ObjectReader"),
231+ @SerialName("ObjectWriter") ObjectWriter("ObjectWriter"),
229232 @SerialName("of") Of("of"),
230233 @SerialName("oneway") Oneway("oneway"),
231234 @SerialName("open") Open("open"),
@@ -277,6 +280,7 @@ enum class EnumEnum(val value: String) {
277280 @SerialName("self") EnumSelf("self"),
278281 @SerialName("Sendable") Sendable("Sendable"),
279282 @SerialName("serialize") Serialize("serialize"),
283+ @SerialName("SerializationFeature") SerializationFeature("SerializationFeature"),
280284 @SerialName("SerializerProvider") SerializerProvider("SerializerProvider"),
281285 @SerialName("set") Set("set"),
282286 @SerialName("short") EnumShort("short"),
Mschema-objective-cdefault / QTTopLevel.h+4 −0
@@ -88,6 +88,7 @@ NS_ASSUME_NONNULL_BEGIN
8888 + (QTEnum *)debugger;
8989 + (QTEnum *)decimal;
9090 + (QTEnum *)declare;
91++ (QTEnum *)deserializationFeature;
9192 + (QTEnum *)decltype;
9293 + (QTEnum *)decodeString;
9394 + (QTEnum *)decoder;
@@ -224,6 +225,8 @@ NS_ASSUME_NONNULL_BEGIN
224225 + (QTEnum *)number;
225226 + (QTEnum *)object;
226227 + (QTEnum *)objectMapper;
228++ (QTEnum *)objectReader;
229++ (QTEnum *)objectWriter;
227230 + (QTEnum *)of;
228231 + (QTEnum *)oneway;
229232 + (QTEnum *)open;
@@ -275,6 +278,7 @@ NS_ASSUME_NONNULL_BEGIN
275278 + (QTEnum *)enumSelf;
276279 + (QTEnum *)sendable;
277280 + (QTEnum *)serialize;
281++ (QTEnum *)serializationFeature;
278282 + (QTEnum *)serializerProvider;
279283 + (QTEnum *)set;
280284 + (QTEnum *)enumShort;
Mschema-objective-cdefault / QTTopLevel.m+8 −0
@@ -91,6 +91,7 @@ NS_ASSUME_NONNULL_BEGIN
9191 @"debugger": [[QTEnum alloc] initWithValue:@"debugger"],
9292 @"decimal": [[QTEnum alloc] initWithValue:@"decimal"],
9393 @"declare": [[QTEnum alloc] initWithValue:@"declare"],
94+ @"DeserializationFeature": [[QTEnum alloc] initWithValue:@"DeserializationFeature"],
9495 @"decltype": [[QTEnum alloc] initWithValue:@"decltype"],
9596 @"decode_string": [[QTEnum alloc] initWithValue:@"decode_string"],
9697 @"Decoder": [[QTEnum alloc] initWithValue:@"Decoder"],
@@ -227,6 +228,8 @@ NS_ASSUME_NONNULL_BEGIN
227228 @"number": [[QTEnum alloc] initWithValue:@"number"],
228229 @"object": [[QTEnum alloc] initWithValue:@"object"],
229230 @"ObjectMapper": [[QTEnum alloc] initWithValue:@"ObjectMapper"],
231+ @"ObjectReader": [[QTEnum alloc] initWithValue:@"ObjectReader"],
232+ @"ObjectWriter": [[QTEnum alloc] initWithValue:@"ObjectWriter"],
230233 @"of": [[QTEnum alloc] initWithValue:@"of"],
231234 @"oneway": [[QTEnum alloc] initWithValue:@"oneway"],
232235 @"open": [[QTEnum alloc] initWithValue:@"open"],
@@ -278,6 +281,7 @@ NS_ASSUME_NONNULL_BEGIN
278281 @"self": [[QTEnum alloc] initWithValue:@"self"],
279282 @"Sendable": [[QTEnum alloc] initWithValue:@"Sendable"],
280283 @"serialize": [[QTEnum alloc] initWithValue:@"serialize"],
284+ @"SerializationFeature": [[QTEnum alloc] initWithValue:@"SerializationFeature"],
281285 @"SerializerProvider": [[QTEnum alloc] initWithValue:@"SerializerProvider"],
282286 @"set": [[QTEnum alloc] initWithValue:@"set"],
283287 @"short": [[QTEnum alloc] initWithValue:@"short"],
@@ -427,6 +431,7 @@ NS_ASSUME_NONNULL_BEGIN
427431 + (QTEnum *)debugger { return QTEnum.values[@"debugger"]; }
428432 + (QTEnum *)decimal { return QTEnum.values[@"decimal"]; }
429433 + (QTEnum *)declare { return QTEnum.values[@"declare"]; }
434++ (QTEnum *)deserializationFeature { return QTEnum.values[@"DeserializationFeature"]; }
430435 + (QTEnum *)decltype { return QTEnum.values[@"decltype"]; }
431436 + (QTEnum *)decodeString { return QTEnum.values[@"decode_string"]; }
432437 + (QTEnum *)decoder { return QTEnum.values[@"Decoder"]; }
@@ -563,6 +568,8 @@ NS_ASSUME_NONNULL_BEGIN
563568 + (QTEnum *)number { return QTEnum.values[@"number"]; }
564569 + (QTEnum *)object { return QTEnum.values[@"object"]; }
565570 + (QTEnum *)objectMapper { return QTEnum.values[@"ObjectMapper"]; }
571++ (QTEnum *)objectReader { return QTEnum.values[@"ObjectReader"]; }
572++ (QTEnum *)objectWriter { return QTEnum.values[@"ObjectWriter"]; }
566573 + (QTEnum *)of { return QTEnum.values[@"of"]; }
567574 + (QTEnum *)oneway { return QTEnum.values[@"oneway"]; }
568575 + (QTEnum *)open { return QTEnum.values[@"open"]; }
@@ -614,6 +621,7 @@ NS_ASSUME_NONNULL_BEGIN
614621 + (QTEnum *)enumSelf { return QTEnum.values[@"self"]; }
615622 + (QTEnum *)sendable { return QTEnum.values[@"Sendable"]; }
616623 + (QTEnum *)serialize { return QTEnum.values[@"serialize"]; }
624++ (QTEnum *)serializationFeature { return QTEnum.values[@"SerializationFeature"]; }
617625 + (QTEnum *)serializerProvider { return QTEnum.values[@"SerializerProvider"]; }
618626 + (QTEnum *)set { return QTEnum.values[@"set"]; }
619627 + (QTEnum *)enumShort { return QTEnum.values[@"short"]; }
Mschema-phpdefault / TopLevel.php+16 −0
@@ -186,6 +186,7 @@ class EnumEnum {
186186 public static EnumEnum $DEBUGGER;
187187 public static EnumEnum $DECIMAL;
188188 public static EnumEnum $DECLARE;
189+ public static EnumEnum $DESERIALIZATION_FEATURE;
189190 public static EnumEnum $DECLTYPE;
190191 public static EnumEnum $DECODE_STRING;
191192 public static EnumEnum $DECODER;
@@ -322,6 +323,8 @@ class EnumEnum {
322323 public static EnumEnum $NUMBER;
323324 public static EnumEnum $OBJECT;
324325 public static EnumEnum $OBJECT_MAPPER;
326+ public static EnumEnum $OBJECT_READER;
327+ public static EnumEnum $OBJECT_WRITER;
325328 public static EnumEnum $OF;
326329 public static EnumEnum $ONEWAY;
327330 public static EnumEnum $OPEN;
@@ -373,6 +376,7 @@ class EnumEnum {
373376 public static EnumEnum $ENUM_SELF;
374377 public static EnumEnum $SENDABLE;
375378 public static EnumEnum $SERIALIZE;
379+ public static EnumEnum $SERIALIZATION_FEATURE;
376380 public static EnumEnum $SERIALIZER_PROVIDER;
377381 public static EnumEnum $SET;
378382 public static EnumEnum $SHORT;
@@ -520,6 +524,7 @@ class EnumEnum {
520524 EnumEnum::$DEBUGGER = new EnumEnum('debugger');
521525 EnumEnum::$DECIMAL = new EnumEnum('decimal');
522526 EnumEnum::$DECLARE = new EnumEnum('declare');
527+ EnumEnum::$DESERIALIZATION_FEATURE = new EnumEnum('DeserializationFeature');
523528 EnumEnum::$DECLTYPE = new EnumEnum('decltype');
524529 EnumEnum::$DECODE_STRING = new EnumEnum('decode_string');
525530 EnumEnum::$DECODER = new EnumEnum('Decoder');
@@ -656,6 +661,8 @@ class EnumEnum {
656661 EnumEnum::$NUMBER = new EnumEnum('number');
657662 EnumEnum::$OBJECT = new EnumEnum('object');
658663 EnumEnum::$OBJECT_MAPPER = new EnumEnum('ObjectMapper');
664+ EnumEnum::$OBJECT_READER = new EnumEnum('ObjectReader');
665+ EnumEnum::$OBJECT_WRITER = new EnumEnum('ObjectWriter');
659666 EnumEnum::$OF = new EnumEnum('of');
660667 EnumEnum::$ONEWAY = new EnumEnum('oneway');
661668 EnumEnum::$OPEN = new EnumEnum('open');
@@ -707,6 +714,7 @@ class EnumEnum {
707714 EnumEnum::$ENUM_SELF = new EnumEnum('self');
708715 EnumEnum::$SENDABLE = new EnumEnum('Sendable');
709716 EnumEnum::$SERIALIZE = new EnumEnum('serialize');
717+ EnumEnum::$SERIALIZATION_FEATURE = new EnumEnum('SerializationFeature');
710718 EnumEnum::$SERIALIZER_PROVIDER = new EnumEnum('SerializerProvider');
711719 EnumEnum::$SET = new EnumEnum('set');
712720 EnumEnum::$SHORT = new EnumEnum('short');
@@ -866,6 +874,7 @@ class EnumEnum {
866874 case EnumEnum::$DEBUGGER->enum: return 'debugger';
867875 case EnumEnum::$DECIMAL->enum: return 'decimal';
868876 case EnumEnum::$DECLARE->enum: return 'declare';
877+ case EnumEnum::$DESERIALIZATION_FEATURE->enum: return 'DeserializationFeature';
869878 case EnumEnum::$DECLTYPE->enum: return 'decltype';
870879 case EnumEnum::$DECODE_STRING->enum: return 'decode_string';
871880 case EnumEnum::$DECODER->enum: return 'Decoder';
@@ -1002,6 +1011,8 @@ class EnumEnum {
10021011 case EnumEnum::$NUMBER->enum: return 'number';
10031012 case EnumEnum::$OBJECT->enum: return 'object';
10041013 case EnumEnum::$OBJECT_MAPPER->enum: return 'ObjectMapper';
1014+ case EnumEnum::$OBJECT_READER->enum: return 'ObjectReader';
1015+ case EnumEnum::$OBJECT_WRITER->enum: return 'ObjectWriter';
10051016 case EnumEnum::$OF->enum: return 'of';
10061017 case EnumEnum::$ONEWAY->enum: return 'oneway';
10071018 case EnumEnum::$OPEN->enum: return 'open';
@@ -1053,6 +1064,7 @@ class EnumEnum {
10531064 case EnumEnum::$ENUM_SELF->enum: return 'self';
10541065 case EnumEnum::$SENDABLE->enum: return 'Sendable';
10551066 case EnumEnum::$SERIALIZE->enum: return 'serialize';
1067+ case EnumEnum::$SERIALIZATION_FEATURE->enum: return 'SerializationFeature';
10561068 case EnumEnum::$SERIALIZER_PROVIDER->enum: return 'SerializerProvider';
10571069 case EnumEnum::$SET->enum: return 'set';
10581070 case EnumEnum::$SHORT->enum: return 'short';
@@ -1210,6 +1222,7 @@ class EnumEnum {
12101222 case 'debugger': return EnumEnum::$DEBUGGER;
12111223 case 'decimal': return EnumEnum::$DECIMAL;
12121224 case 'declare': return EnumEnum::$DECLARE;
1225+ case 'DeserializationFeature': return EnumEnum::$DESERIALIZATION_FEATURE;
12131226 case 'decltype': return EnumEnum::$DECLTYPE;
12141227 case 'decode_string': return EnumEnum::$DECODE_STRING;
12151228 case 'Decoder': return EnumEnum::$DECODER;
@@ -1346,6 +1359,8 @@ class EnumEnum {
13461359 case 'number': return EnumEnum::$NUMBER;
13471360 case 'object': return EnumEnum::$OBJECT;
13481361 case 'ObjectMapper': return EnumEnum::$OBJECT_MAPPER;
1362+ case 'ObjectReader': return EnumEnum::$OBJECT_READER;
1363+ case 'ObjectWriter': return EnumEnum::$OBJECT_WRITER;
13491364 case 'of': return EnumEnum::$OF;
13501365 case 'oneway': return EnumEnum::$ONEWAY;
13511366 case 'open': return EnumEnum::$OPEN;
@@ -1397,6 +1412,7 @@ class EnumEnum {
13971412 case 'self': return EnumEnum::$ENUM_SELF;
13981413 case 'Sendable': return EnumEnum::$SENDABLE;
13991414 case 'serialize': return EnumEnum::$SERIALIZE;
1415+ case 'SerializationFeature': return EnumEnum::$SERIALIZATION_FEATURE;
14001416 case 'SerializerProvider': return EnumEnum::$SERIALIZER_PROVIDER;
14011417 case 'set': return EnumEnum::$SET;
14021418 case 'short': return EnumEnum::$SHORT;
Mschema-pikedefault / TopLevel.pmod+5 −1
@@ -106,6 +106,7 @@ enum Enum {
106106 DEBUGGER = "debugger", // json: "debugger"
107107 DECIMAL = "decimal", // json: "decimal"
108108 DECLARE = "declare", // json: "declare"
109+ DESERIALIZATION_FEATURE = "DeserializationFeature", // json: "DeserializationFeature"
109110 DECLTYPE = "decltype", // json: "decltype"
110111 DECODE_STRING = "decode_string", // json: "decode_string"
111112 DECODER = "Decoder", // json: "Decoder"
@@ -242,6 +243,8 @@ enum Enum {
242243 NUMBER = "number", // json: "number"
243244 OBJECT = "object", // json: "object"
244245 OBJECT_MAPPER = "ObjectMapper", // json: "ObjectMapper"
246+ OBJECT_READER = "ObjectReader", // json: "ObjectReader"
247+ OBJECT_WRITER = "ObjectWriter", // json: "ObjectWriter"
245248 OF = "of", // json: "of"
246249 ONEWAY = "oneway", // json: "oneway"
247250 OPEN = "open", // json: "open"
@@ -293,6 +296,7 @@ enum Enum {
293296 ENUM_SELF = "self", // json: "self"
294297 SENDABLE = "Sendable", // json: "Sendable"
295298 SERIALIZE = "serialize", // json: "serialize"
299+ SERIALIZATION_FEATURE = "SerializationFeature", // json: "SerializationFeature"
296300 SERIALIZER_PROVIDER = "SerializerProvider", // json: "SerializerProvider"
297301 SET = "set", // json: "set"
298302 SHORT = "short", // json: "short"
@@ -369,5 +373,5 @@ enum Enum {
369373 }
370374
371375 Enum Enum_from_JSON(mixed json) {
372- if(!zero_type(json)&&json != "_"&&json != "_Bool"&&json != "_Complex"&&json != "_Imaginery"&&json != "abstract"&&json != "alignas"&&json != "alignof"&&json != "and"&&json != "and_eq"&&json != "any"&&json != "Any"&&json != "array"&&json != "as"&&json != "asm"&&json != "assert"&&json != "associatedtype"&&json != "associativity"&&json != "async"&&json != "atomic"&&json != "atomic_cancel"&&json != "atomic_commit"&&json != "atomic_noexcept"&&json != "auto"&&json != "await"&&json != "base"&&json != "bitand"&&json != "bitor"&&json != "BOOL"&&json != "bool"&&json != "boolean"&&json != "break"&&json != "bycopy"&&json != "byref"&&json != "byte"&&json != "Calendar"&&json != "case"&&json != "catch"&&json != "chan"&&json != "char"&&json != "char16_t"&&json != "char32_t"&&json != "checked"&&json != "class"&&json != "Class"&&json != "clone"&&json != "co_await"&&json != "co_return"&&json != "co_yield"&&json != "Codable"&&json != "CodingKey"&&json != "CodingKeys"&&json != "compl"&&json != "concept"&&json != "console"&&json != "const"&&json != "const_cast"&&json != "constexpr"&&json != "constructor"&&json != "continue"&&json != "convenience"&&json != "convert"&&json != "converter"&&json != "CultureInfo"&&json != "date"&&json != "date_parse_handling"&&json != "DateFormatter"&&json != "DateOnly"&&json != "DateOnlyConverter"&&json != "DateTime"&&json != "DateTimeStyles"&&json != "debugger"&&json != "decimal"&&json != "declare"&&json != "decltype"&&json != "decode_string"&&json != "Decoder"&&json != "DecodingError"&&json != "def"&&json != "default"&&json != "defer"&&json != "deinit"&&json != "del"&&json != "delegate"&&json != "delete"&&json != "dict"&&json != "dictionary"&&json != "didSet"&&json != "do"&&json != "double"&&json != "dynamic"&&json != "dynamic_cast"&&json != "elif"&&json != "else"&&json != "encode_quick_type"&&json != "Encoder"&&json != "enum"&&json != "EnumValues"&&json != "Equatable"&&json != "equalityContract"&&json != "event"&&json != "except"&&json != "exception"&&json != "explicit"&&json != "export"&&json != "exposing"&&json != "extends"&&json != "extension"&&json != "extern"&&json != "fallthrough"&&json != "false"&&json != "False"&&json != "fileprivate"&&json != "final"&&json != "finally"&&json != "fixed"&&json != "float"&&json != "for"&&json != "foreach"&&json != "FormatException"&&json != "friend"&&json != "from"&&json != "from_json"&&json != "func"&&json != "function"&&json != "get"&&json != "global"&&json != "go"&&json != "goto"&&json != "guard"&&json != "Hashable"&&json != "hashCode"&&json != "Hasher"&&json != "hasOwnProperty"&&json != "id"&&json != "if"&&json != "IMP"&&json != "implements"&&json != "implicit"&&json != "import"&&json != "in"&&json != "indirect"&&json != "infix"&&json != "init"&&json != "inline"&&json != "inout"&&json != "instanceof"&&json != "int"&&json != "interface"&&json != "internal"&&json != "IsoDateTimeOffsetConverter"&&json != "iterable"&&json != "is"&&json != "jdec"&&json != "jenc"&&json != "jpipe"&&json != "json"&&json != "json_converter"&&json != "json_serializer"&&json != "json_token"&&json != "json_writer"&&json != "JSONAny"&&json != "JSONCodingKey"&&json != "JSONDecoder"&&json != "JSONEncoder"&&json != "JsonException"&&json != "JsonGenerator"&&json != "JsonNode"&&json != "JSONNull"&&json != "JsonParser"&&json != "JsonReader"&&json != "JsonTokenType"&&json != "lambda"&&json != "lazy"&&json != "left"&&json != "let"&&json != "list"&&json != "Locale"&&json != "lock"&&json != "long"&&json != "map"&&json != "MapEntry"&&json != "metadata_property_handling"&&json != "module"&&json != "mutable"&&json != "mutating"&&json != "namespace"&&json != "native"&&json != "new"&&json != "newtonsoft"&&json != "nil"&&json != "NO"&&json != "noexcept"&&json != "nonatomic"&&json != "none"&&json != "None"&&json != "nonlocal"&&json != "nonmutating"&&json != "NSObject"&&json != "noSuchMethod"&&json != "not"&&json != "not_eq"&&json != "NSError"&&json != "NSString"&&json != "NULL"&&json != "null"&&json != "nullptr"&&json != "number"&&json != "object"&&json != "ObjectMapper"&&json != "of"&&json != "oneway"&&json != "open"&&json != "operator"&&json != "optional"&&json != "or"&&json != "or_eq"&&json != "out"&&json != "override"&&json != "package"&&json != "params"&&json != "pass"&&json != "port"&&json != "postfix"&&json != "precedence"&&json != "prefix"&&json != "print"&&json != "printf"&&json != "printMembers"&&json != "private"&&json != "protected"&&json != "Protocol"&&json != "protocol"&&json != "public"&&json != "quicktype"&&json != "raise"&&json != "range"&&json != "readonly"&&json != "ref"&&json != "RegExp"&&json != "register"&&json != "reinterpret_cast"&&json != "repeat"&&json != "require"&&json != "required"&&json != "requires"&&json != "restrict"&&json != "retain"&&json != "rethrows"&&json != "return"&&json != "right"&&json != "runtimeType"&&json != "s"&&json != "sbyte"&&json != "sealed"&&json != "SEL"&&json != "select"&&json != "Self"&&json != "self"&&json != "Sendable"&&json != "serialize"&&json != "SerializerProvider"&&json != "set"&&json != "short"&&json != "signed"&&json != "SimpleModule"&&json != "sizeof"&&json != "stackalloc"&&json != "Standards"&&json != "static"&&json != "static_assert"&&json != "static_cast"&&json != "StdDeserializer"&&json != "StdSerializer"&&json != "strictfp"&&json != "string"&&json != "struct"&&json != "subscript"&&json != "super"&&json != "switch"&&json != "symbol"&&json != "synchronized"&&json != "system"&&json != "template"&&json != "then"&&json != "this"&&json != "thread_local"&&json != "throw"&&json != "throws"&&json != "TimeOnly"&&json != "TimeOnlyConverter"&&json != "TimeZone"&&json != "to_json"&&json != "top_level"&&json != "toString"&&json != "transient"&&json != "True"&&json != "true"&&json != "try"&&json != "Type"&&json != "type"&&json != "typealias"&&json != "typedef"&&json != "typeid"&&json != "typename"&&json != "typeof"&&json != "uint"&&json != "ulong"&&json != "unchecked"&&json != "undefined"&&json != "union"&&json != "unowned"&&json != "unsafe"&&json != "unsigned"&&json != "ushort"&&json != "using"&&json != "Utf8JsonReader"&&json != "Utf8JsonWriter"&&json != "UUID"&&json != "var"&&json != "virtual"&&json != "void"&&json != "volatile"&&json != "wchar_t"&&json != "weak"&&json != "where"&&json != "while"&&json != "willSet"&&json != "with"&&json != "xor"&&json != "xor_eq"&&json != "YES"&&json != "yield"&&json != "dummy")error("enum");return json;
376+ if(!zero_type(json)&&json != "_"&&json != "_Bool"&&json != "_Complex"&&json != "_Imaginery"&&json != "abstract"&&json != "alignas"&&json != "alignof"&&json != "and"&&json != "and_eq"&&json != "any"&&json != "Any"&&json != "array"&&json != "as"&&json != "asm"&&json != "assert"&&json != "associatedtype"&&json != "associativity"&&json != "async"&&json != "atomic"&&json != "atomic_cancel"&&json != "atomic_commit"&&json != "atomic_noexcept"&&json != "auto"&&json != "await"&&json != "base"&&json != "bitand"&&json != "bitor"&&json != "BOOL"&&json != "bool"&&json != "boolean"&&json != "break"&&json != "bycopy"&&json != "byref"&&json != "byte"&&json != "Calendar"&&json != "case"&&json != "catch"&&json != "chan"&&json != "char"&&json != "char16_t"&&json != "char32_t"&&json != "checked"&&json != "class"&&json != "Class"&&json != "clone"&&json != "co_await"&&json != "co_return"&&json != "co_yield"&&json != "Codable"&&json != "CodingKey"&&json != "CodingKeys"&&json != "compl"&&json != "concept"&&json != "console"&&json != "const"&&json != "const_cast"&&json != "constexpr"&&json != "constructor"&&json != "continue"&&json != "convenience"&&json != "convert"&&json != "converter"&&json != "CultureInfo"&&json != "date"&&json != "date_parse_handling"&&json != "DateFormatter"&&json != "DateOnly"&&json != "DateOnlyConverter"&&json != "DateTime"&&json != "DateTimeStyles"&&json != "debugger"&&json != "decimal"&&json != "declare"&&json != "DeserializationFeature"&&json != "decltype"&&json != "decode_string"&&json != "Decoder"&&json != "DecodingError"&&json != "def"&&json != "default"&&json != "defer"&&json != "deinit"&&json != "del"&&json != "delegate"&&json != "delete"&&json != "dict"&&json != "dictionary"&&json != "didSet"&&json != "do"&&json != "double"&&json != "dynamic"&&json != "dynamic_cast"&&json != "elif"&&json != "else"&&json != "encode_quick_type"&&json != "Encoder"&&json != "enum"&&json != "EnumValues"&&json != "Equatable"&&json != "equalityContract"&&json != "event"&&json != "except"&&json != "exception"&&json != "explicit"&&json != "export"&&json != "exposing"&&json != "extends"&&json != "extension"&&json != "extern"&&json != "fallthrough"&&json != "false"&&json != "False"&&json != "fileprivate"&&json != "final"&&json != "finally"&&json != "fixed"&&json != "float"&&json != "for"&&json != "foreach"&&json != "FormatException"&&json != "friend"&&json != "from"&&json != "from_json"&&json != "func"&&json != "function"&&json != "get"&&json != "global"&&json != "go"&&json != "goto"&&json != "guard"&&json != "Hashable"&&json != "hashCode"&&json != "Hasher"&&json != "hasOwnProperty"&&json != "id"&&json != "if"&&json != "IMP"&&json != "implements"&&json != "implicit"&&json != "import"&&json != "in"&&json != "indirect"&&json != "infix"&&json != "init"&&json != "inline"&&json != "inout"&&json != "instanceof"&&json != "int"&&json != "interface"&&json != "internal"&&json != "IsoDateTimeOffsetConverter"&&json != "iterable"&&json != "is"&&json != "jdec"&&json != "jenc"&&json != "jpipe"&&json != "json"&&json != "json_converter"&&json != "json_serializer"&&json != "json_token"&&json != "json_writer"&&json != "JSONAny"&&json != "JSONCodingKey"&&json != "JSONDecoder"&&json != "JSONEncoder"&&json != "JsonException"&&json != "JsonGenerator"&&json != "JsonNode"&&json != "JSONNull"&&json != "JsonParser"&&json != "JsonReader"&&json != "JsonTokenType"&&json != "lambda"&&json != "lazy"&&json != "left"&&json != "let"&&json != "list"&&json != "Locale"&&json != "lock"&&json != "long"&&json != "map"&&json != "MapEntry"&&json != "metadata_property_handling"&&json != "module"&&json != "mutable"&&json != "mutating"&&json != "namespace"&&json != "native"&&json != "new"&&json != "newtonsoft"&&json != "nil"&&json != "NO"&&json != "noexcept"&&json != "nonatomic"&&json != "none"&&json != "None"&&json != "nonlocal"&&json != "nonmutating"&&json != "NSObject"&&json != "noSuchMethod"&&json != "not"&&json != "not_eq"&&json != "NSError"&&json != "NSString"&&json != "NULL"&&json != "null"&&json != "nullptr"&&json != "number"&&json != "object"&&json != "ObjectMapper"&&json != "ObjectReader"&&json != "ObjectWriter"&&json != "of"&&json != "oneway"&&json != "open"&&json != "operator"&&json != "optional"&&json != "or"&&json != "or_eq"&&json != "out"&&json != "override"&&json != "package"&&json != "params"&&json != "pass"&&json != "port"&&json != "postfix"&&json != "precedence"&&json != "prefix"&&json != "print"&&json != "printf"&&json != "printMembers"&&json != "private"&&json != "protected"&&json != "Protocol"&&json != "protocol"&&json != "public"&&json != "quicktype"&&json != "raise"&&json != "range"&&json != "readonly"&&json != "ref"&&json != "RegExp"&&json != "register"&&json != "reinterpret_cast"&&json != "repeat"&&json != "require"&&json != "required"&&json != "requires"&&json != "restrict"&&json != "retain"&&json != "rethrows"&&json != "return"&&json != "right"&&json != "runtimeType"&&json != "s"&&json != "sbyte"&&json != "sealed"&&json != "SEL"&&json != "select"&&json != "Self"&&json != "self"&&json != "Sendable"&&json != "serialize"&&json != "SerializationFeature"&&json != "SerializerProvider"&&json != "set"&&json != "short"&&json != "signed"&&json != "SimpleModule"&&json != "sizeof"&&json != "stackalloc"&&json != "Standards"&&json != "static"&&json != "static_assert"&&json != "static_cast"&&json != "StdDeserializer"&&json != "StdSerializer"&&json != "strictfp"&&json != "string"&&json != "struct"&&json != "subscript"&&json != "super"&&json != "switch"&&json != "symbol"&&json != "synchronized"&&json != "system"&&json != "template"&&json != "then"&&json != "this"&&json != "thread_local"&&json != "throw"&&json != "throws"&&json != "TimeOnly"&&json != "TimeOnlyConverter"&&json != "TimeZone"&&json != "to_json"&&json != "top_level"&&json != "toString"&&json != "transient"&&json != "True"&&json != "true"&&json != "try"&&json != "Type"&&json != "type"&&json != "typealias"&&json != "typedef"&&json != "typeid"&&json != "typename"&&json != "typeof"&&json != "uint"&&json != "ulong"&&json != "unchecked"&&json != "undefined"&&json != "union"&&json != "unowned"&&json != "unsafe"&&json != "unsigned"&&json != "ushort"&&json != "using"&&json != "Utf8JsonReader"&&json != "Utf8JsonWriter"&&json != "UUID"&&json != "var"&&json != "virtual"&&json != "void"&&json != "volatile"&&json != "wchar_t"&&json != "weak"&&json != "where"&&json != "while"&&json != "willSet"&&json != "with"&&json != "xor"&&json != "xor_eq"&&json != "YES"&&json != "yield"&&json != "dummy")error("enum");return json;
373377 }
Mschema-pythondefault / quicktype.py+4 −0
@@ -105,6 +105,7 @@ class EnumEnum(Enum):
105105 DEBUGGER = "debugger"
106106 DECIMAL = "decimal"
107107 DECLARE = "declare"
108+ DESERIALIZATION_FEATURE = "DeserializationFeature"
108109 DECLTYPE = "decltype"
109110 DECODE_STRING = "decode_string"
110111 DECODER = "Decoder"
@@ -241,6 +242,8 @@ class EnumEnum(Enum):
241242 NUMBER = "number"
242243 OBJECT = "object"
243244 OBJECT_MAPPER = "ObjectMapper"
245+ OBJECT_READER = "ObjectReader"
246+ OBJECT_WRITER = "ObjectWriter"
244247 OF = "of"
245248 ONEWAY = "oneway"
246249 OPEN = "open"
@@ -292,6 +295,7 @@ class EnumEnum(Enum):
292295 ENUM_SELF = "self"
293296 SENDABLE = "Sendable"
294297 SERIALIZE = "serialize"
298+ SERIALIZATION_FEATURE = "SerializationFeature"
295299 SERIALIZER_PROVIDER = "SerializerProvider"
296300 SET = "set"
297301 SHORT = "short"
Mschema-rubydefault / TopLevel.rb+5 −1
@@ -17,7 +17,7 @@ module Types
1717
1818 Hash = Strict::Hash
1919 String = Strict::String
20- Enum = Strict::String.enum("_", "_Bool", "_Complex", "_Imaginery", "abstract", "alignas", "alignof", "and", "and_eq", "any", "Any", "array", "as", "asm", "assert", "associatedtype", "associativity", "async", "atomic", "atomic_cancel", "atomic_commit", "atomic_noexcept", "auto", "await", "base", "bitand", "bitor", "BOOL", "bool", "boolean", "break", "bycopy", "byref", "byte", "Calendar", "case", "catch", "chan", "char", "char16_t", "char32_t", "checked", "class", "Class", "clone", "co_await", "co_return", "co_yield", "Codable", "CodingKey", "CodingKeys", "compl", "concept", "console", "const", "const_cast", "constexpr", "constructor", "continue", "convenience", "convert", "converter", "CultureInfo", "date", "date_parse_handling", "DateFormatter", "DateOnly", "DateOnlyConverter", "DateTime", "DateTimeStyles", "debugger", "decimal", "declare", "decltype", "decode_string", "Decoder", "DecodingError", "def", "default", "defer", "deinit", "del", "delegate", "delete", "dict", "dictionary", "didSet", "do", "double", "dynamic", "dynamic_cast", "elif", "else", "encode_quick_type", "Encoder", "enum", "EnumValues", "Equatable", "equalityContract", "event", "except", "exception", "explicit", "export", "exposing", "extends", "extension", "extern", "fallthrough", "false", "False", "fileprivate", "final", "finally", "fixed", "float", "for", "foreach", "FormatException", "friend", "from", "from_json", "func", "function", "get", "global", "go", "goto", "guard", "Hashable", "hashCode", "Hasher", "hasOwnProperty", "id", "if", "IMP", "implements", "implicit", "import", "in", "indirect", "infix", "init", "inline", "inout", "instanceof", "int", "interface", "internal", "IsoDateTimeOffsetConverter", "iterable", "is", "jdec", "jenc", "jpipe", "json", "json_converter", "json_serializer", "json_token", "json_writer", "JSONAny", "JSONCodingKey", "JSONDecoder", "JSONEncoder", "JsonException", "JsonGenerator", "JsonNode", "JSONNull", "JsonParser", "JsonReader", "JsonTokenType", "lambda", "lazy", "left", "let", "list", "Locale", "lock", "long", "map", "MapEntry", "metadata_property_handling", "module", "mutable", "mutating", "namespace", "native", "new", "newtonsoft", "nil", "NO", "noexcept", "nonatomic", "none", "None", "nonlocal", "nonmutating", "NSObject", "noSuchMethod", "not", "not_eq", "NSError", "NSString", "NULL", "null", "nullptr", "number", "object", "ObjectMapper", "of", "oneway", "open", "operator", "optional", "or", "or_eq", "out", "override", "package", "params", "pass", "port", "postfix", "precedence", "prefix", "print", "printf", "printMembers", "private", "protected", "Protocol", "protocol", "public", "quicktype", "raise", "range", "readonly", "ref", "RegExp", "register", "reinterpret_cast", "repeat", "require", "required", "requires", "restrict", "retain", "rethrows", "return", "right", "runtimeType", "s", "sbyte", "sealed", "SEL", "select", "Self", "self", "Sendable", "serialize", "SerializerProvider", "set", "short", "signed", "SimpleModule", "sizeof", "stackalloc", "Standards", "static", "static_assert", "static_cast", "StdDeserializer", "StdSerializer", "strictfp", "string", "struct", "subscript", "super", "switch", "symbol", "synchronized", "system", "template", "then", "this", "thread_local", "throw", "throws", "TimeOnly", "TimeOnlyConverter", "TimeZone", "to_json", "top_level", "toString", "transient", "True", "true", "try", "Type", "type", "typealias", "typedef", "typeid", "typename", "typeof", "uint", "ulong", "unchecked", "undefined", "union", "unowned", "unsafe", "unsigned", "ushort", "using", "Utf8JsonReader", "Utf8JsonWriter", "UUID", "var", "virtual", "void", "volatile", "wchar_t", "weak", "where", "while", "willSet", "with", "xor", "xor_eq", "YES", "yield", "dummy")
20+ Enum = Strict::String.enum("_", "_Bool", "_Complex", "_Imaginery", "abstract", "alignas", "alignof", "and", "and_eq", "any", "Any", "array", "as", "asm", "assert", "associatedtype", "associativity", "async", "atomic", "atomic_cancel", "atomic_commit", "atomic_noexcept", "auto", "await", "base", "bitand", "bitor", "BOOL", "bool", "boolean", "break", "bycopy", "byref", "byte", "Calendar", "case", "catch", "chan", "char", "char16_t", "char32_t", "checked", "class", "Class", "clone", "co_await", "co_return", "co_yield", "Codable", "CodingKey", "CodingKeys", "compl", "concept", "console", "const", "const_cast", "constexpr", "constructor", "continue", "convenience", "convert", "converter", "CultureInfo", "date", "date_parse_handling", "DateFormatter", "DateOnly", "DateOnlyConverter", "DateTime", "DateTimeStyles", "debugger", "decimal", "declare", "DeserializationFeature", "decltype", "decode_string", "Decoder", "DecodingError", "def", "default", "defer", "deinit", "del", "delegate", "delete", "dict", "dictionary", "didSet", "do", "double", "dynamic", "dynamic_cast", "elif", "else", "encode_quick_type", "Encoder", "enum", "EnumValues", "Equatable", "equalityContract", "event", "except", "exception", "explicit", "export", "exposing", "extends", "extension", "extern", "fallthrough", "false", "False", "fileprivate", "final", "finally", "fixed", "float", "for", "foreach", "FormatException", "friend", "from", "from_json", "func", "function", "get", "global", "go", "goto", "guard", "Hashable", "hashCode", "Hasher", "hasOwnProperty", "id", "if", "IMP", "implements", "implicit", "import", "in", "indirect", "infix", "init", "inline", "inout", "instanceof", "int", "interface", "internal", "IsoDateTimeOffsetConverter", "iterable", "is", "jdec", "jenc", "jpipe", "json", "json_converter", "json_serializer", "json_token", "json_writer", "JSONAny", "JSONCodingKey", "JSONDecoder", "JSONEncoder", "JsonException", "JsonGenerator", "JsonNode", "JSONNull", "JsonParser", "JsonReader", "JsonTokenType", "lambda", "lazy", "left", "let", "list", "Locale", "lock", "long", "map", "MapEntry", "metadata_property_handling", "module", "mutable", "mutating", "namespace", "native", "new", "newtonsoft", "nil", "NO", "noexcept", "nonatomic", "none", "None", "nonlocal", "nonmutating", "NSObject", "noSuchMethod", "not", "not_eq", "NSError", "NSString", "NULL", "null", "nullptr", "number", "object", "ObjectMapper", "ObjectReader", "ObjectWriter", "of", "oneway", "open", "operator", "optional", "or", "or_eq", "out", "override", "package", "params", "pass", "port", "postfix", "precedence", "prefix", "print", "printf", "printMembers", "private", "protected", "Protocol", "protocol", "public", "quicktype", "raise", "range", "readonly", "ref", "RegExp", "register", "reinterpret_cast", "repeat", "require", "required", "requires", "restrict", "retain", "rethrows", "return", "right", "runtimeType", "s", "sbyte", "sealed", "SEL", "select", "Self", "self", "Sendable", "serialize", "SerializationFeature", "SerializerProvider", "set", "short", "signed", "SimpleModule", "sizeof", "stackalloc", "Standards", "static", "static_assert", "static_cast", "StdDeserializer", "StdSerializer", "strictfp", "string", "struct", "subscript", "super", "switch", "symbol", "synchronized", "system", "template", "then", "this", "thread_local", "throw", "throws", "TimeOnly", "TimeOnlyConverter", "TimeZone", "to_json", "top_level", "toString", "transient", "True", "true", "try", "Type", "type", "typealias", "typedef", "typeid", "typename", "typeof", "uint", "ulong", "unchecked", "undefined", "union", "unowned", "unsafe", "unsigned", "ushort", "using", "Utf8JsonReader", "Utf8JsonWriter", "UUID", "var", "virtual", "void", "volatile", "wchar_t", "weak", "where", "while", "willSet", "with", "xor", "xor_eq", "YES", "yield", "dummy")
2121 end
2222
2323 module Enum
@@ -94,6 +94,7 @@ module Enum
9494 Debugger = "debugger"
9595 Decimal = "decimal"
9696 Declare = "declare"
97+ DeserializationFeature = "DeserializationFeature"
9798 Decltype = "decltype"
9899 DecodeString = "decode_string"
99100 Decoder = "Decoder"
@@ -230,6 +231,8 @@ module Enum
230231 Number = "number"
231232 Object = "object"
232233 ObjectMapper = "ObjectMapper"
234+ ObjectReader = "ObjectReader"
235+ ObjectWriter = "ObjectWriter"
233236 Of = "of"
234237 Oneway = "oneway"
235238 Open = "open"
@@ -281,6 +284,7 @@ module Enum
281284 EnumSelf = "self"
282285 Sendable = "Sendable"
283286 Serialize = "serialize"
287+ SerializationFeature = "SerializationFeature"
284288 SerializerProvider = "SerializerProvider"
285289 Set = "set"
286290 Short = "short"
Mschema-rustdefault / module_under_test.rs+12 −0
@@ -197,6 +197,9 @@ pub enum Enum {
197197
198198 Declare,
199199
200+ #[serde(rename = "DeserializationFeature")]
201+ DeserializationFeature,
202+
200203 Decltype,
201204
202205 #[serde(rename = "decode_string")]
@@ -517,6 +520,12 @@ pub enum Enum {
517520 #[serde(rename = "ObjectMapper")]
518521 ObjectMapper,
519522
523+ #[serde(rename = "ObjectReader")]
524+ ObjectReader,
525+
526+ #[serde(rename = "ObjectWriter")]
527+ ObjectWriter,
528+
520529 Of,
521530
522531 Oneway,
@@ -631,6 +640,9 @@ pub enum Enum {
631640 #[serde(rename = "serialize")]
632641 EnumSerialize,
633642
643+ #[serde(rename = "SerializationFeature")]
644+ SerializationFeature,
645+
634646 #[serde(rename = "SerializerProvider")]
635647 SerializerProvider,
Mschema-scala3-upickledefault / TopLevel.scala+12 −0
@@ -156,6 +156,7 @@ enum EnumEnum :
156156 case Debugger
157157 case Decimal
158158 case Declare
159+ case DeserializationFeature
159160 case Decltype
160161 case DecodeString
161162 case Decoder
@@ -292,6 +293,8 @@ enum EnumEnum :
292293 case Number
293294 case Object
294295 case ObjectMapper
296+ case ObjectReader
297+ case ObjectWriter
295298 case Of
296299 case Oneway
297300 case Open
@@ -343,6 +346,7 @@ enum EnumEnum :
343346 case EnumSelf
344347 case Sendable
345348 case Serialize
349+ case SerializationFeature
346350 case SerializerProvider
347351 case Set
348352 case EnumShort
@@ -492,6 +496,7 @@ given OptionPickler.ReadWriter[EnumEnum] = OptionPickler.readwriter[String].bima
492496 case EnumEnum.Debugger => "debugger"
493497 case EnumEnum.Decimal => "decimal"
494498 case EnumEnum.Declare => "declare"
499+ case EnumEnum.DeserializationFeature => "DeserializationFeature"
495500 case EnumEnum.Decltype => "decltype"
496501 case EnumEnum.DecodeString => "decode_string"
497502 case EnumEnum.Decoder => "Decoder"
@@ -628,6 +633,8 @@ given OptionPickler.ReadWriter[EnumEnum] = OptionPickler.readwriter[String].bima
628633 case EnumEnum.Number => "number"
629634 case EnumEnum.Object => "object"
630635 case EnumEnum.ObjectMapper => "ObjectMapper"
636+ case EnumEnum.ObjectReader => "ObjectReader"
637+ case EnumEnum.ObjectWriter => "ObjectWriter"
631638 case EnumEnum.Of => "of"
632639 case EnumEnum.Oneway => "oneway"
633640 case EnumEnum.Open => "open"
@@ -679,6 +686,7 @@ given OptionPickler.ReadWriter[EnumEnum] = OptionPickler.readwriter[String].bima
679686 case EnumEnum.EnumSelf => "self"
680687 case EnumEnum.Sendable => "Sendable"
681688 case EnumEnum.Serialize => "serialize"
689+ case EnumEnum.SerializationFeature => "SerializationFeature"
682690 case EnumEnum.SerializerProvider => "SerializerProvider"
683691 case EnumEnum.Set => "set"
684692 case EnumEnum.EnumShort => "short"
@@ -827,6 +835,7 @@ given OptionPickler.ReadWriter[EnumEnum] = OptionPickler.readwriter[String].bima
827835 case "debugger" => EnumEnum.Debugger
828836 case "decimal" => EnumEnum.Decimal
829837 case "declare" => EnumEnum.Declare
838+ case "DeserializationFeature" => EnumEnum.DeserializationFeature
830839 case "decltype" => EnumEnum.Decltype
831840 case "decode_string" => EnumEnum.DecodeString
832841 case "Decoder" => EnumEnum.Decoder
@@ -963,6 +972,8 @@ given OptionPickler.ReadWriter[EnumEnum] = OptionPickler.readwriter[String].bima
963972 case "number" => EnumEnum.Number
964973 case "object" => EnumEnum.Object
965974 case "ObjectMapper" => EnumEnum.ObjectMapper
975+ case "ObjectReader" => EnumEnum.ObjectReader
976+ case "ObjectWriter" => EnumEnum.ObjectWriter
966977 case "of" => EnumEnum.Of
967978 case "oneway" => EnumEnum.Oneway
968979 case "open" => EnumEnum.Open
@@ -1014,6 +1025,7 @@ given OptionPickler.ReadWriter[EnumEnum] = OptionPickler.readwriter[String].bima
10141025 case "self" => EnumEnum.EnumSelf
10151026 case "Sendable" => EnumEnum.Sendable
10161027 case "serialize" => EnumEnum.Serialize
1028+ case "SerializationFeature" => EnumEnum.SerializationFeature
10171029 case "SerializerProvider" => EnumEnum.SerializerProvider
10181030 case "set" => EnumEnum.Set
10191031 case "short" => EnumEnum.EnumShort
Mschema-scala3default / TopLevel.scala+12 −0
@@ -85,6 +85,7 @@ enum EnumEnum :
8585 case Debugger
8686 case Decimal
8787 case Declare
88+ case DeserializationFeature
8889 case Decltype
8990 case DecodeString
9091 case Decoder
@@ -221,6 +222,8 @@ enum EnumEnum :
221222 case Number
222223 case Object
223224 case ObjectMapper
225+ case ObjectReader
226+ case ObjectWriter
224227 case Of
225228 case Oneway
226229 case Open
@@ -272,6 +275,7 @@ enum EnumEnum :
272275 case EnumSelf
273276 case Sendable
274277 case Serialize
278+ case SerializationFeature
275279 case SerializerProvider
276280 case Set
277281 case EnumShort
@@ -420,6 +424,7 @@ given Decoder[EnumEnum] = Decoder.decodeString.emap {
420424 case "debugger" => scala.Right(EnumEnum.Debugger)
421425 case "decimal" => scala.Right(EnumEnum.Decimal)
422426 case "declare" => scala.Right(EnumEnum.Declare)
427+ case "DeserializationFeature" => scala.Right(EnumEnum.DeserializationFeature)
423428 case "decltype" => scala.Right(EnumEnum.Decltype)
424429 case "decode_string" => scala.Right(EnumEnum.DecodeString)
425430 case "Decoder" => scala.Right(EnumEnum.Decoder)
@@ -556,6 +561,8 @@ given Decoder[EnumEnum] = Decoder.decodeString.emap {
556561 case "number" => scala.Right(EnumEnum.Number)
557562 case "object" => scala.Right(EnumEnum.Object)
558563 case "ObjectMapper" => scala.Right(EnumEnum.ObjectMapper)
564+ case "ObjectReader" => scala.Right(EnumEnum.ObjectReader)
565+ case "ObjectWriter" => scala.Right(EnumEnum.ObjectWriter)
559566 case "of" => scala.Right(EnumEnum.Of)
560567 case "oneway" => scala.Right(EnumEnum.Oneway)
561568 case "open" => scala.Right(EnumEnum.Open)
@@ -607,6 +614,7 @@ given Decoder[EnumEnum] = Decoder.decodeString.emap {
607614 case "self" => scala.Right(EnumEnum.EnumSelf)
608615 case "Sendable" => scala.Right(EnumEnum.Sendable)
609616 case "serialize" => scala.Right(EnumEnum.Serialize)
617+ case "SerializationFeature" => scala.Right(EnumEnum.SerializationFeature)
610618 case "SerializerProvider" => scala.Right(EnumEnum.SerializerProvider)
611619 case "set" => scala.Right(EnumEnum.Set)
612620 case "short" => scala.Right(EnumEnum.EnumShort)
@@ -756,6 +764,7 @@ given Encoder[EnumEnum] = Encoder.encodeString.contramap {
756764 case EnumEnum.Debugger => "debugger"
757765 case EnumEnum.Decimal => "decimal"
758766 case EnumEnum.Declare => "declare"
767+ case EnumEnum.DeserializationFeature => "DeserializationFeature"
759768 case EnumEnum.Decltype => "decltype"
760769 case EnumEnum.DecodeString => "decode_string"
761770 case EnumEnum.Decoder => "Decoder"
@@ -892,6 +901,8 @@ given Encoder[EnumEnum] = Encoder.encodeString.contramap {
892901 case EnumEnum.Number => "number"
893902 case EnumEnum.Object => "object"
894903 case EnumEnum.ObjectMapper => "ObjectMapper"
904+ case EnumEnum.ObjectReader => "ObjectReader"
905+ case EnumEnum.ObjectWriter => "ObjectWriter"
895906 case EnumEnum.Of => "of"
896907 case EnumEnum.Oneway => "oneway"
897908 case EnumEnum.Open => "open"
@@ -943,6 +954,7 @@ given Encoder[EnumEnum] = Encoder.encodeString.contramap {
943954 case EnumEnum.EnumSelf => "self"
944955 case EnumEnum.Sendable => "Sendable"
945956 case EnumEnum.Serialize => "serialize"
957+ case EnumEnum.SerializationFeature => "SerializationFeature"
946958 case EnumEnum.SerializerProvider => "SerializerProvider"
947959 case EnumEnum.Set => "set"
948960 case EnumEnum.EnumShort => "short"
Mschema-schemadefault / TopLevel.schema+4 −0
@@ -89,6 +89,7 @@
8989 "debugger",
9090 "decimal",
9191 "declare",
92+ "DeserializationFeature",
9293 "decltype",
9394 "decode_string",
9495 "Decoder",
@@ -225,6 +226,8 @@
225226 "number",
226227 "object",
227228 "ObjectMapper",
229+ "ObjectReader",
230+ "ObjectWriter",
228231 "of",
229232 "oneway",
230233 "open",
@@ -276,6 +279,7 @@
276279 "self",
277280 "Sendable",
278281 "serialize",
282+ "SerializationFeature",
279283 "SerializerProvider",
280284 "set",
281285 "short",
Mschema-swiftdefault / quicktype.swift+4 −0
@@ -123,6 +123,7 @@ enum Enum: String, Codable {
123123 case debugger = "debugger"
124124 case decimal = "decimal"
125125 case declare = "declare"
126+ case deserializationFeature = "DeserializationFeature"
126127 case decltype = "decltype"
127128 case decodeString = "decode_string"
128129 case decoder = "Decoder"
@@ -259,6 +260,8 @@ enum Enum: String, Codable {
259260 case number = "number"
260261 case object = "object"
261262 case objectMapper = "ObjectMapper"
263+ case objectReader = "ObjectReader"
264+ case objectWriter = "ObjectWriter"
262265 case of = "of"
263266 case oneway = "oneway"
264267 case enumOpen = "open"
@@ -310,6 +313,7 @@ enum Enum: String, Codable {
310313 case purpleSelf = "self"
311314 case sendable = "Sendable"
312315 case serialize = "serialize"
316+ case serializationFeature = "SerializationFeature"
313317 case serializerProvider = "SerializerProvider"
314318 case enumSet = "set"
315319 case short = "short"
Mschema-typescript-effect-schemadefault / TopLevel.ts+4 −0
@@ -75,6 +75,7 @@ export const Enum = S.Literal(
7575 "debugger",
7676 "decimal",
7777 "declare",
78+ "DeserializationFeature",
7879 "decltype",
7980 "decode_string",
8081 "Decoder",
@@ -211,6 +212,8 @@ export const Enum = S.Literal(
211212 "number",
212213 "object",
213214 "ObjectMapper",
215+ "ObjectReader",
216+ "ObjectWriter",
214217 "of",
215218 "oneway",
216219 "open",
@@ -262,6 +265,7 @@ export const Enum = S.Literal(
262265 "self",
263266 "Sendable",
264267 "serialize",
268+ "SerializationFeature",
265269 "SerializerProvider",
266270 "set",
267271 "short",
Mschema-typescript-zoddefault / TopLevel.ts+4 −0
@@ -75,6 +75,7 @@ export const EnumSchema = z.enum([
7575 "debugger",
7676 "decimal",
7777 "declare",
78+ "DeserializationFeature",
7879 "decltype",
7980 "decode_string",
8081 "Decoder",
@@ -211,6 +212,8 @@ export const EnumSchema = z.enum([
211212 "number",
212213 "object",
213214 "ObjectMapper",
215+ "ObjectReader",
216+ "ObjectWriter",
214217 "of",
215218 "oneway",
216219 "open",
@@ -262,6 +265,7 @@ export const EnumSchema = z.enum([
262265 "self",
263266 "Sendable",
264267 "serialize",
268+ "SerializationFeature",
265269 "SerializerProvider",
266270 "set",
267271 "short",
Mschema-typescriptdefault / TopLevel.ts+5 −1
@@ -12,7 +12,7 @@ export interface TopLevel {
1212 [property: string]: unknown;
1313 }
1414
15-export type Enum = "_" | "_Bool" | "_Complex" | "_Imaginery" | "abstract" | "alignas" | "alignof" | "and" | "and_eq" | "any" | "Any" | "array" | "as" | "asm" | "assert" | "associatedtype" | "associativity" | "async" | "atomic" | "atomic_cancel" | "atomic_commit" | "atomic_noexcept" | "auto" | "await" | "base" | "bitand" | "bitor" | "BOOL" | "bool" | "boolean" | "break" | "bycopy" | "byref" | "byte" | "Calendar" | "case" | "catch" | "chan" | "char" | "char16_t" | "char32_t" | "checked" | "class" | "Class" | "clone" | "co_await" | "co_return" | "co_yield" | "Codable" | "CodingKey" | "CodingKeys" | "compl" | "concept" | "console" | "const" | "const_cast" | "constexpr" | "constructor" | "continue" | "convenience" | "convert" | "converter" | "CultureInfo" | "date" | "date_parse_handling" | "DateFormatter" | "DateOnly" | "DateOnlyConverter" | "DateTime" | "DateTimeStyles" | "debugger" | "decimal" | "declare" | "decltype" | "decode_string" | "Decoder" | "DecodingError" | "def" | "default" | "defer" | "deinit" | "del" | "delegate" | "delete" | "dict" | "dictionary" | "didSet" | "do" | "double" | "dynamic" | "dynamic_cast" | "elif" | "else" | "encode_quick_type" | "Encoder" | "enum" | "EnumValues" | "Equatable" | "equalityContract" | "event" | "except" | "exception" | "explicit" | "export" | "exposing" | "extends" | "extension" | "extern" | "fallthrough" | "false" | "False" | "fileprivate" | "final" | "finally" | "fixed" | "float" | "for" | "foreach" | "FormatException" | "friend" | "from" | "from_json" | "func" | "function" | "get" | "global" | "go" | "goto" | "guard" | "Hashable" | "hashCode" | "Hasher" | "hasOwnProperty" | "id" | "if" | "IMP" | "implements" | "implicit" | "import" | "in" | "indirect" | "infix" | "init" | "inline" | "inout" | "instanceof" | "int" | "interface" | "internal" | "IsoDateTimeOffsetConverter" | "iterable" | "is" | "jdec" | "jenc" | "jpipe" | "json" | "json_converter" | "json_serializer" | "json_token" | "json_writer" | "JSONAny" | "JSONCodingKey" | "JSONDecoder" | "JSONEncoder" | "JsonException" | "JsonGenerator" | "JsonNode" | "JSONNull" | "JsonParser" | "JsonReader" | "JsonTokenType" | "lambda" | "lazy" | "left" | "let" | "list" | "Locale" | "lock" | "long" | "map" | "MapEntry" | "metadata_property_handling" | "module" | "mutable" | "mutating" | "namespace" | "native" | "new" | "newtonsoft" | "nil" | "NO" | "noexcept" | "nonatomic" | "none" | "None" | "nonlocal" | "nonmutating" | "NSObject" | "noSuchMethod" | "not" | "not_eq" | "NSError" | "NSString" | "NULL" | "null" | "nullptr" | "number" | "object" | "ObjectMapper" | "of" | "oneway" | "open" | "operator" | "optional" | "or" | "or_eq" | "out" | "override" | "package" | "params" | "pass" | "port" | "postfix" | "precedence" | "prefix" | "print" | "printf" | "printMembers" | "private" | "protected" | "Protocol" | "protocol" | "public" | "quicktype" | "raise" | "range" | "readonly" | "ref" | "RegExp" | "register" | "reinterpret_cast" | "repeat" | "require" | "required" | "requires" | "restrict" | "retain" | "rethrows" | "return" | "right" | "runtimeType" | "s" | "sbyte" | "sealed" | "SEL" | "select" | "Self" | "self" | "Sendable" | "serialize" | "SerializerProvider" | "set" | "short" | "signed" | "SimpleModule" | "sizeof" | "stackalloc" | "Standards" | "static" | "static_assert" | "static_cast" | "StdDeserializer" | "StdSerializer" | "strictfp" | "string" | "struct" | "subscript" | "super" | "switch" | "symbol" | "synchronized" | "system" | "template" | "then" | "this" | "thread_local" | "throw" | "throws" | "TimeOnly" | "TimeOnlyConverter" | "TimeZone" | "to_json" | "top_level" | "toString" | "transient" | "True" | "true" | "try" | "Type" | "type" | "typealias" | "typedef" | "typeid" | "typename" | "typeof" | "uint" | "ulong" | "unchecked" | "undefined" | "union" | "unowned" | "unsafe" | "unsigned" | "ushort" | "using" | "Utf8JsonReader" | "Utf8JsonWriter" | "UUID" | "var" | "virtual" | "void" | "volatile" | "wchar_t" | "weak" | "where" | "while" | "willSet" | "with" | "xor" | "xor_eq" | "YES" | "yield" | "dummy";
15+export type Enum = "_" | "_Bool" | "_Complex" | "_Imaginery" | "abstract" | "alignas" | "alignof" | "and" | "and_eq" | "any" | "Any" | "array" | "as" | "asm" | "assert" | "associatedtype" | "associativity" | "async" | "atomic" | "atomic_cancel" | "atomic_commit" | "atomic_noexcept" | "auto" | "await" | "base" | "bitand" | "bitor" | "BOOL" | "bool" | "boolean" | "break" | "bycopy" | "byref" | "byte" | "Calendar" | "case" | "catch" | "chan" | "char" | "char16_t" | "char32_t" | "checked" | "class" | "Class" | "clone" | "co_await" | "co_return" | "co_yield" | "Codable" | "CodingKey" | "CodingKeys" | "compl" | "concept" | "console" | "const" | "const_cast" | "constexpr" | "constructor" | "continue" | "convenience" | "convert" | "converter" | "CultureInfo" | "date" | "date_parse_handling" | "DateFormatter" | "DateOnly" | "DateOnlyConverter" | "DateTime" | "DateTimeStyles" | "debugger" | "decimal" | "declare" | "DeserializationFeature" | "decltype" | "decode_string" | "Decoder" | "DecodingError" | "def" | "default" | "defer" | "deinit" | "del" | "delegate" | "delete" | "dict" | "dictionary" | "didSet" | "do" | "double" | "dynamic" | "dynamic_cast" | "elif" | "else" | "encode_quick_type" | "Encoder" | "enum" | "EnumValues" | "Equatable" | "equalityContract" | "event" | "except" | "exception" | "explicit" | "export" | "exposing" | "extends" | "extension" | "extern" | "fallthrough" | "false" | "False" | "fileprivate" | "final" | "finally" | "fixed" | "float" | "for" | "foreach" | "FormatException" | "friend" | "from" | "from_json" | "func" | "function" | "get" | "global" | "go" | "goto" | "guard" | "Hashable" | "hashCode" | "Hasher" | "hasOwnProperty" | "id" | "if" | "IMP" | "implements" | "implicit" | "import" | "in" | "indirect" | "infix" | "init" | "inline" | "inout" | "instanceof" | "int" | "interface" | "internal" | "IsoDateTimeOffsetConverter" | "iterable" | "is" | "jdec" | "jenc" | "jpipe" | "json" | "json_converter" | "json_serializer" | "json_token" | "json_writer" | "JSONAny" | "JSONCodingKey" | "JSONDecoder" | "JSONEncoder" | "JsonException" | "JsonGenerator" | "JsonNode" | "JSONNull" | "JsonParser" | "JsonReader" | "JsonTokenType" | "lambda" | "lazy" | "left" | "let" | "list" | "Locale" | "lock" | "long" | "map" | "MapEntry" | "metadata_property_handling" | "module" | "mutable" | "mutating" | "namespace" | "native" | "new" | "newtonsoft" | "nil" | "NO" | "noexcept" | "nonatomic" | "none" | "None" | "nonlocal" | "nonmutating" | "NSObject" | "noSuchMethod" | "not" | "not_eq" | "NSError" | "NSString" | "NULL" | "null" | "nullptr" | "number" | "object" | "ObjectMapper" | "ObjectReader" | "ObjectWriter" | "of" | "oneway" | "open" | "operator" | "optional" | "or" | "or_eq" | "out" | "override" | "package" | "params" | "pass" | "port" | "postfix" | "precedence" | "prefix" | "print" | "printf" | "printMembers" | "private" | "protected" | "Protocol" | "protocol" | "public" | "quicktype" | "raise" | "range" | "readonly" | "ref" | "RegExp" | "register" | "reinterpret_cast" | "repeat" | "require" | "required" | "requires" | "restrict" | "retain" | "rethrows" | "return" | "right" | "runtimeType" | "s" | "sbyte" | "sealed" | "SEL" | "select" | "Self" | "self" | "Sendable" | "serialize" | "SerializationFeature" | "SerializerProvider" | "set" | "short" | "signed" | "SimpleModule" | "sizeof" | "stackalloc" | "Standards" | "static" | "static_assert" | "static_cast" | "StdDeserializer" | "StdSerializer" | "strictfp" | "string" | "struct" | "subscript" | "super" | "switch" | "symbol" | "synchronized" | "system" | "template" | "then" | "this" | "thread_local" | "throw" | "throws" | "TimeOnly" | "TimeOnlyConverter" | "TimeZone" | "to_json" | "top_level" | "toString" | "transient" | "True" | "true" | "try" | "Type" | "type" | "typealias" | "typedef" | "typeid" | "typename" | "typeof" | "uint" | "ulong" | "unchecked" | "undefined" | "union" | "unowned" | "unsafe" | "unsigned" | "ushort" | "using" | "Utf8JsonReader" | "Utf8JsonWriter" | "UUID" | "var" | "virtual" | "void" | "volatile" | "wchar_t" | "weak" | "where" | "while" | "willSet" | "with" | "xor" | "xor_eq" | "YES" | "yield" | "dummy";
1616
1717 // Converts JSON strings to/from your types
1818 // and asserts the results of JSON.parse at runtime
@@ -278,6 +278,7 @@ const typeMap: any = {
278278 "debugger",
279279 "decimal",
280280 "declare",
281+ "DeserializationFeature",
281282 "decltype",
282283 "decode_string",
283284 "Decoder",
@@ -414,6 +415,8 @@ const typeMap: any = {
414415 "number",
415416 "object",
416417 "ObjectMapper",
418+ "ObjectReader",
419+ "ObjectWriter",
417420 "of",
418421 "oneway",
419422 "open",
@@ -465,6 +468,7 @@ const typeMap: any = {
465468 "self",
466469 "Sendable",
467470 "serialize",
471+ "SerializationFeature",
468472 "SerializerProvider",
469473 "set",
470474 "short",
Test case

test/inputs/schema/keyword-unions.schema

55 generated files · +4,969 −253
Mschema-cjsondefault / TopLevel.c+416 −0
@@ -2073,6 +2073,50 @@ void cJSON_DeleteUnionDelegate(struct UnionDelegate * x) {
20732073 }
20742074 }
20752075
2076+struct UnionDeserializationFeature * cJSON_GetUnionDeserializationFeatureValue(const cJSON * j) {
2077+ struct UnionDeserializationFeature * x = cJSON_malloc(sizeof(struct UnionDeserializationFeature));
2078+ if (NULL != x) {
2079+ memset(x, 0, sizeof(struct UnionDeserializationFeature));
2080+ if (cJSON_IsNumber(j)) {
2081+ x->type = cJSON_Number;
2082+ x->value.number = cJSON_GetNumberValue(j);
2083+ }
2084+ else if (cJSON_IsObject(j)) {
2085+ x->type = cJSON_Object;
2086+ x->value.deserialization_feature = cJSON_GetDeserializationFeatureValue(j);
2087+ if (NULL == x->value.deserialization_feature) x->type = 0;
2088+ }
2089+ if (0 == x->type) { cJSON_free(x); return NULL; }
2090+ }
2091+ return x;
2092+}
2093+struct UnionDeserializationFeature * cJSON_ParseUnionDeserializationFeature(const char * s) { cJSON * j = cJSON_Parse(s); struct UnionDeserializationFeature * x = j ? cJSON_GetUnionDeserializationFeatureValue(j) : NULL; cJSON_Delete(j); return x; }
2094+char * cJSON_PrintUnionDeserializationFeature(const struct UnionDeserializationFeature * x) { cJSON * j = cJSON_CreateUnionDeserializationFeature(x); char * s = j ? cJSON_Print(j) : NULL; cJSON_Delete(j); return s; }
2095+
2096+cJSON * cJSON_CreateUnionDeserializationFeature(const struct UnionDeserializationFeature * x) {
2097+ cJSON * j = NULL;
2098+ if (NULL != x) {
2099+ if (cJSON_Number == x->type) {
2100+ j = cJSON_CreateNumber(x->value.number);
2101+ }
2102+ else if (cJSON_Object == x->type) {
2103+ j = cJSON_CreateDeserializationFeature(x->value.deserialization_feature);
2104+ }
2105+ }
2106+ return j;
2107+}
2108+
2109+void cJSON_DeleteUnionDeserializationFeature(struct UnionDeserializationFeature * x) {
2110+ if (NULL != x) {
2111+ if (cJSON_Number == x->type) {
2112+ }
2113+ else if (cJSON_Object == x->type) {
2114+ cJSON_DeleteDeserializationFeature(x->value.deserialization_feature);
2115+ }
2116+ cJSON_free(x);
2117+ }
2118+}
2119+
20762120 struct UnionDict * cJSON_GetUnionDictValue(const cJSON * j) {
20772121 struct UnionDict * x = cJSON_malloc(sizeof(struct UnionDict));
20782122 if (NULL != x) {
@@ -6385,6 +6429,94 @@ void cJSON_DeleteUnionObjectMapper(struct UnionObjectMapper * x) {
63856429 }
63866430 }
63876431
6432+struct UnionObjectReader * cJSON_GetUnionObjectReaderValue(const cJSON * j) {
6433+ struct UnionObjectReader * x = cJSON_malloc(sizeof(struct UnionObjectReader));
6434+ if (NULL != x) {
6435+ memset(x, 0, sizeof(struct UnionObjectReader));
6436+ if (cJSON_IsNumber(j)) {
6437+ x->type = cJSON_Number;
6438+ x->value.number = cJSON_GetNumberValue(j);
6439+ }
6440+ else if (cJSON_IsObject(j)) {
6441+ x->type = cJSON_Object;
6442+ x->value.object_reader = cJSON_GetObjectReaderValue(j);
6443+ if (NULL == x->value.object_reader) x->type = 0;
6444+ }
6445+ if (0 == x->type) { cJSON_free(x); return NULL; }
6446+ }
6447+ return x;
6448+}
6449+struct UnionObjectReader * cJSON_ParseUnionObjectReader(const char * s) { cJSON * j = cJSON_Parse(s); struct UnionObjectReader * x = j ? cJSON_GetUnionObjectReaderValue(j) : NULL; cJSON_Delete(j); return x; }
6450+char * cJSON_PrintUnionObjectReader(const struct UnionObjectReader * x) { cJSON * j = cJSON_CreateUnionObjectReader(x); char * s = j ? cJSON_Print(j) : NULL; cJSON_Delete(j); return s; }
6451+
6452+cJSON * cJSON_CreateUnionObjectReader(const struct UnionObjectReader * x) {
6453+ cJSON * j = NULL;
6454+ if (NULL != x) {
6455+ if (cJSON_Number == x->type) {
6456+ j = cJSON_CreateNumber(x->value.number);
6457+ }
6458+ else if (cJSON_Object == x->type) {
6459+ j = cJSON_CreateObjectReader(x->value.object_reader);
6460+ }
6461+ }
6462+ return j;
6463+}
6464+
6465+void cJSON_DeleteUnionObjectReader(struct UnionObjectReader * x) {
6466+ if (NULL != x) {
6467+ if (cJSON_Number == x->type) {
6468+ }
6469+ else if (cJSON_Object == x->type) {
6470+ cJSON_DeleteObjectReader(x->value.object_reader);
6471+ }
6472+ cJSON_free(x);
6473+ }
6474+}
6475+
6476+struct UnionObjectWriter * cJSON_GetUnionObjectWriterValue(const cJSON * j) {
6477+ struct UnionObjectWriter * x = cJSON_malloc(sizeof(struct UnionObjectWriter));
6478+ if (NULL != x) {
6479+ memset(x, 0, sizeof(struct UnionObjectWriter));
6480+ if (cJSON_IsNumber(j)) {
6481+ x->type = cJSON_Number;
6482+ x->value.number = cJSON_GetNumberValue(j);
6483+ }
6484+ else if (cJSON_IsObject(j)) {
6485+ x->type = cJSON_Object;
6486+ x->value.object_writer = cJSON_GetObjectWriterValue(j);
6487+ if (NULL == x->value.object_writer) x->type = 0;
6488+ }
6489+ if (0 == x->type) { cJSON_free(x); return NULL; }
6490+ }
6491+ return x;
6492+}
6493+struct UnionObjectWriter * cJSON_ParseUnionObjectWriter(const char * s) { cJSON * j = cJSON_Parse(s); struct UnionObjectWriter * x = j ? cJSON_GetUnionObjectWriterValue(j) : NULL; cJSON_Delete(j); return x; }
6494+char * cJSON_PrintUnionObjectWriter(const struct UnionObjectWriter * x) { cJSON * j = cJSON_CreateUnionObjectWriter(x); char * s = j ? cJSON_Print(j) : NULL; cJSON_Delete(j); return s; }
6495+
6496+cJSON * cJSON_CreateUnionObjectWriter(const struct UnionObjectWriter * x) {
6497+ cJSON * j = NULL;
6498+ if (NULL != x) {
6499+ if (cJSON_Number == x->type) {
6500+ j = cJSON_CreateNumber(x->value.number);
6501+ }
6502+ else if (cJSON_Object == x->type) {
6503+ j = cJSON_CreateObjectWriter(x->value.object_writer);
6504+ }
6505+ }
6506+ return j;
6507+}
6508+
6509+void cJSON_DeleteUnionObjectWriter(struct UnionObjectWriter * x) {
6510+ if (NULL != x) {
6511+ if (cJSON_Number == x->type) {
6512+ }
6513+ else if (cJSON_Object == x->type) {
6514+ cJSON_DeleteObjectWriter(x->value.object_writer);
6515+ }
6516+ cJSON_free(x);
6517+ }
6518+}
6519+
63886520 struct UnionOf * cJSON_GetUnionOfValue(const cJSON * j) {
63896521 struct UnionOf * x = cJSON_malloc(sizeof(struct UnionOf));
63906522 if (NULL != x) {
@@ -8145,6 +8277,50 @@ void cJSON_DeleteUnionSendable(struct UnionSendable * x) {
81458277 }
81468278 }
81478279
8280+struct UnionSerializationFeature * cJSON_GetUnionSerializationFeatureValue(const cJSON * j) {
8281+ struct UnionSerializationFeature * x = cJSON_malloc(sizeof(struct UnionSerializationFeature));
8282+ if (NULL != x) {
8283+ memset(x, 0, sizeof(struct UnionSerializationFeature));
8284+ if (cJSON_IsNumber(j)) {
8285+ x->type = cJSON_Number;
8286+ x->value.number = cJSON_GetNumberValue(j);
8287+ }
8288+ else if (cJSON_IsObject(j)) {
8289+ x->type = cJSON_Object;
8290+ x->value.serialization_feature = cJSON_GetSerializationFeatureValue(j);
8291+ if (NULL == x->value.serialization_feature) x->type = 0;
8292+ }
8293+ if (0 == x->type) { cJSON_free(x); return NULL; }
8294+ }
8295+ return x;
8296+}
8297+struct UnionSerializationFeature * cJSON_ParseUnionSerializationFeature(const char * s) { cJSON * j = cJSON_Parse(s); struct UnionSerializationFeature * x = j ? cJSON_GetUnionSerializationFeatureValue(j) : NULL; cJSON_Delete(j); return x; }
8298+char * cJSON_PrintUnionSerializationFeature(const struct UnionSerializationFeature * x) { cJSON * j = cJSON_CreateUnionSerializationFeature(x); char * s = j ? cJSON_Print(j) : NULL; cJSON_Delete(j); return s; }
8299+
8300+cJSON * cJSON_CreateUnionSerializationFeature(const struct UnionSerializationFeature * x) {
8301+ cJSON * j = NULL;
8302+ if (NULL != x) {
8303+ if (cJSON_Number == x->type) {
8304+ j = cJSON_CreateNumber(x->value.number);
8305+ }
8306+ else if (cJSON_Object == x->type) {
8307+ j = cJSON_CreateSerializationFeature(x->value.serialization_feature);
8308+ }
8309+ }
8310+ return j;
8311+}
8312+
8313+void cJSON_DeleteUnionSerializationFeature(struct UnionSerializationFeature * x) {
8314+ if (NULL != x) {
8315+ if (cJSON_Number == x->type) {
8316+ }
8317+ else if (cJSON_Object == x->type) {
8318+ cJSON_DeleteSerializationFeature(x->value.serialization_feature);
8319+ }
8320+ cJSON_free(x);
8321+ }
8322+}
8323+
81488324 struct UnionSerialize * cJSON_GetUnionSerializeValue(const cJSON * j) {
81498325 struct UnionSerialize * x = cJSON_malloc(sizeof(struct UnionSerialize));
81508326 if (NULL != x) {
@@ -16916,6 +17092,55 @@ void cJSON_DeleteDelegate(struct Delegate * x) {
1691617092 }
1691717093 }
1691817094
17095+struct DeserializationFeature * cJSON_ParseDeserializationFeature(const char * s) {
17096+ struct DeserializationFeature * x = NULL;
17097+ if (NULL != s) {
17098+ cJSON * j = cJSON_Parse(s);
17099+ if (NULL != j) {
17100+ x = cJSON_GetDeserializationFeatureValue(j);
17101+ cJSON_Delete(j);
17102+ }
17103+ }
17104+ return x;
17105+}
17106+
17107+struct DeserializationFeature * cJSON_GetDeserializationFeatureValue(const cJSON * j) {
17108+ struct DeserializationFeature * x = NULL;
17109+ if (NULL != j) {
17110+ if (NULL != (x = cJSON_malloc(sizeof(struct DeserializationFeature)))) {
17111+ memset(x, 0, sizeof(struct DeserializationFeature));
17112+ }
17113+ }
17114+ return x;
17115+}
17116+
17117+cJSON * cJSON_CreateDeserializationFeature(const struct DeserializationFeature * x) {
17118+ cJSON * j = NULL;
17119+ if (NULL != x) {
17120+ if (NULL != (j = cJSON_CreateObject())) {
17121+ }
17122+ }
17123+ return j;
17124+}
17125+
17126+char * cJSON_PrintDeserializationFeature(const struct DeserializationFeature * x) {
17127+ char * s = NULL;
17128+ if (NULL != x) {
17129+ cJSON * j = cJSON_CreateDeserializationFeature(x);
17130+ if (NULL != j) {
17131+ s = cJSON_Print(j);
17132+ cJSON_Delete(j);
17133+ }
17134+ }
17135+ return s;
17136+}
17137+
17138+void cJSON_DeleteDeserializationFeature(struct DeserializationFeature * x) {
17139+ if (NULL != x) {
17140+ cJSON_free(x);
17141+ }
17142+}
17143+
1691917144 struct Dict * cJSON_ParseDict(const char * s) {
1692017145 struct Dict * x = NULL;
1692117146 if (NULL != s) {
@@ -21718,6 +21943,104 @@ void cJSON_DeleteObjectMapper(struct ObjectMapper * x) {
2171821943 }
2171921944 }
2172021945
21946+struct ObjectReader * cJSON_ParseObjectReader(const char * s) {
21947+ struct ObjectReader * x = NULL;
21948+ if (NULL != s) {
21949+ cJSON * j = cJSON_Parse(s);
21950+ if (NULL != j) {
21951+ x = cJSON_GetObjectReaderValue(j);
21952+ cJSON_Delete(j);
21953+ }
21954+ }
21955+ return x;
21956+}
21957+
21958+struct ObjectReader * cJSON_GetObjectReaderValue(const cJSON * j) {
21959+ struct ObjectReader * x = NULL;
21960+ if (NULL != j) {
21961+ if (NULL != (x = cJSON_malloc(sizeof(struct ObjectReader)))) {
21962+ memset(x, 0, sizeof(struct ObjectReader));
21963+ }
21964+ }
21965+ return x;
21966+}
21967+
21968+cJSON * cJSON_CreateObjectReader(const struct ObjectReader * x) {
21969+ cJSON * j = NULL;
21970+ if (NULL != x) {
21971+ if (NULL != (j = cJSON_CreateObject())) {
21972+ }
21973+ }
21974+ return j;
21975+}
21976+
21977+char * cJSON_PrintObjectReader(const struct ObjectReader * x) {
21978+ char * s = NULL;
21979+ if (NULL != x) {
21980+ cJSON * j = cJSON_CreateObjectReader(x);
21981+ if (NULL != j) {
21982+ s = cJSON_Print(j);
21983+ cJSON_Delete(j);
21984+ }
21985+ }
21986+ return s;
21987+}
21988+
21989+void cJSON_DeleteObjectReader(struct ObjectReader * x) {
21990+ if (NULL != x) {
21991+ cJSON_free(x);
21992+ }
21993+}
21994+
21995+struct ObjectWriter * cJSON_ParseObjectWriter(const char * s) {
21996+ struct ObjectWriter * x = NULL;
21997+ if (NULL != s) {
21998+ cJSON * j = cJSON_Parse(s);
21999+ if (NULL != j) {
22000+ x = cJSON_GetObjectWriterValue(j);
22001+ cJSON_Delete(j);
22002+ }
22003+ }
22004+ return x;
22005+}
22006+
22007+struct ObjectWriter * cJSON_GetObjectWriterValue(const cJSON * j) {
22008+ struct ObjectWriter * x = NULL;
22009+ if (NULL != j) {
22010+ if (NULL != (x = cJSON_malloc(sizeof(struct ObjectWriter)))) {
22011+ memset(x, 0, sizeof(struct ObjectWriter));
22012+ }
22013+ }
22014+ return x;
22015+}
22016+
22017+cJSON * cJSON_CreateObjectWriter(const struct ObjectWriter * x) {
22018+ cJSON * j = NULL;
22019+ if (NULL != x) {
22020+ if (NULL != (j = cJSON_CreateObject())) {
22021+ }
22022+ }
22023+ return j;
22024+}
22025+
22026+char * cJSON_PrintObjectWriter(const struct ObjectWriter * x) {
22027+ char * s = NULL;
22028+ if (NULL != x) {
22029+ cJSON * j = cJSON_CreateObjectWriter(x);
22030+ if (NULL != j) {
22031+ s = cJSON_Print(j);
22032+ cJSON_Delete(j);
22033+ }
22034+ }
22035+ return s;
22036+}
22037+
22038+void cJSON_DeleteObjectWriter(struct ObjectWriter * x) {
22039+ if (NULL != x) {
22040+ cJSON_free(x);
22041+ }
22042+}
22043+
2172122044 struct Of * cJSON_ParseOf(const char * s) {
2172222045 struct Of * x = NULL;
2172322046 if (NULL != s) {
@@ -23678,6 +24001,55 @@ void cJSON_DeleteSendable(struct Sendable * x) {
2367824001 }
2367924002 }
2368024003
24004+struct SerializationFeature * cJSON_ParseSerializationFeature(const char * s) {
24005+ struct SerializationFeature * x = NULL;
24006+ if (NULL != s) {
24007+ cJSON * j = cJSON_Parse(s);
24008+ if (NULL != j) {
24009+ x = cJSON_GetSerializationFeatureValue(j);
24010+ cJSON_Delete(j);
24011+ }
24012+ }
24013+ return x;
24014+}
24015+
24016+struct SerializationFeature * cJSON_GetSerializationFeatureValue(const cJSON * j) {
24017+ struct SerializationFeature * x = NULL;
24018+ if (NULL != j) {
24019+ if (NULL != (x = cJSON_malloc(sizeof(struct SerializationFeature)))) {
24020+ memset(x, 0, sizeof(struct SerializationFeature));
24021+ }
24022+ }
24023+ return x;
24024+}
24025+
24026+cJSON * cJSON_CreateSerializationFeature(const struct SerializationFeature * x) {
24027+ cJSON * j = NULL;
24028+ if (NULL != x) {
24029+ if (NULL != (j = cJSON_CreateObject())) {
24030+ }
24031+ }
24032+ return j;
24033+}
24034+
24035+char * cJSON_PrintSerializationFeature(const struct SerializationFeature * x) {
24036+ char * s = NULL;
24037+ if (NULL != x) {
24038+ cJSON * j = cJSON_CreateSerializationFeature(x);
24039+ if (NULL != j) {
24040+ s = cJSON_Print(j);
24041+ cJSON_Delete(j);
24042+ }
24043+ }
24044+ return s;
24045+}
24046+
24047+void cJSON_DeleteSerializationFeature(struct SerializationFeature * x) {
24048+ if (NULL != x) {
24049+ cJSON_free(x);
24050+ }
24051+}
24052+
2368124053 struct Serialize * cJSON_ParseSerialize(const char * s) {
2368224054 struct Serialize * x = NULL;
2368324055 if (NULL != s) {
@@ -31318,6 +31690,11 @@ struct TopLevel * cJSON_GetTopLevelValue(const cJSON * j) {
3131831690 x->top_level_delete = cJSON_GetUnionDeleteValue(cJSON_GetObjectItemCaseSensitive(j, "delete"));
3131931691 if (NULL == x->top_level_delete) { cJSON_DeleteTopLevel(x); return NULL; }
3132031692 }
31693+ if (cJSON_HasObjectItem(j, "DeserializationFeature")) {
31694+ if (!cJSON_IsUnionDeserializationFeature(cJSON_GetObjectItemCaseSensitive(j, "DeserializationFeature"))) { cJSON_DeleteTopLevel(x); return NULL; }
31695+ x->deserialization_feature = cJSON_GetUnionDeserializationFeatureValue(cJSON_GetObjectItemCaseSensitive(j, "DeserializationFeature"));
31696+ if (NULL == x->deserialization_feature) { cJSON_DeleteTopLevel(x); return NULL; }
31697+ }
3132131698 if (cJSON_HasObjectItem(j, "dict")) {
3132231699 if (!cJSON_IsUnionDict(cJSON_GetObjectItemCaseSensitive(j, "dict"))) { cJSON_DeleteTopLevel(x); return NULL; }
3132331700 x->dict = cJSON_GetUnionDictValue(cJSON_GetObjectItemCaseSensitive(j, "dict"));
@@ -31949,6 +32326,16 @@ struct TopLevel * cJSON_GetTopLevelValue(const cJSON * j) {
3194932326 x->object_mapper = cJSON_GetUnionObjectMapperValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectMapper"));
3195032327 if (NULL == x->object_mapper) { cJSON_DeleteTopLevel(x); return NULL; }
3195132328 }
32329+ if (cJSON_HasObjectItem(j, "ObjectReader")) {
32330+ if (!cJSON_IsUnionObjectReader(cJSON_GetObjectItemCaseSensitive(j, "ObjectReader"))) { cJSON_DeleteTopLevel(x); return NULL; }
32331+ x->object_reader = cJSON_GetUnionObjectReaderValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectReader"));
32332+ if (NULL == x->object_reader) { cJSON_DeleteTopLevel(x); return NULL; }
32333+ }
32334+ if (cJSON_HasObjectItem(j, "ObjectWriter")) {
32335+ if (!cJSON_IsUnionObjectWriter(cJSON_GetObjectItemCaseSensitive(j, "ObjectWriter"))) { cJSON_DeleteTopLevel(x); return NULL; }
32336+ x->object_writer = cJSON_GetUnionObjectWriterValue(cJSON_GetObjectItemCaseSensitive(j, "ObjectWriter"));
32337+ if (NULL == x->object_writer) { cJSON_DeleteTopLevel(x); return NULL; }
32338+ }
3195232339 if (cJSON_HasObjectItem(j, "of")) {
3195332340 if (!cJSON_IsUnionOf(cJSON_GetObjectItemCaseSensitive(j, "of"))) { cJSON_DeleteTopLevel(x); return NULL; }
3195432341 x->of = cJSON_GetUnionOfValue(cJSON_GetObjectItemCaseSensitive(j, "of"));
@@ -32199,6 +32586,11 @@ struct TopLevel * cJSON_GetTopLevelValue(const cJSON * j) {
3219932586 x->sendable = cJSON_GetUnionSendableValue(cJSON_GetObjectItemCaseSensitive(j, "Sendable"));
3220032587 if (NULL == x->sendable) { cJSON_DeleteTopLevel(x); return NULL; }
3220132588 }
32589+ if (cJSON_HasObjectItem(j, "SerializationFeature")) {
32590+ if (!cJSON_IsUnionSerializationFeature(cJSON_GetObjectItemCaseSensitive(j, "SerializationFeature"))) { cJSON_DeleteTopLevel(x); return NULL; }
32591+ x->serialization_feature = cJSON_GetUnionSerializationFeatureValue(cJSON_GetObjectItemCaseSensitive(j, "SerializationFeature"));
32592+ if (NULL == x->serialization_feature) { cJSON_DeleteTopLevel(x); return NULL; }
32593+ }
3220232594 if (cJSON_HasObjectItem(j, "serialize")) {
3220332595 if (!cJSON_IsUnionSerialize(cJSON_GetObjectItemCaseSensitive(j, "serialize"))) { cJSON_DeleteTopLevel(x); return NULL; }
3220432596 x->serialize = cJSON_GetUnionSerializeValue(cJSON_GetObjectItemCaseSensitive(j, "serialize"));
@@ -32825,6 +33217,9 @@ cJSON * cJSON_CreateTopLevel(const struct TopLevel * x) {
3282533217 if (NULL != x->top_level_delete) {
3282633218 cJSON_AddItemToObject(j, "delete", cJSON_CreateUnionDelete(x->top_level_delete));
3282733219 }
33220+ if (NULL != x->deserialization_feature) {
33221+ cJSON_AddItemToObject(j, "DeserializationFeature", cJSON_CreateUnionDeserializationFeature(x->deserialization_feature));
33222+ }
3282833223 if (NULL != x->dict) {
3282933224 cJSON_AddItemToObject(j, "dict", cJSON_CreateUnionDict(x->dict));
3283033225 }
@@ -33203,6 +33598,12 @@ cJSON * cJSON_CreateTopLevel(const struct TopLevel * x) {
3320333598 if (NULL != x->object_mapper) {
3320433599 cJSON_AddItemToObject(j, "ObjectMapper", cJSON_CreateUnionObjectMapper(x->object_mapper));
3320533600 }
33601+ if (NULL != x->object_reader) {
33602+ cJSON_AddItemToObject(j, "ObjectReader", cJSON_CreateUnionObjectReader(x->object_reader));
33603+ }
33604+ if (NULL != x->object_writer) {
33605+ cJSON_AddItemToObject(j, "ObjectWriter", cJSON_CreateUnionObjectWriter(x->object_writer));
33606+ }
3320633607 if (NULL != x->of) {
3320733608 cJSON_AddItemToObject(j, "of", cJSON_CreateUnionOf(x->of));
3320833609 }
@@ -33353,6 +33754,9 @@ cJSON * cJSON_CreateTopLevel(const struct TopLevel * x) {
3335333754 if (NULL != x->sendable) {
3335433755 cJSON_AddItemToObject(j, "Sendable", cJSON_CreateUnionSendable(x->sendable));
3335533756 }
33757+ if (NULL != x->serialization_feature) {
33758+ cJSON_AddItemToObject(j, "SerializationFeature", cJSON_CreateUnionSerializationFeature(x->serialization_feature));
33759+ }
3335633760 if (NULL != x->serialize) {
3335733761 cJSON_AddItemToObject(j, "serialize", cJSON_CreateUnionSerialize(x->serialize));
3335833762 }
@@ -33843,6 +34247,9 @@ void cJSON_DeleteTopLevel(struct TopLevel * x) {
3384334247 if (NULL != x->top_level_delete) {
3384434248 cJSON_DeleteUnionDelete(x->top_level_delete);
3384534249 }
34250+ if (NULL != x->deserialization_feature) {
34251+ cJSON_DeleteUnionDeserializationFeature(x->deserialization_feature);
34252+ }
3384634253 if (NULL != x->dict) {
3384734254 cJSON_DeleteUnionDict(x->dict);
3384834255 }
@@ -34221,6 +34628,12 @@ void cJSON_DeleteTopLevel(struct TopLevel * x) {
3422134628 if (NULL != x->object_mapper) {
3422234629 cJSON_DeleteUnionObjectMapper(x->object_mapper);
3422334630 }
34631+ if (NULL != x->object_reader) {
34632+ cJSON_DeleteUnionObjectReader(x->object_reader);
34633+ }
34634+ if (NULL != x->object_writer) {
34635+ cJSON_DeleteUnionObjectWriter(x->object_writer);
34636+ }
3422434637 if (NULL != x->of) {
3422534638 cJSON_DeleteUnionOf(x->of);
3422634639 }
@@ -34371,6 +34784,9 @@ void cJSON_DeleteTopLevel(struct TopLevel * x) {
3437134784 if (NULL != x->sendable) {
3437234785 cJSON_DeleteUnionSendable(x->sendable);
3437334786 }
34787+ if (NULL != x->serialization_feature) {
34788+ cJSON_DeleteUnionSerializationFeature(x->serialization_feature);
34789+ }
3437434790 if (NULL != x->serialize) {
3437534791 cJSON_DeleteUnionSerialize(x->serialize);
3437634792 }
Mschema-cjsondefault / TopLevel.h+100 −0
@@ -565,6 +565,17 @@ struct UnionDelegate {
565565 } value;
566566 };
567567
568+struct DeserializationFeature {
569+};
570+
571+struct UnionDeserializationFeature {
572+ int type;
573+ union {
574+ double number;
575+ struct DeserializationFeature * deserialization_feature;
576+ } value;
577+};
578+
568579 struct Dict {
569580 };
570581
@@ -1643,6 +1654,28 @@ struct UnionObjectMapper {
16431654 } value;
16441655 };
16451656
1657+struct ObjectReader {
1658+};
1659+
1660+struct UnionObjectReader {
1661+ int type;
1662+ union {
1663+ double number;
1664+ struct ObjectReader * object_reader;
1665+ } value;
1666+};
1667+
1668+struct ObjectWriter {
1669+};
1670+
1671+struct UnionObjectWriter {
1672+ int type;
1673+ union {
1674+ double number;
1675+ struct ObjectWriter * object_writer;
1676+ } value;
1677+};
1678+
16461679 struct Of {
16471680 };
16481681
@@ -2083,6 +2116,17 @@ struct UnionSendable {
20832116 } value;
20842117 };
20852118
2119+struct SerializationFeature {
2120+};
2121+
2122+struct UnionSerializationFeature {
2123+ int type;
2124+ union {
2125+ double number;
2126+ struct SerializationFeature * serialization_feature;
2127+ } value;
2128+};
2129+
20862130 struct Serialize {
20872131 };
20882132
@@ -3785,6 +3829,7 @@ struct TopLevel {
37853829 struct UnionDel * del;
37863830 struct UnionDelegate * delegate;
37873831 struct UnionDelete * top_level_delete;
3832+ struct UnionDeserializationFeature * deserialization_feature;
37883833 struct UnionDict * dict;
37893834 struct UnionDictionary * dictionary;
37903835 struct UnionDidSet * did_set;
@@ -3911,6 +3956,8 @@ struct TopLevel {
39113956 struct UnionNumber * number;
39123957 struct UnionObject * object;
39133958 struct UnionObjectMapper * object_mapper;
3959+ struct UnionObjectReader * object_reader;
3960+ struct UnionObjectWriter * object_writer;
39143961 struct UnionOf * of;
39153962 struct UnionOneway * oneway;
39163963 struct UnionOpen * open;
@@ -3961,6 +4008,7 @@ struct TopLevel {
39614008 struct UnionSelf * self;
39624009 struct UnionSelfUnion * top_level_self;
39634010 struct UnionSendable * sendable;
4011+ struct UnionSerializationFeature * serialization_feature;
39644012 struct UnionSerialize * serialize;
39654013 struct UnionSerializerProvider * serializer_provider;
39664014 struct UnionSet * set;
@@ -4365,6 +4413,13 @@ void cJSON_DeleteUnionDelegate(struct UnionDelegate * x);
43654413 struct UnionDelegate * cJSON_ParseUnionDelegate(const char * s);
43664414 char * cJSON_PrintUnionDelegate(const struct UnionDelegate * x);
43674415
4416+#define cJSON_IsUnionDeserializationFeature(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
4417+struct UnionDeserializationFeature * cJSON_GetUnionDeserializationFeatureValue(const cJSON * j);
4418+cJSON * cJSON_CreateUnionDeserializationFeature(const struct UnionDeserializationFeature * x);
4419+void cJSON_DeleteUnionDeserializationFeature(struct UnionDeserializationFeature * x);
4420+struct UnionDeserializationFeature * cJSON_ParseUnionDeserializationFeature(const char * s);
4421+char * cJSON_PrintUnionDeserializationFeature(const struct UnionDeserializationFeature * x);
4422+
43684423 #define cJSON_IsUnionDict(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
43694424 struct UnionDict * cJSON_GetUnionDictValue(const cJSON * j);
43704425 cJSON * cJSON_CreateUnionDict(const struct UnionDict * x);
@@ -5051,6 +5106,20 @@ void cJSON_DeleteUnionObjectMapper(struct UnionObjectMapper * x);
50515106 struct UnionObjectMapper * cJSON_ParseUnionObjectMapper(const char * s);
50525107 char * cJSON_PrintUnionObjectMapper(const struct UnionObjectMapper * x);
50535108
5109+#define cJSON_IsUnionObjectReader(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
5110+struct UnionObjectReader * cJSON_GetUnionObjectReaderValue(const cJSON * j);
5111+cJSON * cJSON_CreateUnionObjectReader(const struct UnionObjectReader * x);
5112+void cJSON_DeleteUnionObjectReader(struct UnionObjectReader * x);
5113+struct UnionObjectReader * cJSON_ParseUnionObjectReader(const char * s);
5114+char * cJSON_PrintUnionObjectReader(const struct UnionObjectReader * x);
5115+
5116+#define cJSON_IsUnionObjectWriter(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
5117+struct UnionObjectWriter * cJSON_GetUnionObjectWriterValue(const cJSON * j);
5118+cJSON * cJSON_CreateUnionObjectWriter(const struct UnionObjectWriter * x);
5119+void cJSON_DeleteUnionObjectWriter(struct UnionObjectWriter * x);
5120+struct UnionObjectWriter * cJSON_ParseUnionObjectWriter(const char * s);
5121+char * cJSON_PrintUnionObjectWriter(const struct UnionObjectWriter * x);
5122+
50545123 #define cJSON_IsUnionOf(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
50555124 struct UnionOf * cJSON_GetUnionOfValue(const cJSON * j);
50565125 cJSON * cJSON_CreateUnionOf(const struct UnionOf * x);
@@ -5331,6 +5400,13 @@ void cJSON_DeleteUnionSendable(struct UnionSendable * x);
53315400 struct UnionSendable * cJSON_ParseUnionSendable(const char * s);
53325401 char * cJSON_PrintUnionSendable(const struct UnionSendable * x);
53335402
5403+#define cJSON_IsUnionSerializationFeature(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
5404+struct UnionSerializationFeature * cJSON_GetUnionSerializationFeatureValue(const cJSON * j);
5405+cJSON * cJSON_CreateUnionSerializationFeature(const struct UnionSerializationFeature * x);
5406+void cJSON_DeleteUnionSerializationFeature(struct UnionSerializationFeature * x);
5407+struct UnionSerializationFeature * cJSON_ParseUnionSerializationFeature(const char * s);
5408+char * cJSON_PrintUnionSerializationFeature(const struct UnionSerializationFeature * x);
5409+
53345410 #define cJSON_IsUnionSerialize(j) (cJSON_IsNumber(j) || cJSON_IsObject(j))
53355411 struct UnionSerialize * cJSON_GetUnionSerializeValue(const cJSON * j);
53365412 cJSON * cJSON_CreateUnionSerialize(const struct UnionSerialize * x);
@@ -6642,6 +6718,12 @@ cJSON * cJSON_CreateDelegate(const struct Delegate * x);
66426718 char * cJSON_PrintDelegate(const struct Delegate * x);
66436719 void cJSON_DeleteDelegate(struct Delegate * x);
66446720
6721+struct DeserializationFeature * cJSON_ParseDeserializationFeature(const char * s);
6722+struct DeserializationFeature * cJSON_GetDeserializationFeatureValue(const cJSON * j);
6723+cJSON * cJSON_CreateDeserializationFeature(const struct DeserializationFeature * x);
6724+char * cJSON_PrintDeserializationFeature(const struct DeserializationFeature * x);
6725+void cJSON_DeleteDeserializationFeature(struct DeserializationFeature * x);
6726+
66456727 struct Dict * cJSON_ParseDict(const char * s);
66466728 struct Dict * cJSON_GetDictValue(const cJSON * j);
66476729 cJSON * cJSON_CreateDict(const struct Dict * x);
@@ -7230,6 +7312,18 @@ cJSON * cJSON_CreateObjectMapper(const struct ObjectMapper * x);
72307312 char * cJSON_PrintObjectMapper(const struct ObjectMapper * x);
72317313 void cJSON_DeleteObjectMapper(struct ObjectMapper * x);
72327314
7315+struct ObjectReader * cJSON_ParseObjectReader(const char * s);
7316+struct ObjectReader * cJSON_GetObjectReaderValue(const cJSON * j);
7317+cJSON * cJSON_CreateObjectReader(const struct ObjectReader * x);
7318+char * cJSON_PrintObjectReader(const struct ObjectReader * x);
7319+void cJSON_DeleteObjectReader(struct ObjectReader * x);
7320+
7321+struct ObjectWriter * cJSON_ParseObjectWriter(const char * s);
7322+struct ObjectWriter * cJSON_GetObjectWriterValue(const cJSON * j);
7323+cJSON * cJSON_CreateObjectWriter(const struct ObjectWriter * x);
7324+char * cJSON_PrintObjectWriter(const struct ObjectWriter * x);
7325+void cJSON_DeleteObjectWriter(struct ObjectWriter * x);
7326+
72337327 struct Of * cJSON_ParseOf(const char * s);
72347328 struct Of * cJSON_GetOfValue(const cJSON * j);
72357329 cJSON * cJSON_CreateOf(const struct Of * x);
@@ -7470,6 +7564,12 @@ cJSON * cJSON_CreateSendable(const struct Sendable * x);
74707564 char * cJSON_PrintSendable(const struct Sendable * x);
74717565 void cJSON_DeleteSendable(struct Sendable * x);
74727566
7567+struct SerializationFeature * cJSON_ParseSerializationFeature(const char * s);
7568+struct SerializationFeature * cJSON_GetSerializationFeatureValue(const cJSON * j);
7569+cJSON * cJSON_CreateSerializationFeature(const struct SerializationFeature * x);
7570+char * cJSON_PrintSerializationFeature(const struct SerializationFeature * x);
7571+void cJSON_DeleteSerializationFeature(struct SerializationFeature * x);
7572+
74737573 struct Serialize * cJSON_ParseSerialize(const char * s);
74747574 struct Serialize * cJSON_GetSerializeValue(const cJSON * j);
74757575 cJSON * cJSON_CreateSerialize(const struct Serialize * x);
Mschema-cplusplusdefault / quicktype.hpp+240 −0
@@ -653,6 +653,18 @@ namespace quicktype {
653653
654654 using UnionDelegate = std::variant<Delegate, double>;
655655
656+ class DeserializationFeature {
657+ public:
658+ DeserializationFeature() = default;
659+ virtual ~DeserializationFeature() = default;
660+
661+ private:
662+
663+ public:
664+ };
665+
666+ using UnionDeserializationFeature = std::variant<DeserializationFeature, double>;
667+
656668 class Dict {
657669 public:
658670 Dict() = default;
@@ -1829,6 +1841,30 @@ namespace quicktype {
18291841
18301842 using UnionObjectMapper = std::variant<ObjectMapper, double>;
18311843
1844+ class ObjectReader {
1845+ public:
1846+ ObjectReader() = default;
1847+ virtual ~ObjectReader() = default;
1848+
1849+ private:
1850+
1851+ public:
1852+ };
1853+
1854+ using UnionObjectReader = std::variant<ObjectReader, double>;
1855+
1856+ class ObjectWriter {
1857+ public:
1858+ ObjectWriter() = default;
1859+ virtual ~ObjectWriter() = default;
1860+
1861+ private:
1862+
1863+ public:
1864+ };
1865+
1866+ using UnionObjectWriter = std::variant<ObjectWriter, double>;
1867+
18321868 class Of {
18331869 public:
18341870 Of() = default;
@@ -2321,6 +2357,18 @@ namespace quicktype {
23212357
23222358 using UnionSendable = std::variant<Sendable, double>;
23232359
2360+ class SerializationFeature {
2361+ public:
2362+ SerializationFeature() = default;
2363+ virtual ~SerializationFeature() = default;
2364+
2365+ private:
2366+
2367+ public:
2368+ };
2369+
2370+ using UnionSerializationFeature = std::variant<SerializationFeature, double>;
2371+
23242372 class Serialize {
23252373 public:
23262374 Serialize() = default;
@@ -4163,6 +4211,7 @@ namespace quicktype {
41634211 std::optional<UnionDel> del;
41644212 std::optional<UnionDelegate> delegate;
41654213 std::optional<UnionDelete> top_level_delete;
4214+ std::optional<UnionDeserializationFeature> deserialization_feature;
41664215 std::optional<UnionDict> dict;
41674216 std::optional<UnionDictionary> dictionary;
41684217 std::optional<UnionDidSet> did_set;
@@ -4289,6 +4338,8 @@ namespace quicktype {
42894338 std::optional<UnionNumber> number;
42904339 std::optional<UnionObject> object;
42914340 std::optional<UnionObjectMapper> object_mapper;
4341+ std::optional<UnionObjectReader> object_reader;
4342+ std::optional<UnionObjectWriter> object_writer;
42924343 std::optional<UnionOf> of;
42934344 std::optional<UnionOneway> oneway;
42944345 std::optional<UnionOpen> open;
@@ -4339,6 +4390,7 @@ namespace quicktype {
43394390 std::optional<UnionSelf> self;
43404391 std::optional<UnionSelfUnion> top_level_self;
43414392 std::optional<UnionSendable> sendable;
4393+ std::optional<UnionSerializationFeature> serialization_feature;
43424394 std::optional<UnionSerialize> serialize;
43434395 std::optional<UnionSerializerProvider> serializer_provider;
43444396 std::optional<UnionSet> set;
@@ -4750,6 +4802,10 @@ namespace quicktype {
47504802 std::optional<UnionDelete> & get_mutable_top_level_delete() { return top_level_delete; }
47514803 void set_top_level_delete(const std::optional<UnionDelete> & value) { this->top_level_delete = value; }
47524804
4805+ const std::optional<UnionDeserializationFeature> & get_deserialization_feature() const { return deserialization_feature; }
4806+ std::optional<UnionDeserializationFeature> & get_mutable_deserialization_feature() { return deserialization_feature; }
4807+ void set_deserialization_feature(const std::optional<UnionDeserializationFeature> & value) { this->deserialization_feature = value; }
4808+
47534809 const std::optional<UnionDict> & get_dict() const { return dict; }
47544810 std::optional<UnionDict> & get_mutable_dict() { return dict; }
47554811 void set_dict(const std::optional<UnionDict> & value) { this->dict = value; }
@@ -5254,6 +5310,14 @@ namespace quicktype {
52545310 std::optional<UnionObjectMapper> & get_mutable_object_mapper() { return object_mapper; }
52555311 void set_object_mapper(const std::optional<UnionObjectMapper> & value) { this->object_mapper = value; }
52565312
5313+ const std::optional<UnionObjectReader> & get_object_reader() const { return object_reader; }
5314+ std::optional<UnionObjectReader> & get_mutable_object_reader() { return object_reader; }
5315+ void set_object_reader(const std::optional<UnionObjectReader> & value) { this->object_reader = value; }
5316+
5317+ const std::optional<UnionObjectWriter> & get_object_writer() const { return object_writer; }
5318+ std::optional<UnionObjectWriter> & get_mutable_object_writer() { return object_writer; }
5319+ void set_object_writer(const std::optional<UnionObjectWriter> & value) { this->object_writer = value; }
5320+
52575321 const std::optional<UnionOf> & get_of() const { return of; }
52585322 std::optional<UnionOf> & get_mutable_of() { return of; }
52595323 void set_of(const std::optional<UnionOf> & value) { this->of = value; }
@@ -5454,6 +5518,10 @@ namespace quicktype {
54545518 std::optional<UnionSendable> & get_mutable_sendable() { return sendable; }
54555519 void set_sendable(const std::optional<UnionSendable> & value) { this->sendable = value; }
54565520
5521+ const std::optional<UnionSerializationFeature> & get_serialization_feature() const { return serialization_feature; }
5522+ std::optional<UnionSerializationFeature> & get_mutable_serialization_feature() { return serialization_feature; }
5523+ void set_serialization_feature(const std::optional<UnionSerializationFeature> & value) { this->serialization_feature = value; }
5524+
54575525 const std::optional<UnionSerialize> & get_serialize() const { return serialize; }
54585526 std::optional<UnionSerialize> & get_mutable_serialize() { return serialize; }
54595527 void set_serialize(const std::optional<UnionSerialize> & value) { this->serialize = value; }
@@ -5890,6 +5958,9 @@ void to_json(json & j, const Del & x);
58905958 void from_json(const json & j, Delegate & x);
58915959 void to_json(json & j, const Delegate & x);
58925960
5961+void from_json(const json & j, DeserializationFeature & x);
5962+void to_json(json & j, const DeserializationFeature & x);
5963+
58935964 void from_json(const json & j, Dict & x);
58945965 void to_json(json & j, const Dict & x);
58955966
@@ -6184,6 +6255,12 @@ void to_json(json & j, const Object & x);
61846255 void from_json(const json & j, ObjectMapper & x);
61856256 void to_json(json & j, const ObjectMapper & x);
61866257
6258+void from_json(const json & j, ObjectReader & x);
6259+void to_json(json & j, const ObjectReader & x);
6260+
6261+void from_json(const json & j, ObjectWriter & x);
6262+void to_json(json & j, const ObjectWriter & x);
6263+
61876264 void from_json(const json & j, Of & x);
61886265 void to_json(json & j, const Of & x);
61896266
@@ -6307,6 +6384,9 @@ void to_json(json & j, const Self & x);
63076384 void from_json(const json & j, Sendable & x);
63086385 void to_json(json & j, const Sendable & x);
63096386
6387+void from_json(const json & j, SerializationFeature & x);
6388+void to_json(json & j, const SerializationFeature & x);
6389+
63106390 void from_json(const json & j, Serialize & x);
63116391 void to_json(json & j, const Serialize & x);
63126392
@@ -7031,6 +7111,12 @@ struct adl_serializer<std::variant<quicktype::Delegate, double>> {
70317111 static void to_json(json & j, const std::variant<quicktype::Delegate, double> & x);
70327112 };
70337113
7114+template <>
7115+struct adl_serializer<std::variant<quicktype::DeserializationFeature, double>> {
7116+ static void from_json(const json & j, std::variant<quicktype::DeserializationFeature, double> & x);
7117+ static void to_json(json & j, const std::variant<quicktype::DeserializationFeature, double> & x);
7118+};
7119+
70347120 template <>
70357121 struct adl_serializer<std::variant<quicktype::Dict, double>> {
70367122 static void from_json(const json & j, std::variant<quicktype::Dict, double> & x);
@@ -7619,6 +7705,18 @@ struct adl_serializer<std::variant<quicktype::ObjectMapper, double>> {
76197705 static void to_json(json & j, const std::variant<quicktype::ObjectMapper, double> & x);
76207706 };
76217707
7708+template <>
7709+struct adl_serializer<std::variant<quicktype::ObjectReader, double>> {
7710+ static void from_json(const json & j, std::variant<quicktype::ObjectReader, double> & x);
7711+ static void to_json(json & j, const std::variant<quicktype::ObjectReader, double> & x);
7712+};
7713+
7714+template <>
7715+struct adl_serializer<std::variant<quicktype::ObjectWriter, double>> {
7716+ static void from_json(const json & j, std::variant<quicktype::ObjectWriter, double> & x);
7717+ static void to_json(json & j, const std::variant<quicktype::ObjectWriter, double> & x);
7718+};
7719+
76227720 template <>
76237721 struct adl_serializer<std::variant<quicktype::Of, double>> {
76247722 static void from_json(const json & j, std::variant<quicktype::Of, double> & x);
@@ -7865,6 +7963,12 @@ struct adl_serializer<std::variant<quicktype::Sendable, double>> {
78657963 static void to_json(json & j, const std::variant<quicktype::Sendable, double> & x);
78667964 };
78677965
7966+template <>
7967+struct adl_serializer<std::variant<quicktype::SerializationFeature, double>> {
7968+ static void from_json(const json & j, std::variant<quicktype::SerializationFeature, double> & x);
7969+ static void to_json(json & j, const std::variant<quicktype::SerializationFeature, double> & x);
7970+};
7971+
78687972 template <>
78697973 struct adl_serializer<std::variant<quicktype::Serialize, double>> {
78707974 static void from_json(const json & j, std::variant<quicktype::Serialize, double> & x);
@@ -9259,6 +9363,17 @@ namespace quicktype {
92599363 (void)x;
92609364 }
92619365
9366+ inline void from_json(const json & j, DeserializationFeature& x) {
9367+ if (!j.is_object()) throw std::runtime_error("Expected object");
9368+ (void)j;
9369+ (void)x;
9370+ }
9371+
9372+ inline void to_json(json & j, const DeserializationFeature & x) {
9373+ j = json::object();
9374+ (void)x;
9375+ }
9376+
92629377 inline void from_json(const json & j, Dict& x) {
92639378 if (!j.is_object()) throw std::runtime_error("Expected object");
92649379 (void)j;
@@ -10337,6 +10452,28 @@ namespace quicktype {
1033710452 (void)x;
1033810453 }
1033910454
10455+ inline void from_json(const json & j, ObjectReader& x) {
10456+ if (!j.is_object()) throw std::runtime_error("Expected object");
10457+ (void)j;
10458+ (void)x;
10459+ }
10460+
10461+ inline void to_json(json & j, const ObjectReader & x) {
10462+ j = json::object();
10463+ (void)x;
10464+ }
10465+
10466+ inline void from_json(const json & j, ObjectWriter& x) {
10467+ if (!j.is_object()) throw std::runtime_error("Expected object");
10468+ (void)j;
10469+ (void)x;
10470+ }
10471+
10472+ inline void to_json(json & j, const ObjectWriter & x) {
10473+ j = json::object();
10474+ (void)x;
10475+ }
10476+
1034010477 inline void from_json(const json & j, Of& x) {
1034110478 if (!j.is_object()) throw std::runtime_error("Expected object");
1034210479 (void)j;
@@ -10788,6 +10925,17 @@ namespace quicktype {
1078810925 (void)x;
1078910926 }
1079010927
10928+ inline void from_json(const json & j, SerializationFeature& x) {
10929+ if (!j.is_object()) throw std::runtime_error("Expected object");
10930+ (void)j;
10931+ (void)x;
10932+ }
10933+
10934+ inline void to_json(json & j, const SerializationFeature & x) {
10935+ j = json::object();
10936+ (void)x;
10937+ }
10938+
1079110939 inline void from_json(const json & j, Serialize& x) {
1079210940 if (!j.is_object()) throw std::runtime_error("Expected object");
1079310941 (void)j;
@@ -12564,6 +12712,8 @@ namespace quicktype {
1256412712 x.set_delegate(get_stack_optional<std::variant<Delegate, double>>(j, "delegate"));
1256512713 if (j.find("delete") != j.end() && j.at("delete").is_null()) throw std::runtime_error("Unexpected null");
1256612714 x.set_top_level_delete(get_stack_optional<std::variant<Delete, double>>(j, "delete"));
12715+ if (j.find("DeserializationFeature") != j.end() && j.at("DeserializationFeature").is_null()) throw std::runtime_error("Unexpected null");
12716+ x.set_deserialization_feature(get_stack_optional<std::variant<DeserializationFeature, double>>(j, "DeserializationFeature"));
1256712717 if (j.find("dict") != j.end() && j.at("dict").is_null()) throw std::runtime_error("Unexpected null");
1256812718 x.set_dict(get_stack_optional<std::variant<Dict, double>>(j, "dict"));
1256912719 if (j.find("dictionary") != j.end() && j.at("dictionary").is_null()) throw std::runtime_error("Unexpected null");
@@ -12816,6 +12966,10 @@ namespace quicktype {
1281612966 x.set_object(get_stack_optional<std::variant<Object, double>>(j, "object"));
1281712967 if (j.find("ObjectMapper") != j.end() && j.at("ObjectMapper").is_null()) throw std::runtime_error("Unexpected null");
1281812968 x.set_object_mapper(get_stack_optional<std::variant<ObjectMapper, double>>(j, "ObjectMapper"));
12969+ if (j.find("ObjectReader") != j.end() && j.at("ObjectReader").is_null()) throw std::runtime_error("Unexpected null");
12970+ x.set_object_reader(get_stack_optional<std::variant<ObjectReader, double>>(j, "ObjectReader"));
12971+ if (j.find("ObjectWriter") != j.end() && j.at("ObjectWriter").is_null()) throw std::runtime_error("Unexpected null");
12972+ x.set_object_writer(get_stack_optional<std::variant<ObjectWriter, double>>(j, "ObjectWriter"));
1281912973 if (j.find("of") != j.end() && j.at("of").is_null()) throw std::runtime_error("Unexpected null");
1282012974 x.set_of(get_stack_optional<std::variant<Of, double>>(j, "of"));
1282112975 if (j.find("oneway") != j.end() && j.at("oneway").is_null()) throw std::runtime_error("Unexpected null");
@@ -12916,6 +13070,8 @@ namespace quicktype {
1291613070 x.set_top_level_self(get_stack_optional<std::variant<SelfClass, double>>(j, "self"));
1291713071 if (j.find("Sendable") != j.end() && j.at("Sendable").is_null()) throw std::runtime_error("Unexpected null");
1291813072 x.set_sendable(get_stack_optional<std::variant<Sendable, double>>(j, "Sendable"));
13073+ if (j.find("SerializationFeature") != j.end() && j.at("SerializationFeature").is_null()) throw std::runtime_error("Unexpected null");
13074+ x.set_serialization_feature(get_stack_optional<std::variant<SerializationFeature, double>>(j, "SerializationFeature"));
1291913075 if (j.find("serialize") != j.end() && j.at("serialize").is_null()) throw std::runtime_error("Unexpected null");
1292013076 x.set_serialize(get_stack_optional<std::variant<Serialize, double>>(j, "serialize"));
1292113077 if (j.find("SerializerProvider") != j.end() && j.at("SerializerProvider").is_null()) throw std::runtime_error("Unexpected null");
@@ -13150,6 +13306,7 @@ namespace quicktype {
1315013306 j["del"] = x.get_del();
1315113307 j["delegate"] = x.get_delegate();
1315213308 j["delete"] = x.get_top_level_delete();
13309+ j["DeserializationFeature"] = x.get_deserialization_feature();
1315313310 j["dict"] = x.get_dict();
1315413311 j["dictionary"] = x.get_dictionary();
1315513312 j["didSet"] = x.get_did_set();
@@ -13276,6 +13433,8 @@ namespace quicktype {
1327613433 j["number"] = x.get_number();
1327713434 j["object"] = x.get_object();
1327813435 j["ObjectMapper"] = x.get_object_mapper();
13436+ j["ObjectReader"] = x.get_object_reader();
13437+ j["ObjectWriter"] = x.get_object_writer();
1327913438 j["of"] = x.get_of();
1328013439 j["oneway"] = x.get_oneway();
1328113440 j["open"] = x.get_open();
@@ -13326,6 +13485,7 @@ namespace quicktype {
1332613485 j["Self"] = x.get_self();
1332713486 j["self"] = x.get_top_level_self();
1332813487 j["Sendable"] = x.get_sendable();
13488+ j["SerializationFeature"] = x.get_serialization_feature();
1332913489 j["serialize"] = x.get_serialize();
1333013490 j["SerializerProvider"] = x.get_serializer_provider();
1333113491 j["set"] = x.get_set();
@@ -14342,6 +14502,26 @@ namespace nlohmann {
1434214502 }
1434314503 }
1434414504
14505+ inline void adl_serializer<std::variant<quicktype::DeserializationFeature, double>>::from_json(const json & j, std::variant<quicktype::DeserializationFeature, double> & x) {
14506+ if (j.is_number())
14507+ x = j.get<double>();
14508+ else if (j.is_object())
14509+ x = j.get<quicktype::DeserializationFeature>();
14510+ else throw std::runtime_error("Could not deserialise!");
14511+ }
14512+
14513+ inline void adl_serializer<std::variant<quicktype::DeserializationFeature, double>>::to_json(json & j, const std::variant<quicktype::DeserializationFeature, double> & x) {
14514+ switch (x.index()) {
14515+ case 0:
14516+ j = std::get<quicktype::DeserializationFeature>(x);
14517+ break;
14518+ case 1:
14519+ j = std::get<double>(x);
14520+ break;
14521+ default: throw std::runtime_error("Input JSON does not conform to schema!");
14522+ }
14523+ }
14524+
1434514525 inline void adl_serializer<std::variant<quicktype::Dict, double>>::from_json(const json & j, std::variant<quicktype::Dict, double> & x) {
1434614526 if (j.is_number())
1434714527 x = j.get<double>();
@@ -16302,6 +16482,46 @@ namespace nlohmann {
1630216482 }
1630316483 }
1630416484
16485+ inline void adl_serializer<std::variant<quicktype::ObjectReader, double>>::from_json(const json & j, std::variant<quicktype::ObjectReader, double> & x) {
16486+ if (j.is_number())
16487+ x = j.get<double>();
16488+ else if (j.is_object())
16489+ x = j.get<quicktype::ObjectReader>();
16490+ else throw std::runtime_error("Could not deserialise!");
16491+ }
16492+
16493+ inline void adl_serializer<std::variant<quicktype::ObjectReader, double>>::to_json(json & j, const std::variant<quicktype::ObjectReader, double> & x) {
16494+ switch (x.index()) {
16495+ case 0:
16496+ j = std::get<quicktype::ObjectReader>(x);
16497+ break;
16498+ case 1:
16499+ j = std::get<double>(x);
16500+ break;
16501+ default: throw std::runtime_error("Input JSON does not conform to schema!");
16502+ }
16503+ }
16504+
16505+ inline void adl_serializer<std::variant<quicktype::ObjectWriter, double>>::from_json(const json & j, std::variant<quicktype::ObjectWriter, double> & x) {
16506+ if (j.is_number())
16507+ x = j.get<double>();
16508+ else if (j.is_object())
16509+ x = j.get<quicktype::ObjectWriter>();
16510+ else throw std::runtime_error("Could not deserialise!");
16511+ }
16512+
16513+ inline void adl_serializer<std::variant<quicktype::ObjectWriter, double>>::to_json(json & j, const std::variant<quicktype::ObjectWriter, double> & x) {
16514+ switch (x.index()) {
16515+ case 0:
16516+ j = std::get<quicktype::ObjectWriter>(x);
16517+ break;
16518+ case 1:
16519+ j = std::get<double>(x);
16520+ break;
16521+ default: throw std::runtime_error("Input JSON does not conform to schema!");
16522+ }
16523+ }
16524+
1630516525 inline void adl_serializer<std::variant<quicktype::Of, double>>::from_json(const json & j, std::variant<quicktype::Of, double> & x) {
1630616526 if (j.is_number())
1630716527 x = j.get<double>();
@@ -17122,6 +17342,26 @@ namespace nlohmann {
1712217342 }
1712317343 }
1712417344
17345+ inline void adl_serializer<std::variant<quicktype::SerializationFeature, double>>::from_json(const json & j, std::variant<quicktype::SerializationFeature, double> & x) {
17346+ if (j.is_number())
17347+ x = j.get<double>();
17348+ else if (j.is_object())
17349+ x = j.get<quicktype::SerializationFeature>();
17350+ else throw std::runtime_error("Could not deserialise!");
17351+ }
17352+
17353+ inline void adl_serializer<std::variant<quicktype::SerializationFeature, double>>::to_json(json & j, const std::variant<quicktype::SerializationFeature, double> & x) {
17354+ switch (x.index()) {
17355+ case 0:
17356+ j = std::get<quicktype::SerializationFeature>(x);
17357+ break;
17358+ case 1:
17359+ j = std::get<double>(x);
17360+ break;
17361+ default: throw std::runtime_error("Input JSON does not conform to schema!");
17362+ }
17363+ }
17364+
1712517365 inline void adl_serializer<std::variant<quicktype::Serialize, double>>::from_json(const json & j, std::variant<quicktype::Serialize, double> & x) {
1712617366 if (j.is_number())
1712717367 x = j.get<double>();
Mschema-crystaldefault / TopLevel.cr+40 −0
@@ -199,6 +199,9 @@ class TopLevel
199199
200200 property delete : UnionDelete?
201201
202+ @[JSON::Field(key: "DeserializationFeature")]
203+ property deserialization_feature : UnionDeserializationFeature?
204+
202205 property dict : UnionDict?
203206
204207 property dictionary : UnionDictionary?
@@ -496,6 +499,12 @@ class TopLevel
496499 @[JSON::Field(key: "ObjectMapper")]
497500 property object_mapper : UnionObjectMapper?
498501
502+ @[JSON::Field(key: "ObjectReader")]
503+ property object_reader : UnionObjectReader?
504+
505+ @[JSON::Field(key: "ObjectWriter")]
506+ property object_writer : UnionObjectWriter?
507+
499508 @[JSON::Field(key: "of")]
500509 property top_level_of : UnionOf?
501510
@@ -612,6 +621,9 @@ class TopLevel
612621 @[JSON::Field(key: "Sendable")]
613622 property sendable : UnionSendable?
614623
624+ @[JSON::Field(key: "SerializationFeature")]
625+ property serialization_feature : UnionSerializationFeature?
626+
615627 property serialize : UnionSerialize?
616628
617629 @[JSON::Field(key: "SerializerProvider")]
@@ -1142,6 +1154,11 @@ class Delete
11421154
11431155 end
11441156
1157+class DeserializationFeature
1158+ include JSON::Serializable
1159+
1160+end
1161+
11451162 class Dict
11461163 include JSON::Serializable
11471164
@@ -1717,6 +1734,16 @@ class ObjectMapper
17171734
17181735 end
17191736
1737+class ObjectReader
1738+ include JSON::Serializable
1739+
1740+end
1741+
1742+class ObjectWriter
1743+ include JSON::Serializable
1744+
1745+end
1746+
17201747 class Oneway
17211748 include JSON::Serializable
17221749
@@ -1947,6 +1974,11 @@ class Sendable
19471974
19481975 end
19491976
1977+class SerializationFeature
1978+ include JSON::Serializable
1979+
1980+end
1981+
19501982 class Serialize
19511983 include JSON::Serializable
19521984
@@ -2589,6 +2621,8 @@ alias UnionDelegate = Delegate | Float64
25892621
25902622 alias UnionDelete = Delete | Float64
25912623
2624+alias UnionDeserializationFeature = DeserializationFeature | Float64
2625+
25922626 alias UnionDict = Dict | Float64
25932627
25942628 alias UnionDictionary = Dictionary | Float64
@@ -2819,6 +2853,10 @@ alias UnionObject = Float64 | ObjectClass
28192853
28202854 alias UnionObjectMapper = Float64 | ObjectMapper
28212855
2856+alias UnionObjectReader = Float64 | ObjectReader
2857+
2858+alias UnionObjectWriter = Float64 | ObjectWriter
2859+
28222860 alias UnionOneway = Float64 | Oneway
28232861
28242862 alias UnionOpen = Float64 | Open
@@ -2911,6 +2949,8 @@ alias UnionSel = Float64 | Sel
29112949
29122950 alias UnionSendable = Float64 | Sendable
29132951
2952+alias UnionSerializationFeature = Float64 | SerializationFeature
2953+
29142954 alias UnionSerialize = Float64 | Serialize
29152955
29162956 alias UnionSerializerProvider = Float64 | SerializerProvider
Mschema-csharp-recordsdefault / QuickType.cs+220 −0
@@ -277,6 +277,9 @@ namespace QuickType
277277 [JsonProperty("delete", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
278278 public UnionDelete? Delete { get; set; }
279279
280+ [JsonProperty("DeserializationFeature", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
281+ public UnionDeserializationFeature? DeserializationFeature { get; set; }
282+
280283 [JsonProperty("dict", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
281284 public UnionDict? Dict { get; set; }
282285
@@ -655,6 +658,12 @@ namespace QuickType
655658 [JsonProperty("ObjectMapper", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
656659 public UnionObjectMapper? ObjectMapper { get; set; }
657660
661+ [JsonProperty("ObjectReader", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
662+ public UnionObjectReader? ObjectReader { get; set; }
663+
664+ [JsonProperty("ObjectWriter", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
665+ public UnionObjectWriter? ObjectWriter { get; set; }
666+
658667 [JsonProperty("of", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
659668 public UnionOf? Of { get; set; }
660669
@@ -805,6 +814,9 @@ namespace QuickType
805814 [JsonProperty("Sendable", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
806815 public UnionSendable? Sendable { get; set; }
807816
817+ [JsonProperty("SerializationFeature", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
818+ public UnionSerializationFeature? SerializationFeature { get; set; }
819+
808820 [JsonProperty("serialize", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
809821 public UnionSerialize? Serialize { get; set; }
810822
@@ -1333,6 +1345,10 @@ namespace QuickType
13331345 {
13341346 }
13351347
1348+ public partial record DeserializationFeature
1349+ {
1350+ }
1351+
13361352 public partial record Dict
13371353 {
13381354 }
@@ -1821,6 +1837,14 @@ namespace QuickType
18211837 {
18221838 }
18231839
1840+ public partial record ObjectReader
1841+ {
1842+ }
1843+
1844+ public partial record ObjectWriter
1845+ {
1846+ }
1847+
18241848 public partial record Of
18251849 {
18261850 }
@@ -2009,6 +2033,10 @@ namespace QuickType
20092033 {
20102034 }
20112035
2036+ public partial record SerializationFeature
2037+ {
2038+ }
2039+
20122040 public partial record SerializeClass
20132041 {
20142042 }
@@ -3046,6 +3074,15 @@ namespace QuickType
30463074 public static implicit operator UnionDelete(double Double) => new UnionDelete { Double = Double };
30473075 }
30483076
3077+ public partial struct UnionDeserializationFeature
3078+ {
3079+ public DeserializationFeature? DeserializationFeature;
3080+ public double? Double;
3081+
3082+ public static implicit operator UnionDeserializationFeature(DeserializationFeature DeserializationFeature) => new UnionDeserializationFeature { DeserializationFeature = DeserializationFeature };
3083+ public static implicit operator UnionDeserializationFeature(double Double) => new UnionDeserializationFeature { Double = Double };
3084+ }
3085+
30493086 public partial struct UnionDict
30503087 {
30513088 public Dict? Dict;
@@ -4144,6 +4181,24 @@ namespace QuickType
41444181 public static implicit operator UnionObjectMapper(ObjectMapper ObjectMapper) => new UnionObjectMapper { ObjectMapper = ObjectMapper };
41454182 }
41464183
4184+ public partial struct UnionObjectReader
4185+ {
4186+ public double? Double;
4187+ public ObjectReader? ObjectReader;
4188+
4189+ public static implicit operator UnionObjectReader(double Double) => new UnionObjectReader { Double = Double };
4190+ public static implicit operator UnionObjectReader(ObjectReader ObjectReader) => new UnionObjectReader { ObjectReader = ObjectReader };
4191+ }
4192+
4193+ public partial struct UnionObjectWriter
4194+ {
4195+ public double? Double;
4196+ public ObjectWriter? ObjectWriter;
4197+
4198+ public static implicit operator UnionObjectWriter(double Double) => new UnionObjectWriter { Double = Double };
4199+ public static implicit operator UnionObjectWriter(ObjectWriter ObjectWriter) => new UnionObjectWriter { ObjectWriter = ObjectWriter };
4200+ }
4201+
41474202 public partial struct UnionOf
41484203 {
41494204 public double? Double;
@@ -4567,6 +4622,15 @@ namespace QuickType
45674622 public static implicit operator UnionSendable(Sendable Sendable) => new UnionSendable { Sendable = Sendable };
45684623 }
45694624
4625+ public partial struct UnionSerializationFeature
4626+ {
4627+ public double? Double;
4628+ public SerializationFeature? SerializationFeature;
4629+
4630+ public static implicit operator UnionSerializationFeature(double Double) => new UnionSerializationFeature { Double = Double };
4631+ public static implicit operator UnionSerializationFeature(SerializationFeature SerializationFeature) => new UnionSerializationFeature { SerializationFeature = SerializationFeature };
4632+ }
4633+
45704634 public partial struct UnionSerialize
45714635 {
45724636 public double? Double;
@@ -5374,6 +5438,7 @@ namespace QuickType
53745438 UnionDateTimeStylesConverter.Singleton,
53755439 UnionDecoderConverter.Singleton,
53765440 UnionDecodingErrorConverter.Singleton,
5441+ UnionDeserializationFeatureConverter.Singleton,
53775442 UnionEncoderConverter.Singleton,
53785443 UnionEnumValuesConverter.Singleton,
53795444 UnionEquatableConverter.Singleton,
@@ -5403,11 +5468,14 @@ namespace QuickType
54035468 UnionNullConverter.Singleton,
54045469 UnionNoneConverter.Singleton,
54055470 UnionObjectMapperConverter.Singleton,
5471+ UnionObjectReaderConverter.Singleton,
5472+ UnionObjectWriterConverter.Singleton,
54065473 UnionProtocolConverter.Singleton,
54075474 UnionRegExpConverter.Singleton,
54085475 UnionSelConverter.Singleton,
54095476 UnionSelfConverter.Singleton,
54105477 UnionSendableConverter.Singleton,
5478+ UnionSerializationFeatureConverter.Singleton,
54115479 UnionSerializerProviderConverter.Singleton,
54125480 UnionSimpleModuleConverter.Singleton,
54135481 UnionStandardsConverter.Singleton,
@@ -6266,6 +6334,44 @@ namespace QuickType
62666334 public static readonly UnionDecodingErrorConverter Singleton = new UnionDecodingErrorConverter();
62676335 }
62686336
6337+ internal class UnionDeserializationFeatureConverter : JsonConverter
6338+ {
6339+ public override bool CanConvert(Type t) => t == typeof(UnionDeserializationFeature) || t == typeof(UnionDeserializationFeature?);
6340+
6341+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
6342+ {
6343+ switch (reader.TokenType)
6344+ {
6345+ case JsonToken.Integer:
6346+ case JsonToken.Float:
6347+ var doubleValue = serializer.Deserialize<double>(reader);
6348+ return new UnionDeserializationFeature { Double = doubleValue };
6349+ case JsonToken.StartObject:
6350+ var objectValue = serializer.Deserialize<DeserializationFeature>(reader);
6351+ return new UnionDeserializationFeature { DeserializationFeature = objectValue };
6352+ }
6353+ throw new Exception("Cannot unmarshal type UnionDeserializationFeature");
6354+ }
6355+
6356+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
6357+ {
6358+ var value = (UnionDeserializationFeature)untypedValue;
6359+ if (value.Double != null)
6360+ {
6361+ serializer.Serialize(writer, value.Double.Value);
6362+ return;
6363+ }
6364+ if (value.DeserializationFeature != null)
6365+ {
6366+ serializer.Serialize(writer, value.DeserializationFeature);
6367+ return;
6368+ }
6369+ throw new Exception("Cannot marshal type UnionDeserializationFeature");
6370+ }
6371+
6372+ public static readonly UnionDeserializationFeatureConverter Singleton = new UnionDeserializationFeatureConverter();
6373+ }
6374+
62696375 internal class UnionEncoderConverter : JsonConverter
62706376 {
62716377 public override bool CanConvert(Type t) => t == typeof(UnionEncoder) || t == typeof(UnionEncoder?);
@@ -7368,6 +7474,82 @@ namespace QuickType
73687474 public static readonly UnionObjectMapperConverter Singleton = new UnionObjectMapperConverter();
73697475 }
73707476
7477+ internal class UnionObjectReaderConverter : JsonConverter
7478+ {
7479+ public override bool CanConvert(Type t) => t == typeof(UnionObjectReader) || t == typeof(UnionObjectReader?);
7480+
7481+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
7482+ {
7483+ switch (reader.TokenType)
7484+ {
7485+ case JsonToken.Integer:
7486+ case JsonToken.Float:
7487+ var doubleValue = serializer.Deserialize<double>(reader);
7488+ return new UnionObjectReader { Double = doubleValue };
7489+ case JsonToken.StartObject:
7490+ var objectValue = serializer.Deserialize<ObjectReader>(reader);
7491+ return new UnionObjectReader { ObjectReader = objectValue };
7492+ }
7493+ throw new Exception("Cannot unmarshal type UnionObjectReader");
7494+ }
7495+
7496+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
7497+ {
7498+ var value = (UnionObjectReader)untypedValue;
7499+ if (value.Double != null)
7500+ {
7501+ serializer.Serialize(writer, value.Double.Value);
7502+ return;
7503+ }
7504+ if (value.ObjectReader != null)
7505+ {
7506+ serializer.Serialize(writer, value.ObjectReader);
7507+ return;
7508+ }
7509+ throw new Exception("Cannot marshal type UnionObjectReader");
7510+ }
7511+
7512+ public static readonly UnionObjectReaderConverter Singleton = new UnionObjectReaderConverter();
7513+ }
7514+
7515+ internal class UnionObjectWriterConverter : JsonConverter
7516+ {
7517+ public override bool CanConvert(Type t) => t == typeof(UnionObjectWriter) || t == typeof(UnionObjectWriter?);
7518+
7519+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
7520+ {
7521+ switch (reader.TokenType)
7522+ {
7523+ case JsonToken.Integer:
7524+ case JsonToken.Float:
7525+ var doubleValue = serializer.Deserialize<double>(reader);
7526+ return new UnionObjectWriter { Double = doubleValue };
7527+ case JsonToken.StartObject:
7528+ var objectValue = serializer.Deserialize<ObjectWriter>(reader);
7529+ return new UnionObjectWriter { ObjectWriter = objectValue };
7530+ }
7531+ throw new Exception("Cannot unmarshal type UnionObjectWriter");
7532+ }
7533+
7534+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
7535+ {
7536+ var value = (UnionObjectWriter)untypedValue;
7537+ if (value.Double != null)
7538+ {
7539+ serializer.Serialize(writer, value.Double.Value);
7540+ return;
7541+ }
7542+ if (value.ObjectWriter != null)
7543+ {
7544+ serializer.Serialize(writer, value.ObjectWriter);
7545+ return;
7546+ }
7547+ throw new Exception("Cannot marshal type UnionObjectWriter");
7548+ }
7549+
7550+ public static readonly UnionObjectWriterConverter Singleton = new UnionObjectWriterConverter();
7551+ }
7552+
73717553 internal class UnionProtocolConverter : JsonConverter
73727554 {
73737555 public override bool CanConvert(Type t) => t == typeof(UnionProtocol) || t == typeof(UnionProtocol?);
@@ -7558,6 +7740,44 @@ namespace QuickType
75587740 public static readonly UnionSendableConverter Singleton = new UnionSendableConverter();
75597741 }
75607742
7743+ internal class UnionSerializationFeatureConverter : JsonConverter
7744+ {
7745+ public override bool CanConvert(Type t) => t == typeof(UnionSerializationFeature) || t == typeof(UnionSerializationFeature?);
7746+
7747+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
7748+ {
7749+ switch (reader.TokenType)
7750+ {
7751+ case JsonToken.Integer:
7752+ case JsonToken.Float:
7753+ var doubleValue = serializer.Deserialize<double>(reader);
7754+ return new UnionSerializationFeature { Double = doubleValue };
7755+ case JsonToken.StartObject:
7756+ var objectValue = serializer.Deserialize<SerializationFeature>(reader);
7757+ return new UnionSerializationFeature { SerializationFeature = objectValue };
7758+ }
7759+ throw new Exception("Cannot unmarshal type UnionSerializationFeature");
7760+ }
7761+
7762+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
7763+ {
7764+ var value = (UnionSerializationFeature)untypedValue;
7765+ if (value.Double != null)
7766+ {
7767+ serializer.Serialize(writer, value.Double.Value);
7768+ return;
7769+ }
7770+ if (value.SerializationFeature != null)
7771+ {
7772+ serializer.Serialize(writer, value.SerializationFeature);
7773+ return;
7774+ }
7775+ throw new Exception("Cannot marshal type UnionSerializationFeature");
7776+ }
7777+
7778+ public static readonly UnionSerializationFeatureConverter Singleton = new UnionSerializationFeatureConverter();
7779+ }
7780+
75617781 internal class UnionSerializerProviderConverter : JsonConverter
75627782 {
75637783 public override bool CanConvert(Type t) => t == typeof(UnionSerializerProvider) || t == typeof(UnionSerializerProvider?);
Mschema-csharp-SystemTextJsondefault / QuickType.cs+216 −0
@@ -358,6 +358,10 @@ namespace QuickType
358358 [JsonPropertyName("delete")]
359359 public UnionDelete? Delete { get; set; }
360360
361+ [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
362+ [JsonPropertyName("DeserializationFeature")]
363+ public UnionDeserializationFeature? DeserializationFeature { get; set; }
364+
361365 [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
362366 [JsonPropertyName("dict")]
363367 public UnionDict? Dict { get; set; }
@@ -862,6 +866,14 @@ namespace QuickType
862866 [JsonPropertyName("ObjectMapper")]
863867 public UnionObjectMapper? ObjectMapper { get; set; }
864868
869+ [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
870+ [JsonPropertyName("ObjectReader")]
871+ public UnionObjectReader? ObjectReader { get; set; }
872+
873+ [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
874+ [JsonPropertyName("ObjectWriter")]
875+ public UnionObjectWriter? ObjectWriter { get; set; }
876+
865877 [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
866878 [JsonPropertyName("of")]
867879 public UnionOf? Of { get; set; }
@@ -1062,6 +1074,10 @@ namespace QuickType
10621074 [JsonPropertyName("Sendable")]
10631075 public UnionSendable? Sendable { get; set; }
10641076
1077+ [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
1078+ [JsonPropertyName("SerializationFeature")]
1079+ public UnionSerializationFeature? SerializationFeature { get; set; }
1080+
10651081 [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
10661082 [JsonPropertyName("serialize")]
10671083 public UnionSerialize? Serialize { get; set; }
@@ -1667,6 +1683,10 @@ namespace QuickType
16671683 {
16681684 }
16691685
1686+ public partial class DeserializationFeature
1687+ {
1688+ }
1689+
16701690 public partial class Dict
16711691 {
16721692 }
@@ -2159,6 +2179,14 @@ namespace QuickType
21592179 {
21602180 }
21612181
2182+ public partial class ObjectReader
2183+ {
2184+ }
2185+
2186+ public partial class ObjectWriter
2187+ {
2188+ }
2189+
21622190 public partial class Of
21632191 {
21642192 }
@@ -2351,6 +2379,10 @@ namespace QuickType
23512379 {
23522380 }
23532381
2382+ public partial class SerializationFeature
2383+ {
2384+ }
2385+
23542386 public partial class SerializeClass
23552387 {
23562388 }
@@ -3385,6 +3417,15 @@ namespace QuickType
33853417 public static implicit operator UnionDelete(double Double) => new UnionDelete { Double = Double };
33863418 }
33873419
3420+ public partial struct UnionDeserializationFeature
3421+ {
3422+ public DeserializationFeature? DeserializationFeature;
3423+ public double? Double;
3424+
3425+ public static implicit operator UnionDeserializationFeature(DeserializationFeature DeserializationFeature) => new UnionDeserializationFeature { DeserializationFeature = DeserializationFeature };
3426+ public static implicit operator UnionDeserializationFeature(double Double) => new UnionDeserializationFeature { Double = Double };
3427+ }
3428+
33883429 public partial struct UnionDict
33893430 {
33903431 public Dict? Dict;
@@ -4492,6 +4533,24 @@ namespace QuickType
44924533 public static implicit operator UnionObjectMapper(ObjectMapper ObjectMapper) => new UnionObjectMapper { ObjectMapper = ObjectMapper };
44934534 }
44944535
4536+ public partial struct UnionObjectReader
4537+ {
4538+ public double? Double;
4539+ public ObjectReader? ObjectReader;
4540+
4541+ public static implicit operator UnionObjectReader(double Double) => new UnionObjectReader { Double = Double };
4542+ public static implicit operator UnionObjectReader(ObjectReader ObjectReader) => new UnionObjectReader { ObjectReader = ObjectReader };
4543+ }
4544+
4545+ public partial struct UnionObjectWriter
4546+ {
4547+ public double? Double;
4548+ public ObjectWriter? ObjectWriter;
4549+
4550+ public static implicit operator UnionObjectWriter(double Double) => new UnionObjectWriter { Double = Double };
4551+ public static implicit operator UnionObjectWriter(ObjectWriter ObjectWriter) => new UnionObjectWriter { ObjectWriter = ObjectWriter };
4552+ }
4553+
44954554 public partial struct UnionOf
44964555 {
44974556 public double? Double;
@@ -4924,6 +4983,15 @@ namespace QuickType
49244983 public static implicit operator UnionSendable(Sendable Sendable) => new UnionSendable { Sendable = Sendable };
49254984 }
49264985
4986+ public partial struct UnionSerializationFeature
4987+ {
4988+ public double? Double;
4989+ public SerializationFeature? SerializationFeature;
4990+
4991+ public static implicit operator UnionSerializationFeature(double Double) => new UnionSerializationFeature { Double = Double };
4992+ public static implicit operator UnionSerializationFeature(SerializationFeature SerializationFeature) => new UnionSerializationFeature { SerializationFeature = SerializationFeature };
4993+ }
4994+
49274995 public partial struct UnionSerialize
49284996 {
49294997 public double? Double;
@@ -5702,6 +5770,7 @@ namespace QuickType
57025770 UnionDateTimeStylesConverter.Singleton,
57035771 UnionDecoderConverter.Singleton,
57045772 UnionDecodingErrorConverter.Singleton,
5773+ UnionDeserializationFeatureConverter.Singleton,
57055774 UnionEncoderConverter.Singleton,
57065775 UnionEnumValuesConverter.Singleton,
57075776 UnionEquatableConverter.Singleton,
@@ -5731,11 +5800,14 @@ namespace QuickType
57315800 UnionNullConverter.Singleton,
57325801 UnionNoneConverter.Singleton,
57335802 UnionObjectMapperConverter.Singleton,
5803+ UnionObjectReaderConverter.Singleton,
5804+ UnionObjectWriterConverter.Singleton,
57345805 UnionProtocolConverter.Singleton,
57355806 UnionRegExpConverter.Singleton,
57365807 UnionSelConverter.Singleton,
57375808 UnionSelfConverter.Singleton,
57385809 UnionSendableConverter.Singleton,
5810+ UnionSerializationFeatureConverter.Singleton,
57395811 UnionSerializerProviderConverter.Singleton,
57405812 UnionSimpleModuleConverter.Singleton,
57415813 UnionStandardsConverter.Singleton,
@@ -6566,6 +6638,42 @@ namespace QuickType
65666638 public static readonly UnionDecodingErrorConverter Singleton = new UnionDecodingErrorConverter();
65676639 }
65686640
6641+ internal class UnionDeserializationFeatureConverter : JsonConverter<UnionDeserializationFeature>
6642+ {
6643+ public override bool CanConvert(Type t) => t == typeof(UnionDeserializationFeature);
6644+
6645+ public override UnionDeserializationFeature Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
6646+ {
6647+ switch (reader.TokenType)
6648+ {
6649+ case JsonTokenType.Number:
6650+ var doubleValue1 = reader.GetDouble();
6651+ return new UnionDeserializationFeature { Double = doubleValue1 };
6652+ case JsonTokenType.StartObject:
6653+ var objectValue = JsonSerializer.Deserialize<DeserializationFeature>(ref reader, options);
6654+ return new UnionDeserializationFeature { DeserializationFeature = objectValue };
6655+ }
6656+ throw new JsonException("Cannot unmarshal type UnionDeserializationFeature");
6657+ }
6658+
6659+ public override void Write(Utf8JsonWriter writer, UnionDeserializationFeature value, JsonSerializerOptions options)
6660+ {
6661+ if (value.Double != null)
6662+ {
6663+ JsonSerializer.Serialize(writer, value.Double.Value, options);
6664+ return;
6665+ }
6666+ if (value.DeserializationFeature != null)
6667+ {
6668+ JsonSerializer.Serialize(writer, value.DeserializationFeature, options);
6669+ return;
6670+ }
6671+ throw new NotSupportedException("Cannot marshal type UnionDeserializationFeature");
6672+ }
6673+
6674+ public static readonly UnionDeserializationFeatureConverter Singleton = new UnionDeserializationFeatureConverter();
6675+ }
6676+
65696677 internal class UnionEncoderConverter : JsonConverter<UnionEncoder>
65706678 {
65716679 public override bool CanConvert(Type t) => t == typeof(UnionEncoder);
@@ -7610,6 +7718,78 @@ namespace QuickType
76107718 public static readonly UnionObjectMapperConverter Singleton = new UnionObjectMapperConverter();
76117719 }
76127720
7721+ internal class UnionObjectReaderConverter : JsonConverter<UnionObjectReader>
7722+ {
7723+ public override bool CanConvert(Type t) => t == typeof(UnionObjectReader);
7724+
7725+ public override UnionObjectReader Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
7726+ {
7727+ switch (reader.TokenType)
7728+ {
7729+ case JsonTokenType.Number:
7730+ var doubleValue1 = reader.GetDouble();
7731+ return new UnionObjectReader { Double = doubleValue1 };
7732+ case JsonTokenType.StartObject:
7733+ var objectValue = JsonSerializer.Deserialize<ObjectReader>(ref reader, options);
7734+ return new UnionObjectReader { ObjectReader = objectValue };
7735+ }
7736+ throw new JsonException("Cannot unmarshal type UnionObjectReader");
7737+ }
7738+
7739+ public override void Write(Utf8JsonWriter writer, UnionObjectReader value, JsonSerializerOptions options)
7740+ {
7741+ if (value.Double != null)
7742+ {
7743+ JsonSerializer.Serialize(writer, value.Double.Value, options);
7744+ return;
7745+ }
7746+ if (value.ObjectReader != null)
7747+ {
7748+ JsonSerializer.Serialize(writer, value.ObjectReader, options);
7749+ return;
7750+ }
7751+ throw new NotSupportedException("Cannot marshal type UnionObjectReader");
7752+ }
7753+
7754+ public static readonly UnionObjectReaderConverter Singleton = new UnionObjectReaderConverter();
7755+ }
7756+
7757+ internal class UnionObjectWriterConverter : JsonConverter<UnionObjectWriter>
7758+ {
7759+ public override bool CanConvert(Type t) => t == typeof(UnionObjectWriter);
7760+
7761+ public override UnionObjectWriter Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
7762+ {
7763+ switch (reader.TokenType)
7764+ {
7765+ case JsonTokenType.Number:
7766+ var doubleValue1 = reader.GetDouble();
7767+ return new UnionObjectWriter { Double = doubleValue1 };
7768+ case JsonTokenType.StartObject:
7769+ var objectValue = JsonSerializer.Deserialize<ObjectWriter>(ref reader, options);
7770+ return new UnionObjectWriter { ObjectWriter = objectValue };
7771+ }
7772+ throw new JsonException("Cannot unmarshal type UnionObjectWriter");
7773+ }
7774+
7775+ public override void Write(Utf8JsonWriter writer, UnionObjectWriter value, JsonSerializerOptions options)
7776+ {
7777+ if (value.Double != null)
7778+ {
7779+ JsonSerializer.Serialize(writer, value.Double.Value, options);
7780+ return;
7781+ }
7782+ if (value.ObjectWriter != null)
7783+ {
7784+ JsonSerializer.Serialize(writer, value.ObjectWriter, options);
7785+ return;
7786+ }
7787+ throw new NotSupportedException("Cannot marshal type UnionObjectWriter");
7788+ }
7789+
7790+ public static readonly UnionObjectWriterConverter Singleton = new UnionObjectWriterConverter();
7791+ }
7792+
76137793 internal class UnionProtocolConverter : JsonConverter<UnionProtocol>
76147794 {
76157795 public override bool CanConvert(Type t) => t == typeof(UnionProtocol);
@@ -7790,6 +7970,42 @@ namespace QuickType
77907970 public static readonly UnionSendableConverter Singleton = new UnionSendableConverter();
77917971 }
77927972
7973+ internal class UnionSerializationFeatureConverter : JsonConverter<UnionSerializationFeature>
7974+ {
7975+ public override bool CanConvert(Type t) => t == typeof(UnionSerializationFeature);
7976+
7977+ public override UnionSerializationFeature Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
7978+ {
7979+ switch (reader.TokenType)
7980+ {
7981+ case JsonTokenType.Number:
7982+ var doubleValue1 = reader.GetDouble();
7983+ return new UnionSerializationFeature { Double = doubleValue1 };
7984+ case JsonTokenType.StartObject:
7985+ var objectValue = JsonSerializer.Deserialize<SerializationFeature>(ref reader, options);
7986+ return new UnionSerializationFeature { SerializationFeature = objectValue };
7987+ }
7988+ throw new JsonException("Cannot unmarshal type UnionSerializationFeature");
7989+ }
7990+
7991+ public override void Write(Utf8JsonWriter writer, UnionSerializationFeature value, JsonSerializerOptions options)
7992+ {
7993+ if (value.Double != null)
7994+ {
7995+ JsonSerializer.Serialize(writer, value.Double.Value, options);
7996+ return;
7997+ }
7998+ if (value.SerializationFeature != null)
7999+ {
8000+ JsonSerializer.Serialize(writer, value.SerializationFeature, options);
8001+ return;
8002+ }
8003+ throw new NotSupportedException("Cannot marshal type UnionSerializationFeature");
8004+ }
8005+
8006+ public static readonly UnionSerializationFeatureConverter Singleton = new UnionSerializationFeatureConverter();
8007+ }
8008+
77938009 internal class UnionSerializerProviderConverter : JsonConverter<UnionSerializerProvider>
77948010 {
77958011 public override bool CanConvert(Type t) => t == typeof(UnionSerializerProvider);
Mschema-csharpdefault / QuickType.cs+220 −0
@@ -277,6 +277,9 @@ namespace QuickType
277277 [JsonProperty("delete", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
278278 public UnionDelete? Delete { get; set; }
279279
280+ [JsonProperty("DeserializationFeature", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
281+ public UnionDeserializationFeature? DeserializationFeature { get; set; }
282+
280283 [JsonProperty("dict", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
281284 public UnionDict? Dict { get; set; }
282285
@@ -655,6 +658,12 @@ namespace QuickType
655658 [JsonProperty("ObjectMapper", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
656659 public UnionObjectMapper? ObjectMapper { get; set; }
657660
661+ [JsonProperty("ObjectReader", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
662+ public UnionObjectReader? ObjectReader { get; set; }
663+
664+ [JsonProperty("ObjectWriter", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
665+ public UnionObjectWriter? ObjectWriter { get; set; }
666+
658667 [JsonProperty("of", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
659668 public UnionOf? Of { get; set; }
660669
@@ -805,6 +814,9 @@ namespace QuickType
805814 [JsonProperty("Sendable", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
806815 public UnionSendable? Sendable { get; set; }
807816
817+ [JsonProperty("SerializationFeature", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
818+ public UnionSerializationFeature? SerializationFeature { get; set; }
819+
808820 [JsonProperty("serialize", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
809821 public UnionSerialize? Serialize { get; set; }
810822
@@ -1337,6 +1349,10 @@ namespace QuickType
13371349 {
13381350 }
13391351
1352+ public partial class DeserializationFeature
1353+ {
1354+ }
1355+
13401356 public partial class Dict
13411357 {
13421358 }
@@ -1829,6 +1845,14 @@ namespace QuickType
18291845 {
18301846 }
18311847
1848+ public partial class ObjectReader
1849+ {
1850+ }
1851+
1852+ public partial class ObjectWriter
1853+ {
1854+ }
1855+
18321856 public partial class Of
18331857 {
18341858 }
@@ -2021,6 +2045,10 @@ namespace QuickType
20212045 {
20222046 }
20232047
2048+ public partial class SerializationFeature
2049+ {
2050+ }
2051+
20242052 public partial class SerializeClass
20252053 {
20262054 }
@@ -3055,6 +3083,15 @@ namespace QuickType
30553083 public static implicit operator UnionDelete(double Double) => new UnionDelete { Double = Double };
30563084 }
30573085
3086+ public partial struct UnionDeserializationFeature
3087+ {
3088+ public DeserializationFeature? DeserializationFeature;
3089+ public double? Double;
3090+
3091+ public static implicit operator UnionDeserializationFeature(DeserializationFeature DeserializationFeature) => new UnionDeserializationFeature { DeserializationFeature = DeserializationFeature };
3092+ public static implicit operator UnionDeserializationFeature(double Double) => new UnionDeserializationFeature { Double = Double };
3093+ }
3094+
30583095 public partial struct UnionDict
30593096 {
30603097 public Dict? Dict;
@@ -4162,6 +4199,24 @@ namespace QuickType
41624199 public static implicit operator UnionObjectMapper(ObjectMapper ObjectMapper) => new UnionObjectMapper { ObjectMapper = ObjectMapper };
41634200 }
41644201
4202+ public partial struct UnionObjectReader
4203+ {
4204+ public double? Double;
4205+ public ObjectReader? ObjectReader;
4206+
4207+ public static implicit operator UnionObjectReader(double Double) => new UnionObjectReader { Double = Double };
4208+ public static implicit operator UnionObjectReader(ObjectReader ObjectReader) => new UnionObjectReader { ObjectReader = ObjectReader };
4209+ }
4210+
4211+ public partial struct UnionObjectWriter
4212+ {
4213+ public double? Double;
4214+ public ObjectWriter? ObjectWriter;
4215+
4216+ public static implicit operator UnionObjectWriter(double Double) => new UnionObjectWriter { Double = Double };
4217+ public static implicit operator UnionObjectWriter(ObjectWriter ObjectWriter) => new UnionObjectWriter { ObjectWriter = ObjectWriter };
4218+ }
4219+
41654220 public partial struct UnionOf
41664221 {
41674222 public double? Double;
@@ -4594,6 +4649,15 @@ namespace QuickType
45944649 public static implicit operator UnionSendable(Sendable Sendable) => new UnionSendable { Sendable = Sendable };
45954650 }
45964651
4652+ public partial struct UnionSerializationFeature
4653+ {
4654+ public double? Double;
4655+ public SerializationFeature? SerializationFeature;
4656+
4657+ public static implicit operator UnionSerializationFeature(double Double) => new UnionSerializationFeature { Double = Double };
4658+ public static implicit operator UnionSerializationFeature(SerializationFeature SerializationFeature) => new UnionSerializationFeature { SerializationFeature = SerializationFeature };
4659+ }
4660+
45974661 public partial struct UnionSerialize
45984662 {
45994663 public double? Double;
@@ -5374,6 +5438,7 @@ namespace QuickType
53745438 UnionDateTimeStylesConverter.Singleton,
53755439 UnionDecoderConverter.Singleton,
53765440 UnionDecodingErrorConverter.Singleton,
5441+ UnionDeserializationFeatureConverter.Singleton,
53775442 UnionEncoderConverter.Singleton,
53785443 UnionEnumValuesConverter.Singleton,
53795444 UnionEquatableConverter.Singleton,
@@ -5403,11 +5468,14 @@ namespace QuickType
54035468 UnionNullConverter.Singleton,
54045469 UnionNoneConverter.Singleton,
54055470 UnionObjectMapperConverter.Singleton,
5471+ UnionObjectReaderConverter.Singleton,
5472+ UnionObjectWriterConverter.Singleton,
54065473 UnionProtocolConverter.Singleton,
54075474 UnionRegExpConverter.Singleton,
54085475 UnionSelConverter.Singleton,
54095476 UnionSelfConverter.Singleton,
54105477 UnionSendableConverter.Singleton,
5478+ UnionSerializationFeatureConverter.Singleton,
54115479 UnionSerializerProviderConverter.Singleton,
54125480 UnionSimpleModuleConverter.Singleton,
54135481 UnionStandardsConverter.Singleton,
@@ -6266,6 +6334,44 @@ namespace QuickType
62666334 public static readonly UnionDecodingErrorConverter Singleton = new UnionDecodingErrorConverter();
62676335 }
62686336
6337+ internal class UnionDeserializationFeatureConverter : JsonConverter
6338+ {
6339+ public override bool CanConvert(Type t) => t == typeof(UnionDeserializationFeature) || t == typeof(UnionDeserializationFeature?);
6340+
6341+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
6342+ {
6343+ switch (reader.TokenType)
6344+ {
6345+ case JsonToken.Integer:
6346+ case JsonToken.Float:
6347+ var doubleValue = serializer.Deserialize<double>(reader);
6348+ return new UnionDeserializationFeature { Double = doubleValue };
6349+ case JsonToken.StartObject:
6350+ var objectValue = serializer.Deserialize<DeserializationFeature>(reader);
6351+ return new UnionDeserializationFeature { DeserializationFeature = objectValue };
6352+ }
6353+ throw new Exception("Cannot unmarshal type UnionDeserializationFeature");
6354+ }
6355+
6356+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
6357+ {
6358+ var value = (UnionDeserializationFeature)untypedValue;
6359+ if (value.Double != null)
6360+ {
6361+ serializer.Serialize(writer, value.Double.Value);
6362+ return;
6363+ }
6364+ if (value.DeserializationFeature != null)
6365+ {
6366+ serializer.Serialize(writer, value.DeserializationFeature);
6367+ return;
6368+ }
6369+ throw new Exception("Cannot marshal type UnionDeserializationFeature");
6370+ }
6371+
6372+ public static readonly UnionDeserializationFeatureConverter Singleton = new UnionDeserializationFeatureConverter();
6373+ }
6374+
62696375 internal class UnionEncoderConverter : JsonConverter
62706376 {
62716377 public override bool CanConvert(Type t) => t == typeof(UnionEncoder) || t == typeof(UnionEncoder?);
@@ -7368,6 +7474,82 @@ namespace QuickType
73687474 public static readonly UnionObjectMapperConverter Singleton = new UnionObjectMapperConverter();
73697475 }
73707476
7477+ internal class UnionObjectReaderConverter : JsonConverter
7478+ {
7479+ public override bool CanConvert(Type t) => t == typeof(UnionObjectReader) || t == typeof(UnionObjectReader?);
7480+
7481+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
7482+ {
7483+ switch (reader.TokenType)
7484+ {
7485+ case JsonToken.Integer:
7486+ case JsonToken.Float:
7487+ var doubleValue = serializer.Deserialize<double>(reader);
7488+ return new UnionObjectReader { Double = doubleValue };
7489+ case JsonToken.StartObject:
7490+ var objectValue = serializer.Deserialize<ObjectReader>(reader);
7491+ return new UnionObjectReader { ObjectReader = objectValue };
7492+ }
7493+ throw new Exception("Cannot unmarshal type UnionObjectReader");
7494+ }
7495+
7496+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
7497+ {
7498+ var value = (UnionObjectReader)untypedValue;
7499+ if (value.Double != null)
7500+ {
7501+ serializer.Serialize(writer, value.Double.Value);
7502+ return;
7503+ }
7504+ if (value.ObjectReader != null)
7505+ {
7506+ serializer.Serialize(writer, value.ObjectReader);
7507+ return;
7508+ }
7509+ throw new Exception("Cannot marshal type UnionObjectReader");
7510+ }
7511+
7512+ public static readonly UnionObjectReaderConverter Singleton = new UnionObjectReaderConverter();
7513+ }
7514+
7515+ internal class UnionObjectWriterConverter : JsonConverter
7516+ {
7517+ public override bool CanConvert(Type t) => t == typeof(UnionObjectWriter) || t == typeof(UnionObjectWriter?);
7518+
7519+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
7520+ {
7521+ switch (reader.TokenType)
7522+ {
7523+ case JsonToken.Integer:
7524+ case JsonToken.Float:
7525+ var doubleValue = serializer.Deserialize<double>(reader);
7526+ return new UnionObjectWriter { Double = doubleValue };
7527+ case JsonToken.StartObject:
7528+ var objectValue = serializer.Deserialize<ObjectWriter>(reader);
7529+ return new UnionObjectWriter { ObjectWriter = objectValue };
7530+ }
7531+ throw new Exception("Cannot unmarshal type UnionObjectWriter");
7532+ }
7533+
7534+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
7535+ {
7536+ var value = (UnionObjectWriter)untypedValue;
7537+ if (value.Double != null)
7538+ {
7539+ serializer.Serialize(writer, value.Double.Value);
7540+ return;
7541+ }
7542+ if (value.ObjectWriter != null)
7543+ {
7544+ serializer.Serialize(writer, value.ObjectWriter);
7545+ return;
7546+ }
7547+ throw new Exception("Cannot marshal type UnionObjectWriter");
7548+ }
7549+
7550+ public static readonly UnionObjectWriterConverter Singleton = new UnionObjectWriterConverter();
7551+ }
7552+
73717553 internal class UnionProtocolConverter : JsonConverter
73727554 {
73737555 public override bool CanConvert(Type t) => t == typeof(UnionProtocol) || t == typeof(UnionProtocol?);
@@ -7558,6 +7740,44 @@ namespace QuickType
75587740 public static readonly UnionSendableConverter Singleton = new UnionSendableConverter();
75597741 }
75607742
7743+ internal class UnionSerializationFeatureConverter : JsonConverter
7744+ {
7745+ public override bool CanConvert(Type t) => t == typeof(UnionSerializationFeature) || t == typeof(UnionSerializationFeature?);
7746+
7747+ public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)
7748+ {
7749+ switch (reader.TokenType)
7750+ {
7751+ case JsonToken.Integer:
7752+ case JsonToken.Float:
7753+ var doubleValue = serializer.Deserialize<double>(reader);
7754+ return new UnionSerializationFeature { Double = doubleValue };
7755+ case JsonToken.StartObject:
7756+ var objectValue = serializer.Deserialize<SerializationFeature>(reader);
7757+ return new UnionSerializationFeature { SerializationFeature = objectValue };
7758+ }
7759+ throw new Exception("Cannot unmarshal type UnionSerializationFeature");
7760+ }
7761+
7762+ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSerializer serializer)
7763+ {
7764+ var value = (UnionSerializationFeature)untypedValue;
7765+ if (value.Double != null)
7766+ {
7767+ serializer.Serialize(writer, value.Double.Value);
7768+ return;
7769+ }
7770+ if (value.SerializationFeature != null)
7771+ {
7772+ serializer.Serialize(writer, value.SerializationFeature);
7773+ return;
7774+ }
7775+ throw new Exception("Cannot marshal type UnionSerializationFeature");
7776+ }
7777+
7778+ public static readonly UnionSerializationFeatureConverter Singleton = new UnionSerializationFeatureConverter();
7779+ }
7780+
75617781 internal class UnionSerializerProviderConverter : JsonConverter
75627782 {
75637783 public override bool CanConvert(Type t) => t == typeof(UnionSerializerProvider) || t == typeof(UnionSerializerProvider?);
Mschema-dartdefault / TopLevel.dart+56 −0
@@ -93,6 +93,7 @@ class TopLevel {
9393 final dynamic del;
9494 final dynamic delegate;
9595 final dynamic delete;
96+ final dynamic deserializationFeature;
9697 final dynamic dict;
9798 final dynamic dictionary;
9899 final dynamic didSet;
@@ -219,6 +220,8 @@ class TopLevel {
219220 final dynamic number;
220221 final dynamic object;
221222 final dynamic objectMapper;
223+ final dynamic objectReader;
224+ final dynamic objectWriter;
222225 final dynamic of;
223226 final dynamic oneway;
224227 final dynamic open;
@@ -269,6 +272,7 @@ class TopLevel {
269272 final dynamic self;
270273 final dynamic topLevelSelf;
271274 final dynamic sendable;
275+ final dynamic serializationFeature;
272276 final dynamic serialize;
273277 final dynamic serializerProvider;
274278 final dynamic topLevelSet;
@@ -428,6 +432,7 @@ class TopLevel {
428432 this.del,
429433 this.delegate,
430434 this.delete,
435+ this.deserializationFeature,
431436 this.dict,
432437 this.dictionary,
433438 this.didSet,
@@ -554,6 +559,8 @@ class TopLevel {
554559 this.number,
555560 this.object,
556561 this.objectMapper,
562+ this.objectReader,
563+ this.objectWriter,
557564 this.of,
558565 this.oneway,
559566 this.open,
@@ -604,6 +611,7 @@ class TopLevel {
604611 this.self,
605612 this.topLevelSelf,
606613 this.sendable,
614+ this.serializationFeature,
607615 this.serialize,
608616 this.serializerProvider,
609617 this.topLevelSet,
@@ -764,6 +772,7 @@ class TopLevel {
764772 del: json["del"],
765773 delegate: json["delegate"],
766774 delete: json["delete"],
775+ deserializationFeature: json["DeserializationFeature"],
767776 dict: json["dict"],
768777 dictionary: json["dictionary"],
769778 didSet: json["didSet"],
@@ -890,6 +899,8 @@ class TopLevel {
890899 number: json["number"],
891900 object: json["object"],
892901 objectMapper: json["ObjectMapper"],
902+ objectReader: json["ObjectReader"],
903+ objectWriter: json["ObjectWriter"],
893904 of: json["of"],
894905 oneway: json["oneway"],
895906 open: json["open"],
@@ -940,6 +951,7 @@ class TopLevel {
940951 self: json["Self"],
941952 topLevelSelf: json["self"],
942953 sendable: json["Sendable"],
954+ serializationFeature: json["SerializationFeature"],
943955 serialize: json["serialize"],
944956 serializerProvider: json["SerializerProvider"],
945957 topLevelSet: json["set"],
@@ -1100,6 +1112,7 @@ class TopLevel {
11001112 "del": del,
11011113 "delegate": delegate,
11021114 "delete": delete,
1115+ "DeserializationFeature": deserializationFeature,
11031116 "dict": dict,
11041117 "dictionary": dictionary,
11051118 "didSet": didSet,
@@ -1226,6 +1239,8 @@ class TopLevel {
12261239 "number": number,
12271240 "object": object,
12281241 "ObjectMapper": objectMapper,
1242+ "ObjectReader": objectReader,
1243+ "ObjectWriter": objectWriter,
12291244 "of": of,
12301245 "oneway": oneway,
12311246 "open": open,
@@ -1276,6 +1291,7 @@ class TopLevel {
12761291 "Self": self,
12771292 "self": topLevelSelf,
12781293 "Sendable": sendable,
1294+ "SerializationFeature": serializationFeature,
12791295 "serialize": serialize,
12801296 "SerializerProvider": serializerProvider,
12811297 "set": topLevelSet,
@@ -2002,6 +2018,16 @@ class Delete {
20022018 };
20032019 }
20042020
2021+class DeserializationFeature {
2022+ DeserializationFeature();
2023+
2024+ factory DeserializationFeature.fromJson(Map<String, dynamic> json) => DeserializationFeature(
2025+ );
2026+
2027+ Map<String, dynamic> toJson() => {
2028+ };
2029+}
2030+
20052031 class Dict {
20062032 Dict();
20072033
@@ -3012,6 +3038,26 @@ class ObjectMapper {
30123038 };
30133039 }
30143040
3041+class ObjectReader {
3042+ ObjectReader();
3043+
3044+ factory ObjectReader.fromJson(Map<String, dynamic> json) => ObjectReader(
3045+ );
3046+
3047+ Map<String, dynamic> toJson() => {
3048+ };
3049+}
3050+
3051+class ObjectWriter {
3052+ ObjectWriter();
3053+
3054+ factory ObjectWriter.fromJson(Map<String, dynamic> json) => ObjectWriter(
3055+ );
3056+
3057+ Map<String, dynamic> toJson() => {
3058+ };
3059+}
3060+
30153061 class Of {
30163062 Of();
30173063
@@ -3512,6 +3558,16 @@ class Sendable {
35123558 };
35133559 }
35143560
3561+class SerializationFeature {
3562+ SerializationFeature();
3563+
3564+ factory SerializationFeature.fromJson(Map<String, dynamic> json) => SerializationFeature(
3565+ );
3566+
3567+ Map<String, dynamic> toJson() => {
3568+ };
3569+}
3570+
35153571 class Serialize {
35163572 Serialize();
Mschema-elixirdefault / QuickType.ex+177 −1
@@ -2209,6 +2209,35 @@ defmodule Delete do
22092209 end
22102210 end
22112211
2212+defmodule DeserializationFeature do
2213+ defstruct []
2214+
2215+ @type t :: %__MODULE__{
2216+ }
2217+
2218+ def from_map(m) when is_map(m) do
2219+ %DeserializationFeature{
2220+ }
2221+ end
2222+
2223+ def from_json(json) do
2224+ json
2225+ |> Jason.decode!()
2226+ |> from_map()
2227+ end
2228+
2229+ def to_map(_struct) do
2230+ %{
2231+ }
2232+ end
2233+
2234+ def to_json(struct) do
2235+ struct
2236+ |> to_map()
2237+ |> Jason.encode!()
2238+ end
2239+end
2240+
22122241 defmodule DictClass do
22132242 defstruct []
22142243
@@ -5631,6 +5660,64 @@ defmodule ObjectMapper do
56315660 end
56325661 end
56335662
5663+defmodule ObjectReader do
5664+ defstruct []
5665+
5666+ @type t :: %__MODULE__{
5667+ }
5668+
5669+ def from_map(m) when is_map(m) do
5670+ %ObjectReader{
5671+ }
5672+ end
5673+
5674+ def from_json(json) do
5675+ json
5676+ |> Jason.decode!()
5677+ |> from_map()
5678+ end
5679+
5680+ def to_map(_struct) do
5681+ %{
5682+ }
5683+ end
5684+
5685+ def to_json(struct) do
5686+ struct
5687+ |> to_map()
5688+ |> Jason.encode!()
5689+ end
5690+end
5691+
5692+defmodule ObjectWriter do
5693+ defstruct []
5694+
5695+ @type t :: %__MODULE__{
5696+ }
5697+
5698+ def from_map(m) when is_map(m) do
5699+ %ObjectWriter{
5700+ }
5701+ end
5702+
5703+ def from_json(json) do
5704+ json
5705+ |> Jason.decode!()
5706+ |> from_map()
5707+ end
5708+
5709+ def to_map(_struct) do
5710+ %{
5711+ }
5712+ end
5713+
5714+ def to_json(struct) do
5715+ struct
5716+ |> to_map()
5717+ |> Jason.encode!()
5718+ end
5719+end
5720+
56345721 defmodule Of do
56355722 defstruct []
56365723
@@ -6994,6 +7081,35 @@ defmodule Sendable do
69947081 end
69957082 end
69967083
7084+defmodule SerializationFeature do
7085+ defstruct []
7086+
7087+ @type t :: %__MODULE__{
7088+ }
7089+
7090+ def from_map(m) when is_map(m) do
7091+ %SerializationFeature{
7092+ }
7093+ end
7094+
7095+ def from_json(json) do
7096+ json
7097+ |> Jason.decode!()
7098+ |> from_map()
7099+ end
7100+
7101+ def to_map(_struct) do
7102+ %{
7103+ }
7104+ end
7105+
7106+ def to_json(struct) do
7107+ struct
7108+ |> to_map()
7109+ |> Jason.encode!()
7110+ end
7111+end
7112+
69977113 defmodule Serialize do
69987114 defstruct []
69997115
@@ -9634,7 +9750,7 @@ defmodule Yield do
96349750 end
96359751
96369752 defmodule TopLevel do
9637- defstruct [:empty, :top_level_bool, :complex, :imaginery, :abstract, :alignas, :alignof, :top_level_and, :and_eq, :top_level_any, :any, :array, :as, :asm, :assert, :associatedtype, :associativity, :async, :atomic, :atomic_cancel, :atomic_commit, :atomic_noexcept, :auto, :await, :base, :bitand, :bitor, :bool, :bool_1, :boolean, :break, :bycopy, :byref, :byte, :calendar, :case, :top_level_catch, :chan, :char, :char16_t, :char32_t, :checked, :top_level_class, :class, :clone, :co_await, :co_return, :co_yield, :codable, :coding_key, :coding_keys, :compl, :concept, :console, :const, :const_cast, :constexpr, :constructor, :continue, :convenience, :convert, :converter, :culture_info, :date, :date_parse_handling, :date_formatter, :date_only, :date_only_converter, :date_time, :date_time_styles, :debugger, :decimal, :declare, :decltype, :decode_string, :decoder, :decoding_error, :top_level_def, :default, :defer, :deinit, :del, :delegate, :delete, :dict, :dictionary, :did_set, :top_level_do, :double, :dummy, :dynamic, :dynamic_cast, :elif, :top_level_else, :encode_quick_type, :encoder, :enum, :enum_values, :equality_contract, :equatable, :event, :except, :exception, :explicit, :export, :exposing, :extends, :extension, :extern, :fallthrough, :false_1, :top_level_false, :fileprivate, :final, :finally, :fixed, :float, :for, :foreach, :format_exception, :friend, :from, :from_json, :func, :function, :get, :global, :go, :goto, :guard, :hashable, :hash_code, :hasher, :has_own_property, :id, :if, :imp, :implements, :implicit, :top_level_import, :top_level_in, :indirect, :infix, :init, :inline, :inout, :instanceof, :int, :interface, :internal, :is, :iso_date_time_offset_converter, :iterable, :jdec, :jenc, :jpipe, :json, :json_converter, :json_serializer, :json_token, :json_writer, :json_any, :json_coding_key, :json_decoder, :json_encoder, :json_exception, :json_generator, :json_node, :json_null, :json_parser, :json_reader, :json_token_type, :lambda, :lazy, :left, :let, :list, :locale, :lock, :long, :map, :map_entry, :metadata_property_handling, :module, :mutable, :mutating, :namespace, :native, :new, :newtonsoft, :top_level_nil, :no, :noexcept, :nonatomic, :top_level_none, :none, :nonlocal, :nonmutating, :no_such_method, :top_level_not, :not_eq, :ns_error, :ns_object, :ns_string, :null, :top_level_null, :nullptr, :number, :object, :object_mapper, :of, :oneway, :open, :operator, :optional, :top_level_or, :or_eq, :out, :override, :package, :params, :pass, :port, :postfix, :precedence, :prefix, :print, :printf, :print_members, :private, :protected, :protocol, :top_level_protocol, :public, :quicktype, :raise, :range, :readonly, :ref, :reg_exp, :register, :reinterpret_cast, :repeat, :require, :required, :requires, :restrict, :retain, :rethrows, :return, :right, :runtime_type, :s, :sbyte, :sealed, :sel, :select, :self, :top_level_self, :sendable, :serialize, :serializer_provider, :set, :short, :signed, :simple_module, :sizeof, :stackalloc, :standards, :static, :static_assert, :static_cast, :std_deserializer, :std_serializer, :strictfp, :string, :struct, :subscript, :super, :switch, :symbol, :synchronized, :system, :template, :then, :this, :thread_local, :throw, :throws, :time_only, :time_only_converter, :time_zone, :to_json, :top_level, :to_string, :transient, :top_level_true, :true_1, :try, :type, :top_level_type, :typealias, :typedef, :typeid, :typename, :typeof, :uint, :ulong, :unchecked, :undefined, :union, :unowned, :unsafe, :unsigned, :ushort, :using, :utf8_json_reader, :utf8_json_writer, :uuid, :var, :virtual, :void, :volatile, :wchar_t, :weak, :where, :while, :will_set, :with, :xor, :xor_eq, :yes, :yield]
9753+ defstruct [:empty, :top_level_bool, :complex, :imaginery, :abstract, :alignas, :alignof, :top_level_and, :and_eq, :top_level_any, :any, :array, :as, :asm, :assert, :associatedtype, :associativity, :async, :atomic, :atomic_cancel, :atomic_commit, :atomic_noexcept, :auto, :await, :base, :bitand, :bitor, :bool, :bool_1, :boolean, :break, :bycopy, :byref, :byte, :calendar, :case, :top_level_catch, :chan, :char, :char16_t, :char32_t, :checked, :top_level_class, :class, :clone, :co_await, :co_return, :co_yield, :codable, :coding_key, :coding_keys, :compl, :concept, :console, :const, :const_cast, :constexpr, :constructor, :continue, :convenience, :convert, :converter, :culture_info, :date, :date_parse_handling, :date_formatter, :date_only, :date_only_converter, :date_time, :date_time_styles, :debugger, :decimal, :declare, :decltype, :decode_string, :decoder, :decoding_error, :top_level_def, :default, :defer, :deinit, :del, :delegate, :delete, :deserialization_feature, :dict, :dictionary, :did_set, :top_level_do, :double, :dummy, :dynamic, :dynamic_cast, :elif, :top_level_else, :encode_quick_type, :encoder, :enum, :enum_values, :equality_contract, :equatable, :event, :except, :exception, :explicit, :export, :exposing, :extends, :extension, :extern, :fallthrough, :false_1, :top_level_false, :fileprivate, :final, :finally, :fixed, :float, :for, :foreach, :format_exception, :friend, :from, :from_json, :func, :function, :get, :global, :go, :goto, :guard, :hashable, :hash_code, :hasher, :has_own_property, :id, :if, :imp, :implements, :implicit, :top_level_import, :top_level_in, :indirect, :infix, :init, :inline, :inout, :instanceof, :int, :interface, :internal, :is, :iso_date_time_offset_converter, :iterable, :jdec, :jenc, :jpipe, :json, :json_converter, :json_serializer, :json_token, :json_writer, :json_any, :json_coding_key, :json_decoder, :json_encoder, :json_exception, :json_generator, :json_node, :json_null, :json_parser, :json_reader, :json_token_type, :lambda, :lazy, :left, :let, :list, :locale, :lock, :long, :map, :map_entry, :metadata_property_handling, :module, :mutable, :mutating, :namespace, :native, :new, :newtonsoft, :top_level_nil, :no, :noexcept, :nonatomic, :top_level_none, :none, :nonlocal, :nonmutating, :no_such_method, :top_level_not, :not_eq, :ns_error, :ns_object, :ns_string, :null, :top_level_null, :nullptr, :number, :object, :object_mapper, :object_reader, :object_writer, :of, :oneway, :open, :operator, :optional, :top_level_or, :or_eq, :out, :override, :package, :params, :pass, :port, :postfix, :precedence, :prefix, :print, :printf, :print_members, :private, :protected, :protocol, :top_level_protocol, :public, :quicktype, :raise, :range, :readonly, :ref, :reg_exp, :register, :reinterpret_cast, :repeat, :require, :required, :requires, :restrict, :retain, :rethrows, :return, :right, :runtime_type, :s, :sbyte, :sealed, :sel, :select, :self, :top_level_self, :sendable, :serialization_feature, :serialize, :serializer_provider, :set, :short, :signed, :simple_module, :sizeof, :stackalloc, :standards, :static, :static_assert, :static_cast, :std_deserializer, :std_serializer, :strictfp, :string, :struct, :subscript, :super, :switch, :symbol, :synchronized, :system, :template, :then, :this, :thread_local, :throw, :throws, :time_only, :time_only_converter, :time_zone, :to_json, :top_level, :to_string, :transient, :top_level_true, :true_1, :try, :type, :top_level_type, :typealias, :typedef, :typeid, :typename, :typeof, :uint, :ulong, :unchecked, :undefined, :union, :unowned, :unsafe, :unsigned, :ushort, :using, :utf8_json_reader, :utf8_json_writer, :uuid, :var, :virtual, :void, :volatile, :wchar_t, :weak, :where, :while, :will_set, :with, :xor, :xor_eq, :yes, :yield]
96389754
96399755 @type t :: %__MODULE__{
96409756 empty: Empty.t() | float() | nil,
@@ -9721,6 +9837,7 @@ defmodule TopLevel do
97219837 del: Del.t() | float() | nil,
97229838 delegate: Delegate.t() | float() | nil,
97239839 delete: Delete.t() | float() | nil,
9840+ deserialization_feature: DeserializationFeature.t() | float() | nil,
97249841 dict: DictClass.t() | float() | nil,
97259842 dictionary: Dictionary.t() | float() | nil,
97269843 did_set: DidSet.t() | float() | nil,
@@ -9847,6 +9964,8 @@ defmodule TopLevel do
98479964 number: Number.t() | float() | nil,
98489965 object: Object.t() | float() | nil,
98499966 object_mapper: ObjectMapper.t() | float() | nil,
9967+ object_reader: ObjectReader.t() | float() | nil,
9968+ object_writer: ObjectWriter.t() | float() | nil,
98509969 of: Of.t() | float() | nil,
98519970 oneway: Oneway.t() | float() | nil,
98529971 open: Open.t() | float() | nil,
@@ -9897,6 +10016,7 @@ defmodule TopLevel do
989710016 self: Self.t() | float() | nil,
989810017 top_level_self: SelfClass.t() | float() | nil,
989910018 sendable: Sendable.t() | float() | nil,
10019+ serialization_feature: SerializationFeature.t() | float() | nil,
990010020 serialize: Serialize.t() | float() | nil,
990110021 serializer_provider: SerializerProvider.t() | float() | nil,
990210022 set: SetClass.t() | float() | nil,
@@ -10980,6 +11100,18 @@ defmodule TopLevel do
1098011100 def encode_delete(value) when is_nil(value), do: value
1098111101 def encode_delete(_), do: {:error, "Unexpected type when encoding TopLevel.delete"}
1098211102
11103+ def decode_deserialization_feature(%{} = value), do: DeserializationFeature.from_map(value)
11104+ def decode_deserialization_feature(value) when is_float(value), do: value
11105+ def decode_deserialization_feature(value) when is_integer(value), do: value
11106+ def decode_deserialization_feature(value) when is_nil(value), do: value
11107+ def decode_deserialization_feature(_), do: {:error, "Unexpected type when decoding TopLevel.deserialization_feature"}
11108+
11109+ def encode_deserialization_feature(%DeserializationFeature{} = value), do: DeserializationFeature.to_map(value)
11110+ def encode_deserialization_feature(value) when is_float(value), do: value
11111+ def encode_deserialization_feature(value) when is_integer(value), do: value
11112+ def encode_deserialization_feature(value) when is_nil(value), do: value
11113+ def encode_deserialization_feature(_), do: {:error, "Unexpected type when encoding TopLevel.deserialization_feature"}
11114+
1098311115 def decode_dict(%{} = value), do: DictClass.from_map(value)
1098411116 def decode_dict(value) when is_float(value), do: value
1098511117 def decode_dict(value) when is_integer(value), do: value
@@ -12488,6 +12620,30 @@ defmodule TopLevel do
1248812620 def encode_object_mapper(value) when is_nil(value), do: value
1248912621 def encode_object_mapper(_), do: {:error, "Unexpected type when encoding TopLevel.object_mapper"}
1249012622
12623+ def decode_object_reader(%{} = value), do: ObjectReader.from_map(value)
12624+ def decode_object_reader(value) when is_float(value), do: value
12625+ def decode_object_reader(value) when is_integer(value), do: value
12626+ def decode_object_reader(value) when is_nil(value), do: value
12627+ def decode_object_reader(_), do: {:error, "Unexpected type when decoding TopLevel.object_reader"}
12628+
12629+ def encode_object_reader(%ObjectReader{} = value), do: ObjectReader.to_map(value)
12630+ def encode_object_reader(value) when is_float(value), do: value
12631+ def encode_object_reader(value) when is_integer(value), do: value
12632+ def encode_object_reader(value) when is_nil(value), do: value
12633+ def encode_object_reader(_), do: {:error, "Unexpected type when encoding TopLevel.object_reader"}
12634+
12635+ def decode_object_writer(%{} = value), do: ObjectWriter.from_map(value)
12636+ def decode_object_writer(value) when is_float(value), do: value
12637+ def decode_object_writer(value) when is_integer(value), do: value
12638+ def decode_object_writer(value) when is_nil(value), do: value
12639+ def decode_object_writer(_), do: {:error, "Unexpected type when decoding TopLevel.object_writer"}
12640+
12641+ def encode_object_writer(%ObjectWriter{} = value), do: ObjectWriter.to_map(value)
12642+ def encode_object_writer(value) when is_float(value), do: value
12643+ def encode_object_writer(value) when is_integer(value), do: value
12644+ def encode_object_writer(value) when is_nil(value), do: value
12645+ def encode_object_writer(_), do: {:error, "Unexpected type when encoding TopLevel.object_writer"}
12646+
1249112647 def decode_of(%{} = value), do: Of.from_map(value)
1249212648 def decode_of(value) when is_float(value), do: value
1249312649 def decode_of(value) when is_integer(value), do: value
@@ -13088,6 +13244,18 @@ defmodule TopLevel do
1308813244 def encode_sendable(value) when is_nil(value), do: value
1308913245 def encode_sendable(_), do: {:error, "Unexpected type when encoding TopLevel.sendable"}
1309013246
13247+ def decode_serialization_feature(%{} = value), do: SerializationFeature.from_map(value)
13248+ def decode_serialization_feature(value) when is_float(value), do: value
13249+ def decode_serialization_feature(value) when is_integer(value), do: value
13250+ def decode_serialization_feature(value) when is_nil(value), do: value
13251+ def decode_serialization_feature(_), do: {:error, "Unexpected type when decoding TopLevel.serialization_feature"}
13252+
13253+ def encode_serialization_feature(%SerializationFeature{} = value), do: SerializationFeature.to_map(value)
13254+ def encode_serialization_feature(value) when is_float(value), do: value
13255+ def encode_serialization_feature(value) when is_integer(value), do: value
13256+ def encode_serialization_feature(value) when is_nil(value), do: value
13257+ def encode_serialization_feature(_), do: {:error, "Unexpected type when encoding TopLevel.serialization_feature"}
13258+
1309113259 def decode_serialize(%{} = value), do: Serialize.from_map(value)
1309213260 def decode_serialize(value) when is_float(value), do: value
1309313261 def decode_serialize(value) when is_integer(value), do: value
@@ -14050,6 +14218,7 @@ defmodule TopLevel do
1405014218 del: decode_del(m["del"]),
1405114219 delegate: decode_delegate(m["delegate"]),
1405214220 delete: decode_delete(m["delete"]),
14221+ deserialization_feature: decode_deserialization_feature(m["DeserializationFeature"]),
1405314222 dict: decode_dict(m["dict"]),
1405414223 dictionary: decode_dictionary(m["dictionary"]),
1405514224 did_set: decode_did_set(m["didSet"]),
@@ -14176,6 +14345,8 @@ defmodule TopLevel do
1417614345 number: decode_number(m["number"]),
1417714346 object: decode_object(m["object"]),
1417814347 object_mapper: decode_object_mapper(m["ObjectMapper"]),
14348+ object_reader: decode_object_reader(m["ObjectReader"]),
14349+ object_writer: decode_object_writer(m["ObjectWriter"]),
1417914350 of: decode_of(m["of"]),
1418014351 oneway: decode_oneway(m["oneway"]),
1418114352 open: decode_open(m["open"]),
@@ -14226,6 +14397,7 @@ defmodule TopLevel do
1422614397 self: decode_self(m["Self"]),
1422714398 top_level_self: decode_top_level_self(m["self"]),
1422814399 sendable: decode_sendable(m["Sendable"]),
14400+ serialization_feature: decode_serialization_feature(m["SerializationFeature"]),
1422914401 serialize: decode_serialize(m["serialize"]),
1423014402 serializer_provider: decode_serializer_provider(m["SerializerProvider"]),
1423114403 set: decode_set(m["set"]),
@@ -14394,6 +14566,7 @@ defmodule TopLevel do
1439414566 "del" => encode_del(struct.del),
1439514567 "delegate" => encode_delegate(struct.delegate),
1439614568 "delete" => encode_delete(struct.delete),
14569+ "DeserializationFeature" => encode_deserialization_feature(struct.deserialization_feature),
1439714570 "dict" => encode_dict(struct.dict),
1439814571 "dictionary" => encode_dictionary(struct.dictionary),
1439914572 "didSet" => encode_did_set(struct.did_set),
@@ -14520,6 +14693,8 @@ defmodule TopLevel do
1452014693 "number" => encode_number(struct.number),
1452114694 "object" => encode_object(struct.object),
1452214695 "ObjectMapper" => encode_object_mapper(struct.object_mapper),
14696+ "ObjectReader" => encode_object_reader(struct.object_reader),
14697+ "ObjectWriter" => encode_object_writer(struct.object_writer),
1452314698 "of" => encode_of(struct.of),
1452414699 "oneway" => encode_oneway(struct.oneway),
1452514700 "open" => encode_open(struct.open),
@@ -14570,6 +14745,7 @@ defmodule TopLevel do
1457014745 "Self" => encode_self(struct.self),
1457114746 "self" => encode_top_level_self(struct.top_level_self),
1457214747 "Sendable" => encode_sendable(struct.sendable),
14748+ "SerializationFeature" => encode_serialization_feature(struct.serialization_feature),
1457314749 "serialize" => encode_serialize(struct.serialize),
1457414750 "SerializerProvider" => encode_serializer_provider(struct.serializer_provider),
1457514751 "set" => encode_set(struct.set),
Mschema-elmdefault / QuickType.elm+140 −0
@@ -89,6 +89,7 @@ module QuickType exposing
8989 , Del
9090 , Delegate
9191 , Delete
92+ , DeserializationFeature
9293 , DictClass
9394 , Dictionary
9495 , DidSet
@@ -203,6 +204,8 @@ module QuickType exposing
203204 , Number
204205 , Object
205206 , ObjectMapper
207+ , ObjectReader
208+ , ObjectWriter
206209 , Oneway
207210 , Open
208211 , Operator
@@ -280,6 +283,7 @@ module QuickType exposing
280283 , Select
281284 , Self
282285 , Sendable
286+ , SerializationFeature
283287 , Serialize
284288 , SerializerProvider
285289 , Set
@@ -421,6 +425,7 @@ module QuickType exposing
421425 , UnionDel(..)
422426 , UnionDelegate(..)
423427 , UnionDelete(..)
428+ , UnionDeserializationFeature(..)
424429 , UnionDict(..)
425430 , UnionDictionary(..)
426431 , UnionDidSet(..)
@@ -535,6 +540,8 @@ module QuickType exposing
535540 , UnionNumber(..)
536541 , UnionObject(..)
537542 , UnionObjectMapper(..)
543+ , UnionObjectReader(..)
544+ , UnionObjectWriter(..)
538545 , UnionOneway(..)
539546 , UnionOpen(..)
540547 , UnionOperator(..)
@@ -612,6 +619,7 @@ module QuickType exposing
612619 , UnionSelect(..)
613620 , UnionSelf(..)
614621 , UnionSendable(..)
622+ , UnionSerializationFeature(..)
615623 , UnionSerialize(..)
616624 , UnionSerializerProvider(..)
617625 , UnionSet(..)
@@ -771,6 +779,7 @@ type alias QuickType =
771779 , del : Maybe UnionDel
772780 , delegate : Maybe UnionDelegate
773781 , delete : Maybe UnionDelete
782+ , deserializationFeature : Maybe UnionDeserializationFeature
774783 , dict : Maybe UnionDict
775784 , dictionary : Maybe UnionDictionary
776785 , didSet : Maybe UnionDidSet
@@ -897,6 +906,8 @@ type alias QuickType =
897906 , number : Maybe UnionNumber
898907 , object : Maybe UnionObject
899908 , objectMapper : Maybe UnionObjectMapper
909+ , objectReader : Maybe UnionObjectReader
910+ , objectWriter : Maybe UnionObjectWriter
900911 , quickTypeOf : Maybe UnionOf
901912 , oneway : Maybe UnionOneway
902913 , open : Maybe UnionOpen
@@ -947,6 +958,7 @@ type alias QuickType =
947958 , self : Maybe UnionSelf
948959 , quickTypeSelf : Maybe UnionSelfUnion
949960 , sendable : Maybe UnionSendable
961+ , serializationFeature : Maybe UnionSerializationFeature
950962 , serialize : Maybe UnionSerialize
951963 , serializerProvider : Maybe UnionSerializerProvider
952964 , set : Maybe UnionSet
@@ -1614,6 +1626,14 @@ type alias Delete =
16141626 {
16151627 }
16161628
1629+type UnionDeserializationFeature
1630+ = DeserializationFeatureInUnionDeserializationFeature DeserializationFeature
1631+ | DoubleInUnionDeserializationFeature Float
1632+
1633+type alias DeserializationFeature =
1634+ {
1635+ }
1636+
16171637 type UnionDict
16181638 = DictClassInUnionDict DictClass
16191639 | DoubleInUnionDict Float
@@ -2526,6 +2546,22 @@ type alias ObjectMapper =
25262546 {
25272547 }
25282548
2549+type UnionObjectReader
2550+ = DoubleInUnionObjectReader Float
2551+ | ObjectReaderInUnionObjectReader ObjectReader
2552+
2553+type alias ObjectReader =
2554+ {
2555+ }
2556+
2557+type UnionObjectWriter
2558+ = DoubleInUnionObjectWriter Float
2559+ | ObjectWriterInUnionObjectWriter ObjectWriter
2560+
2561+type alias ObjectWriter =
2562+ {
2563+ }
2564+
25292565 type UnionOneway
25302566 = DoubleInUnionOneway Float
25312567 | OnewayInUnionOneway Oneway
@@ -3142,6 +3178,14 @@ type alias Sendable =
31423178 {
31433179 }
31443180
3181+type UnionSerializationFeature
3182+ = DoubleInUnionSerializationFeature Float
3183+ | SerializationFeatureInUnionSerializationFeature SerializationFeature
3184+
3185+type alias SerializationFeature =
3186+ {
3187+ }
3188+
31453189 type UnionSerialize
31463190 = DoubleInUnionSerialize Float
31473191 | SerializeInUnionSerialize Serialize
@@ -3776,6 +3820,7 @@ quickType =
37763820 |> Jpipe.custom (optionalField "del" (Jdec.map Just unionDel) Nothing)
37773821 |> Jpipe.custom (optionalField "delegate" (Jdec.map Just unionDelegate) Nothing)
37783822 |> Jpipe.custom (optionalField "delete" (Jdec.map Just unionDelete) Nothing)
3823+ |> Jpipe.custom (optionalField "DeserializationFeature" (Jdec.map Just unionDeserializationFeature) Nothing)
37793824 |> Jpipe.custom (optionalField "dict" (Jdec.map Just unionDict) Nothing)
37803825 |> Jpipe.custom (optionalField "dictionary" (Jdec.map Just unionDictionary) Nothing)
37813826 |> Jpipe.custom (optionalField "didSet" (Jdec.map Just unionDidSet) Nothing)
@@ -3902,6 +3947,8 @@ quickType =
39023947 |> Jpipe.custom (optionalField "number" (Jdec.map Just unionNumber) Nothing)
39033948 |> Jpipe.custom (optionalField "object" (Jdec.map Just unionObject) Nothing)
39043949 |> Jpipe.custom (optionalField "ObjectMapper" (Jdec.map Just unionObjectMapper) Nothing)
3950+ |> Jpipe.custom (optionalField "ObjectReader" (Jdec.map Just unionObjectReader) Nothing)
3951+ |> Jpipe.custom (optionalField "ObjectWriter" (Jdec.map Just unionObjectWriter) Nothing)
39053952 |> Jpipe.custom (optionalField "of" (Jdec.map Just unionOf) Nothing)
39063953 |> Jpipe.custom (optionalField "oneway" (Jdec.map Just unionOneway) Nothing)
39073954 |> Jpipe.custom (optionalField "open" (Jdec.map Just unionOpen) Nothing)
@@ -3952,6 +3999,7 @@ quickType =
39523999 |> Jpipe.custom (optionalField "Self" (Jdec.map Just unionSelf) Nothing)
39534000 |> Jpipe.custom (optionalField "self" (Jdec.map Just unionSelfUnion) Nothing)
39544001 |> Jpipe.custom (optionalField "Sendable" (Jdec.map Just unionSendable) Nothing)
4002+ |> Jpipe.custom (optionalField "SerializationFeature" (Jdec.map Just unionSerializationFeature) Nothing)
39554003 |> Jpipe.custom (optionalField "serialize" (Jdec.map Just unionSerialize) Nothing)
39564004 |> Jpipe.custom (optionalField "SerializerProvider" (Jdec.map Just unionSerializerProvider) Nothing)
39574005 |> Jpipe.custom (optionalField "set" (Jdec.map Just unionSet) Nothing)
@@ -4113,6 +4161,7 @@ encodeQuickType x =
41134161 , ("del", makeNullableEncoder encodeUnionDel x.del)
41144162 , ("delegate", makeNullableEncoder encodeUnionDelegate x.delegate)
41154163 , ("delete", makeNullableEncoder encodeUnionDelete x.delete)
4164+ , ("DeserializationFeature", makeNullableEncoder encodeUnionDeserializationFeature x.deserializationFeature)
41164165 , ("dict", makeNullableEncoder encodeUnionDict x.dict)
41174166 , ("dictionary", makeNullableEncoder encodeUnionDictionary x.dictionary)
41184167 , ("didSet", makeNullableEncoder encodeUnionDidSet x.didSet)
@@ -4239,6 +4288,8 @@ encodeQuickType x =
42394288 , ("number", makeNullableEncoder encodeUnionNumber x.number)
42404289 , ("object", makeNullableEncoder encodeUnionObject x.object)
42414290 , ("ObjectMapper", makeNullableEncoder encodeUnionObjectMapper x.objectMapper)
4291+ , ("ObjectReader", makeNullableEncoder encodeUnionObjectReader x.objectReader)
4292+ , ("ObjectWriter", makeNullableEncoder encodeUnionObjectWriter x.objectWriter)
42424293 , ("of", makeNullableEncoder encodeUnionOf x.quickTypeOf)
42434294 , ("oneway", makeNullableEncoder encodeUnionOneway x.oneway)
42444295 , ("open", makeNullableEncoder encodeUnionOpen x.open)
@@ -4289,6 +4340,7 @@ encodeQuickType x =
42894340 , ("Self", makeNullableEncoder encodeUnionSelf x.self)
42904341 , ("self", makeNullableEncoder encodeUnionSelfUnion x.quickTypeSelf)
42914342 , ("Sendable", makeNullableEncoder encodeUnionSendable x.sendable)
4343+ , ("SerializationFeature", makeNullableEncoder encodeUnionSerializationFeature x.serializationFeature)
42924344 , ("serialize", makeNullableEncoder encodeUnionSerialize x.serialize)
42934345 , ("SerializerProvider", makeNullableEncoder encodeUnionSerializerProvider x.serializerProvider)
42944346 , ("set", makeNullableEncoder encodeUnionSet x.set)
@@ -5992,6 +6044,28 @@ encodeDelete x =
59926044 [
59936045 ]
59946046
6047+unionDeserializationFeature : Jdec.Decoder UnionDeserializationFeature
6048+unionDeserializationFeature =
6049+ Jdec.oneOf
6050+ [ Jdec.map DoubleInUnionDeserializationFeature Jdec.float
6051+ , Jdec.map DeserializationFeatureInUnionDeserializationFeature deserializationFeature
6052+ ]
6053+
6054+encodeUnionDeserializationFeature : UnionDeserializationFeature -> Jenc.Value
6055+encodeUnionDeserializationFeature x = case x of
6056+ DoubleInUnionDeserializationFeature y -> Jenc.float y
6057+ DeserializationFeatureInUnionDeserializationFeature y -> encodeDeserializationFeature y
6058+
6059+deserializationFeature : Jdec.Decoder DeserializationFeature
6060+deserializationFeature =
6061+ Jdec.dict Jdec.value |> Jdec.map (\_ -> DeserializationFeature)
6062+
6063+encodeDeserializationFeature : DeserializationFeature -> Jenc.Value
6064+encodeDeserializationFeature x =
6065+ Jenc.object
6066+ [
6067+ ]
6068+
59956069 unionDict : Jdec.Decoder UnionDict
59966070 unionDict =
59976071 Jdec.oneOf
@@ -8500,6 +8574,50 @@ encodeObjectMapper x =
85008574 [
85018575 ]
85028576
8577+unionObjectReader : Jdec.Decoder UnionObjectReader
8578+unionObjectReader =
8579+ Jdec.oneOf
8580+ [ Jdec.map DoubleInUnionObjectReader Jdec.float
8581+ , Jdec.map ObjectReaderInUnionObjectReader objectReader
8582+ ]
8583+
8584+encodeUnionObjectReader : UnionObjectReader -> Jenc.Value
8585+encodeUnionObjectReader x = case x of
8586+ DoubleInUnionObjectReader y -> Jenc.float y
8587+ ObjectReaderInUnionObjectReader y -> encodeObjectReader y
8588+
8589+objectReader : Jdec.Decoder ObjectReader
8590+objectReader =
8591+ Jdec.dict Jdec.value |> Jdec.map (\_ -> ObjectReader)
8592+
8593+encodeObjectReader : ObjectReader -> Jenc.Value
8594+encodeObjectReader x =
8595+ Jenc.object
8596+ [
8597+ ]
8598+
8599+unionObjectWriter : Jdec.Decoder UnionObjectWriter
8600+unionObjectWriter =
8601+ Jdec.oneOf
8602+ [ Jdec.map DoubleInUnionObjectWriter Jdec.float
8603+ , Jdec.map ObjectWriterInUnionObjectWriter objectWriter
8604+ ]
8605+
8606+encodeUnionObjectWriter : UnionObjectWriter -> Jenc.Value
8607+encodeUnionObjectWriter x = case x of
8608+ DoubleInUnionObjectWriter y -> Jenc.float y
8609+ ObjectWriterInUnionObjectWriter y -> encodeObjectWriter y
8610+
8611+objectWriter : Jdec.Decoder ObjectWriter
8612+objectWriter =
8613+ Jdec.dict Jdec.value |> Jdec.map (\_ -> ObjectWriter)
8614+
8615+encodeObjectWriter : ObjectWriter -> Jenc.Value
8616+encodeObjectWriter x =
8617+ Jenc.object
8618+ [
8619+ ]
8620+
85038621 unionOneway : Jdec.Decoder UnionOneway
85048622 unionOneway =
85058623 Jdec.oneOf
@@ -10194,6 +10312,28 @@ encodeSendable x =
1019410312 [
1019510313 ]
1019610314
10315+unionSerializationFeature : Jdec.Decoder UnionSerializationFeature
10316+unionSerializationFeature =
10317+ Jdec.oneOf
10318+ [ Jdec.map DoubleInUnionSerializationFeature Jdec.float
10319+ , Jdec.map SerializationFeatureInUnionSerializationFeature serializationFeature
10320+ ]
10321+
10322+encodeUnionSerializationFeature : UnionSerializationFeature -> Jenc.Value
10323+encodeUnionSerializationFeature x = case x of
10324+ DoubleInUnionSerializationFeature y -> Jenc.float y
10325+ SerializationFeatureInUnionSerializationFeature y -> encodeSerializationFeature y
10326+
10327+serializationFeature : Jdec.Decoder SerializationFeature
10328+serializationFeature =
10329+ Jdec.dict Jdec.value |> Jdec.map (\_ -> SerializationFeature)
10330+
10331+encodeSerializationFeature : SerializationFeature -> Jenc.Value
10332+encodeSerializationFeature x =
10333+ Jenc.object
10334+ [
10335+ ]
10336+
1019710337 unionSerialize : Jdec.Decoder UnionSerialize
1019810338 unionSerialize =
1019910339 Jdec.oneOf
Mschema-flowdefault / TopLevel.js+36 −0
@@ -94,6 +94,7 @@ export type TopLevel = {
9494 del?: UnionDel;
9595 delegate?: UnionDelegate;
9696 delete?: UnionDelete;
97+ DeserializationFeature?: UnionDeserializationFeature;
9798 dict?: UnionDict;
9899 dictionary?: UnionDictionary;
99100 didSet?: UnionDidSet;
@@ -220,6 +221,8 @@ export type TopLevel = {
220221 number?: UnionNumber;
221222 object?: UnionObject;
222223 ObjectMapper?: UnionObjectMapper;
224+ ObjectReader?: UnionObjectReader;
225+ ObjectWriter?: UnionObjectWriter;
223226 of?: UnionOf;
224227 oneway?: UnionOneway;
225228 open?: UnionOpen;
@@ -270,6 +273,7 @@ export type TopLevel = {
270273 Self?: UnionSelf;
271274 self?: UnionSelfUnion;
272275 Sendable?: UnionSendable;
276+ SerializationFeature?: UnionSerializationFeature;
273277 serialize?: UnionSerialize;
274278 SerializerProvider?: UnionSerializerProvider;
275279 set?: UnionSet;
@@ -421,6 +425,11 @@ export type UnionDecodingError = DecodingError | number;
421425 export type DecodingError = {
422426 };
423427
428+export type UnionDeserializationFeature = DeserializationFeature | number;
429+
430+export type DeserializationFeature = {
431+};
432+
424433 export type UnionEncoder = Encoder | number;
425434
426435 export type Encoder = {
@@ -566,6 +575,16 @@ export type UnionObjectMapper = ObjectMapper | number;
566575 export type ObjectMapper = {
567576 };
568577
578+export type UnionObjectReader = ObjectReader | number;
579+
580+export type ObjectReader = {
581+};
582+
583+export type UnionObjectWriter = ObjectWriter | number;
584+
585+export type ObjectWriter = {
586+};
587+
569588 export type UnionProtocol = Protocol | number;
570589
571590 export type Protocol = {
@@ -591,6 +610,11 @@ export type UnionSendable = Sendable | number;
591610 export type Sendable = {
592611 };
593612
613+export type UnionSerializationFeature = SerializationFeature | number;
614+
615+export type SerializationFeature = {
616+};
617+
594618 export type UnionSerializerProvider = SerializerProvider | number;
595619
596620 export type SerializerProvider = {
@@ -2276,6 +2300,7 @@ const typeMap: any = {
22762300 { json: "del", js: "del", typ: u(undefined, u(r("Del"), 3.14)) },
22772301 { json: "delegate", js: "delegate", typ: u(undefined, u(r("Delegate"), 3.14)) },
22782302 { json: "delete", js: "delete", typ: u(undefined, u(r("Delete"), 3.14)) },
2303+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: u(undefined, u(r("DeserializationFeature"), 3.14)) },
22792304 { json: "dict", js: "dict", typ: u(undefined, u(r("Dict"), 3.14)) },
22802305 { json: "dictionary", js: "dictionary", typ: u(undefined, u(r("Dictionary"), 3.14)) },
22812306 { json: "didSet", js: "didSet", typ: u(undefined, u(r("DidSet"), 3.14)) },
@@ -2402,6 +2427,8 @@ const typeMap: any = {
24022427 { json: "number", js: "number", typ: u(undefined, u(r("Number"), 3.14)) },
24032428 { json: "object", js: "object", typ: u(undefined, u(r("ObjectClass"), 3.14)) },
24042429 { json: "ObjectMapper", js: "ObjectMapper", typ: u(undefined, u(r("ObjectMapper"), 3.14)) },
2430+ { json: "ObjectReader", js: "ObjectReader", typ: u(undefined, u(r("ObjectReader"), 3.14)) },
2431+ { json: "ObjectWriter", js: "ObjectWriter", typ: u(undefined, u(r("ObjectWriter"), 3.14)) },
24052432 { json: "of", js: "of", typ: u(undefined, u(r("Of"), 3.14)) },
24062433 { json: "oneway", js: "oneway", typ: u(undefined, u(r("Oneway"), 3.14)) },
24072434 { json: "open", js: "open", typ: u(undefined, u(r("Open"), 3.14)) },
@@ -2452,6 +2479,7 @@ const typeMap: any = {
24522479 { json: "Self", js: "Self", typ: u(undefined, u(r("Self"), 3.14)) },
24532480 { json: "self", js: "self", typ: u(undefined, u(r("SelfClass"), 3.14)) },
24542481 { json: "Sendable", js: "Sendable", typ: u(undefined, u(r("Sendable"), 3.14)) },
2482+ { json: "SerializationFeature", js: "SerializationFeature", typ: u(undefined, u(r("SerializationFeature"), 3.14)) },
24552483 { json: "serialize", js: "serialize", typ: u(undefined, u(r("Serialize"), 3.14)) },
24562484 { json: "SerializerProvider", js: "SerializerProvider", typ: u(undefined, u(r("SerializerProvider"), 3.14)) },
24572485 { json: "set", js: "set", typ: u(undefined, u(r("Set"), 3.14)) },
@@ -2556,6 +2584,8 @@ const typeMap: any = {
25562584 ], false),
25572585 "DecodingError": o([
25582586 ], false),
2587+ "DeserializationFeature": o([
2588+ ], false),
25592589 "Encoder": o([
25602590 ], false),
25612591 "EnumValues": o([
@@ -2614,6 +2644,10 @@ const typeMap: any = {
26142644 ], false),
26152645 "ObjectMapper": o([
26162646 ], false),
2647+ "ObjectReader": o([
2648+ ], false),
2649+ "ObjectWriter": o([
2650+ ], false),
26172651 "Protocol": o([
26182652 ], false),
26192653 "RegExpClass": o([
@@ -2624,6 +2658,8 @@ const typeMap: any = {
26242658 ], false),
26252659 "Sendable": o([
26262660 ], false),
2661+ "SerializationFeature": o([
2662+ ], false),
26272663 "SerializerProvider": o([
26282664 ], false),
26292665 "SimpleModule": o([
Mschema-golangdefault / quicktype.go+104 −0
@@ -106,6 +106,7 @@ type TopLevel struct {
106106 Del *UnionDel `json:"del"`
107107 Delegate *UnionDelegate `json:"delegate"`
108108 Delete *UnionDelete `json:"delete"`
109+ DeserializationFeature *UnionDeserializationFeature `json:"DeserializationFeature"`
109110 Dict *UnionDict `json:"dict"`
110111 Dictionary *UnionDictionary `json:"dictionary"`
111112 DidSet *UnionDidSet `json:"didSet"`
@@ -232,6 +233,8 @@ type TopLevel struct {
232233 Number *UnionNumber `json:"number"`
233234 Object *UnionObject `json:"object"`
234235 ObjectMapper *UnionObjectMapper `json:"ObjectMapper"`
236+ ObjectReader *UnionObjectReader `json:"ObjectReader"`
237+ ObjectWriter *UnionObjectWriter `json:"ObjectWriter"`
235238 Of *UnionOf `json:"of"`
236239 Oneway *UnionOneway `json:"oneway"`
237240 Open *UnionOpen `json:"open"`
@@ -282,6 +285,7 @@ type TopLevel struct {
282285 Self *UnionSelf `json:"Self"`
283286 TopLevelSelf *UnionSelfUnion `json:"self"`
284287 Sendable *UnionSendable `json:"Sendable"`
288+ SerializationFeature *UnionSerializationFeature `json:"SerializationFeature"`
285289 Serialize *UnionSerialize `json:"serialize"`
286290 SerializerProvider *UnionSerializerProvider `json:"SerializerProvider"`
287291 Set *UnionSet `json:"set"`
@@ -591,6 +595,9 @@ type Delegate struct {
591595 type Delete struct {
592596 }
593597
598+type DeserializationFeature struct {
599+}
600+
594601 type Dict struct {
595602 }
596603
@@ -963,6 +970,12 @@ type Object struct {
963970 type ObjectMapper struct {
964971 }
965972
973+type ObjectReader struct {
974+}
975+
976+type ObjectWriter struct {
977+}
978+
966979 type Of struct {
967980 }
968981
@@ -1110,6 +1123,9 @@ type Self struct {
11101123 type Sendable struct {
11111124 }
11121125
1126+type SerializationFeature struct {
1127+}
1128+
11131129 type Serialize struct {
11141130 }
11151131
@@ -3069,6 +3085,28 @@ func (x *UnionDelete) MarshalJSON() ([]byte, error) {
30693085 return marshalUnion(nil, x.Double, nil, nil, false, nil, x.Delete != nil, x.Delete, false, nil, false, nil, false)
30703086 }
30713087
3088+type UnionDeserializationFeature struct {
3089+ DeserializationFeature *DeserializationFeature
3090+ Double *float64
3091+}
3092+
3093+func (x *UnionDeserializationFeature) UnmarshalJSON(data []byte) error {
3094+ x.DeserializationFeature = nil
3095+ var c DeserializationFeature
3096+ object, err := unmarshalUnion(data, nil, &x.Double, nil, nil, false, nil, true, &c, false, nil, false, nil, false)
3097+ if err != nil {
3098+ return err
3099+ }
3100+ if object {
3101+ x.DeserializationFeature = &c
3102+ }
3103+ return nil
3104+}
3105+
3106+func (x *UnionDeserializationFeature) MarshalJSON() ([]byte, error) {
3107+ return marshalUnion(nil, x.Double, nil, nil, false, nil, x.DeserializationFeature != nil, x.DeserializationFeature, false, nil, false, nil, false)
3108+}
3109+
30723110 type UnionDict struct {
30733111 Dict *Dict
30743112 Double *float64
@@ -5797,6 +5835,50 @@ func (x *UnionObjectMapper) MarshalJSON() ([]byte, error) {
57975835 return marshalUnion(nil, x.Double, nil, nil, false, nil, x.ObjectMapper != nil, x.ObjectMapper, false, nil, false, nil, false)
57985836 }
57995837
5838+type UnionObjectReader struct {
5839+ Double *float64
5840+ ObjectReader *ObjectReader
5841+}
5842+
5843+func (x *UnionObjectReader) UnmarshalJSON(data []byte) error {
5844+ x.ObjectReader = nil
5845+ var c ObjectReader
5846+ object, err := unmarshalUnion(data, nil, &x.Double, nil, nil, false, nil, true, &c, false, nil, false, nil, false)
5847+ if err != nil {
5848+ return err
5849+ }
5850+ if object {
5851+ x.ObjectReader = &c
5852+ }
5853+ return nil
5854+}
5855+
5856+func (x *UnionObjectReader) MarshalJSON() ([]byte, error) {
5857+ return marshalUnion(nil, x.Double, nil, nil, false, nil, x.ObjectReader != nil, x.ObjectReader, false, nil, false, nil, false)
5858+}
5859+
5860+type UnionObjectWriter struct {
5861+ Double *float64
5862+ ObjectWriter *ObjectWriter
5863+}
5864+
5865+func (x *UnionObjectWriter) UnmarshalJSON(data []byte) error {
5866+ x.ObjectWriter = nil
5867+ var c ObjectWriter
5868+ object, err := unmarshalUnion(data, nil, &x.Double, nil, nil, false, nil, true, &c, false, nil, false, nil, false)
5869+ if err != nil {
5870+ return err
5871+ }
5872+ if object {
5873+ x.ObjectWriter = &c
5874+ }
5875+ return nil
5876+}
5877+
5878+func (x *UnionObjectWriter) MarshalJSON() ([]byte, error) {
5879+ return marshalUnion(nil, x.Double, nil, nil, false, nil, x.ObjectWriter != nil, x.ObjectWriter, false, nil, false, nil, false)
5880+}
5881+
58005882 type UnionOf struct {
58015883 Double *float64
58025884 Of *Of
@@ -6875,6 +6957,28 @@ func (x *UnionSendable) MarshalJSON() ([]byte, error) {
68756957 return marshalUnion(nil, x.Double, nil, nil, false, nil, x.Sendable != nil, x.Sendable, false, nil, false, nil, false)
68766958 }
68776959
6960+type UnionSerializationFeature struct {
6961+ Double *float64
6962+ SerializationFeature *SerializationFeature
6963+}
6964+
6965+func (x *UnionSerializationFeature) UnmarshalJSON(data []byte) error {
6966+ x.SerializationFeature = nil
6967+ var c SerializationFeature
6968+ object, err := unmarshalUnion(data, nil, &x.Double, nil, nil, false, nil, true, &c, false, nil, false, nil, false)
6969+ if err != nil {
6970+ return err
6971+ }
6972+ if object {
6973+ x.SerializationFeature = &c
6974+ }
6975+ return nil
6976+}
6977+
6978+func (x *UnionSerializationFeature) MarshalJSON() ([]byte, error) {
6979+ return marshalUnion(nil, x.Double, nil, nil, false, nil, x.SerializationFeature != nil, x.SerializationFeature, false, nil, false, nil, false)
6980+}
6981+
68786982 type UnionSerialize struct {
68796983 Double *float64
68806984 Serialize *Serialize
Mschema-haskelldefault / QuickType.hs+113 −1
@@ -77,6 +77,7 @@ module QuickType
7777 , Del (..)
7878 , Delegate (..)
7979 , Delete (..)
80+ , DeserializationFeature (..)
8081 , Dict (..)
8182 , Dictionary (..)
8283 , DidSet (..)
@@ -192,6 +193,8 @@ module QuickType
192193 , NumberClass (..)
193194 , ObjectClass (..)
194195 , ObjectMapper (..)
196+ , ObjectReader (..)
197+ , ObjectWriter (..)
195198 , Oneway (..)
196199 , Open (..)
197200 , Operator (..)
@@ -267,6 +270,7 @@ module QuickType
267270 , Select (..)
268271 , Self (..)
269272 , Sendable (..)
273+ , SerializationFeature (..)
270274 , Serialize (..)
271275 , SerializerProvider (..)
272276 , Set (..)
@@ -409,6 +413,7 @@ module QuickType
409413 , UnionDel (..)
410414 , UnionDelegate (..)
411415 , UnionDelete (..)
416+ , UnionDeserializationFeature (..)
412417 , UnionDict (..)
413418 , UnionDictionary (..)
414419 , UnionDidSet (..)
@@ -524,6 +529,8 @@ module QuickType
524529 , UnionNumber (..)
525530 , UnionObject (..)
526531 , UnionObjectMapper (..)
532+ , UnionObjectReader (..)
533+ , UnionObjectWriter (..)
527534 , UnionOneway (..)
528535 , UnionOpen (..)
529536 , UnionOperator (..)
@@ -599,6 +606,7 @@ module QuickType
599606 , UnionSelect (..)
600607 , UnionSelf (..)
601608 , UnionSendable (..)
609+ , UnionSerializationFeature (..)
602610 , UnionSerialize (..)
603611 , UnionSerializerProvider (..)
604612 , UnionSet (..)
@@ -761,6 +769,7 @@ data QuickType = QuickType
761769 , delQuickType :: Maybe UnionDel
762770 , delegateQuickType :: Maybe UnionDelegate
763771 , deleteQuickType :: Maybe UnionDelete
772+ , deserializationFeatureQuickType :: Maybe UnionDeserializationFeature
764773 , dictQuickType :: Maybe UnionDict
765774 , dictionaryQuickType :: Maybe UnionDictionary
766775 , didSetQuickType :: Maybe UnionDidSet
@@ -887,6 +896,8 @@ data QuickType = QuickType
887896 , numberQuickType :: Maybe UnionNumber
888897 , objectQuickType :: Maybe UnionObject
889898 , objectMapperQuickType :: Maybe UnionObjectMapper
899+ , objectReaderQuickType :: Maybe UnionObjectReader
900+ , objectWriterQuickType :: Maybe UnionObjectWriter
890901 , quickTypeOfQuickType :: Maybe UnionOf
891902 , onewayQuickType :: Maybe UnionOneway
892903 , openQuickType :: Maybe UnionOpen
@@ -937,6 +948,7 @@ data QuickType = QuickType
937948 , selfQuickType :: Maybe UnionSelf
938949 , quickTypeSelfQuickType :: Maybe UnionSelfUnion
939950 , sendableQuickType :: Maybe UnionSendable
951+ , serializationFeatureQuickType :: Maybe UnionSerializationFeature
940952 , serializeQuickType :: Maybe UnionSerialize
941953 , serializerProviderQuickType :: Maybe UnionSerializerProvider
942954 , setQuickType :: Maybe UnionSet
@@ -1678,6 +1690,15 @@ data Delete = Delete
16781690 {
16791691 } deriving (Show)
16801692
1693+data UnionDeserializationFeature
1694+ = DeserializationFeatureInUnionDeserializationFeature DeserializationFeature
1695+ | DoubleInUnionDeserializationFeature Double
1696+ deriving (Show)
1697+
1698+data DeserializationFeature = DeserializationFeature
1699+ {
1700+ } deriving (Show)
1701+
16811702 data UnionDict
16821703 = DictInUnionDict Dict
16831704 | DoubleInUnionDict Double
@@ -2713,6 +2734,24 @@ data ObjectMapper = ObjectMapper
27132734 {
27142735 } deriving (Show)
27152736
2737+data UnionObjectReader
2738+ = DoubleInUnionObjectReader Double
2739+ | ObjectReaderInUnionObjectReader ObjectReader
2740+ deriving (Show)
2741+
2742+data ObjectReader = ObjectReader
2743+ {
2744+ } deriving (Show)
2745+
2746+data UnionObjectWriter
2747+ = DoubleInUnionObjectWriter Double
2748+ | ObjectWriterInUnionObjectWriter ObjectWriter
2749+ deriving (Show)
2750+
2751+data ObjectWriter = ObjectWriter
2752+ {
2753+ } deriving (Show)
2754+
27162755 data UnionOneway
27172756 = DoubleInUnionOneway Double
27182757 | OnewayInUnionOneway Oneway
@@ -3388,6 +3427,15 @@ data Sendable = Sendable
33883427 {
33893428 } deriving (Show)
33903429
3430+data UnionSerializationFeature
3431+ = DoubleInUnionSerializationFeature Double
3432+ | SerializationFeatureInUnionSerializationFeature SerializationFeature
3433+ deriving (Show)
3434+
3435+data SerializationFeature = SerializationFeature
3436+ {
3437+ } deriving (Show)
3438+
33913439 data UnionSerialize
33923440 = DoubleInUnionSerialize Double
33933441 | SerializeInUnionSerialize Serialize
@@ -4004,7 +4052,7 @@ decodeTopLevel :: ByteString -> Maybe QuickType
40044052 decodeTopLevel = decode
40054053
40064054 instance ToJSON QuickType where
4007- toJSON (QuickType emptyQuickType quickTypeBoolQuickType complexQuickType imagineryQuickType abstractQuickType alignasQuickType alignofQuickType andQuickType andEqQuickType quickTypeAnyQuickType anyQuickType arrayQuickType quickTypeAsQuickType asmQuickType assertQuickType associatedtypeQuickType associativityQuickType asyncQuickType atomicQuickType atomicCancelQuickType atomicCommitQuickType atomicNoexceptQuickType autoQuickType awaitQuickType baseQuickType bitandQuickType bitorQuickType boolQuickType purpleBoolQuickType booleanQuickType breakQuickType bycopyQuickType byrefQuickType byteQuickType calendarQuickType quickTypeCaseQuickType catchQuickType chanQuickType charQuickType char16TQuickType char32TQuickType checkedQuickType purpleClassQuickType quickTypeClassQuickType cloneQuickType coAwaitQuickType coReturnQuickType coYieldQuickType codableQuickType codingKeyQuickType codingKeysQuickType complQuickType conceptQuickType consoleQuickType constQuickType constCastQuickType constexprQuickType constructorQuickType continueQuickType convenienceQuickType convertQuickType converterQuickType cultureInfoQuickType dateQuickType dateParseHandlingQuickType dateFormatterQuickType dateOnlyQuickType dateOnlyConverterQuickType dateTimeQuickType dateTimeStylesQuickType debuggerQuickType decimalQuickType declareQuickType decltypeQuickType decodeStringQuickType decoderQuickType decodingErrorQuickType defQuickType quickTypeDefaultQuickType deferQuickType deinitQuickType delQuickType delegateQuickType deleteQuickType dictQuickType dictionaryQuickType didSetQuickType quickTypeDoQuickType doubleQuickType dummyQuickType dynamicQuickType dynamicCastQuickType elifQuickType quickTypeElseQuickType encodeQuickTypeQuickType encoderQuickType enumQuickType enumValuesQuickType equalityContractQuickType equatableQuickType eventQuickType exceptQuickType exceptionQuickType explicitQuickType exportQuickType exposingQuickType extendsQuickType extensionQuickType externQuickType fallthroughQuickType quickTypeFalseQuickType falseQuickType fileprivateQuickType finalQuickType finallyQuickType fixedQuickType floatQuickType forQuickType foreachQuickType formatExceptionQuickType friendQuickType fromQuickType fromJSONQuickType funcQuickType functionQuickType getQuickType globalQuickType goQuickType gotoQuickType guardQuickType hashableQuickType hashCodeQuickType hasherQuickType hasOwnPropertyQuickType quickTypeIDQuickType quickTypeIfQuickType impQuickType implementsQuickType implicitQuickType quickTypeImportQuickType quickTypeInQuickType indirectQuickType quickTypeInfixQuickType initQuickType inlineQuickType inoutQuickType instanceofQuickType intQuickType interfaceQuickType internalQuickType isQuickType isoDateTimeOffsetConverterQuickType iterableQuickType jdecQuickType jencQuickType jpipeQuickType jsonQuickType jsonConverterQuickType jsonSerializerQuickType jsonTokenQuickType jsonWriterQuickType jsonAnyQuickType jsonCodingKeyQuickType jsonDecoderQuickType jsonEncoderQuickType jsonExceptionQuickType jsonGeneratorQuickType jsonNodeQuickType jsonNullQuickType jsonParserQuickType jsonReaderQuickType jsonTokenTypeQuickType lambdaQuickType lazyQuickType leftQuickType quickTypeLetQuickType listQuickType localeQuickType lockQuickType longQuickType mapQuickType mapEntryQuickType metadataPropertyHandlingQuickType quickTypeModuleQuickType mutableQuickType mutatingQuickType namespaceQuickType nativeQuickType newQuickType newtonsoftQuickType nilQuickType noQuickType noexceptQuickType nonatomicQuickType quickTypeNoneQuickType noneQuickType nonlocalQuickType nonmutatingQuickType noSuchMethodQuickType notQuickType notEqQuickType nsErrorQuickType nsObjectQuickType nsStringQuickType nullQuickType quickTypeNullQuickType nullptrQuickType numberQuickType objectQuickType objectMapperQuickType quickTypeOfQuickType onewayQuickType openQuickType operatorQuickType optionalQuickType orQuickType orEqQuickType outQuickType overrideQuickType packageQuickType paramsQuickType passQuickType portQuickType postfixQuickType precedenceQuickType prefixQuickType printQuickType printfQuickType printMembersQuickType privateQuickType protectedQuickType protocolQuickType quickTypeProtocolQuickType publicQuickType quicktypeQuickType raiseQuickType rangeQuickType readonlyQuickType refQuickType regExpQuickType registerQuickType reinterpretCastQuickType repeatQuickType requireQuickType requiredQuickType requiresQuickType restrictQuickType retainQuickType rethrowsQuickType returnQuickType rightQuickType runtimeTypeQuickType sQuickType sbyteQuickType sealedQuickType selQuickType selectQuickType selfQuickType quickTypeSelfQuickType sendableQuickType serializeQuickType serializerProviderQuickType setQuickType shortQuickType signedQuickType simpleModuleQuickType sizeofQuickType stackallocQuickType standardsQuickType staticQuickType staticAssertQuickType staticCastQuickType stdDeserializerQuickType stdSerializerQuickType strictfpQuickType stringQuickType structQuickType subscriptQuickType superQuickType switchQuickType symbolQuickType synchronizedQuickType systemQuickType templateQuickType quickTypeThenQuickType thisQuickType threadLocalQuickType throwQuickType throwsQuickType timeOnlyQuickType timeOnlyConverterQuickType timeZoneQuickType toJSONQuickType topLevelQuickType toStringQuickType transientQuickType trueQuickType quickTypeTrueQuickType tryQuickType quickTypeTypeQuickType purpleTypeQuickType typealiasQuickType typedefQuickType typeidQuickType typenameQuickType typeofQuickType uintQuickType ulongQuickType uncheckedQuickType undefinedQuickType unionQuickType unownedQuickType unsafeQuickType unsignedQuickType ushortQuickType usingQuickType utf8JSONReaderQuickType utf8JSONWriterQuickType uuidQuickType varQuickType virtualQuickType voidQuickType volatileQuickType wcharTQuickType weakQuickType quickTypeWhereQuickType whileQuickType willSetQuickType withQuickType xorQuickType xorEqQuickType yesQuickType yieldQuickType) =
4055+ toJSON (QuickType emptyQuickType quickTypeBoolQuickType complexQuickType imagineryQuickType abstractQuickType alignasQuickType alignofQuickType andQuickType andEqQuickType quickTypeAnyQuickType anyQuickType arrayQuickType quickTypeAsQuickType asmQuickType assertQuickType associatedtypeQuickType associativityQuickType asyncQuickType atomicQuickType atomicCancelQuickType atomicCommitQuickType atomicNoexceptQuickType autoQuickType awaitQuickType baseQuickType bitandQuickType bitorQuickType boolQuickType purpleBoolQuickType booleanQuickType breakQuickType bycopyQuickType byrefQuickType byteQuickType calendarQuickType quickTypeCaseQuickType catchQuickType chanQuickType charQuickType char16TQuickType char32TQuickType checkedQuickType purpleClassQuickType quickTypeClassQuickType cloneQuickType coAwaitQuickType coReturnQuickType coYieldQuickType codableQuickType codingKeyQuickType codingKeysQuickType complQuickType conceptQuickType consoleQuickType constQuickType constCastQuickType constexprQuickType constructorQuickType continueQuickType convenienceQuickType convertQuickType converterQuickType cultureInfoQuickType dateQuickType dateParseHandlingQuickType dateFormatterQuickType dateOnlyQuickType dateOnlyConverterQuickType dateTimeQuickType dateTimeStylesQuickType debuggerQuickType decimalQuickType declareQuickType decltypeQuickType decodeStringQuickType decoderQuickType decodingErrorQuickType defQuickType quickTypeDefaultQuickType deferQuickType deinitQuickType delQuickType delegateQuickType deleteQuickType deserializationFeatureQuickType dictQuickType dictionaryQuickType didSetQuickType quickTypeDoQuickType doubleQuickType dummyQuickType dynamicQuickType dynamicCastQuickType elifQuickType quickTypeElseQuickType encodeQuickTypeQuickType encoderQuickType enumQuickType enumValuesQuickType equalityContractQuickType equatableQuickType eventQuickType exceptQuickType exceptionQuickType explicitQuickType exportQuickType exposingQuickType extendsQuickType extensionQuickType externQuickType fallthroughQuickType quickTypeFalseQuickType falseQuickType fileprivateQuickType finalQuickType finallyQuickType fixedQuickType floatQuickType forQuickType foreachQuickType formatExceptionQuickType friendQuickType fromQuickType fromJSONQuickType funcQuickType functionQuickType getQuickType globalQuickType goQuickType gotoQuickType guardQuickType hashableQuickType hashCodeQuickType hasherQuickType hasOwnPropertyQuickType quickTypeIDQuickType quickTypeIfQuickType impQuickType implementsQuickType implicitQuickType quickTypeImportQuickType quickTypeInQuickType indirectQuickType quickTypeInfixQuickType initQuickType inlineQuickType inoutQuickType instanceofQuickType intQuickType interfaceQuickType internalQuickType isQuickType isoDateTimeOffsetConverterQuickType iterableQuickType jdecQuickType jencQuickType jpipeQuickType jsonQuickType jsonConverterQuickType jsonSerializerQuickType jsonTokenQuickType jsonWriterQuickType jsonAnyQuickType jsonCodingKeyQuickType jsonDecoderQuickType jsonEncoderQuickType jsonExceptionQuickType jsonGeneratorQuickType jsonNodeQuickType jsonNullQuickType jsonParserQuickType jsonReaderQuickType jsonTokenTypeQuickType lambdaQuickType lazyQuickType leftQuickType quickTypeLetQuickType listQuickType localeQuickType lockQuickType longQuickType mapQuickType mapEntryQuickType metadataPropertyHandlingQuickType quickTypeModuleQuickType mutableQuickType mutatingQuickType namespaceQuickType nativeQuickType newQuickType newtonsoftQuickType nilQuickType noQuickType noexceptQuickType nonatomicQuickType quickTypeNoneQuickType noneQuickType nonlocalQuickType nonmutatingQuickType noSuchMethodQuickType notQuickType notEqQuickType nsErrorQuickType nsObjectQuickType nsStringQuickType nullQuickType quickTypeNullQuickType nullptrQuickType numberQuickType objectQuickType objectMapperQuickType objectReaderQuickType objectWriterQuickType quickTypeOfQuickType onewayQuickType openQuickType operatorQuickType optionalQuickType orQuickType orEqQuickType outQuickType overrideQuickType packageQuickType paramsQuickType passQuickType portQuickType postfixQuickType precedenceQuickType prefixQuickType printQuickType printfQuickType printMembersQuickType privateQuickType protectedQuickType protocolQuickType quickTypeProtocolQuickType publicQuickType quicktypeQuickType raiseQuickType rangeQuickType readonlyQuickType refQuickType regExpQuickType registerQuickType reinterpretCastQuickType repeatQuickType requireQuickType requiredQuickType requiresQuickType restrictQuickType retainQuickType rethrowsQuickType returnQuickType rightQuickType runtimeTypeQuickType sQuickType sbyteQuickType sealedQuickType selQuickType selectQuickType selfQuickType quickTypeSelfQuickType sendableQuickType serializationFeatureQuickType serializeQuickType serializerProviderQuickType setQuickType shortQuickType signedQuickType simpleModuleQuickType sizeofQuickType stackallocQuickType standardsQuickType staticQuickType staticAssertQuickType staticCastQuickType stdDeserializerQuickType stdSerializerQuickType strictfpQuickType stringQuickType structQuickType subscriptQuickType superQuickType switchQuickType symbolQuickType synchronizedQuickType systemQuickType templateQuickType quickTypeThenQuickType thisQuickType threadLocalQuickType throwQuickType throwsQuickType timeOnlyQuickType timeOnlyConverterQuickType timeZoneQuickType toJSONQuickType topLevelQuickType toStringQuickType transientQuickType trueQuickType quickTypeTrueQuickType tryQuickType quickTypeTypeQuickType purpleTypeQuickType typealiasQuickType typedefQuickType typeidQuickType typenameQuickType typeofQuickType uintQuickType ulongQuickType uncheckedQuickType undefinedQuickType unionQuickType unownedQuickType unsafeQuickType unsignedQuickType ushortQuickType usingQuickType utf8JSONReaderQuickType utf8JSONWriterQuickType uuidQuickType varQuickType virtualQuickType voidQuickType volatileQuickType wcharTQuickType weakQuickType quickTypeWhereQuickType whileQuickType willSetQuickType withQuickType xorQuickType xorEqQuickType yesQuickType yieldQuickType) =
40084056 object $ foldMap (maybe [] pure)
40094057 [ ("_" .=) <$> emptyQuickType
40104058 , ("_Bool" .=) <$> quickTypeBoolQuickType
@@ -4090,6 +4138,7 @@ instance ToJSON QuickType where
40904138 , ("del" .=) <$> delQuickType
40914139 , ("delegate" .=) <$> delegateQuickType
40924140 , ("delete" .=) <$> deleteQuickType
4141+ , ("DeserializationFeature" .=) <$> deserializationFeatureQuickType
40934142 , ("dict" .=) <$> dictQuickType
40944143 , ("dictionary" .=) <$> dictionaryQuickType
40954144 , ("didSet" .=) <$> didSetQuickType
@@ -4216,6 +4265,8 @@ instance ToJSON QuickType where
42164265 , ("number" .=) <$> numberQuickType
42174266 , ("object" .=) <$> objectQuickType
42184267 , ("ObjectMapper" .=) <$> objectMapperQuickType
4268+ , ("ObjectReader" .=) <$> objectReaderQuickType
4269+ , ("ObjectWriter" .=) <$> objectWriterQuickType
42194270 , ("of" .=) <$> quickTypeOfQuickType
42204271 , ("oneway" .=) <$> onewayQuickType
42214272 , ("open" .=) <$> openQuickType
@@ -4266,6 +4317,7 @@ instance ToJSON QuickType where
42664317 , ("Self" .=) <$> selfQuickType
42674318 , ("self" .=) <$> quickTypeSelfQuickType
42684319 , ("Sendable" .=) <$> sendableQuickType
4320+ , ("SerializationFeature" .=) <$> serializationFeatureQuickType
42694321 , ("serialize" .=) <$> serializeQuickType
42704322 , ("SerializerProvider" .=) <$> serializerProviderQuickType
42714323 , ("set" .=) <$> setQuickType
@@ -4427,6 +4479,7 @@ instance FromJSON QuickType where
44274479 <*> v .:! "del"
44284480 <*> v .:! "delegate"
44294481 <*> v .:! "delete"
4482+ <*> v .:! "DeserializationFeature"
44304483 <*> v .:! "dict"
44314484 <*> v .:! "dictionary"
44324485 <*> v .:! "didSet"
@@ -4553,6 +4606,8 @@ instance FromJSON QuickType where
45534606 <*> v .:! "number"
45544607 <*> v .:! "object"
45554608 <*> v .:! "ObjectMapper"
4609+ <*> v .:! "ObjectReader"
4610+ <*> v .:! "ObjectWriter"
45564611 <*> v .:! "of"
45574612 <*> v .:! "oneway"
45584613 <*> v .:! "open"
@@ -4603,6 +4658,7 @@ instance FromJSON QuickType where
46034658 <*> v .:! "Self"
46044659 <*> v .:! "self"
46054660 <*> v .:! "Sendable"
4661+ <*> v .:! "SerializationFeature"
46064662 <*> v .:! "serialize"
46074663 <*> v .:! "SerializerProvider"
46084664 <*> v .:! "set"
@@ -5713,6 +5769,20 @@ instance ToJSON Delete where
57135769 instance FromJSON Delete where
57145770 parseJSON (Object _) = return Delete
57155771
5772+instance ToJSON UnionDeserializationFeature where
5773+ toJSON (DeserializationFeatureInUnionDeserializationFeature x) = toJSON x
5774+ toJSON (DoubleInUnionDeserializationFeature x) = toJSON x
5775+
5776+instance FromJSON UnionDeserializationFeature where
5777+ parseJSON xs@(Object _) = (fmap DeserializationFeatureInUnionDeserializationFeature . parseJSON) xs
5778+ parseJSON xs@(Number _) = (fmap DoubleInUnionDeserializationFeature . parseJSON) xs
5779+
5780+instance ToJSON DeserializationFeature where
5781+ toJSON = \_ -> emptyObject
5782+
5783+instance FromJSON DeserializationFeature where
5784+ parseJSON (Object _) = return DeserializationFeature
5785+
57165786 instance ToJSON UnionDict where
57175787 toJSON (DictInUnionDict x) = toJSON x
57185788 toJSON (DoubleInUnionDict x) = toJSON x
@@ -7323,6 +7393,34 @@ instance ToJSON ObjectMapper where
73237393 instance FromJSON ObjectMapper where
73247394 parseJSON (Object _) = return ObjectMapper
73257395
7396+instance ToJSON UnionObjectReader where
7397+ toJSON (DoubleInUnionObjectReader x) = toJSON x
7398+ toJSON (ObjectReaderInUnionObjectReader x) = toJSON x
7399+
7400+instance FromJSON UnionObjectReader where
7401+ parseJSON xs@(Number _) = (fmap DoubleInUnionObjectReader . parseJSON) xs
7402+ parseJSON xs@(Object _) = (fmap ObjectReaderInUnionObjectReader . parseJSON) xs
7403+
7404+instance ToJSON ObjectReader where
7405+ toJSON = \_ -> emptyObject
7406+
7407+instance FromJSON ObjectReader where
7408+ parseJSON (Object _) = return ObjectReader
7409+
7410+instance ToJSON UnionObjectWriter where
7411+ toJSON (DoubleInUnionObjectWriter x) = toJSON x
7412+ toJSON (ObjectWriterInUnionObjectWriter x) = toJSON x
7413+
7414+instance FromJSON UnionObjectWriter where
7415+ parseJSON xs@(Number _) = (fmap DoubleInUnionObjectWriter . parseJSON) xs
7416+ parseJSON xs@(Object _) = (fmap ObjectWriterInUnionObjectWriter . parseJSON) xs
7417+
7418+instance ToJSON ObjectWriter where
7419+ toJSON = \_ -> emptyObject
7420+
7421+instance FromJSON ObjectWriter where
7422+ parseJSON (Object _) = return ObjectWriter
7423+
73267424 instance ToJSON UnionOneway where
73277425 toJSON (DoubleInUnionOneway x) = toJSON x
73287426 toJSON (OnewayInUnionOneway x) = toJSON x
@@ -8373,6 +8471,20 @@ instance ToJSON Sendable where
83738471 instance FromJSON Sendable where
83748472 parseJSON (Object _) = return Sendable
83758473
8474+instance ToJSON UnionSerializationFeature where
8475+ toJSON (DoubleInUnionSerializationFeature x) = toJSON x
8476+ toJSON (SerializationFeatureInUnionSerializationFeature x) = toJSON x
8477+
8478+instance FromJSON UnionSerializationFeature where
8479+ parseJSON xs@(Number _) = (fmap DoubleInUnionSerializationFeature . parseJSON) xs
8480+ parseJSON xs@(Object _) = (fmap SerializationFeatureInUnionSerializationFeature . parseJSON) xs
8481+
8482+instance ToJSON SerializationFeature where
8483+ toJSON = \_ -> emptyObject
8484+
8485+instance FromJSON SerializationFeature where
8486+ parseJSON (Object _) = return SerializationFeature
8487+
83768488 instance ToJSON UnionSerialize where
83778489 toJSON (DoubleInUnionSerialize x) = toJSON x
83788490 toJSON (SerializeInUnionSerialize x) = toJSON x
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / DeserializationFeatureClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class DeserializationFeatureClass {
7+}
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / ObjectReaderClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class ObjectReaderClass {
7+}
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / ObjectWriterClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class ObjectWriterClass {
7+}
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / SerializationFeatureClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class SerializationFeatureClass {
7+}
Mschema-java-datetime-legacydefault / src / main / java / io / quicktype / TopLevel.java+24 −0
@@ -87,6 +87,7 @@ public class TopLevel {
8787 private UnionDel del;
8888 private UnionDelegate delegate;
8989 private UnionDelete delete;
90+ private UnionDeserializationFeature deserializationFeature;
9091 private UnionDict dict;
9192 private UnionDictionary dictionary;
9293 private UnionDidSet didSet;
@@ -213,6 +214,8 @@ public class TopLevel {
213214 private UnionNumber number;
214215 private UnionObject object;
215216 private UnionObjectMapper objectMapper;
217+ private UnionObjectReader objectReader;
218+ private UnionObjectWriter objectWriter;
216219 private UnionOf of;
217220 private UnionOneway oneway;
218221 private UnionOpen open;
@@ -263,6 +266,7 @@ public class TopLevel {
263266 private UnionSelf self;
264267 private UnionSelfUnion topLevelSelf;
265268 private UnionSendable sendable;
269+ private UnionSerializationFeature serializationFeature;
266270 private UnionSerialize serialize;
267271 private UnionSerializerProvider serializerProvider;
268272 private UnionSet set;
@@ -757,6 +761,11 @@ public class TopLevel {
757761 @JsonProperty("delete")
758762 public void setDelete(UnionDelete value) { this.delete = value; }
759763
764+ @JsonProperty("DeserializationFeature")
765+ public UnionDeserializationFeature getDeserializationFeature() { return deserializationFeature; }
766+ @JsonProperty("DeserializationFeature")
767+ public void setDeserializationFeature(UnionDeserializationFeature value) { this.deserializationFeature = value; }
768+
760769 @JsonProperty("dict")
761770 public UnionDict getDict() { return dict; }
762771 @JsonProperty("dict")
@@ -1387,6 +1396,16 @@ public class TopLevel {
13871396 @JsonProperty("ObjectMapper")
13881397 public void setObjectMapper(UnionObjectMapper value) { this.objectMapper = value; }
13891398
1399+ @JsonProperty("ObjectReader")
1400+ public UnionObjectReader getObjectReader() { return objectReader; }
1401+ @JsonProperty("ObjectReader")
1402+ public void setObjectReader(UnionObjectReader value) { this.objectReader = value; }
1403+
1404+ @JsonProperty("ObjectWriter")
1405+ public UnionObjectWriter getObjectWriter() { return objectWriter; }
1406+ @JsonProperty("ObjectWriter")
1407+ public void setObjectWriter(UnionObjectWriter value) { this.objectWriter = value; }
1408+
13901409 @JsonProperty("of")
13911410 public UnionOf getOf() { return of; }
13921411 @JsonProperty("of")
@@ -1637,6 +1656,11 @@ public class TopLevel {
16371656 @JsonProperty("Sendable")
16381657 public void setSendable(UnionSendable value) { this.sendable = value; }
16391658
1659+ @JsonProperty("SerializationFeature")
1660+ public UnionSerializationFeature getSerializationFeature() { return serializationFeature; }
1661+ @JsonProperty("SerializationFeature")
1662+ public void setSerializationFeature(UnionSerializationFeature value) { this.serializationFeature = value; }
1663+
16401664 @JsonProperty("serialize")
16411665 public UnionSerialize getSerialize() { return serialize; }
16421666 @JsonProperty("serialize")
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / UnionDeserializationFeature.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionDeserializationFeature.Deserializer.class)
11+@JsonSerialize(using = UnionDeserializationFeature.Serializer.class)
12+public class UnionDeserializationFeature {
13+ public Double doubleValue;
14+ public DeserializationFeatureClass deserializationFeatureClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionDeserializationFeature> {
17+ @Override
18+ public UnionDeserializationFeature deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionDeserializationFeature value = new UnionDeserializationFeature();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.deserializationFeatureClassValue = jsonParser.readValueAs(DeserializationFeatureClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionDeserializationFeature");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionDeserializationFeature> {
37+ @Override
38+ public void serialize(UnionDeserializationFeature obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.deserializationFeatureClassValue != null) {
44+ jsonGenerator.writeObject(obj.deserializationFeatureClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / UnionObjectReader.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionObjectReader.Deserializer.class)
11+@JsonSerialize(using = UnionObjectReader.Serializer.class)
12+public class UnionObjectReader {
13+ public Double doubleValue;
14+ public ObjectReaderClass objectReaderClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionObjectReader> {
17+ @Override
18+ public UnionObjectReader deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionObjectReader value = new UnionObjectReader();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.objectReaderClassValue = jsonParser.readValueAs(ObjectReaderClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionObjectReader");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionObjectReader> {
37+ @Override
38+ public void serialize(UnionObjectReader obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.objectReaderClassValue != null) {
44+ jsonGenerator.writeObject(obj.objectReaderClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / UnionObjectWriter.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionObjectWriter.Deserializer.class)
11+@JsonSerialize(using = UnionObjectWriter.Serializer.class)
12+public class UnionObjectWriter {
13+ public Double doubleValue;
14+ public ObjectWriterClass objectWriterClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionObjectWriter> {
17+ @Override
18+ public UnionObjectWriter deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionObjectWriter value = new UnionObjectWriter();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.objectWriterClassValue = jsonParser.readValueAs(ObjectWriterClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionObjectWriter");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionObjectWriter> {
37+ @Override
38+ public void serialize(UnionObjectWriter obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.objectWriterClassValue != null) {
44+ jsonGenerator.writeObject(obj.objectWriterClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-datetime-legacydefault / src / main / java / io / quicktype / UnionSerializationFeature.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionSerializationFeature.Deserializer.class)
11+@JsonSerialize(using = UnionSerializationFeature.Serializer.class)
12+public class UnionSerializationFeature {
13+ public Double doubleValue;
14+ public SerializationFeatureClass serializationFeatureClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionSerializationFeature> {
17+ @Override
18+ public UnionSerializationFeature deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionSerializationFeature value = new UnionSerializationFeature();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.serializationFeatureClassValue = jsonParser.readValueAs(SerializationFeatureClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionSerializationFeature");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionSerializationFeature> {
37+ @Override
38+ public void serialize(UnionSerializationFeature obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.serializationFeatureClassValue != null) {
44+ jsonGenerator.writeObject(obj.serializationFeatureClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / DeserializationFeatureClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class DeserializationFeatureClass {
7+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / ObjectReaderClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class ObjectReaderClass {
7+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / ObjectWriterClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class ObjectWriterClass {
7+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / SerializationFeatureClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class SerializationFeatureClass {
7+}
Mschema-java-lombokdefault / src / main / java / io / quicktype / TopLevel.java+24 −0
@@ -87,6 +87,7 @@ public class TopLevel {
8787 private UnionDel del;
8888 private UnionDelegate delegate;
8989 private UnionDelete delete;
90+ private UnionDeserializationFeature deserializationFeature;
9091 private UnionDict dict;
9192 private UnionDictionary dictionary;
9293 private UnionDidSet didSet;
@@ -213,6 +214,8 @@ public class TopLevel {
213214 private UnionNumber number;
214215 private UnionObject object;
215216 private UnionObjectMapper objectMapper;
217+ private UnionObjectReader objectReader;
218+ private UnionObjectWriter objectWriter;
216219 private UnionOf of;
217220 private UnionOneway oneway;
218221 private UnionOpen open;
@@ -263,6 +266,7 @@ public class TopLevel {
263266 private UnionSelf self;
264267 private UnionSelfUnion topLevelSelf;
265268 private UnionSendable sendable;
269+ private UnionSerializationFeature serializationFeature;
266270 private UnionSerialize serialize;
267271 private UnionSerializerProvider serializerProvider;
268272 private UnionSet set;
@@ -757,6 +761,11 @@ public class TopLevel {
757761 @JsonProperty("delete")
758762 public void setDelete(UnionDelete value) { this.delete = value; }
759763
764+ @JsonProperty("DeserializationFeature")
765+ public UnionDeserializationFeature getDeserializationFeature() { return deserializationFeature; }
766+ @JsonProperty("DeserializationFeature")
767+ public void setDeserializationFeature(UnionDeserializationFeature value) { this.deserializationFeature = value; }
768+
760769 @JsonProperty("dict")
761770 public UnionDict getDict() { return dict; }
762771 @JsonProperty("dict")
@@ -1387,6 +1396,16 @@ public class TopLevel {
13871396 @JsonProperty("ObjectMapper")
13881397 public void setObjectMapper(UnionObjectMapper value) { this.objectMapper = value; }
13891398
1399+ @JsonProperty("ObjectReader")
1400+ public UnionObjectReader getObjectReader() { return objectReader; }
1401+ @JsonProperty("ObjectReader")
1402+ public void setObjectReader(UnionObjectReader value) { this.objectReader = value; }
1403+
1404+ @JsonProperty("ObjectWriter")
1405+ public UnionObjectWriter getObjectWriter() { return objectWriter; }
1406+ @JsonProperty("ObjectWriter")
1407+ public void setObjectWriter(UnionObjectWriter value) { this.objectWriter = value; }
1408+
13901409 @JsonProperty("of")
13911410 public UnionOf getOf() { return of; }
13921411 @JsonProperty("of")
@@ -1637,6 +1656,11 @@ public class TopLevel {
16371656 @JsonProperty("Sendable")
16381657 public void setSendable(UnionSendable value) { this.sendable = value; }
16391658
1659+ @JsonProperty("SerializationFeature")
1660+ public UnionSerializationFeature getSerializationFeature() { return serializationFeature; }
1661+ @JsonProperty("SerializationFeature")
1662+ public void setSerializationFeature(UnionSerializationFeature value) { this.serializationFeature = value; }
1663+
16401664 @JsonProperty("serialize")
16411665 public UnionSerialize getSerialize() { return serialize; }
16421666 @JsonProperty("serialize")
Aschema-java-lombokdefault / src / main / java / io / quicktype / UnionDeserializationFeature.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionDeserializationFeature.Deserializer.class)
11+@JsonSerialize(using = UnionDeserializationFeature.Serializer.class)
12+public class UnionDeserializationFeature {
13+ public Double doubleValue;
14+ public DeserializationFeatureClass deserializationFeatureClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionDeserializationFeature> {
17+ @Override
18+ public UnionDeserializationFeature deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionDeserializationFeature value = new UnionDeserializationFeature();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.deserializationFeatureClassValue = jsonParser.readValueAs(DeserializationFeatureClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionDeserializationFeature");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionDeserializationFeature> {
37+ @Override
38+ public void serialize(UnionDeserializationFeature obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.deserializationFeatureClassValue != null) {
44+ jsonGenerator.writeObject(obj.deserializationFeatureClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / UnionObjectReader.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionObjectReader.Deserializer.class)
11+@JsonSerialize(using = UnionObjectReader.Serializer.class)
12+public class UnionObjectReader {
13+ public Double doubleValue;
14+ public ObjectReaderClass objectReaderClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionObjectReader> {
17+ @Override
18+ public UnionObjectReader deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionObjectReader value = new UnionObjectReader();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.objectReaderClassValue = jsonParser.readValueAs(ObjectReaderClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionObjectReader");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionObjectReader> {
37+ @Override
38+ public void serialize(UnionObjectReader obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.objectReaderClassValue != null) {
44+ jsonGenerator.writeObject(obj.objectReaderClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / UnionObjectWriter.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionObjectWriter.Deserializer.class)
11+@JsonSerialize(using = UnionObjectWriter.Serializer.class)
12+public class UnionObjectWriter {
13+ public Double doubleValue;
14+ public ObjectWriterClass objectWriterClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionObjectWriter> {
17+ @Override
18+ public UnionObjectWriter deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionObjectWriter value = new UnionObjectWriter();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.objectWriterClassValue = jsonParser.readValueAs(ObjectWriterClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionObjectWriter");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionObjectWriter> {
37+ @Override
38+ public void serialize(UnionObjectWriter obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.objectWriterClassValue != null) {
44+ jsonGenerator.writeObject(obj.objectWriterClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-java-lombokdefault / src / main / java / io / quicktype / UnionSerializationFeature.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionSerializationFeature.Deserializer.class)
11+@JsonSerialize(using = UnionSerializationFeature.Serializer.class)
12+public class UnionSerializationFeature {
13+ public Double doubleValue;
14+ public SerializationFeatureClass serializationFeatureClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionSerializationFeature> {
17+ @Override
18+ public UnionSerializationFeature deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionSerializationFeature value = new UnionSerializationFeature();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.serializationFeatureClassValue = jsonParser.readValueAs(SerializationFeatureClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionSerializationFeature");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionSerializationFeature> {
37+ @Override
38+ public void serialize(UnionSerializationFeature obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.serializationFeatureClassValue != null) {
44+ jsonGenerator.writeObject(obj.serializationFeatureClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-javadefault / src / main / java / io / quicktype / DeserializationFeatureClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class DeserializationFeatureClass {
7+}
Aschema-javadefault / src / main / java / io / quicktype / ObjectReaderClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class ObjectReaderClass {
7+}
Aschema-javadefault / src / main / java / io / quicktype / ObjectWriterClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class ObjectWriterClass {
7+}
Aschema-javadefault / src / main / java / io / quicktype / SerializationFeatureClass.java+7 −0
@@ -0,0 +1,7 @@
1+package io.quicktype;
2+
3+import com.fasterxml.jackson.annotation.*;
4+
5+@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
6+public class SerializationFeatureClass {
7+}
Mschema-javadefault / src / main / java / io / quicktype / TopLevel.java+24 −0
@@ -87,6 +87,7 @@ public class TopLevel {
8787 private UnionDel del;
8888 private UnionDelegate delegate;
8989 private UnionDelete delete;
90+ private UnionDeserializationFeature deserializationFeature;
9091 private UnionDict dict;
9192 private UnionDictionary dictionary;
9293 private UnionDidSet didSet;
@@ -213,6 +214,8 @@ public class TopLevel {
213214 private UnionNumber number;
214215 private UnionObject object;
215216 private UnionObjectMapper objectMapper;
217+ private UnionObjectReader objectReader;
218+ private UnionObjectWriter objectWriter;
216219 private UnionOf of;
217220 private UnionOneway oneway;
218221 private UnionOpen open;
@@ -263,6 +266,7 @@ public class TopLevel {
263266 private UnionSelf self;
264267 private UnionSelfUnion topLevelSelf;
265268 private UnionSendable sendable;
269+ private UnionSerializationFeature serializationFeature;
266270 private UnionSerialize serialize;
267271 private UnionSerializerProvider serializerProvider;
268272 private UnionSet set;
@@ -757,6 +761,11 @@ public class TopLevel {
757761 @JsonProperty("delete")
758762 public void setDelete(UnionDelete value) { this.delete = value; }
759763
764+ @JsonProperty("DeserializationFeature")
765+ public UnionDeserializationFeature getDeserializationFeature() { return deserializationFeature; }
766+ @JsonProperty("DeserializationFeature")
767+ public void setDeserializationFeature(UnionDeserializationFeature value) { this.deserializationFeature = value; }
768+
760769 @JsonProperty("dict")
761770 public UnionDict getDict() { return dict; }
762771 @JsonProperty("dict")
@@ -1387,6 +1396,16 @@ public class TopLevel {
13871396 @JsonProperty("ObjectMapper")
13881397 public void setObjectMapper(UnionObjectMapper value) { this.objectMapper = value; }
13891398
1399+ @JsonProperty("ObjectReader")
1400+ public UnionObjectReader getObjectReader() { return objectReader; }
1401+ @JsonProperty("ObjectReader")
1402+ public void setObjectReader(UnionObjectReader value) { this.objectReader = value; }
1403+
1404+ @JsonProperty("ObjectWriter")
1405+ public UnionObjectWriter getObjectWriter() { return objectWriter; }
1406+ @JsonProperty("ObjectWriter")
1407+ public void setObjectWriter(UnionObjectWriter value) { this.objectWriter = value; }
1408+
13901409 @JsonProperty("of")
13911410 public UnionOf getOf() { return of; }
13921411 @JsonProperty("of")
@@ -1637,6 +1656,11 @@ public class TopLevel {
16371656 @JsonProperty("Sendable")
16381657 public void setSendable(UnionSendable value) { this.sendable = value; }
16391658
1659+ @JsonProperty("SerializationFeature")
1660+ public UnionSerializationFeature getSerializationFeature() { return serializationFeature; }
1661+ @JsonProperty("SerializationFeature")
1662+ public void setSerializationFeature(UnionSerializationFeature value) { this.serializationFeature = value; }
1663+
16401664 @JsonProperty("serialize")
16411665 public UnionSerialize getSerialize() { return serialize; }
16421666 @JsonProperty("serialize")
Aschema-javadefault / src / main / java / io / quicktype / UnionDeserializationFeature.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionDeserializationFeature.Deserializer.class)
11+@JsonSerialize(using = UnionDeserializationFeature.Serializer.class)
12+public class UnionDeserializationFeature {
13+ public Double doubleValue;
14+ public DeserializationFeatureClass deserializationFeatureClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionDeserializationFeature> {
17+ @Override
18+ public UnionDeserializationFeature deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionDeserializationFeature value = new UnionDeserializationFeature();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.deserializationFeatureClassValue = jsonParser.readValueAs(DeserializationFeatureClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionDeserializationFeature");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionDeserializationFeature> {
37+ @Override
38+ public void serialize(UnionDeserializationFeature obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.deserializationFeatureClassValue != null) {
44+ jsonGenerator.writeObject(obj.deserializationFeatureClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-javadefault / src / main / java / io / quicktype / UnionObjectReader.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionObjectReader.Deserializer.class)
11+@JsonSerialize(using = UnionObjectReader.Serializer.class)
12+public class UnionObjectReader {
13+ public Double doubleValue;
14+ public ObjectReaderClass objectReaderClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionObjectReader> {
17+ @Override
18+ public UnionObjectReader deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionObjectReader value = new UnionObjectReader();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.objectReaderClassValue = jsonParser.readValueAs(ObjectReaderClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionObjectReader");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionObjectReader> {
37+ @Override
38+ public void serialize(UnionObjectReader obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.objectReaderClassValue != null) {
44+ jsonGenerator.writeObject(obj.objectReaderClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-javadefault / src / main / java / io / quicktype / UnionObjectWriter.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionObjectWriter.Deserializer.class)
11+@JsonSerialize(using = UnionObjectWriter.Serializer.class)
12+public class UnionObjectWriter {
13+ public Double doubleValue;
14+ public ObjectWriterClass objectWriterClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionObjectWriter> {
17+ @Override
18+ public UnionObjectWriter deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionObjectWriter value = new UnionObjectWriter();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.objectWriterClassValue = jsonParser.readValueAs(ObjectWriterClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionObjectWriter");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionObjectWriter> {
37+ @Override
38+ public void serialize(UnionObjectWriter obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.objectWriterClassValue != null) {
44+ jsonGenerator.writeObject(obj.objectWriterClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Aschema-javadefault / src / main / java / io / quicktype / UnionSerializationFeature.java+50 −0
@@ -0,0 +1,50 @@
1+package io.quicktype;
2+
3+import java.io.IOException;
4+import java.io.IOException;
5+import com.fasterxml.jackson.core.*;
6+import com.fasterxml.jackson.databind.*;
7+import com.fasterxml.jackson.databind.annotation.*;
8+import com.fasterxml.jackson.core.type.*;
9+
10+@JsonDeserialize(using = UnionSerializationFeature.Deserializer.class)
11+@JsonSerialize(using = UnionSerializationFeature.Serializer.class)
12+public class UnionSerializationFeature {
13+ public Double doubleValue;
14+ public SerializationFeatureClass serializationFeatureClassValue;
15+
16+ static class Deserializer extends JsonDeserializer<UnionSerializationFeature> {
17+ @Override
18+ public UnionSerializationFeature deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException {
19+ UnionSerializationFeature value = new UnionSerializationFeature();
20+ switch (jsonParser.currentToken()) {
21+ case VALUE_NULL:
22+ break;
23+ case VALUE_NUMBER_INT:
24+ case VALUE_NUMBER_FLOAT:
25+ value.doubleValue = jsonParser.readValueAs(Double.class);
26+ break;
27+ case START_OBJECT:
28+ value.serializationFeatureClassValue = jsonParser.readValueAs(SerializationFeatureClass.class);
29+ break;
30+ default: throw new IOException("Cannot deserialize UnionSerializationFeature");
31+ }
32+ return value;
33+ }
34+ }
35+
36+ static class Serializer extends JsonSerializer<UnionSerializationFeature> {
37+ @Override
38+ public void serialize(UnionSerializationFeature obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
39+ if (obj.doubleValue != null) {
40+ jsonGenerator.writeObject(obj.doubleValue);
41+ return;
42+ }
43+ if (obj.serializationFeatureClassValue != null) {
44+ jsonGenerator.writeObject(obj.serializationFeatureClassValue);
45+ return;
46+ }
47+ jsonGenerator.writeNull();
48+ }
49+ }
50+}
Mschema-javascript-prop-typesdefault / toplevel.js+16 −0
@@ -28,6 +28,7 @@ let _DateTime;
2828 let _DateTimeStyles;
2929 let _Decoder;
3030 let _DecodingError;
31+let _DeserializationFeature;
3132 let _Encoder;
3233 let _EnumValues;
3334 let _Equatable;
@@ -57,11 +58,14 @@ let _NSString;
5758 let _Null;
5859 let _None;
5960 let _ObjectMapper;
61+let _ObjectReader;
62+let _ObjectWriter;
6063 let _Protocol;
6164 let _RegExp;
6265 let _Sel;
6366 let _Self;
6467 let _Sendable;
68+let _SerializationFeature;
6569 let _SerializerProvider;
6670 let _SimpleModule;
6771 let _Standards;
@@ -375,6 +379,8 @@ _Decoder = PropTypes.shape({
375379 });
376380 _DecodingError = PropTypes.shape({
377381 });
382+_DeserializationFeature = PropTypes.shape({
383+});
378384 _Encoder = PropTypes.shape({
379385 });
380386 _EnumValues = PropTypes.shape({
@@ -433,6 +439,10 @@ _None = PropTypes.shape({
433439 });
434440 _ObjectMapper = PropTypes.shape({
435441 });
442+_ObjectReader = PropTypes.shape({
443+});
444+_ObjectWriter = PropTypes.shape({
445+});
436446 _Protocol = PropTypes.shape({
437447 });
438448 _RegExp = PropTypes.shape({
@@ -443,6 +453,8 @@ _Self = PropTypes.shape({
443453 });
444454 _Sendable = PropTypes.shape({
445455 });
456+_SerializationFeature = PropTypes.shape({
457+});
446458 _SerializerProvider = PropTypes.shape({
447459 });
448460 _SimpleModule = PropTypes.shape({
@@ -1094,6 +1106,7 @@ _TopLevel = PropTypes.shape({
10941106 "del": PropTypes.oneOfType([_Del, PropTypes.number, PropTypes.oneOf([null])]),
10951107 "delegate": PropTypes.oneOfType([_Delegate, PropTypes.number, PropTypes.oneOf([null])]),
10961108 "delete": PropTypes.oneOfType([_Delete, PropTypes.number, PropTypes.oneOf([null])]),
1109+ "DeserializationFeature": PropTypes.oneOfType([_DeserializationFeature, PropTypes.number, PropTypes.oneOf([null])]),
10971110 "dict": PropTypes.oneOfType([_Dict, PropTypes.number, PropTypes.oneOf([null])]),
10981111 "dictionary": PropTypes.oneOfType([_Dictionary, PropTypes.number, PropTypes.oneOf([null])]),
10991112 "didSet": PropTypes.oneOfType([_DidSet, PropTypes.number, PropTypes.oneOf([null])]),
@@ -1220,6 +1233,8 @@ _TopLevel = PropTypes.shape({
12201233 "number": PropTypes.oneOfType([_Number, PropTypes.number, PropTypes.oneOf([null])]),
12211234 "object": PropTypes.oneOfType([_Object, PropTypes.number, PropTypes.oneOf([null])]),
12221235 "ObjectMapper": PropTypes.oneOfType([_ObjectMapper, PropTypes.number, PropTypes.oneOf([null])]),
1236+ "ObjectReader": PropTypes.oneOfType([_ObjectReader, PropTypes.number, PropTypes.oneOf([null])]),
1237+ "ObjectWriter": PropTypes.oneOfType([_ObjectWriter, PropTypes.number, PropTypes.oneOf([null])]),
12231238 "of": PropTypes.oneOfType([_Of, PropTypes.number, PropTypes.oneOf([null])]),
12241239 "oneway": PropTypes.oneOfType([_Oneway, PropTypes.number, PropTypes.oneOf([null])]),
12251240 "open": PropTypes.oneOfType([_Open, PropTypes.number, PropTypes.oneOf([null])]),
@@ -1270,6 +1285,7 @@ _TopLevel = PropTypes.shape({
12701285 "Self": PropTypes.oneOfType([_Self, PropTypes.number, PropTypes.oneOf([null])]),
12711286 "self": PropTypes.oneOfType([_SelfClass, PropTypes.number, PropTypes.oneOf([null])]),
12721287 "Sendable": PropTypes.oneOfType([_Sendable, PropTypes.number, PropTypes.oneOf([null])]),
1288+ "SerializationFeature": PropTypes.oneOfType([_SerializationFeature, PropTypes.number, PropTypes.oneOf([null])]),
12731289 "serialize": PropTypes.oneOfType([_Serialize, PropTypes.number, PropTypes.oneOf([null])]),
12741290 "SerializerProvider": PropTypes.oneOfType([_SerializerProvider, PropTypes.number, PropTypes.oneOf([null])]),
12751291 "set": PropTypes.oneOfType([_Set, PropTypes.number, PropTypes.oneOf([null])]),
Mschema-javascriptdefault / TopLevel.js+12 −0
@@ -277,6 +277,7 @@ const typeMap = {
277277 { json: "del", js: "del", typ: u(undefined, u(r("Del"), 3.14)) },
278278 { json: "delegate", js: "delegate", typ: u(undefined, u(r("Delegate"), 3.14)) },
279279 { json: "delete", js: "delete", typ: u(undefined, u(r("Delete"), 3.14)) },
280+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: u(undefined, u(r("DeserializationFeature"), 3.14)) },
280281 { json: "dict", js: "dict", typ: u(undefined, u(r("Dict"), 3.14)) },
281282 { json: "dictionary", js: "dictionary", typ: u(undefined, u(r("Dictionary"), 3.14)) },
282283 { json: "didSet", js: "didSet", typ: u(undefined, u(r("DidSet"), 3.14)) },
@@ -403,6 +404,8 @@ const typeMap = {
403404 { json: "number", js: "number", typ: u(undefined, u(r("Number"), 3.14)) },
404405 { json: "object", js: "object", typ: u(undefined, u(r("Object"), 3.14)) },
405406 { json: "ObjectMapper", js: "ObjectMapper", typ: u(undefined, u(r("ObjectMapper"), 3.14)) },
407+ { json: "ObjectReader", js: "ObjectReader", typ: u(undefined, u(r("ObjectReader"), 3.14)) },
408+ { json: "ObjectWriter", js: "ObjectWriter", typ: u(undefined, u(r("ObjectWriter"), 3.14)) },
406409 { json: "of", js: "of", typ: u(undefined, u(r("Of"), 3.14)) },
407410 { json: "oneway", js: "oneway", typ: u(undefined, u(r("Oneway"), 3.14)) },
408411 { json: "open", js: "open", typ: u(undefined, u(r("Open"), 3.14)) },
@@ -453,6 +456,7 @@ const typeMap = {
453456 { json: "Self", js: "Self", typ: u(undefined, u(r("Self"), 3.14)) },
454457 { json: "self", js: "self", typ: u(undefined, u(r("SelfClass"), 3.14)) },
455458 { json: "Sendable", js: "Sendable", typ: u(undefined, u(r("Sendable"), 3.14)) },
459+ { json: "SerializationFeature", js: "SerializationFeature", typ: u(undefined, u(r("SerializationFeature"), 3.14)) },
456460 { json: "serialize", js: "serialize", typ: u(undefined, u(r("Serialize"), 3.14)) },
457461 { json: "SerializerProvider", js: "SerializerProvider", typ: u(undefined, u(r("SerializerProvider"), 3.14)) },
458462 { json: "set", js: "set", typ: u(undefined, u(r("Set"), 3.14)) },
@@ -557,6 +561,8 @@ const typeMap = {
557561 ], false),
558562 "DecodingError": o([
559563 ], false),
564+ "DeserializationFeature": o([
565+ ], false),
560566 "Encoder": o([
561567 ], false),
562568 "EnumValues": o([
@@ -615,6 +621,10 @@ const typeMap = {
615621 ], false),
616622 "ObjectMapper": o([
617623 ], false),
624+ "ObjectReader": o([
625+ ], false),
626+ "ObjectWriter": o([
627+ ], false),
618628 "Protocol": o([
619629 ], false),
620630 "RegExp": o([
@@ -625,6 +635,8 @@ const typeMap = {
625635 ], false),
626636 "Sendable": o([
627637 ], false),
638+ "SerializationFeature": o([
639+ ], false),
628640 "SerializerProvider": o([
629641 ], false),
630642 "SimpleModule": o([
Mschema-objective-cdefault / QTTopLevel.h+20 −0
@@ -74,6 +74,7 @@
7474 @class QTDel;
7575 @class QTDelegate;
7676 @class QTDelete;
77+@class QTDeserializationFeature;
7778 @class QTDict;
7879 @class QTDictionary;
7980 @class QTDidSet;
@@ -180,6 +181,8 @@
180181 @class QTNumber;
181182 @class QTObject;
182183 @class QTObjectMapper;
184+@class QTObjectReader;
185+@class QTObjectWriter;
183186 @class QTOf;
184187 @class QTOneway;
185188 @class QTOpen;
@@ -275,6 +278,7 @@
275278 @class QTSelect;
276279 @class QTSelf;
277280 @class QTSendable;
281+@class QTSerializationFeature;
278282 @class QTSerialize;
279283 @class QTSerializerProvider;
280284 @class QTSet;
@@ -435,6 +439,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
435439 @property (nonatomic, nullable, copy) id del;
436440 @property (nonatomic, nullable, copy) id delegate;
437441 @property (nonatomic, nullable, copy) id delete;
442+@property (nonatomic, nullable, copy) id deserializationFeature;
438443 @property (nonatomic, nullable, copy) id dict;
439444 @property (nonatomic, nullable, copy) id dictionary;
440445 @property (nonatomic, nullable, copy) id didSet;
@@ -561,6 +566,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
561566 @property (nonatomic, nullable, copy) id number;
562567 @property (nonatomic, nullable, copy) id object;
563568 @property (nonatomic, nullable, copy) id objectMapper;
569+@property (nonatomic, nullable, copy) id objectReader;
570+@property (nonatomic, nullable, copy) id objectWriter;
564571 @property (nonatomic, nullable, copy) id of;
565572 @property (nonatomic, nullable, copy) id oneway;
566573 @property (nonatomic, nullable, copy) id open;
@@ -611,6 +618,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
611618 @property (nonatomic, nullable, copy) id self;
612619 @property (nonatomic, nullable, copy) id qtTopLevelSelf;
613620 @property (nonatomic, nullable, copy) id sendable;
621+@property (nonatomic, nullable, copy) id serializationFeature;
614622 @property (nonatomic, nullable, copy) id serialize;
615623 @property (nonatomic, nullable, copy) id serializerProvider;
616624 @property (nonatomic, nullable, copy) id set;
@@ -895,6 +903,9 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
895903 @interface QTDelete : NSObject
896904 @end
897905
906+@interface QTDeserializationFeature : NSObject
907+@end
908+
898909 @interface QTDict : NSObject
899910 @end
900911
@@ -1213,6 +1224,12 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
12131224 @interface QTObjectMapper : NSObject
12141225 @end
12151226
1227+@interface QTObjectReader : NSObject
1228+@end
1229+
1230+@interface QTObjectWriter : NSObject
1231+@end
1232+
12161233 @interface QTOf : NSObject
12171234 @end
12181235
@@ -1498,6 +1515,9 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding en
14981515 @interface QTSendable : NSObject
14991516 @end
15001517
1518+@interface QTSerializationFeature : NSObject
1519+@end
1520+
15011521 @interface QTSerialize : NSObject
15021522 @end
Mschema-objective-cdefault / QTTopLevel.m+180 −0
@@ -353,6 +353,11 @@ NS_ASSUME_NONNULL_BEGIN
353353 - (NSDictionary *)JSONDictionary;
354354 @end
355355
356+@interface QTDeserializationFeature (JSONConversion)
357++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
358+- (NSDictionary *)JSONDictionary;
359+@end
360+
356361 @interface QTDict (JSONConversion)
357362 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
358363 - (NSDictionary *)JSONDictionary;
@@ -883,6 +888,16 @@ NS_ASSUME_NONNULL_BEGIN
883888 - (NSDictionary *)JSONDictionary;
884889 @end
885890
891+@interface QTObjectReader (JSONConversion)
892++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
893+- (NSDictionary *)JSONDictionary;
894+@end
895+
896+@interface QTObjectWriter (JSONConversion)
897++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
898+- (NSDictionary *)JSONDictionary;
899+@end
900+
886901 @interface QTOf (JSONConversion)
887902 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
888903 - (NSDictionary *)JSONDictionary;
@@ -1358,6 +1373,11 @@ NS_ASSUME_NONNULL_BEGIN
13581373 - (NSDictionary *)JSONDictionary;
13591374 @end
13601375
1376+@interface QTSerializationFeature (JSONConversion)
1377++ (instancetype)fromJSONDictionary:(NSDictionary *)dict;
1378+- (NSDictionary *)JSONDictionary;
1379+@end
1380+
13611381 @interface QTSerialize (JSONConversion)
13621382 + (instancetype)fromJSONDictionary:(NSDictionary *)dict;
13631383 - (NSDictionary *)JSONDictionary;
@@ -1798,6 +1818,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
17981818 @"del": @"del",
17991819 @"delegate": @"delegate",
18001820 @"delete": @"delete",
1821+ @"DeserializationFeature": @"deserializationFeature",
18011822 @"dict": @"dict",
18021823 @"dictionary": @"dictionary",
18031824 @"didSet": @"didSet",
@@ -1924,6 +1945,8 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
19241945 @"number": @"number",
19251946 @"object": @"object",
19261947 @"ObjectMapper": @"objectMapper",
1948+ @"ObjectReader": @"objectReader",
1949+ @"ObjectWriter": @"objectWriter",
19271950 @"of": @"of",
19281951 @"oneway": @"oneway",
19291952 @"open": @"open",
@@ -1974,6 +1997,7 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
19741997 @"Self": @"self",
19751998 @"self": @"qtTopLevelSelf",
19761999 @"Sendable": @"sendable",
2000+ @"SerializationFeature": @"serializationFeature",
19772001 @"serialize": @"serialize",
19782002 @"SerializerProvider": @"serializerProvider",
19792003 @"set": @"set",
@@ -4763,6 +4787,45 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
47634787 }
47644788 @end
47654789
4790+@implementation QTDeserializationFeature
4791++ (NSDictionary<NSString *, NSString *> *)properties
4792+{
4793+ static NSDictionary<NSString *, NSString *> *properties;
4794+ return properties = properties ? properties : @{
4795+ };
4796+}
4797+
4798++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
4799+{
4800+ return [dict isKindOfClass:NSDictionary.class] ? [[QTDeserializationFeature alloc] initWithJSONDictionary:dict] : nil;
4801+}
4802+
4803+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
4804+{
4805+ if (self = [super init]) {
4806+ [self setValuesForKeysWithDictionary:dict];
4807+ }
4808+ return self;
4809+}
4810+
4811+- (void)setValue:(nullable id)value forKey:(NSString *)key
4812+{
4813+ id resolved = QTDeserializationFeature.properties[key];
4814+ if (resolved) [super setValue:value forKey:resolved];
4815+}
4816+
4817+- (void)setNilValueForKey:(NSString *)key
4818+{
4819+ id resolved = QTDeserializationFeature.properties[key];
4820+ if (resolved) [super setValue:@(0) forKey:resolved];
4821+}
4822+
4823+- (NSDictionary *)JSONDictionary
4824+{
4825+ return [self dictionaryWithValuesForKeys:QTDeserializationFeature.properties.allValues];
4826+}
4827+@end
4828+
47664829 @implementation QTDict
47674830 + (NSDictionary<NSString *, NSString *> *)properties
47684831 {
@@ -8897,6 +8960,84 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
88978960 }
88988961 @end
88998962
8963+@implementation QTObjectReader
8964++ (NSDictionary<NSString *, NSString *> *)properties
8965+{
8966+ static NSDictionary<NSString *, NSString *> *properties;
8967+ return properties = properties ? properties : @{
8968+ };
8969+}
8970+
8971++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
8972+{
8973+ return [dict isKindOfClass:NSDictionary.class] ? [[QTObjectReader alloc] initWithJSONDictionary:dict] : nil;
8974+}
8975+
8976+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
8977+{
8978+ if (self = [super init]) {
8979+ [self setValuesForKeysWithDictionary:dict];
8980+ }
8981+ return self;
8982+}
8983+
8984+- (void)setValue:(nullable id)value forKey:(NSString *)key
8985+{
8986+ id resolved = QTObjectReader.properties[key];
8987+ if (resolved) [super setValue:value forKey:resolved];
8988+}
8989+
8990+- (void)setNilValueForKey:(NSString *)key
8991+{
8992+ id resolved = QTObjectReader.properties[key];
8993+ if (resolved) [super setValue:@(0) forKey:resolved];
8994+}
8995+
8996+- (NSDictionary *)JSONDictionary
8997+{
8998+ return [self dictionaryWithValuesForKeys:QTObjectReader.properties.allValues];
8999+}
9000+@end
9001+
9002+@implementation QTObjectWriter
9003++ (NSDictionary<NSString *, NSString *> *)properties
9004+{
9005+ static NSDictionary<NSString *, NSString *> *properties;
9006+ return properties = properties ? properties : @{
9007+ };
9008+}
9009+
9010++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
9011+{
9012+ return [dict isKindOfClass:NSDictionary.class] ? [[QTObjectWriter alloc] initWithJSONDictionary:dict] : nil;
9013+}
9014+
9015+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
9016+{
9017+ if (self = [super init]) {
9018+ [self setValuesForKeysWithDictionary:dict];
9019+ }
9020+ return self;
9021+}
9022+
9023+- (void)setValue:(nullable id)value forKey:(NSString *)key
9024+{
9025+ id resolved = QTObjectWriter.properties[key];
9026+ if (resolved) [super setValue:value forKey:resolved];
9027+}
9028+
9029+- (void)setNilValueForKey:(NSString *)key
9030+{
9031+ id resolved = QTObjectWriter.properties[key];
9032+ if (resolved) [super setValue:@(0) forKey:resolved];
9033+}
9034+
9035+- (NSDictionary *)JSONDictionary
9036+{
9037+ return [self dictionaryWithValuesForKeys:QTObjectWriter.properties.allValues];
9038+}
9039+@end
9040+
89009041 @implementation QTOf
89019042 + (NSDictionary<NSString *, NSString *> *)properties
89029043 {
@@ -12602,6 +12743,45 @@ NSString *_Nullable QTTopLevelToJSON(QTTopLevel *topLevel, NSStringEncoding enco
1260212743 }
1260312744 @end
1260412745
12746+@implementation QTSerializationFeature
12747++ (NSDictionary<NSString *, NSString *> *)properties
12748+{
12749+ static NSDictionary<NSString *, NSString *> *properties;
12750+ return properties = properties ? properties : @{
12751+ };
12752+}
12753+
12754++ (instancetype)fromJSONDictionary:(NSDictionary *)dict
12755+{
12756+ return [dict isKindOfClass:NSDictionary.class] ? [[QTSerializationFeature alloc] initWithJSONDictionary:dict] : nil;
12757+}
12758+
12759+- (instancetype)initWithJSONDictionary:(NSDictionary *)dict
12760+{
12761+ if (self = [super init]) {
12762+ [self setValuesForKeysWithDictionary:dict];
12763+ }
12764+ return self;
12765+}
12766+
12767+- (void)setValue:(nullable id)value forKey:(NSString *)key
12768+{
12769+ id resolved = QTSerializationFeature.properties[key];
12770+ if (resolved) [super setValue:value forKey:resolved];
12771+}
12772+
12773+- (void)setNilValueForKey:(NSString *)key
12774+{
12775+ id resolved = QTSerializationFeature.properties[key];
12776+ if (resolved) [super setValue:@(0) forKey:resolved];
12777+}
12778+
12779+- (NSDictionary *)JSONDictionary
12780+{
12781+ return [self dictionaryWithValuesForKeys:QTSerializationFeature.properties.allValues];
12782+}
12783+@end
12784+
1260512785 @implementation QTSerialize
1260612786 + (NSDictionary<NSString *, NSString *> *)properties
1260712787 {
Mschema-phpdefault / TopLevel.php+762 −250
@@ -88,6 +88,7 @@ class TopLevel {
8888 private Del|float|null $del; // json:del Optional
8989 private Delegate|float|null $delegate; // json:delegate Optional
9090 private Delete|float|null $delete; // json:delete Optional
91+ private DeserializationFeature|float|null $deserializationFeature; // json:DeserializationFeature Optional
9192 private Dict|float|null $dict; // json:dict Optional
9293 private Dictionary|float|null $dictionary; // json:dictionary Optional
9394 private DidSet|float|null $didSet; // json:didSet Optional
@@ -214,6 +215,8 @@ class TopLevel {
214215 private Number|float|null $number; // json:number Optional
215216 private ObjectClass|float|null $object; // json:object Optional
216217 private ObjectMapper|float|null $objectMapper; // json:ObjectMapper Optional
218+ private ObjectReader|float|null $objectReader; // json:ObjectReader Optional
219+ private ObjectWriter|float|null $objectWriter; // json:ObjectWriter Optional
217220 private Of|float|null $of; // json:of Optional
218221 private Oneway|float|null $oneway; // json:oneway Optional
219222 private Open|float|null $open; // json:open Optional
@@ -264,6 +267,7 @@ class TopLevel {
264267 private SelfClass|float|null $self; // json:Self Optional
265268 private UnionSelfSelf|float|null $topLevelSelf; // json:self Optional
266269 private Sendable|float|null $sendable; // json:Sendable Optional
270+ private SerializationFeature|float|null $serializationFeature; // json:SerializationFeature Optional
267271 private Serialize|float|null $serialize; // json:serialize Optional
268272 private SerializerProvider|float|null $serializerProvider; // json:SerializerProvider Optional
269273 private Set|float|null $set; // json:set Optional
@@ -423,6 +427,7 @@ class TopLevel {
423427 * @param Del|float|null $del
424428 * @param Delegate|float|null $delegate
425429 * @param Delete|float|null $delete
430+ * @param DeserializationFeature|float|null $deserializationFeature
426431 * @param Dict|float|null $dict
427432 * @param Dictionary|float|null $dictionary
428433 * @param DidSet|float|null $didSet
@@ -549,6 +554,8 @@ class TopLevel {
549554 * @param Number|float|null $number
550555 * @param ObjectClass|float|null $object
551556 * @param ObjectMapper|float|null $objectMapper
557+ * @param ObjectReader|float|null $objectReader
558+ * @param ObjectWriter|float|null $objectWriter
552559 * @param Of|float|null $of
553560 * @param Oneway|float|null $oneway
554561 * @param Open|float|null $open
@@ -599,6 +606,7 @@ class TopLevel {
599606 * @param SelfClass|float|null $self
600607 * @param UnionSelfSelf|float|null $topLevelSelf
601608 * @param Sendable|float|null $sendable
609+ * @param SerializationFeature|float|null $serializationFeature
602610 * @param Serialize|float|null $serialize
603611 * @param SerializerProvider|float|null $serializerProvider
604612 * @param Set|float|null $set
@@ -673,7 +681,7 @@ class TopLevel {
673681 * @param Yes|float|null $yes
674682 * @param YieldClass|float|null $yield
675683 */
676- public function __construct(Union|float|null $empty, UnionBoolBool|float|null $topLevelBool, Complex|float|null $complex, Imaginery|float|null $imaginery, AbstractClass|float|null $abstract, Alignas|float|null $alignas, Alignof|float|null $alignof, AndClass|float|null $and, AndEq|float|null $andEq, AnyClass|float|null $topLevelAny, Any|float|null $any, ArrayClass|float|null $array, AsClass|float|null $as, ASM|float|null $asm, Assert|float|null $assert, Associatedtype|float|null $associatedtype, Associativity|float|null $associativity, Async|float|null $async, Atomic|float|null $atomic, AtomicCancel|float|null $atomicCancel, AtomicCommit|float|null $atomicCommit, AtomicNoexcept|float|null $atomicNoexcept, Auto|float|null $auto, Await|float|null $await, Base|float|null $base, Bitand|float|null $bitand, Bitor|float|null $bitor, BOOLClass|float|null $bool, UnionBoolBoolClass|float|null $purpleBool, Boolean|float|null $boolean, BreakClass|float|null $break, Bycopy|float|null $bycopy, Byref|float|null $byref, Byte|float|null $byte, Calendar|float|null $calendar, CaseClass|float|null $case, CatchClass|float|null $catch, Chan|float|null $chan, Char|float|null $char, Char16T|float|null $char16T, Char32T|float|null $char32T, Checked|float|null $checked, UnionClassClass|float|null $topLevelClass, ClassClass|float|null $class, CloneClass|float|null $clone, CoAwait|float|null $coAwait, CoReturn|float|null $coReturn, CoYield|float|null $coYield, Codable|float|null $codable, CodingKey|float|null $codingKey, CodingKeys|float|null $codingKeys, Compl|float|null $compl, Concept|float|null $concept, Console|float|null $console, ConstClass|float|null $const, ConstCast|float|null $constCast, Constexpr|float|null $constexpr, Constructor|float|null $constructor, ContinueClass|float|null $continue, Convenience|float|null $convenience, Convert|float|null $convert, ConverterClass|float|null $converter, CultureInfo|float|null $cultureInfo, Date|float|null $date, DateParseHandling|float|null $dateParseHandling, DateFormatter|float|null $dateFormatter, DateOnly|float|null $dateOnly, DateOnlyConverter|float|null $dateOnlyConverter, DateTimeClass|float|null $dateTime, DateTimeStyles|float|null $dateTimeStyles, Debugger|float|null $debugger, Decimal|float|null $decimal, DeclareClass|float|null $declare, Decltype|float|null $decltype, DecodeString|float|null $decodeString, Decoder|float|null $decoder, DecodingError|float|null $decodingError, Def|float|null $def, DefaultClass|float|null $default, Defer|float|null $defer, Deinit|float|null $deinit, Del|float|null $del, Delegate|float|null $delegate, Delete|float|null $delete, Dict|float|null $dict, Dictionary|float|null $dictionary, DidSet|float|null $didSet, DoClass|float|null $do, Double|float|null $double, ?float $dummy, Dynamic|float|null $dynamic, DynamicCast|float|null $dynamicCast, Elif|float|null $elif, ElseClass|float|null $else, EncodeQuickType|float|null $encodeQuickType, Encoder|float|null $encoder, EnumClass|float|null $enum, EnumValues|float|null $enumValues, EqualityContract|float|null $equalityContract, Equatable|float|null $equatable, Event|float|null $event, Except|float|null $except, ExceptionClass|float|null $exception, Explicit|float|null $explicit, Export|float|null $export, Exposing|float|null $exposing, ExtendsClass|float|null $extends, Extension|float|null $extension, Extern|float|null $extern, Fallthrough|float|null $fallthrough, UnionFalseFalse|float|null $topLevelFalse, FalseClass|float|null $false, Fileprivate|float|null $fileprivate, FinalClass|float|null $final, FinallyClass|float|null $finally, Fixed|float|null $fixed, FloatClass|float|null $float, ForClass|float|null $for, ForeachClass|float|null $foreach, FormatException|float|null $formatException, Friend|float|null $friend, From|float|null $from, FromJSON|float|null $fromJSON, Func|float|null $func, FunctionClass|float|null $function, Get|float|null $get, GlobalClass|float|null $global, Go|float|null $go, GotoClass|float|null $goto, Guard|float|null $guard, Hashable|float|null $hashable, HashCode|float|null $hashCode, Hasher|float|null $hasher, HasOwnProperty|float|null $hasOwnProperty, ID|float|null $id, IfClass|float|null $if, Imp|float|null $imp, ImplementsClass|float|null $implements, Implicit|float|null $implicit, Import|float|null $import, In|float|null $in, Indirect|float|null $indirect, Infix|float|null $infix, Init|float|null $init, Inline|float|null $inline, Inout|float|null $inout, InstanceofClass|float|null $instanceof, IntClass|float|null $int, InterfaceClass|float|null $interface, Internal|float|null $internal, Is|float|null $is, ISODateTimeOffsetConverter|float|null $isoDateTimeOffsetConverter, IterableClass|float|null $iterable, Jdec|float|null $jdec, Jenc|float|null $jenc, Jpipe|float|null $jpipe, JSON|float|null $json, JSONConverter|float|null $jsonConverter, JSONSerializer|float|null $jsonSerializer, JSONToken|float|null $jsonToken, JSONWriter|float|null $jsonWriter, JSONAny|float|null $jsonAny, JSONCodingKey|float|null $jsonCodingKey, JSONDecoder|float|null $jsonDecoder, JSONEncoder|float|null $jsonEncoder, JSONExceptionClass|float|null $jsonException, JSONGenerator|float|null $jsonGenerator, JSONNode|float|null $jsonNode, JSONNull|float|null $jsonNull, JSONParser|float|null $jsonParser, JSONReader|float|null $jsonReader, JSONTokenType|float|null $jsonTokenType, Lambda|float|null $lambda, Lazy|float|null $lazy, Left|float|null $left, Let|float|null $let, ListClass|float|null $list, LocaleClass|float|null $locale, Lock|float|null $lock, Long|float|null $long, Map|float|null $map, MapEntry|float|null $mapEntry, MetadataPropertyHandling|float|null $metadataPropertyHandling, Module|float|null $module, Mutable|float|null $mutable, Mutating|float|null $mutating, NamespaceClass|float|null $namespace, Native|float|null $native, NewClass|float|null $new, Newtonsoft|float|null $newtonsoft, Nil|float|null $nil, No|float|null $no, Noexcept|float|null $noexcept, Nonatomic|float|null $nonatomic, NoneClass|float|null $topLevelNone, None|float|null $none, Nonlocal|float|null $nonlocal, Nonmutating|float|null $nonmutating, NoSuchMethod|float|null $noSuchMethod, Not|float|null $not, NotEq|float|null $notEq, NSError|float|null $nsError, NSObject|float|null $nsObject, NSString|float|null $nsString, NULLClass|float|null $null, UnionNullNull|float|null $topLevelNull, Nullptr|float|null $nullptr, Number|float|null $number, ObjectClass|float|null $object, ObjectMapper|float|null $objectMapper, Of|float|null $of, Oneway|float|null $oneway, Open|float|null $open, Operator|float|null $operator, Optional|float|null $optional, OrClass|float|null $or, OrEq|float|null $orEq, Out|float|null $out, OverrideClass|float|null $override, Package|float|null $package, Params|float|null $params, Pass|float|null $pass, Port|float|null $port, Postfix|float|null $postfix, Precedence|float|null $precedence, Prefix|float|null $prefix, PrintClass|float|null $print, Printf|float|null $printf, PrintMembers|float|null $printMembers, PrivateClass|float|null $private, ProtectedClass|float|null $protected, Protocol|float|null $protocol, ProtocolClass|float|null $topLevelProtocol, PublicClass|float|null $public, Quicktype|float|null $quicktype, Raise|float|null $raise, Range|float|null $range, ReadonlyClass|float|null $readonly, Ref|float|null $ref, RegExp|float|null $regExp, Register|float|null $register, ReinterpretCast|float|null $reinterpretCast, Repeat|float|null $repeat, RequireClass|float|null $require, Required|float|null $required, Requires|float|null $requires, Restrict|float|null $restrict, Retain|float|null $retain, Rethrows|float|null $rethrows, ReturnClass|float|null $return, Right|float|null $right, RuntimeType|float|null $runtimeType, S|float|null $s, Sbyte|float|null $sbyte, Sealed|float|null $sealed, Sel|float|null $sel, Select|float|null $select, SelfClass|float|null $self, UnionSelfSelf|float|null $topLevelSelf, Sendable|float|null $sendable, Serialize|float|null $serialize, SerializerProvider|float|null $serializerProvider, Set|float|null $set, Short|float|null $short, Signed|float|null $signed, SimpleModule|float|null $simpleModule, Sizeof|float|null $sizeof, Stackalloc|float|null $stackalloc, Standards|float|null $standards, StaticClass|float|null $static, StaticAssert|float|null $staticAssert, StaticCast|float|null $staticCast, StdDeserializer|float|null $stdDeserializer, StdSerializer|float|null $stdSerializer, Strictfp|float|null $strictfp, StringClass|float|null $string, Struct|float|null $struct, Subscript|float|null $subscript, Super|float|null $super, SwitchClass|float|null $switch, Symbol|float|null $symbol, Synchronized|float|null $synchronized, System|float|null $system, Template|float|null $template, Then|float|null $then, This|float|null $topLevelThis, ThreadLocal|float|null $threadLocal, ThrowClass|float|null $throw, Throws|float|null $throws, TimeOnly|float|null $timeOnly, TimeOnlyConverter|float|null $timeOnlyConverter, TimeZone|float|null $timeZone, ToJSON|float|null $toJSON, TopLevelClass|float|null $topLevel, ToString|float|null $toString, Transient|float|null $transient, TrueClass|float|null $true, UnionTrueTrue|float|null $topLevelTrue, TryClass|float|null $try, Type|float|null $type, TypeClass|float|null $topLevelType, Typealias|float|null $typealias, Typedef|float|null $typedef, Typeid|float|null $typeid, Typename|float|null $typename, Typeof|float|null $typeof, Uint|float|null $uint, Ulong|float|null $ulong, Unchecked|float|null $unchecked, Undefined|float|null $undefined, UnionClass|float|null $union, Unowned|float|null $unowned, Unsafe|float|null $unsafe, Unsigned|float|null $unsigned, Ushort|float|null $ushort, Using|float|null $using, Utf8JSONReader|float|null $utf8JSONReader, Utf8JSONWriter|float|null $utf8JSONWriter, UUID|float|null $uuid, VarClass|float|null $var, Virtual|float|null $virtual, VoidClass|float|null $void, Volatile|float|null $volatile, WcharT|float|null $wcharT, Weak|float|null $weak, Where|float|null $where, WhileClass|float|null $while, WillSet|float|null $willSet, With|float|null $with, XorClass|float|null $xor, XorEq|float|null $xorEq, Yes|float|null $yes, YieldClass|float|null $yield) {
684+ public function __construct(Union|float|null $empty, UnionBoolBool|float|null $topLevelBool, Complex|float|null $complex, Imaginery|float|null $imaginery, AbstractClass|float|null $abstract, Alignas|float|null $alignas, Alignof|float|null $alignof, AndClass|float|null $and, AndEq|float|null $andEq, AnyClass|float|null $topLevelAny, Any|float|null $any, ArrayClass|float|null $array, AsClass|float|null $as, ASM|float|null $asm, Assert|float|null $assert, Associatedtype|float|null $associatedtype, Associativity|float|null $associativity, Async|float|null $async, Atomic|float|null $atomic, AtomicCancel|float|null $atomicCancel, AtomicCommit|float|null $atomicCommit, AtomicNoexcept|float|null $atomicNoexcept, Auto|float|null $auto, Await|float|null $await, Base|float|null $base, Bitand|float|null $bitand, Bitor|float|null $bitor, BOOLClass|float|null $bool, UnionBoolBoolClass|float|null $purpleBool, Boolean|float|null $boolean, BreakClass|float|null $break, Bycopy|float|null $bycopy, Byref|float|null $byref, Byte|float|null $byte, Calendar|float|null $calendar, CaseClass|float|null $case, CatchClass|float|null $catch, Chan|float|null $chan, Char|float|null $char, Char16T|float|null $char16T, Char32T|float|null $char32T, Checked|float|null $checked, UnionClassClass|float|null $topLevelClass, ClassClass|float|null $class, CloneClass|float|null $clone, CoAwait|float|null $coAwait, CoReturn|float|null $coReturn, CoYield|float|null $coYield, Codable|float|null $codable, CodingKey|float|null $codingKey, CodingKeys|float|null $codingKeys, Compl|float|null $compl, Concept|float|null $concept, Console|float|null $console, ConstClass|float|null $const, ConstCast|float|null $constCast, Constexpr|float|null $constexpr, Constructor|float|null $constructor, ContinueClass|float|null $continue, Convenience|float|null $convenience, Convert|float|null $convert, ConverterClass|float|null $converter, CultureInfo|float|null $cultureInfo, Date|float|null $date, DateParseHandling|float|null $dateParseHandling, DateFormatter|float|null $dateFormatter, DateOnly|float|null $dateOnly, DateOnlyConverter|float|null $dateOnlyConverter, DateTimeClass|float|null $dateTime, DateTimeStyles|float|null $dateTimeStyles, Debugger|float|null $debugger, Decimal|float|null $decimal, DeclareClass|float|null $declare, Decltype|float|null $decltype, DecodeString|float|null $decodeString, Decoder|float|null $decoder, DecodingError|float|null $decodingError, Def|float|null $def, DefaultClass|float|null $default, Defer|float|null $defer, Deinit|float|null $deinit, Del|float|null $del, Delegate|float|null $delegate, Delete|float|null $delete, DeserializationFeature|float|null $deserializationFeature, Dict|float|null $dict, Dictionary|float|null $dictionary, DidSet|float|null $didSet, DoClass|float|null $do, Double|float|null $double, ?float $dummy, Dynamic|float|null $dynamic, DynamicCast|float|null $dynamicCast, Elif|float|null $elif, ElseClass|float|null $else, EncodeQuickType|float|null $encodeQuickType, Encoder|float|null $encoder, EnumClass|float|null $enum, EnumValues|float|null $enumValues, EqualityContract|float|null $equalityContract, Equatable|float|null $equatable, Event|float|null $event, Except|float|null $except, ExceptionClass|float|null $exception, Explicit|float|null $explicit, Export|float|null $export, Exposing|float|null $exposing, ExtendsClass|float|null $extends, Extension|float|null $extension, Extern|float|null $extern, Fallthrough|float|null $fallthrough, UnionFalseFalse|float|null $topLevelFalse, FalseClass|float|null $false, Fileprivate|float|null $fileprivate, FinalClass|float|null $final, FinallyClass|float|null $finally, Fixed|float|null $fixed, FloatClass|float|null $float, ForClass|float|null $for, ForeachClass|float|null $foreach, FormatException|float|null $formatException, Friend|float|null $friend, From|float|null $from, FromJSON|float|null $fromJSON, Func|float|null $func, FunctionClass|float|null $function, Get|float|null $get, GlobalClass|float|null $global, Go|float|null $go, GotoClass|float|null $goto, Guard|float|null $guard, Hashable|float|null $hashable, HashCode|float|null $hashCode, Hasher|float|null $hasher, HasOwnProperty|float|null $hasOwnProperty, ID|float|null $id, IfClass|float|null $if, Imp|float|null $imp, ImplementsClass|float|null $implements, Implicit|float|null $implicit, Import|float|null $import, In|float|null $in, Indirect|float|null $indirect, Infix|float|null $infix, Init|float|null $init, Inline|float|null $inline, Inout|float|null $inout, InstanceofClass|float|null $instanceof, IntClass|float|null $int, InterfaceClass|float|null $interface, Internal|float|null $internal, Is|float|null $is, ISODateTimeOffsetConverter|float|null $isoDateTimeOffsetConverter, IterableClass|float|null $iterable, Jdec|float|null $jdec, Jenc|float|null $jenc, Jpipe|float|null $jpipe, JSON|float|null $json, JSONConverter|float|null $jsonConverter, JSONSerializer|float|null $jsonSerializer, JSONToken|float|null $jsonToken, JSONWriter|float|null $jsonWriter, JSONAny|float|null $jsonAny, JSONCodingKey|float|null $jsonCodingKey, JSONDecoder|float|null $jsonDecoder, JSONEncoder|float|null $jsonEncoder, JSONExceptionClass|float|null $jsonException, JSONGenerator|float|null $jsonGenerator, JSONNode|float|null $jsonNode, JSONNull|float|null $jsonNull, JSONParser|float|null $jsonParser, JSONReader|float|null $jsonReader, JSONTokenType|float|null $jsonTokenType, Lambda|float|null $lambda, Lazy|float|null $lazy, Left|float|null $left, Let|float|null $let, ListClass|float|null $list, LocaleClass|float|null $locale, Lock|float|null $lock, Long|float|null $long, Map|float|null $map, MapEntry|float|null $mapEntry, MetadataPropertyHandling|float|null $metadataPropertyHandling, Module|float|null $module, Mutable|float|null $mutable, Mutating|float|null $mutating, NamespaceClass|float|null $namespace, Native|float|null $native, NewClass|float|null $new, Newtonsoft|float|null $newtonsoft, Nil|float|null $nil, No|float|null $no, Noexcept|float|null $noexcept, Nonatomic|float|null $nonatomic, NoneClass|float|null $topLevelNone, None|float|null $none, Nonlocal|float|null $nonlocal, Nonmutating|float|null $nonmutating, NoSuchMethod|float|null $noSuchMethod, Not|float|null $not, NotEq|float|null $notEq, NSError|float|null $nsError, NSObject|float|null $nsObject, NSString|float|null $nsString, NULLClass|float|null $null, UnionNullNull|float|null $topLevelNull, Nullptr|float|null $nullptr, Number|float|null $number, ObjectClass|float|null $object, ObjectMapper|float|null $objectMapper, ObjectReader|float|null $objectReader, ObjectWriter|float|null $objectWriter, Of|float|null $of, Oneway|float|null $oneway, Open|float|null $open, Operator|float|null $operator, Optional|float|null $optional, OrClass|float|null $or, OrEq|float|null $orEq, Out|float|null $out, OverrideClass|float|null $override, Package|float|null $package, Params|float|null $params, Pass|float|null $pass, Port|float|null $port, Postfix|float|null $postfix, Precedence|float|null $precedence, Prefix|float|null $prefix, PrintClass|float|null $print, Printf|float|null $printf, PrintMembers|float|null $printMembers, PrivateClass|float|null $private, ProtectedClass|float|null $protected, Protocol|float|null $protocol, ProtocolClass|float|null $topLevelProtocol, PublicClass|float|null $public, Quicktype|float|null $quicktype, Raise|float|null $raise, Range|float|null $range, ReadonlyClass|float|null $readonly, Ref|float|null $ref, RegExp|float|null $regExp, Register|float|null $register, ReinterpretCast|float|null $reinterpretCast, Repeat|float|null $repeat, RequireClass|float|null $require, Required|float|null $required, Requires|float|null $requires, Restrict|float|null $restrict, Retain|float|null $retain, Rethrows|float|null $rethrows, ReturnClass|float|null $return, Right|float|null $right, RuntimeType|float|null $runtimeType, S|float|null $s, Sbyte|float|null $sbyte, Sealed|float|null $sealed, Sel|float|null $sel, Select|float|null $select, SelfClass|float|null $self, UnionSelfSelf|float|null $topLevelSelf, Sendable|float|null $sendable, SerializationFeature|float|null $serializationFeature, Serialize|float|null $serialize, SerializerProvider|float|null $serializerProvider, Set|float|null $set, Short|float|null $short, Signed|float|null $signed, SimpleModule|float|null $simpleModule, Sizeof|float|null $sizeof, Stackalloc|float|null $stackalloc, Standards|float|null $standards, StaticClass|float|null $static, StaticAssert|float|null $staticAssert, StaticCast|float|null $staticCast, StdDeserializer|float|null $stdDeserializer, StdSerializer|float|null $stdSerializer, Strictfp|float|null $strictfp, StringClass|float|null $string, Struct|float|null $struct, Subscript|float|null $subscript, Super|float|null $super, SwitchClass|float|null $switch, Symbol|float|null $symbol, Synchronized|float|null $synchronized, System|float|null $system, Template|float|null $template, Then|float|null $then, This|float|null $topLevelThis, ThreadLocal|float|null $threadLocal, ThrowClass|float|null $throw, Throws|float|null $throws, TimeOnly|float|null $timeOnly, TimeOnlyConverter|float|null $timeOnlyConverter, TimeZone|float|null $timeZone, ToJSON|float|null $toJSON, TopLevelClass|float|null $topLevel, ToString|float|null $toString, Transient|float|null $transient, TrueClass|float|null $true, UnionTrueTrue|float|null $topLevelTrue, TryClass|float|null $try, Type|float|null $type, TypeClass|float|null $topLevelType, Typealias|float|null $typealias, Typedef|float|null $typedef, Typeid|float|null $typeid, Typename|float|null $typename, Typeof|float|null $typeof, Uint|float|null $uint, Ulong|float|null $ulong, Unchecked|float|null $unchecked, Undefined|float|null $undefined, UnionClass|float|null $union, Unowned|float|null $unowned, Unsafe|float|null $unsafe, Unsigned|float|null $unsigned, Ushort|float|null $ushort, Using|float|null $using, Utf8JSONReader|float|null $utf8JSONReader, Utf8JSONWriter|float|null $utf8JSONWriter, UUID|float|null $uuid, VarClass|float|null $var, Virtual|float|null $virtual, VoidClass|float|null $void, Volatile|float|null $volatile, WcharT|float|null $wcharT, Weak|float|null $weak, Where|float|null $where, WhileClass|float|null $while, WillSet|float|null $willSet, With|float|null $with, XorClass|float|null $xor, XorEq|float|null $xorEq, Yes|float|null $yes, YieldClass|float|null $yield) {
677685 $this->empty = $empty;
678686 $this->topLevelBool = $topLevelBool;
679687 $this->complex = $complex;
@@ -758,6 +766,7 @@ class TopLevel {
758766 $this->del = $del;
759767 $this->delegate = $delegate;
760768 $this->delete = $delete;
769+ $this->deserializationFeature = $deserializationFeature;
761770 $this->dict = $dict;
762771 $this->dictionary = $dictionary;
763772 $this->didSet = $didSet;
@@ -884,6 +893,8 @@ class TopLevel {
884893 $this->number = $number;
885894 $this->object = $object;
886895 $this->objectMapper = $objectMapper;
896+ $this->objectReader = $objectReader;
897+ $this->objectWriter = $objectWriter;
887898 $this->of = $of;
888899 $this->oneway = $oneway;
889900 $this->open = $open;
@@ -934,6 +945,7 @@ class TopLevel {
934945 $this->self = $self;
935946 $this->topLevelSelf = $topLevelSelf;
936947 $this->sendable = $sendable;
948+ $this->serializationFeature = $serializationFeature;
937949 $this->serialize = $serialize;
938950 $this->serializerProvider = $serializerProvider;
939951 $this->set = $set;
@@ -7393,6 +7405,82 @@ class TopLevel {
73937405 return Delete::sample(); /*114:delete*/
73947406 }
73957407
7408+ /**
7409+ * @param stdClass|float|null $value
7410+ * @throws Exception
7411+ * @return DeserializationFeature|float|null
7412+ */
7413+ public static function fromDeserializationFeature(stdClass|float|null $value): DeserializationFeature|float|null {
7414+ if (is_null($value)) {
7415+ return $value; /*null*/
7416+ } elseif (is_object($value)) {
7417+ return DeserializationFeature::from($value); /*class*/
7418+ } elseif (is_float($value) || is_int($value)) {
7419+ return $value; /*float*/
7420+ } else {
7421+ throw new Exception('Cannot deserialize union value in TopLevel');
7422+ }
7423+ }
7424+
7425+ /**
7426+ * @throws Exception
7427+ * @return stdClass|float|null
7428+ */
7429+ public function toDeserializationFeature(): stdClass|float|null {
7430+ if (TopLevel::validateDeserializationFeature($this->deserializationFeature)) {
7431+ if (is_null($this->deserializationFeature)) {
7432+ return $this->deserializationFeature; /*null*/
7433+ } elseif ($this->deserializationFeature instanceof DeserializationFeature) {
7434+ return $this->deserializationFeature->to(); /*class*/
7435+ } elseif (is_float($this->deserializationFeature) || is_int($this->deserializationFeature)) {
7436+ return $this->deserializationFeature; /*float*/
7437+ } else {
7438+ throw new Exception('Union value has no matching member in TopLevel');
7439+ }
7440+ }
7441+ throw new Exception('never get to this TopLevel::deserializationFeature');
7442+ }
7443+
7444+ /**
7445+ * @param DeserializationFeature|float|null
7446+ * @return bool
7447+ * @throws Exception
7448+ */
7449+ public static function validateDeserializationFeature(DeserializationFeature|float|null $value): bool {
7450+ if (is_null($value)) {
7451+ if (!is_null($value)) {
7452+ throw new Exception("Attribute Error:TopLevel::deserializationFeature");
7453+ }
7454+ } elseif ($value instanceof DeserializationFeature) {
7455+ $value->validate();
7456+ } elseif (is_float($value) || is_int($value)) {
7457+ if (!is_float($value) && !is_int($value)) {
7458+ throw new Exception("Attribute Error:TopLevel::deserializationFeature");
7459+ }
7460+ } else {
7461+ throw new Exception("Attribute Error:TopLevel::deserializationFeature");
7462+ }
7463+ return true;
7464+ }
7465+
7466+ /**
7467+ * @throws Exception
7468+ * @return DeserializationFeature|float|null
7469+ */
7470+ public function getDeserializationFeature(): DeserializationFeature|float|null {
7471+ if (TopLevel::validateDeserializationFeature($this->deserializationFeature)) {
7472+ return $this->deserializationFeature;
7473+ }
7474+ throw new Exception('never get to getDeserializationFeature TopLevel::deserializationFeature');
7475+ }
7476+
7477+ /**
7478+ * @return DeserializationFeature|float|null
7479+ */
7480+ public static function sampleDeserializationFeature(): DeserializationFeature|float|null {
7481+ return DeserializationFeature::sample(); /*115:deserializationFeature*/
7482+ }
7483+
73967484 /**
73977485 * @param stdClass|float|null $value
73987486 * @throws Exception
@@ -7466,7 +7554,7 @@ class TopLevel {
74667554 * @return Dict|float|null
74677555 */
74687556 public static function sampleDict(): Dict|float|null {
7469- return Dict::sample(); /*115:dict*/
7557+ return Dict::sample(); /*116:dict*/
74707558 }
74717559
74727560 /**
@@ -7542,7 +7630,7 @@ class TopLevel {
75427630 * @return Dictionary|float|null
75437631 */
75447632 public static function sampleDictionary(): Dictionary|float|null {
7545- return Dictionary::sample(); /*116:dictionary*/
7633+ return Dictionary::sample(); /*117:dictionary*/
75467634 }
75477635
75487636 /**
@@ -7618,7 +7706,7 @@ class TopLevel {
76187706 * @return DidSet|float|null
76197707 */
76207708 public static function sampleDidSet(): DidSet|float|null {
7621- return DidSet::sample(); /*117:didSet*/
7709+ return DidSet::sample(); /*118:didSet*/
76227710 }
76237711
76247712 /**
@@ -7694,7 +7782,7 @@ class TopLevel {
76947782 * @return DoClass|float|null
76957783 */
76967784 public static function sampleDo(): DoClass|float|null {
7697- return DoClass::sample(); /*118:do*/
7785+ return DoClass::sample(); /*119:do*/
76987786 }
76997787
77007788 /**
@@ -7770,7 +7858,7 @@ class TopLevel {
77707858 * @return Double|float|null
77717859 */
77727860 public static function sampleDouble(): Double|float|null {
7773- return Double::sample(); /*119:double*/
7861+ return Double::sample(); /*120:double*/
77747862 }
77757863
77767864 /**
@@ -7827,7 +7915,7 @@ class TopLevel {
78277915 * @return ?float
78287916 */
78297917 public static function sampleDummy(): ?float {
7830- return 120.12; /*120:dummy*/
7918+ return 121.121; /*121:dummy*/
78317919 }
78327920
78337921 /**
@@ -7903,7 +7991,7 @@ class TopLevel {
79037991 * @return Dynamic|float|null
79047992 */
79057993 public static function sampleDynamic(): Dynamic|float|null {
7906- return Dynamic::sample(); /*121:dynamic*/
7994+ return Dynamic::sample(); /*122:dynamic*/
79077995 }
79087996
79097997 /**
@@ -7979,7 +8067,7 @@ class TopLevel {
79798067 * @return DynamicCast|float|null
79808068 */
79818069 public static function sampleDynamicCast(): DynamicCast|float|null {
7982- return DynamicCast::sample(); /*122:dynamicCast*/
8070+ return DynamicCast::sample(); /*123:dynamicCast*/
79838071 }
79848072
79858073 /**
@@ -8055,7 +8143,7 @@ class TopLevel {
80558143 * @return Elif|float|null
80568144 */
80578145 public static function sampleElif(): Elif|float|null {
8058- return Elif::sample(); /*123:elif*/
8146+ return Elif::sample(); /*124:elif*/
80598147 }
80608148
80618149 /**
@@ -8131,7 +8219,7 @@ class TopLevel {
81318219 * @return ElseClass|float|null
81328220 */
81338221 public static function sampleElse(): ElseClass|float|null {
8134- return ElseClass::sample(); /*124:else*/
8222+ return ElseClass::sample(); /*125:else*/
81358223 }
81368224
81378225 /**
@@ -8207,7 +8295,7 @@ class TopLevel {
82078295 * @return EncodeQuickType|float|null
82088296 */
82098297 public static function sampleEncodeQuickType(): EncodeQuickType|float|null {
8210- return EncodeQuickType::sample(); /*125:encodeQuickType*/
8298+ return EncodeQuickType::sample(); /*126:encodeQuickType*/
82118299 }
82128300
82138301 /**
@@ -8283,7 +8371,7 @@ class TopLevel {
82838371 * @return Encoder|float|null
82848372 */
82858373 public static function sampleEncoder(): Encoder|float|null {
8286- return Encoder::sample(); /*126:encoder*/
8374+ return Encoder::sample(); /*127:encoder*/
82878375 }
82888376
82898377 /**
@@ -8359,7 +8447,7 @@ class TopLevel {
83598447 * @return EnumClass|float|null
83608448 */
83618449 public static function sampleEnum(): EnumClass|float|null {
8362- return EnumClass::sample(); /*127:enum*/
8450+ return EnumClass::sample(); /*128:enum*/
83638451 }
83648452
83658453 /**
@@ -8435,7 +8523,7 @@ class TopLevel {
84358523 * @return EnumValues|float|null
84368524 */
84378525 public static function sampleEnumValues(): EnumValues|float|null {
8438- return EnumValues::sample(); /*128:enumValues*/
8526+ return EnumValues::sample(); /*129:enumValues*/
84398527 }
84408528
84418529 /**
@@ -8511,7 +8599,7 @@ class TopLevel {
85118599 * @return EqualityContract|float|null
85128600 */
85138601 public static function sampleEqualityContract(): EqualityContract|float|null {
8514- return EqualityContract::sample(); /*129:equalityContract*/
8602+ return EqualityContract::sample(); /*130:equalityContract*/
85158603 }
85168604
85178605 /**
@@ -8587,7 +8675,7 @@ class TopLevel {
85878675 * @return Equatable|float|null
85888676 */
85898677 public static function sampleEquatable(): Equatable|float|null {
8590- return Equatable::sample(); /*130:equatable*/
8678+ return Equatable::sample(); /*131:equatable*/
85918679 }
85928680
85938681 /**
@@ -8663,7 +8751,7 @@ class TopLevel {
86638751 * @return Event|float|null
86648752 */
86658753 public static function sampleEvent(): Event|float|null {
8666- return Event::sample(); /*131:event*/
8754+ return Event::sample(); /*132:event*/
86678755 }
86688756
86698757 /**
@@ -8739,7 +8827,7 @@ class TopLevel {
87398827 * @return Except|float|null
87408828 */
87418829 public static function sampleExcept(): Except|float|null {
8742- return Except::sample(); /*132:except*/
8830+ return Except::sample(); /*133:except*/
87438831 }
87448832
87458833 /**
@@ -8815,7 +8903,7 @@ class TopLevel {
88158903 * @return ExceptionClass|float|null
88168904 */
88178905 public static function sampleException(): ExceptionClass|float|null {
8818- return ExceptionClass::sample(); /*133:exception*/
8906+ return ExceptionClass::sample(); /*134:exception*/
88198907 }
88208908
88218909 /**
@@ -8891,7 +8979,7 @@ class TopLevel {
88918979 * @return Explicit|float|null
88928980 */
88938981 public static function sampleExplicit(): Explicit|float|null {
8894- return Explicit::sample(); /*134:explicit*/
8982+ return Explicit::sample(); /*135:explicit*/
88958983 }
88968984
88978985 /**
@@ -8967,7 +9055,7 @@ class TopLevel {
89679055 * @return Export|float|null
89689056 */
89699057 public static function sampleExport(): Export|float|null {
8970- return Export::sample(); /*135:export*/
9058+ return Export::sample(); /*136:export*/
89719059 }
89729060
89739061 /**
@@ -9043,7 +9131,7 @@ class TopLevel {
90439131 * @return Exposing|float|null
90449132 */
90459133 public static function sampleExposing(): Exposing|float|null {
9046- return Exposing::sample(); /*136:exposing*/
9134+ return Exposing::sample(); /*137:exposing*/
90479135 }
90489136
90499137 /**
@@ -9119,7 +9207,7 @@ class TopLevel {
91199207 * @return ExtendsClass|float|null
91209208 */
91219209 public static function sampleExtends(): ExtendsClass|float|null {
9122- return ExtendsClass::sample(); /*137:extends*/
9210+ return ExtendsClass::sample(); /*138:extends*/
91239211 }
91249212
91259213 /**
@@ -9195,7 +9283,7 @@ class TopLevel {
91959283 * @return Extension|float|null
91969284 */
91979285 public static function sampleExtension(): Extension|float|null {
9198- return Extension::sample(); /*138:extension*/
9286+ return Extension::sample(); /*139:extension*/
91999287 }
92009288
92019289 /**
@@ -9271,7 +9359,7 @@ class TopLevel {
92719359 * @return Extern|float|null
92729360 */
92739361 public static function sampleExtern(): Extern|float|null {
9274- return Extern::sample(); /*139:extern*/
9362+ return Extern::sample(); /*140:extern*/
92759363 }
92769364
92779365 /**
@@ -9347,7 +9435,7 @@ class TopLevel {
93479435 * @return Fallthrough|float|null
93489436 */
93499437 public static function sampleFallthrough(): Fallthrough|float|null {
9350- return Fallthrough::sample(); /*140:fallthrough*/
9438+ return Fallthrough::sample(); /*141:fallthrough*/
93519439 }
93529440
93539441 /**
@@ -9423,7 +9511,7 @@ class TopLevel {
94239511 * @return UnionFalseFalse|float|null
94249512 */
94259513 public static function sampleTopLevelFalse(): UnionFalseFalse|float|null {
9426- return UnionFalseFalse::sample(); /*141:topLevelFalse*/
9514+ return UnionFalseFalse::sample(); /*142:topLevelFalse*/
94279515 }
94289516
94299517 /**
@@ -9499,7 +9587,7 @@ class TopLevel {
94999587 * @return FalseClass|float|null
95009588 */
95019589 public static function sampleFalse(): FalseClass|float|null {
9502- return FalseClass::sample(); /*142:false*/
9590+ return FalseClass::sample(); /*143:false*/
95039591 }
95049592
95059593 /**
@@ -9575,7 +9663,7 @@ class TopLevel {
95759663 * @return Fileprivate|float|null
95769664 */
95779665 public static function sampleFileprivate(): Fileprivate|float|null {
9578- return Fileprivate::sample(); /*143:fileprivate*/
9666+ return Fileprivate::sample(); /*144:fileprivate*/
95799667 }
95809668
95819669 /**
@@ -9651,7 +9739,7 @@ class TopLevel {
96519739 * @return FinalClass|float|null
96529740 */
96539741 public static function sampleFinal(): FinalClass|float|null {
9654- return FinalClass::sample(); /*144:final*/
9742+ return FinalClass::sample(); /*145:final*/
96559743 }
96569744
96579745 /**
@@ -9727,7 +9815,7 @@ class TopLevel {
97279815 * @return FinallyClass|float|null
97289816 */
97299817 public static function sampleFinally(): FinallyClass|float|null {
9730- return FinallyClass::sample(); /*145:finally*/
9818+ return FinallyClass::sample(); /*146:finally*/
97319819 }
97329820
97339821 /**
@@ -9803,7 +9891,7 @@ class TopLevel {
98039891 * @return Fixed|float|null
98049892 */
98059893 public static function sampleFixed(): Fixed|float|null {
9806- return Fixed::sample(); /*146:fixed*/
9894+ return Fixed::sample(); /*147:fixed*/
98079895 }
98089896
98099897 /**
@@ -9879,7 +9967,7 @@ class TopLevel {
98799967 * @return FloatClass|float|null
98809968 */
98819969 public static function sampleFloat(): FloatClass|float|null {
9882- return FloatClass::sample(); /*147:float*/
9970+ return FloatClass::sample(); /*148:float*/
98839971 }
98849972
98859973 /**
@@ -9955,7 +10043,7 @@ class TopLevel {
995510043 * @return ForClass|float|null
995610044 */
995710045 public static function sampleFor(): ForClass|float|null {
9958- return ForClass::sample(); /*148:for*/
10046+ return ForClass::sample(); /*149:for*/
995910047 }
996010048
996110049 /**
@@ -10031,7 +10119,7 @@ class TopLevel {
1003110119 * @return ForeachClass|float|null
1003210120 */
1003310121 public static function sampleForeach(): ForeachClass|float|null {
10034- return ForeachClass::sample(); /*149:foreach*/
10122+ return ForeachClass::sample(); /*150:foreach*/
1003510123 }
1003610124
1003710125 /**
@@ -10107,7 +10195,7 @@ class TopLevel {
1010710195 * @return FormatException|float|null
1010810196 */
1010910197 public static function sampleFormatException(): FormatException|float|null {
10110- return FormatException::sample(); /*150:formatException*/
10198+ return FormatException::sample(); /*151:formatException*/
1011110199 }
1011210200
1011310201 /**
@@ -10183,7 +10271,7 @@ class TopLevel {
1018310271 * @return Friend|float|null
1018410272 */
1018510273 public static function sampleFriend(): Friend|float|null {
10186- return Friend::sample(); /*151:friend*/
10274+ return Friend::sample(); /*152:friend*/
1018710275 }
1018810276
1018910277 /**
@@ -10259,7 +10347,7 @@ class TopLevel {
1025910347 * @return From|float|null
1026010348 */
1026110349 public static function sampleFrom(): From|float|null {
10262- return From::sample(); /*152:from*/
10350+ return From::sample(); /*153:from*/
1026310351 }
1026410352
1026510353 /**
@@ -10335,7 +10423,7 @@ class TopLevel {
1033510423 * @return FromJSON|float|null
1033610424 */
1033710425 public static function sampleFromJSON(): FromJSON|float|null {
10338- return FromJSON::sample(); /*153:fromJSON*/
10426+ return FromJSON::sample(); /*154:fromJSON*/
1033910427 }
1034010428
1034110429 /**
@@ -10411,7 +10499,7 @@ class TopLevel {
1041110499 * @return Func|float|null
1041210500 */
1041310501 public static function sampleFunc(): Func|float|null {
10414- return Func::sample(); /*154:func*/
10502+ return Func::sample(); /*155:func*/
1041510503 }
1041610504
1041710505 /**
@@ -10487,7 +10575,7 @@ class TopLevel {
1048710575 * @return FunctionClass|float|null
1048810576 */
1048910577 public static function sampleFunction(): FunctionClass|float|null {
10490- return FunctionClass::sample(); /*155:function*/
10578+ return FunctionClass::sample(); /*156:function*/
1049110579 }
1049210580
1049310581 /**
@@ -10563,7 +10651,7 @@ class TopLevel {
1056310651 * @return Get|float|null
1056410652 */
1056510653 public static function sampleGet(): Get|float|null {
10566- return Get::sample(); /*156:get*/
10654+ return Get::sample(); /*157:get*/
1056710655 }
1056810656
1056910657 /**
@@ -10639,7 +10727,7 @@ class TopLevel {
1063910727 * @return GlobalClass|float|null
1064010728 */
1064110729 public static function sampleGlobal(): GlobalClass|float|null {
10642- return GlobalClass::sample(); /*157:global*/
10730+ return GlobalClass::sample(); /*158:global*/
1064310731 }
1064410732
1064510733 /**
@@ -10715,7 +10803,7 @@ class TopLevel {
1071510803 * @return Go|float|null
1071610804 */
1071710805 public static function sampleGo(): Go|float|null {
10718- return Go::sample(); /*158:go*/
10806+ return Go::sample(); /*159:go*/
1071910807 }
1072010808
1072110809 /**
@@ -10791,7 +10879,7 @@ class TopLevel {
1079110879 * @return GotoClass|float|null
1079210880 */
1079310881 public static function sampleGoto(): GotoClass|float|null {
10794- return GotoClass::sample(); /*159:goto*/
10882+ return GotoClass::sample(); /*160:goto*/
1079510883 }
1079610884
1079710885 /**
@@ -10867,7 +10955,7 @@ class TopLevel {
1086710955 * @return Guard|float|null
1086810956 */
1086910957 public static function sampleGuard(): Guard|float|null {
10870- return Guard::sample(); /*160:guard*/
10958+ return Guard::sample(); /*161:guard*/
1087110959 }
1087210960
1087310961 /**
@@ -10943,7 +11031,7 @@ class TopLevel {
1094311031 * @return Hashable|float|null
1094411032 */
1094511033 public static function sampleHashable(): Hashable|float|null {
10946- return Hashable::sample(); /*161:hashable*/
11034+ return Hashable::sample(); /*162:hashable*/
1094711035 }
1094811036
1094911037 /**
@@ -11019,7 +11107,7 @@ class TopLevel {
1101911107 * @return HashCode|float|null
1102011108 */
1102111109 public static function sampleHashCode(): HashCode|float|null {
11022- return HashCode::sample(); /*162:hashCode*/
11110+ return HashCode::sample(); /*163:hashCode*/
1102311111 }
1102411112
1102511113 /**
@@ -11095,7 +11183,7 @@ class TopLevel {
1109511183 * @return Hasher|float|null
1109611184 */
1109711185 public static function sampleHasher(): Hasher|float|null {
11098- return Hasher::sample(); /*163:hasher*/
11186+ return Hasher::sample(); /*164:hasher*/
1109911187 }
1110011188
1110111189 /**
@@ -11171,7 +11259,7 @@ class TopLevel {
1117111259 * @return HasOwnProperty|float|null
1117211260 */
1117311261 public static function sampleHasOwnProperty(): HasOwnProperty|float|null {
11174- return HasOwnProperty::sample(); /*164:hasOwnProperty*/
11262+ return HasOwnProperty::sample(); /*165:hasOwnProperty*/
1117511263 }
1117611264
1117711265 /**
@@ -11247,7 +11335,7 @@ class TopLevel {
1124711335 * @return ID|float|null
1124811336 */
1124911337 public static function sampleID(): ID|float|null {
11250- return ID::sample(); /*165:id*/
11338+ return ID::sample(); /*166:id*/
1125111339 }
1125211340
1125311341 /**
@@ -11323,7 +11411,7 @@ class TopLevel {
1132311411 * @return IfClass|float|null
1132411412 */
1132511413 public static function sampleIf(): IfClass|float|null {
11326- return IfClass::sample(); /*166:if*/
11414+ return IfClass::sample(); /*167:if*/
1132711415 }
1132811416
1132911417 /**
@@ -11399,7 +11487,7 @@ class TopLevel {
1139911487 * @return Imp|float|null
1140011488 */
1140111489 public static function sampleImp(): Imp|float|null {
11402- return Imp::sample(); /*167:imp*/
11490+ return Imp::sample(); /*168:imp*/
1140311491 }
1140411492
1140511493 /**
@@ -11475,7 +11563,7 @@ class TopLevel {
1147511563 * @return ImplementsClass|float|null
1147611564 */
1147711565 public static function sampleImplements(): ImplementsClass|float|null {
11478- return ImplementsClass::sample(); /*168:implements*/
11566+ return ImplementsClass::sample(); /*169:implements*/
1147911567 }
1148011568
1148111569 /**
@@ -11551,7 +11639,7 @@ class TopLevel {
1155111639 * @return Implicit|float|null
1155211640 */
1155311641 public static function sampleImplicit(): Implicit|float|null {
11554- return Implicit::sample(); /*169:implicit*/
11642+ return Implicit::sample(); /*170:implicit*/
1155511643 }
1155611644
1155711645 /**
@@ -11627,7 +11715,7 @@ class TopLevel {
1162711715 * @return Import|float|null
1162811716 */
1162911717 public static function sampleImport(): Import|float|null {
11630- return Import::sample(); /*170:import*/
11718+ return Import::sample(); /*171:import*/
1163111719 }
1163211720
1163311721 /**
@@ -11703,7 +11791,7 @@ class TopLevel {
1170311791 * @return In|float|null
1170411792 */
1170511793 public static function sampleIn(): In|float|null {
11706- return In::sample(); /*171:in*/
11794+ return In::sample(); /*172:in*/
1170711795 }
1170811796
1170911797 /**
@@ -11779,7 +11867,7 @@ class TopLevel {
1177911867 * @return Indirect|float|null
1178011868 */
1178111869 public static function sampleIndirect(): Indirect|float|null {
11782- return Indirect::sample(); /*172:indirect*/
11870+ return Indirect::sample(); /*173:indirect*/
1178311871 }
1178411872
1178511873 /**
@@ -11855,7 +11943,7 @@ class TopLevel {
1185511943 * @return Infix|float|null
1185611944 */
1185711945 public static function sampleInfix(): Infix|float|null {
11858- return Infix::sample(); /*173:infix*/
11946+ return Infix::sample(); /*174:infix*/
1185911947 }
1186011948
1186111949 /**
@@ -11931,7 +12019,7 @@ class TopLevel {
1193112019 * @return Init|float|null
1193212020 */
1193312021 public static function sampleInit(): Init|float|null {
11934- return Init::sample(); /*174:init*/
12022+ return Init::sample(); /*175:init*/
1193512023 }
1193612024
1193712025 /**
@@ -12007,7 +12095,7 @@ class TopLevel {
1200712095 * @return Inline|float|null
1200812096 */
1200912097 public static function sampleInline(): Inline|float|null {
12010- return Inline::sample(); /*175:inline*/
12098+ return Inline::sample(); /*176:inline*/
1201112099 }
1201212100
1201312101 /**
@@ -12083,7 +12171,7 @@ class TopLevel {
1208312171 * @return Inout|float|null
1208412172 */
1208512173 public static function sampleInout(): Inout|float|null {
12086- return Inout::sample(); /*176:inout*/
12174+ return Inout::sample(); /*177:inout*/
1208712175 }
1208812176
1208912177 /**
@@ -12159,7 +12247,7 @@ class TopLevel {
1215912247 * @return InstanceofClass|float|null
1216012248 */
1216112249 public static function sampleInstanceof(): InstanceofClass|float|null {
12162- return InstanceofClass::sample(); /*177:instanceof*/
12250+ return InstanceofClass::sample(); /*178:instanceof*/
1216312251 }
1216412252
1216512253 /**
@@ -12235,7 +12323,7 @@ class TopLevel {
1223512323 * @return IntClass|float|null
1223612324 */
1223712325 public static function sampleInt(): IntClass|float|null {
12238- return IntClass::sample(); /*178:int*/
12326+ return IntClass::sample(); /*179:int*/
1223912327 }
1224012328
1224112329 /**
@@ -12311,7 +12399,7 @@ class TopLevel {
1231112399 * @return InterfaceClass|float|null
1231212400 */
1231312401 public static function sampleInterface(): InterfaceClass|float|null {
12314- return InterfaceClass::sample(); /*179:interface*/
12402+ return InterfaceClass::sample(); /*180:interface*/
1231512403 }
1231612404
1231712405 /**
@@ -12387,7 +12475,7 @@ class TopLevel {
1238712475 * @return Internal|float|null
1238812476 */
1238912477 public static function sampleInternal(): Internal|float|null {
12390- return Internal::sample(); /*180:internal*/
12478+ return Internal::sample(); /*181:internal*/
1239112479 }
1239212480
1239312481 /**
@@ -12463,7 +12551,7 @@ class TopLevel {
1246312551 * @return Is|float|null
1246412552 */
1246512553 public static function sampleIs(): Is|float|null {
12466- return Is::sample(); /*181:is*/
12554+ return Is::sample(); /*182:is*/
1246712555 }
1246812556
1246912557 /**
@@ -12539,7 +12627,7 @@ class TopLevel {
1253912627 * @return ISODateTimeOffsetConverter|float|null
1254012628 */
1254112629 public static function sampleISODateTimeOffsetConverter(): ISODateTimeOffsetConverter|float|null {
12542- return ISODateTimeOffsetConverter::sample(); /*182:isoDateTimeOffsetConverter*/
12630+ return ISODateTimeOffsetConverter::sample(); /*183:isoDateTimeOffsetConverter*/
1254312631 }
1254412632
1254512633 /**
@@ -12615,7 +12703,7 @@ class TopLevel {
1261512703 * @return IterableClass|float|null
1261612704 */
1261712705 public static function sampleIterable(): IterableClass|float|null {
12618- return IterableClass::sample(); /*183:iterable*/
12706+ return IterableClass::sample(); /*184:iterable*/
1261912707 }
1262012708
1262112709 /**
@@ -12691,7 +12779,7 @@ class TopLevel {
1269112779 * @return Jdec|float|null
1269212780 */
1269312781 public static function sampleJdec(): Jdec|float|null {
12694- return Jdec::sample(); /*184:jdec*/
12782+ return Jdec::sample(); /*185:jdec*/
1269512783 }
1269612784
1269712785 /**
@@ -12767,7 +12855,7 @@ class TopLevel {
1276712855 * @return Jenc|float|null
1276812856 */
1276912857 public static function sampleJenc(): Jenc|float|null {
12770- return Jenc::sample(); /*185:jenc*/
12858+ return Jenc::sample(); /*186:jenc*/
1277112859 }
1277212860
1277312861 /**
@@ -12843,7 +12931,7 @@ class TopLevel {
1284312931 * @return Jpipe|float|null
1284412932 */
1284512933 public static function sampleJpipe(): Jpipe|float|null {
12846- return Jpipe::sample(); /*186:jpipe*/
12934+ return Jpipe::sample(); /*187:jpipe*/
1284712935 }
1284812936
1284912937 /**
@@ -12919,7 +13007,7 @@ class TopLevel {
1291913007 * @return JSON|float|null
1292013008 */
1292113009 public static function sampleJSON(): JSON|float|null {
12922- return JSON::sample(); /*187:json*/
13010+ return JSON::sample(); /*188:json*/
1292313011 }
1292413012
1292513013 /**
@@ -12995,7 +13083,7 @@ class TopLevel {
1299513083 * @return JSONConverter|float|null
1299613084 */
1299713085 public static function sampleJSONConverter(): JSONConverter|float|null {
12998- return JSONConverter::sample(); /*188:jsonConverter*/
13086+ return JSONConverter::sample(); /*189:jsonConverter*/
1299913087 }
1300013088
1300113089 /**
@@ -13071,7 +13159,7 @@ class TopLevel {
1307113159 * @return JSONSerializer|float|null
1307213160 */
1307313161 public static function sampleJSONSerializer(): JSONSerializer|float|null {
13074- return JSONSerializer::sample(); /*189:jsonSerializer*/
13162+ return JSONSerializer::sample(); /*190:jsonSerializer*/
1307513163 }
1307613164
1307713165 /**
@@ -13147,7 +13235,7 @@ class TopLevel {
1314713235 * @return JSONToken|float|null
1314813236 */
1314913237 public static function sampleJSONToken(): JSONToken|float|null {
13150- return JSONToken::sample(); /*190:jsonToken*/
13238+ return JSONToken::sample(); /*191:jsonToken*/
1315113239 }
1315213240
1315313241 /**
@@ -13223,7 +13311,7 @@ class TopLevel {
1322313311 * @return JSONWriter|float|null
1322413312 */
1322513313 public static function sampleJSONWriter(): JSONWriter|float|null {
13226- return JSONWriter::sample(); /*191:jsonWriter*/
13314+ return JSONWriter::sample(); /*192:jsonWriter*/
1322713315 }
1322813316
1322913317 /**
@@ -13299,7 +13387,7 @@ class TopLevel {
1329913387 * @return JSONAny|float|null
1330013388 */
1330113389 public static function sampleJSONAny(): JSONAny|float|null {
13302- return JSONAny::sample(); /*192:jsonAny*/
13390+ return JSONAny::sample(); /*193:jsonAny*/
1330313391 }
1330413392
1330513393 /**
@@ -13375,7 +13463,7 @@ class TopLevel {
1337513463 * @return JSONCodingKey|float|null
1337613464 */
1337713465 public static function sampleJSONCodingKey(): JSONCodingKey|float|null {
13378- return JSONCodingKey::sample(); /*193:jsonCodingKey*/
13466+ return JSONCodingKey::sample(); /*194:jsonCodingKey*/
1337913467 }
1338013468
1338113469 /**
@@ -13451,7 +13539,7 @@ class TopLevel {
1345113539 * @return JSONDecoder|float|null
1345213540 */
1345313541 public static function sampleJSONDecoder(): JSONDecoder|float|null {
13454- return JSONDecoder::sample(); /*194:jsonDecoder*/
13542+ return JSONDecoder::sample(); /*195:jsonDecoder*/
1345513543 }
1345613544
1345713545 /**
@@ -13527,7 +13615,7 @@ class TopLevel {
1352713615 * @return JSONEncoder|float|null
1352813616 */
1352913617 public static function sampleJSONEncoder(): JSONEncoder|float|null {
13530- return JSONEncoder::sample(); /*195:jsonEncoder*/
13618+ return JSONEncoder::sample(); /*196:jsonEncoder*/
1353113619 }
1353213620
1353313621 /**
@@ -13603,7 +13691,7 @@ class TopLevel {
1360313691 * @return JSONExceptionClass|float|null
1360413692 */
1360513693 public static function sampleJSONException(): JSONExceptionClass|float|null {
13606- return JSONExceptionClass::sample(); /*196:jsonException*/
13694+ return JSONExceptionClass::sample(); /*197:jsonException*/
1360713695 }
1360813696
1360913697 /**
@@ -13679,7 +13767,7 @@ class TopLevel {
1367913767 * @return JSONGenerator|float|null
1368013768 */
1368113769 public static function sampleJSONGenerator(): JSONGenerator|float|null {
13682- return JSONGenerator::sample(); /*197:jsonGenerator*/
13770+ return JSONGenerator::sample(); /*198:jsonGenerator*/
1368313771 }
1368413772
1368513773 /**
@@ -13755,7 +13843,7 @@ class TopLevel {
1375513843 * @return JSONNode|float|null
1375613844 */
1375713845 public static function sampleJSONNode(): JSONNode|float|null {
13758- return JSONNode::sample(); /*198:jsonNode*/
13846+ return JSONNode::sample(); /*199:jsonNode*/
1375913847 }
1376013848
1376113849 /**
@@ -13831,7 +13919,7 @@ class TopLevel {
1383113919 * @return JSONNull|float|null
1383213920 */
1383313921 public static function sampleJSONNull(): JSONNull|float|null {
13834- return JSONNull::sample(); /*199:jsonNull*/
13922+ return JSONNull::sample(); /*200:jsonNull*/
1383513923 }
1383613924
1383713925 /**
@@ -13907,7 +13995,7 @@ class TopLevel {
1390713995 * @return JSONParser|float|null
1390813996 */
1390913997 public static function sampleJSONParser(): JSONParser|float|null {
13910- return JSONParser::sample(); /*200:jsonParser*/
13998+ return JSONParser::sample(); /*201:jsonParser*/
1391113999 }
1391214000
1391314001 /**
@@ -13983,7 +14071,7 @@ class TopLevel {
1398314071 * @return JSONReader|float|null
1398414072 */
1398514073 public static function sampleJSONReader(): JSONReader|float|null {
13986- return JSONReader::sample(); /*201:jsonReader*/
14074+ return JSONReader::sample(); /*202:jsonReader*/
1398714075 }
1398814076
1398914077 /**
@@ -14059,7 +14147,7 @@ class TopLevel {
1405914147 * @return JSONTokenType|float|null
1406014148 */
1406114149 public static function sampleJSONTokenType(): JSONTokenType|float|null {
14062- return JSONTokenType::sample(); /*202:jsonTokenType*/
14150+ return JSONTokenType::sample(); /*203:jsonTokenType*/
1406314151 }
1406414152
1406514153 /**
@@ -14135,7 +14223,7 @@ class TopLevel {
1413514223 * @return Lambda|float|null
1413614224 */
1413714225 public static function sampleLambda(): Lambda|float|null {
14138- return Lambda::sample(); /*203:lambda*/
14226+ return Lambda::sample(); /*204:lambda*/
1413914227 }
1414014228
1414114229 /**
@@ -14211,7 +14299,7 @@ class TopLevel {
1421114299 * @return Lazy|float|null
1421214300 */
1421314301 public static function sampleLazy(): Lazy|float|null {
14214- return Lazy::sample(); /*204:lazy*/
14302+ return Lazy::sample(); /*205:lazy*/
1421514303 }
1421614304
1421714305 /**
@@ -14287,7 +14375,7 @@ class TopLevel {
1428714375 * @return Left|float|null
1428814376 */
1428914377 public static function sampleLeft(): Left|float|null {
14290- return Left::sample(); /*205:left*/
14378+ return Left::sample(); /*206:left*/
1429114379 }
1429214380
1429314381 /**
@@ -14363,7 +14451,7 @@ class TopLevel {
1436314451 * @return Let|float|null
1436414452 */
1436514453 public static function sampleLet(): Let|float|null {
14366- return Let::sample(); /*206:let*/
14454+ return Let::sample(); /*207:let*/
1436714455 }
1436814456
1436914457 /**
@@ -14439,7 +14527,7 @@ class TopLevel {
1443914527 * @return ListClass|float|null
1444014528 */
1444114529 public static function sampleList(): ListClass|float|null {
14442- return ListClass::sample(); /*207:list*/
14530+ return ListClass::sample(); /*208:list*/
1444314531 }
1444414532
1444514533 /**
@@ -14515,7 +14603,7 @@ class TopLevel {
1451514603 * @return LocaleClass|float|null
1451614604 */
1451714605 public static function sampleLocale(): LocaleClass|float|null {
14518- return LocaleClass::sample(); /*208:locale*/
14606+ return LocaleClass::sample(); /*209:locale*/
1451914607 }
1452014608
1452114609 /**
@@ -14591,7 +14679,7 @@ class TopLevel {
1459114679 * @return Lock|float|null
1459214680 */
1459314681 public static function sampleLock(): Lock|float|null {
14594- return Lock::sample(); /*209:lock*/
14682+ return Lock::sample(); /*210:lock*/
1459514683 }
1459614684
1459714685 /**
@@ -14667,7 +14755,7 @@ class TopLevel {
1466714755 * @return Long|float|null
1466814756 */
1466914757 public static function sampleLong(): Long|float|null {
14670- return Long::sample(); /*210:long*/
14758+ return Long::sample(); /*211:long*/
1467114759 }
1467214760
1467314761 /**
@@ -14743,7 +14831,7 @@ class TopLevel {
1474314831 * @return Map|float|null
1474414832 */
1474514833 public static function sampleMap(): Map|float|null {
14746- return Map::sample(); /*211:map*/
14834+ return Map::sample(); /*212:map*/
1474714835 }
1474814836
1474914837 /**
@@ -14819,7 +14907,7 @@ class TopLevel {
1481914907 * @return MapEntry|float|null
1482014908 */
1482114909 public static function sampleMapEntry(): MapEntry|float|null {
14822- return MapEntry::sample(); /*212:mapEntry*/
14910+ return MapEntry::sample(); /*213:mapEntry*/
1482314911 }
1482414912
1482514913 /**
@@ -14895,7 +14983,7 @@ class TopLevel {
1489514983 * @return MetadataPropertyHandling|float|null
1489614984 */
1489714985 public static function sampleMetadataPropertyHandling(): MetadataPropertyHandling|float|null {
14898- return MetadataPropertyHandling::sample(); /*213:metadataPropertyHandling*/
14986+ return MetadataPropertyHandling::sample(); /*214:metadataPropertyHandling*/
1489914987 }
1490014988
1490114989 /**
@@ -14971,7 +15059,7 @@ class TopLevel {
1497115059 * @return Module|float|null
1497215060 */
1497315061 public static function sampleModule(): Module|float|null {
14974- return Module::sample(); /*214:module*/
15062+ return Module::sample(); /*215:module*/
1497515063 }
1497615064
1497715065 /**
@@ -15047,7 +15135,7 @@ class TopLevel {
1504715135 * @return Mutable|float|null
1504815136 */
1504915137 public static function sampleMutable(): Mutable|float|null {
15050- return Mutable::sample(); /*215:mutable*/
15138+ return Mutable::sample(); /*216:mutable*/
1505115139 }
1505215140
1505315141 /**
@@ -15123,7 +15211,7 @@ class TopLevel {
1512315211 * @return Mutating|float|null
1512415212 */
1512515213 public static function sampleMutating(): Mutating|float|null {
15126- return Mutating::sample(); /*216:mutating*/
15214+ return Mutating::sample(); /*217:mutating*/
1512715215 }
1512815216
1512915217 /**
@@ -15199,7 +15287,7 @@ class TopLevel {
1519915287 * @return NamespaceClass|float|null
1520015288 */
1520115289 public static function sampleNamespace(): NamespaceClass|float|null {
15202- return NamespaceClass::sample(); /*217:namespace*/
15290+ return NamespaceClass::sample(); /*218:namespace*/
1520315291 }
1520415292
1520515293 /**
@@ -15275,7 +15363,7 @@ class TopLevel {
1527515363 * @return Native|float|null
1527615364 */
1527715365 public static function sampleNative(): Native|float|null {
15278- return Native::sample(); /*218:native*/
15366+ return Native::sample(); /*219:native*/
1527915367 }
1528015368
1528115369 /**
@@ -15351,7 +15439,7 @@ class TopLevel {
1535115439 * @return NewClass|float|null
1535215440 */
1535315441 public static function sampleNew(): NewClass|float|null {
15354- return NewClass::sample(); /*219:new*/
15442+ return NewClass::sample(); /*220:new*/
1535515443 }
1535615444
1535715445 /**
@@ -15427,7 +15515,7 @@ class TopLevel {
1542715515 * @return Newtonsoft|float|null
1542815516 */
1542915517 public static function sampleNewtonsoft(): Newtonsoft|float|null {
15430- return Newtonsoft::sample(); /*220:newtonsoft*/
15518+ return Newtonsoft::sample(); /*221:newtonsoft*/
1543115519 }
1543215520
1543315521 /**
@@ -15503,7 +15591,7 @@ class TopLevel {
1550315591 * @return Nil|float|null
1550415592 */
1550515593 public static function sampleNil(): Nil|float|null {
15506- return Nil::sample(); /*221:nil*/
15594+ return Nil::sample(); /*222:nil*/
1550715595 }
1550815596
1550915597 /**
@@ -15579,7 +15667,7 @@ class TopLevel {
1557915667 * @return No|float|null
1558015668 */
1558115669 public static function sampleNo(): No|float|null {
15582- return No::sample(); /*222:no*/
15670+ return No::sample(); /*223:no*/
1558315671 }
1558415672
1558515673 /**
@@ -15655,7 +15743,7 @@ class TopLevel {
1565515743 * @return Noexcept|float|null
1565615744 */
1565715745 public static function sampleNoexcept(): Noexcept|float|null {
15658- return Noexcept::sample(); /*223:noexcept*/
15746+ return Noexcept::sample(); /*224:noexcept*/
1565915747 }
1566015748
1566115749 /**
@@ -15731,7 +15819,7 @@ class TopLevel {
1573115819 * @return Nonatomic|float|null
1573215820 */
1573315821 public static function sampleNonatomic(): Nonatomic|float|null {
15734- return Nonatomic::sample(); /*224:nonatomic*/
15822+ return Nonatomic::sample(); /*225:nonatomic*/
1573515823 }
1573615824
1573715825 /**
@@ -15807,7 +15895,7 @@ class TopLevel {
1580715895 * @return NoneClass|float|null
1580815896 */
1580915897 public static function sampleTopLevelNone(): NoneClass|float|null {
15810- return NoneClass::sample(); /*225:topLevelNone*/
15898+ return NoneClass::sample(); /*226:topLevelNone*/
1581115899 }
1581215900
1581315901 /**
@@ -15883,7 +15971,7 @@ class TopLevel {
1588315971 * @return None|float|null
1588415972 */
1588515973 public static function sampleNone(): None|float|null {
15886- return None::sample(); /*226:none*/
15974+ return None::sample(); /*227:none*/
1588715975 }
1588815976
1588915977 /**
@@ -15959,7 +16047,7 @@ class TopLevel {
1595916047 * @return Nonlocal|float|null
1596016048 */
1596116049 public static function sampleNonlocal(): Nonlocal|float|null {
15962- return Nonlocal::sample(); /*227:nonlocal*/
16050+ return Nonlocal::sample(); /*228:nonlocal*/
1596316051 }
1596416052
1596516053 /**
@@ -16035,7 +16123,7 @@ class TopLevel {
1603516123 * @return Nonmutating|float|null
1603616124 */
1603716125 public static function sampleNonmutating(): Nonmutating|float|null {
16038- return Nonmutating::sample(); /*228:nonmutating*/
16126+ return Nonmutating::sample(); /*229:nonmutating*/
1603916127 }
1604016128
1604116129 /**
@@ -16111,7 +16199,7 @@ class TopLevel {
1611116199 * @return NoSuchMethod|float|null
1611216200 */
1611316201 public static function sampleNoSuchMethod(): NoSuchMethod|float|null {
16114- return NoSuchMethod::sample(); /*229:noSuchMethod*/
16202+ return NoSuchMethod::sample(); /*230:noSuchMethod*/
1611516203 }
1611616204
1611716205 /**
@@ -16187,7 +16275,7 @@ class TopLevel {
1618716275 * @return Not|float|null
1618816276 */
1618916277 public static function sampleNot(): Not|float|null {
16190- return Not::sample(); /*230:not*/
16278+ return Not::sample(); /*231:not*/
1619116279 }
1619216280
1619316281 /**
@@ -16263,7 +16351,7 @@ class TopLevel {
1626316351 * @return NotEq|float|null
1626416352 */
1626516353 public static function sampleNotEq(): NotEq|float|null {
16266- return NotEq::sample(); /*231:notEq*/
16354+ return NotEq::sample(); /*232:notEq*/
1626716355 }
1626816356
1626916357 /**
@@ -16339,7 +16427,7 @@ class TopLevel {
1633916427 * @return NSError|float|null
1634016428 */
1634116429 public static function sampleNSError(): NSError|float|null {
16342- return NSError::sample(); /*232:nsError*/
16430+ return NSError::sample(); /*233:nsError*/
1634316431 }
1634416432
1634516433 /**
@@ -16415,7 +16503,7 @@ class TopLevel {
1641516503 * @return NSObject|float|null
1641616504 */
1641716505 public static function sampleNSObject(): NSObject|float|null {
16418- return NSObject::sample(); /*233:nsObject*/
16506+ return NSObject::sample(); /*234:nsObject*/
1641916507 }
1642016508
1642116509 /**
@@ -16491,7 +16579,7 @@ class TopLevel {
1649116579 * @return NSString|float|null
1649216580 */
1649316581 public static function sampleNSString(): NSString|float|null {
16494- return NSString::sample(); /*234:nsString*/
16582+ return NSString::sample(); /*235:nsString*/
1649516583 }
1649616584
1649716585 /**
@@ -16567,7 +16655,7 @@ class TopLevel {
1656716655 * @return NULLClass|float|null
1656816656 */
1656916657 public static function sampleNull(): NULLClass|float|null {
16570- return NULLClass::sample(); /*235:null*/
16658+ return NULLClass::sample(); /*236:null*/
1657116659 }
1657216660
1657316661 /**
@@ -16643,7 +16731,7 @@ class TopLevel {
1664316731 * @return UnionNullNull|float|null
1664416732 */
1664516733 public static function sampleTopLevelNull(): UnionNullNull|float|null {
16646- return UnionNullNull::sample(); /*236:topLevelNull*/
16734+ return UnionNullNull::sample(); /*237:topLevelNull*/
1664716735 }
1664816736
1664916737 /**
@@ -16719,7 +16807,7 @@ class TopLevel {
1671916807 * @return Nullptr|float|null
1672016808 */
1672116809 public static function sampleNullptr(): Nullptr|float|null {
16722- return Nullptr::sample(); /*237:nullptr*/
16810+ return Nullptr::sample(); /*238:nullptr*/
1672316811 }
1672416812
1672516813 /**
@@ -16795,7 +16883,7 @@ class TopLevel {
1679516883 * @return Number|float|null
1679616884 */
1679716885 public static function sampleNumber(): Number|float|null {
16798- return Number::sample(); /*238:number*/
16886+ return Number::sample(); /*239:number*/
1679916887 }
1680016888
1680116889 /**
@@ -16871,7 +16959,7 @@ class TopLevel {
1687116959 * @return ObjectClass|float|null
1687216960 */
1687316961 public static function sampleObject(): ObjectClass|float|null {
16874- return ObjectClass::sample(); /*239:object*/
16962+ return ObjectClass::sample(); /*240:object*/
1687516963 }
1687616964
1687716965 /**
@@ -16947,7 +17035,159 @@ class TopLevel {
1694717035 * @return ObjectMapper|float|null
1694817036 */
1694917037 public static function sampleObjectMapper(): ObjectMapper|float|null {
16950- return ObjectMapper::sample(); /*240:objectMapper*/
17038+ return ObjectMapper::sample(); /*241:objectMapper*/
17039+ }
17040+
17041+ /**
17042+ * @param stdClass|float|null $value
17043+ * @throws Exception
17044+ * @return ObjectReader|float|null
17045+ */
17046+ public static function fromObjectReader(stdClass|float|null $value): ObjectReader|float|null {
17047+ if (is_null($value)) {
17048+ return $value; /*null*/
17049+ } elseif (is_object($value)) {
17050+ return ObjectReader::from($value); /*class*/
17051+ } elseif (is_float($value) || is_int($value)) {
17052+ return $value; /*float*/
17053+ } else {
17054+ throw new Exception('Cannot deserialize union value in TopLevel');
17055+ }
17056+ }
17057+
17058+ /**
17059+ * @throws Exception
17060+ * @return stdClass|float|null
17061+ */
17062+ public function toObjectReader(): stdClass|float|null {
17063+ if (TopLevel::validateObjectReader($this->objectReader)) {
17064+ if (is_null($this->objectReader)) {
17065+ return $this->objectReader; /*null*/
17066+ } elseif ($this->objectReader instanceof ObjectReader) {
17067+ return $this->objectReader->to(); /*class*/
17068+ } elseif (is_float($this->objectReader) || is_int($this->objectReader)) {
17069+ return $this->objectReader; /*float*/
17070+ } else {
17071+ throw new Exception('Union value has no matching member in TopLevel');
17072+ }
17073+ }
17074+ throw new Exception('never get to this TopLevel::objectReader');
17075+ }
17076+
17077+ /**
17078+ * @param ObjectReader|float|null
17079+ * @return bool
17080+ * @throws Exception
17081+ */
17082+ public static function validateObjectReader(ObjectReader|float|null $value): bool {
17083+ if (is_null($value)) {
17084+ if (!is_null($value)) {
17085+ throw new Exception("Attribute Error:TopLevel::objectReader");
17086+ }
17087+ } elseif ($value instanceof ObjectReader) {
17088+ $value->validate();
17089+ } elseif (is_float($value) || is_int($value)) {
17090+ if (!is_float($value) && !is_int($value)) {
17091+ throw new Exception("Attribute Error:TopLevel::objectReader");
17092+ }
17093+ } else {
17094+ throw new Exception("Attribute Error:TopLevel::objectReader");
17095+ }
17096+ return true;
17097+ }
17098+
17099+ /**
17100+ * @throws Exception
17101+ * @return ObjectReader|float|null
17102+ */
17103+ public function getObjectReader(): ObjectReader|float|null {
17104+ if (TopLevel::validateObjectReader($this->objectReader)) {
17105+ return $this->objectReader;
17106+ }
17107+ throw new Exception('never get to getObjectReader TopLevel::objectReader');
17108+ }
17109+
17110+ /**
17111+ * @return ObjectReader|float|null
17112+ */
17113+ public static function sampleObjectReader(): ObjectReader|float|null {
17114+ return ObjectReader::sample(); /*242:objectReader*/
17115+ }
17116+
17117+ /**
17118+ * @param stdClass|float|null $value
17119+ * @throws Exception
17120+ * @return ObjectWriter|float|null
17121+ */
17122+ public static function fromObjectWriter(stdClass|float|null $value): ObjectWriter|float|null {
17123+ if (is_null($value)) {
17124+ return $value; /*null*/
17125+ } elseif (is_object($value)) {
17126+ return ObjectWriter::from($value); /*class*/
17127+ } elseif (is_float($value) || is_int($value)) {
17128+ return $value; /*float*/
17129+ } else {
17130+ throw new Exception('Cannot deserialize union value in TopLevel');
17131+ }
17132+ }
17133+
17134+ /**
17135+ * @throws Exception
17136+ * @return stdClass|float|null
17137+ */
17138+ public function toObjectWriter(): stdClass|float|null {
17139+ if (TopLevel::validateObjectWriter($this->objectWriter)) {
17140+ if (is_null($this->objectWriter)) {
17141+ return $this->objectWriter; /*null*/
17142+ } elseif ($this->objectWriter instanceof ObjectWriter) {
17143+ return $this->objectWriter->to(); /*class*/
17144+ } elseif (is_float($this->objectWriter) || is_int($this->objectWriter)) {
17145+ return $this->objectWriter; /*float*/
17146+ } else {
17147+ throw new Exception('Union value has no matching member in TopLevel');
17148+ }
17149+ }
17150+ throw new Exception('never get to this TopLevel::objectWriter');
17151+ }
17152+
17153+ /**
17154+ * @param ObjectWriter|float|null
17155+ * @return bool
17156+ * @throws Exception
17157+ */
17158+ public static function validateObjectWriter(ObjectWriter|float|null $value): bool {
17159+ if (is_null($value)) {
17160+ if (!is_null($value)) {
17161+ throw new Exception("Attribute Error:TopLevel::objectWriter");
17162+ }
17163+ } elseif ($value instanceof ObjectWriter) {
17164+ $value->validate();
17165+ } elseif (is_float($value) || is_int($value)) {
17166+ if (!is_float($value) && !is_int($value)) {
17167+ throw new Exception("Attribute Error:TopLevel::objectWriter");
17168+ }
17169+ } else {
17170+ throw new Exception("Attribute Error:TopLevel::objectWriter");
17171+ }
17172+ return true;
17173+ }
17174+
17175+ /**
17176+ * @throws Exception
17177+ * @return ObjectWriter|float|null
17178+ */
17179+ public function getObjectWriter(): ObjectWriter|float|null {
17180+ if (TopLevel::validateObjectWriter($this->objectWriter)) {
17181+ return $this->objectWriter;
17182+ }
17183+ throw new Exception('never get to getObjectWriter TopLevel::objectWriter');
17184+ }
17185+
17186+ /**
17187+ * @return ObjectWriter|float|null
17188+ */
17189+ public static function sampleObjectWriter(): ObjectWriter|float|null {
17190+ return ObjectWriter::sample(); /*243:objectWriter*/
1695117191 }
1695217192
1695317193 /**
@@ -17023,7 +17263,7 @@ class TopLevel {
1702317263 * @return Of|float|null
1702417264 */
1702517265 public static function sampleOf(): Of|float|null {
17026- return Of::sample(); /*241:of*/
17266+ return Of::sample(); /*244:of*/
1702717267 }
1702817268
1702917269 /**
@@ -17099,7 +17339,7 @@ class TopLevel {
1709917339 * @return Oneway|float|null
1710017340 */
1710117341 public static function sampleOneway(): Oneway|float|null {
17102- return Oneway::sample(); /*242:oneway*/
17342+ return Oneway::sample(); /*245:oneway*/
1710317343 }
1710417344
1710517345 /**
@@ -17175,7 +17415,7 @@ class TopLevel {
1717517415 * @return Open|float|null
1717617416 */
1717717417 public static function sampleOpen(): Open|float|null {
17178- return Open::sample(); /*243:open*/
17418+ return Open::sample(); /*246:open*/
1717917419 }
1718017420
1718117421 /**
@@ -17251,7 +17491,7 @@ class TopLevel {
1725117491 * @return Operator|float|null
1725217492 */
1725317493 public static function sampleOperator(): Operator|float|null {
17254- return Operator::sample(); /*244:operator*/
17494+ return Operator::sample(); /*247:operator*/
1725517495 }
1725617496
1725717497 /**
@@ -17327,7 +17567,7 @@ class TopLevel {
1732717567 * @return Optional|float|null
1732817568 */
1732917569 public static function sampleOptional(): Optional|float|null {
17330- return Optional::sample(); /*245:optional*/
17570+ return Optional::sample(); /*248:optional*/
1733117571 }
1733217572
1733317573 /**
@@ -17403,7 +17643,7 @@ class TopLevel {
1740317643 * @return OrClass|float|null
1740417644 */
1740517645 public static function sampleOr(): OrClass|float|null {
17406- return OrClass::sample(); /*246:or*/
17646+ return OrClass::sample(); /*249:or*/
1740717647 }
1740817648
1740917649 /**
@@ -17479,7 +17719,7 @@ class TopLevel {
1747917719 * @return OrEq|float|null
1748017720 */
1748117721 public static function sampleOrEq(): OrEq|float|null {
17482- return OrEq::sample(); /*247:orEq*/
17722+ return OrEq::sample(); /*250:orEq*/
1748317723 }
1748417724
1748517725 /**
@@ -17555,7 +17795,7 @@ class TopLevel {
1755517795 * @return Out|float|null
1755617796 */
1755717797 public static function sampleOut(): Out|float|null {
17558- return Out::sample(); /*248:out*/
17798+ return Out::sample(); /*251:out*/
1755917799 }
1756017800
1756117801 /**
@@ -17631,7 +17871,7 @@ class TopLevel {
1763117871 * @return OverrideClass|float|null
1763217872 */
1763317873 public static function sampleOverride(): OverrideClass|float|null {
17634- return OverrideClass::sample(); /*249:override*/
17874+ return OverrideClass::sample(); /*252:override*/
1763517875 }
1763617876
1763717877 /**
@@ -17707,7 +17947,7 @@ class TopLevel {
1770717947 * @return Package|float|null
1770817948 */
1770917949 public static function samplePackage(): Package|float|null {
17710- return Package::sample(); /*250:package*/
17950+ return Package::sample(); /*253:package*/
1771117951 }
1771217952
1771317953 /**
@@ -17783,7 +18023,7 @@ class TopLevel {
1778318023 * @return Params|float|null
1778418024 */
1778518025 public static function sampleParams(): Params|float|null {
17786- return Params::sample(); /*251:params*/
18026+ return Params::sample(); /*254:params*/
1778718027 }
1778818028
1778918029 /**
@@ -17859,7 +18099,7 @@ class TopLevel {
1785918099 * @return Pass|float|null
1786018100 */
1786118101 public static function samplePass(): Pass|float|null {
17862- return Pass::sample(); /*252:pass*/
18102+ return Pass::sample(); /*255:pass*/
1786318103 }
1786418104
1786518105 /**
@@ -17935,7 +18175,7 @@ class TopLevel {
1793518175 * @return Port|float|null
1793618176 */
1793718177 public static function samplePort(): Port|float|null {
17938- return Port::sample(); /*253:port*/
18178+ return Port::sample(); /*256:port*/
1793918179 }
1794018180
1794118181 /**
@@ -18011,7 +18251,7 @@ class TopLevel {
1801118251 * @return Postfix|float|null
1801218252 */
1801318253 public static function samplePostfix(): Postfix|float|null {
18014- return Postfix::sample(); /*254:postfix*/
18254+ return Postfix::sample(); /*257:postfix*/
1801518255 }
1801618256
1801718257 /**
@@ -18087,7 +18327,7 @@ class TopLevel {
1808718327 * @return Precedence|float|null
1808818328 */
1808918329 public static function samplePrecedence(): Precedence|float|null {
18090- return Precedence::sample(); /*255:precedence*/
18330+ return Precedence::sample(); /*258:precedence*/
1809118331 }
1809218332
1809318333 /**
@@ -18163,7 +18403,7 @@ class TopLevel {
1816318403 * @return Prefix|float|null
1816418404 */
1816518405 public static function samplePrefix(): Prefix|float|null {
18166- return Prefix::sample(); /*256:prefix*/
18406+ return Prefix::sample(); /*259:prefix*/
1816718407 }
1816818408
1816918409 /**
@@ -18239,7 +18479,7 @@ class TopLevel {
1823918479 * @return PrintClass|float|null
1824018480 */
1824118481 public static function samplePrint(): PrintClass|float|null {
18242- return PrintClass::sample(); /*257:print*/
18482+ return PrintClass::sample(); /*260:print*/
1824318483 }
1824418484
1824518485 /**
@@ -18315,7 +18555,7 @@ class TopLevel {
1831518555 * @return Printf|float|null
1831618556 */
1831718557 public static function samplePrintf(): Printf|float|null {
18318- return Printf::sample(); /*258:printf*/
18558+ return Printf::sample(); /*261:printf*/
1831918559 }
1832018560
1832118561 /**
@@ -18391,7 +18631,7 @@ class TopLevel {
1839118631 * @return PrintMembers|float|null
1839218632 */
1839318633 public static function samplePrintMembers(): PrintMembers|float|null {
18394- return PrintMembers::sample(); /*259:printMembers*/
18634+ return PrintMembers::sample(); /*262:printMembers*/
1839518635 }
1839618636
1839718637 /**
@@ -18467,7 +18707,7 @@ class TopLevel {
1846718707 * @return PrivateClass|float|null
1846818708 */
1846918709 public static function samplePrivate(): PrivateClass|float|null {
18470- return PrivateClass::sample(); /*260:private*/
18710+ return PrivateClass::sample(); /*263:private*/
1847118711 }
1847218712
1847318713 /**
@@ -18543,7 +18783,7 @@ class TopLevel {
1854318783 * @return ProtectedClass|float|null
1854418784 */
1854518785 public static function sampleProtected(): ProtectedClass|float|null {
18546- return ProtectedClass::sample(); /*261:protected*/
18786+ return ProtectedClass::sample(); /*264:protected*/
1854718787 }
1854818788
1854918789 /**
@@ -18619,7 +18859,7 @@ class TopLevel {
1861918859 * @return Protocol|float|null
1862018860 */
1862118861 public static function sampleProtocol(): Protocol|float|null {
18622- return Protocol::sample(); /*262:protocol*/
18862+ return Protocol::sample(); /*265:protocol*/
1862318863 }
1862418864
1862518865 /**
@@ -18695,7 +18935,7 @@ class TopLevel {
1869518935 * @return ProtocolClass|float|null
1869618936 */
1869718937 public static function sampleTopLevelProtocol(): ProtocolClass|float|null {
18698- return ProtocolClass::sample(); /*263:topLevelProtocol*/
18938+ return ProtocolClass::sample(); /*266:topLevelProtocol*/
1869918939 }
1870018940
1870118941 /**
@@ -18771,7 +19011,7 @@ class TopLevel {
1877119011 * @return PublicClass|float|null
1877219012 */
1877319013 public static function samplePublic(): PublicClass|float|null {
18774- return PublicClass::sample(); /*264:public*/
19014+ return PublicClass::sample(); /*267:public*/
1877519015 }
1877619016
1877719017 /**
@@ -18847,7 +19087,7 @@ class TopLevel {
1884719087 * @return Quicktype|float|null
1884819088 */
1884919089 public static function sampleQuicktype(): Quicktype|float|null {
18850- return Quicktype::sample(); /*265:quicktype*/
19090+ return Quicktype::sample(); /*268:quicktype*/
1885119091 }
1885219092
1885319093 /**
@@ -18923,7 +19163,7 @@ class TopLevel {
1892319163 * @return Raise|float|null
1892419164 */
1892519165 public static function sampleRaise(): Raise|float|null {
18926- return Raise::sample(); /*266:raise*/
19166+ return Raise::sample(); /*269:raise*/
1892719167 }
1892819168
1892919169 /**
@@ -18999,7 +19239,7 @@ class TopLevel {
1899919239 * @return Range|float|null
1900019240 */
1900119241 public static function sampleRange(): Range|float|null {
19002- return Range::sample(); /*267:range*/
19242+ return Range::sample(); /*270:range*/
1900319243 }
1900419244
1900519245 /**
@@ -19075,7 +19315,7 @@ class TopLevel {
1907519315 * @return ReadonlyClass|float|null
1907619316 */
1907719317 public static function sampleReadonly(): ReadonlyClass|float|null {
19078- return ReadonlyClass::sample(); /*268:readonly*/
19318+ return ReadonlyClass::sample(); /*271:readonly*/
1907919319 }
1908019320
1908119321 /**
@@ -19151,7 +19391,7 @@ class TopLevel {
1915119391 * @return Ref|float|null
1915219392 */
1915319393 public static function sampleRef(): Ref|float|null {
19154- return Ref::sample(); /*269:ref*/
19394+ return Ref::sample(); /*272:ref*/
1915519395 }
1915619396
1915719397 /**
@@ -19227,7 +19467,7 @@ class TopLevel {
1922719467 * @return RegExp|float|null
1922819468 */
1922919469 public static function sampleRegExp(): RegExp|float|null {
19230- return RegExp::sample(); /*270:regExp*/
19470+ return RegExp::sample(); /*273:regExp*/
1923119471 }
1923219472
1923319473 /**
@@ -19303,7 +19543,7 @@ class TopLevel {
1930319543 * @return Register|float|null
1930419544 */
1930519545 public static function sampleRegister(): Register|float|null {
19306- return Register::sample(); /*271:register*/
19546+ return Register::sample(); /*274:register*/
1930719547 }
1930819548
1930919549 /**
@@ -19379,7 +19619,7 @@ class TopLevel {
1937919619 * @return ReinterpretCast|float|null
1938019620 */
1938119621 public static function sampleReinterpretCast(): ReinterpretCast|float|null {
19382- return ReinterpretCast::sample(); /*272:reinterpretCast*/
19622+ return ReinterpretCast::sample(); /*275:reinterpretCast*/
1938319623 }
1938419624
1938519625 /**
@@ -19455,7 +19695,7 @@ class TopLevel {
1945519695 * @return Repeat|float|null
1945619696 */
1945719697 public static function sampleRepeat(): Repeat|float|null {
19458- return Repeat::sample(); /*273:repeat*/
19698+ return Repeat::sample(); /*276:repeat*/
1945919699 }
1946019700
1946119701 /**
@@ -19531,7 +19771,7 @@ class TopLevel {
1953119771 * @return RequireClass|float|null
1953219772 */
1953319773 public static function sampleRequire(): RequireClass|float|null {
19534- return RequireClass::sample(); /*274:require*/
19774+ return RequireClass::sample(); /*277:require*/
1953519775 }
1953619776
1953719777 /**
@@ -19607,7 +19847,7 @@ class TopLevel {
1960719847 * @return Required|float|null
1960819848 */
1960919849 public static function sampleRequired(): Required|float|null {
19610- return Required::sample(); /*275:required*/
19850+ return Required::sample(); /*278:required*/
1961119851 }
1961219852
1961319853 /**
@@ -19683,7 +19923,7 @@ class TopLevel {
1968319923 * @return Requires|float|null
1968419924 */
1968519925 public static function sampleRequires(): Requires|float|null {
19686- return Requires::sample(); /*276:requires*/
19926+ return Requires::sample(); /*279:requires*/
1968719927 }
1968819928
1968919929 /**
@@ -19759,7 +19999,7 @@ class TopLevel {
1975919999 * @return Restrict|float|null
1976020000 */
1976120001 public static function sampleRestrict(): Restrict|float|null {
19762- return Restrict::sample(); /*277:restrict*/
20002+ return Restrict::sample(); /*280:restrict*/
1976320003 }
1976420004
1976520005 /**
@@ -19835,7 +20075,7 @@ class TopLevel {
1983520075 * @return Retain|float|null
1983620076 */
1983720077 public static function sampleRetain(): Retain|float|null {
19838- return Retain::sample(); /*278:retain*/
20078+ return Retain::sample(); /*281:retain*/
1983920079 }
1984020080
1984120081 /**
@@ -19911,7 +20151,7 @@ class TopLevel {
1991120151 * @return Rethrows|float|null
1991220152 */
1991320153 public static function sampleRethrows(): Rethrows|float|null {
19914- return Rethrows::sample(); /*279:rethrows*/
20154+ return Rethrows::sample(); /*282:rethrows*/
1991520155 }
1991620156
1991720157 /**
@@ -19987,7 +20227,7 @@ class TopLevel {
1998720227 * @return ReturnClass|float|null
1998820228 */
1998920229 public static function sampleReturn(): ReturnClass|float|null {
19990- return ReturnClass::sample(); /*280:return*/
20230+ return ReturnClass::sample(); /*283:return*/
1999120231 }
1999220232
1999320233 /**
@@ -20063,7 +20303,7 @@ class TopLevel {
2006320303 * @return Right|float|null
2006420304 */
2006520305 public static function sampleRight(): Right|float|null {
20066- return Right::sample(); /*281:right*/
20306+ return Right::sample(); /*284:right*/
2006720307 }
2006820308
2006920309 /**
@@ -20139,7 +20379,7 @@ class TopLevel {
2013920379 * @return RuntimeType|float|null
2014020380 */
2014120381 public static function sampleRuntimeType(): RuntimeType|float|null {
20142- return RuntimeType::sample(); /*282:runtimeType*/
20382+ return RuntimeType::sample(); /*285:runtimeType*/
2014320383 }
2014420384
2014520385 /**
@@ -20215,7 +20455,7 @@ class TopLevel {
2021520455 * @return S|float|null
2021620456 */
2021720457 public static function sampleS(): S|float|null {
20218- return S::sample(); /*283:s*/
20458+ return S::sample(); /*286:s*/
2021920459 }
2022020460
2022120461 /**
@@ -20291,7 +20531,7 @@ class TopLevel {
2029120531 * @return Sbyte|float|null
2029220532 */
2029320533 public static function sampleSbyte(): Sbyte|float|null {
20294- return Sbyte::sample(); /*284:sbyte*/
20534+ return Sbyte::sample(); /*287:sbyte*/
2029520535 }
2029620536
2029720537 /**
@@ -20367,7 +20607,7 @@ class TopLevel {
2036720607 * @return Sealed|float|null
2036820608 */
2036920609 public static function sampleSealed(): Sealed|float|null {
20370- return Sealed::sample(); /*285:sealed*/
20610+ return Sealed::sample(); /*288:sealed*/
2037120611 }
2037220612
2037320613 /**
@@ -20443,7 +20683,7 @@ class TopLevel {
2044320683 * @return Sel|float|null
2044420684 */
2044520685 public static function sampleSel(): Sel|float|null {
20446- return Sel::sample(); /*286:sel*/
20686+ return Sel::sample(); /*289:sel*/
2044720687 }
2044820688
2044920689 /**
@@ -20519,7 +20759,7 @@ class TopLevel {
2051920759 * @return Select|float|null
2052020760 */
2052120761 public static function sampleSelect(): Select|float|null {
20522- return Select::sample(); /*287:select*/
20762+ return Select::sample(); /*290:select*/
2052320763 }
2052420764
2052520765 /**
@@ -20595,7 +20835,7 @@ class TopLevel {
2059520835 * @return SelfClass|float|null
2059620836 */
2059720837 public static function sampleSelf(): SelfClass|float|null {
20598- return SelfClass::sample(); /*288:self*/
20838+ return SelfClass::sample(); /*291:self*/
2059920839 }
2060020840
2060120841 /**
@@ -20671,7 +20911,7 @@ class TopLevel {
2067120911 * @return UnionSelfSelf|float|null
2067220912 */
2067320913 public static function sampleTopLevelSelf(): UnionSelfSelf|float|null {
20674- return UnionSelfSelf::sample(); /*289:topLevelSelf*/
20914+ return UnionSelfSelf::sample(); /*292:topLevelSelf*/
2067520915 }
2067620916
2067720917 /**
@@ -20747,7 +20987,83 @@ class TopLevel {
2074720987 * @return Sendable|float|null
2074820988 */
2074920989 public static function sampleSendable(): Sendable|float|null {
20750- return Sendable::sample(); /*290:sendable*/
20990+ return Sendable::sample(); /*293:sendable*/
20991+ }
20992+
20993+ /**
20994+ * @param stdClass|float|null $value
20995+ * @throws Exception
20996+ * @return SerializationFeature|float|null
20997+ */
20998+ public static function fromSerializationFeature(stdClass|float|null $value): SerializationFeature|float|null {
20999+ if (is_null($value)) {
21000+ return $value; /*null*/
21001+ } elseif (is_object($value)) {
21002+ return SerializationFeature::from($value); /*class*/
21003+ } elseif (is_float($value) || is_int($value)) {
21004+ return $value; /*float*/
21005+ } else {
21006+ throw new Exception('Cannot deserialize union value in TopLevel');
21007+ }
21008+ }
21009+
21010+ /**
21011+ * @throws Exception
21012+ * @return stdClass|float|null
21013+ */
21014+ public function toSerializationFeature(): stdClass|float|null {
21015+ if (TopLevel::validateSerializationFeature($this->serializationFeature)) {
21016+ if (is_null($this->serializationFeature)) {
21017+ return $this->serializationFeature; /*null*/
21018+ } elseif ($this->serializationFeature instanceof SerializationFeature) {
21019+ return $this->serializationFeature->to(); /*class*/
21020+ } elseif (is_float($this->serializationFeature) || is_int($this->serializationFeature)) {
21021+ return $this->serializationFeature; /*float*/
21022+ } else {
21023+ throw new Exception('Union value has no matching member in TopLevel');
21024+ }
21025+ }
21026+ throw new Exception('never get to this TopLevel::serializationFeature');
21027+ }
21028+
21029+ /**
21030+ * @param SerializationFeature|float|null
21031+ * @return bool
21032+ * @throws Exception
21033+ */
21034+ public static function validateSerializationFeature(SerializationFeature|float|null $value): bool {
21035+ if (is_null($value)) {
21036+ if (!is_null($value)) {
21037+ throw new Exception("Attribute Error:TopLevel::serializationFeature");
21038+ }
21039+ } elseif ($value instanceof SerializationFeature) {
21040+ $value->validate();
21041+ } elseif (is_float($value) || is_int($value)) {
21042+ if (!is_float($value) && !is_int($value)) {
21043+ throw new Exception("Attribute Error:TopLevel::serializationFeature");
21044+ }
21045+ } else {
21046+ throw new Exception("Attribute Error:TopLevel::serializationFeature");
21047+ }
21048+ return true;
21049+ }
21050+
21051+ /**
21052+ * @throws Exception
21053+ * @return SerializationFeature|float|null
21054+ */
21055+ public function getSerializationFeature(): SerializationFeature|float|null {
21056+ if (TopLevel::validateSerializationFeature($this->serializationFeature)) {
21057+ return $this->serializationFeature;
21058+ }
21059+ throw new Exception('never get to getSerializationFeature TopLevel::serializationFeature');
21060+ }
21061+
21062+ /**
21063+ * @return SerializationFeature|float|null
21064+ */
21065+ public static function sampleSerializationFeature(): SerializationFeature|float|null {
21066+ return SerializationFeature::sample(); /*294:serializationFeature*/
2075121067 }
2075221068
2075321069 /**
@@ -20823,7 +21139,7 @@ class TopLevel {
2082321139 * @return Serialize|float|null
2082421140 */
2082521141 public static function sampleSerialize(): Serialize|float|null {
20826- return Serialize::sample(); /*291:serialize*/
21142+ return Serialize::sample(); /*295:serialize*/
2082721143 }
2082821144
2082921145 /**
@@ -20899,7 +21215,7 @@ class TopLevel {
2089921215 * @return SerializerProvider|float|null
2090021216 */
2090121217 public static function sampleSerializerProvider(): SerializerProvider|float|null {
20902- return SerializerProvider::sample(); /*292:serializerProvider*/
21218+ return SerializerProvider::sample(); /*296:serializerProvider*/
2090321219 }
2090421220
2090521221 /**
@@ -20975,7 +21291,7 @@ class TopLevel {
2097521291 * @return Set|float|null
2097621292 */
2097721293 public static function sampleSet(): Set|float|null {
20978- return Set::sample(); /*293:set*/
21294+ return Set::sample(); /*297:set*/
2097921295 }
2098021296
2098121297 /**
@@ -21051,7 +21367,7 @@ class TopLevel {
2105121367 * @return Short|float|null
2105221368 */
2105321369 public static function sampleShort(): Short|float|null {
21054- return Short::sample(); /*294:short*/
21370+ return Short::sample(); /*298:short*/
2105521371 }
2105621372
2105721373 /**
@@ -21127,7 +21443,7 @@ class TopLevel {
2112721443 * @return Signed|float|null
2112821444 */
2112921445 public static function sampleSigned(): Signed|float|null {
21130- return Signed::sample(); /*295:signed*/
21446+ return Signed::sample(); /*299:signed*/
2113121447 }
2113221448
2113321449 /**
@@ -21203,7 +21519,7 @@ class TopLevel {
2120321519 * @return SimpleModule|float|null
2120421520 */
2120521521 public static function sampleSimpleModule(): SimpleModule|float|null {
21206- return SimpleModule::sample(); /*296:simpleModule*/
21522+ return SimpleModule::sample(); /*300:simpleModule*/
2120721523 }
2120821524
2120921525 /**
@@ -21279,7 +21595,7 @@ class TopLevel {
2127921595 * @return Sizeof|float|null
2128021596 */
2128121597 public static function sampleSizeof(): Sizeof|float|null {
21282- return Sizeof::sample(); /*297:sizeof*/
21598+ return Sizeof::sample(); /*301:sizeof*/
2128321599 }
2128421600
2128521601 /**
@@ -21355,7 +21671,7 @@ class TopLevel {
2135521671 * @return Stackalloc|float|null
2135621672 */
2135721673 public static function sampleStackalloc(): Stackalloc|float|null {
21358- return Stackalloc::sample(); /*298:stackalloc*/
21674+ return Stackalloc::sample(); /*302:stackalloc*/
2135921675 }
2136021676
2136121677 /**
@@ -21431,7 +21747,7 @@ class TopLevel {
2143121747 * @return Standards|float|null
2143221748 */
2143321749 public static function sampleStandards(): Standards|float|null {
21434- return Standards::sample(); /*299:standards*/
21750+ return Standards::sample(); /*303:standards*/
2143521751 }
2143621752
2143721753 /**
@@ -21507,7 +21823,7 @@ class TopLevel {
2150721823 * @return StaticClass|float|null
2150821824 */
2150921825 public static function sampleStatic(): StaticClass|float|null {
21510- return StaticClass::sample(); /*300:static*/
21826+ return StaticClass::sample(); /*304:static*/
2151121827 }
2151221828
2151321829 /**
@@ -21583,7 +21899,7 @@ class TopLevel {
2158321899 * @return StaticAssert|float|null
2158421900 */
2158521901 public static function sampleStaticAssert(): StaticAssert|float|null {
21586- return StaticAssert::sample(); /*301:staticAssert*/
21902+ return StaticAssert::sample(); /*305:staticAssert*/
2158721903 }
2158821904
2158921905 /**
@@ -21659,7 +21975,7 @@ class TopLevel {
2165921975 * @return StaticCast|float|null
2166021976 */
2166121977 public static function sampleStaticCast(): StaticCast|float|null {
21662- return StaticCast::sample(); /*302:staticCast*/
21978+ return StaticCast::sample(); /*306:staticCast*/
2166321979 }
2166421980
2166521981 /**
@@ -21735,7 +22051,7 @@ class TopLevel {
2173522051 * @return StdDeserializer|float|null
2173622052 */
2173722053 public static function sampleStdDeserializer(): StdDeserializer|float|null {
21738- return StdDeserializer::sample(); /*303:stdDeserializer*/
22054+ return StdDeserializer::sample(); /*307:stdDeserializer*/
2173922055 }
2174022056
2174122057 /**
@@ -21811,7 +22127,7 @@ class TopLevel {
2181122127 * @return StdSerializer|float|null
2181222128 */
2181322129 public static function sampleStdSerializer(): StdSerializer|float|null {
21814- return StdSerializer::sample(); /*304:stdSerializer*/
22130+ return StdSerializer::sample(); /*308:stdSerializer*/
2181522131 }
2181622132
2181722133 /**
@@ -21887,7 +22203,7 @@ class TopLevel {
2188722203 * @return Strictfp|float|null
2188822204 */
2188922205 public static function sampleStrictfp(): Strictfp|float|null {
21890- return Strictfp::sample(); /*305:strictfp*/
22206+ return Strictfp::sample(); /*309:strictfp*/
2189122207 }
2189222208
2189322209 /**
@@ -21963,7 +22279,7 @@ class TopLevel {
2196322279 * @return StringClass|float|null
2196422280 */
2196522281 public static function sampleString(): StringClass|float|null {
21966- return StringClass::sample(); /*306:string*/
22282+ return StringClass::sample(); /*310:string*/
2196722283 }
2196822284
2196922285 /**
@@ -22039,7 +22355,7 @@ class TopLevel {
2203922355 * @return Struct|float|null
2204022356 */
2204122357 public static function sampleStruct(): Struct|float|null {
22042- return Struct::sample(); /*307:struct*/
22358+ return Struct::sample(); /*311:struct*/
2204322359 }
2204422360
2204522361 /**
@@ -22115,7 +22431,7 @@ class TopLevel {
2211522431 * @return Subscript|float|null
2211622432 */
2211722433 public static function sampleSubscript(): Subscript|float|null {
22118- return Subscript::sample(); /*308:subscript*/
22434+ return Subscript::sample(); /*312:subscript*/
2211922435 }
2212022436
2212122437 /**
@@ -22191,7 +22507,7 @@ class TopLevel {
2219122507 * @return Super|float|null
2219222508 */
2219322509 public static function sampleSuper(): Super|float|null {
22194- return Super::sample(); /*309:super*/
22510+ return Super::sample(); /*313:super*/
2219522511 }
2219622512
2219722513 /**
@@ -22267,7 +22583,7 @@ class TopLevel {
2226722583 * @return SwitchClass|float|null
2226822584 */
2226922585 public static function sampleSwitch(): SwitchClass|float|null {
22270- return SwitchClass::sample(); /*310:switch*/
22586+ return SwitchClass::sample(); /*314:switch*/
2227122587 }
2227222588
2227322589 /**
@@ -22343,7 +22659,7 @@ class TopLevel {
2234322659 * @return Symbol|float|null
2234422660 */
2234522661 public static function sampleSymbol(): Symbol|float|null {
22346- return Symbol::sample(); /*311:symbol*/
22662+ return Symbol::sample(); /*315:symbol*/
2234722663 }
2234822664
2234922665 /**
@@ -22419,7 +22735,7 @@ class TopLevel {
2241922735 * @return Synchronized|float|null
2242022736 */
2242122737 public static function sampleSynchronized(): Synchronized|float|null {
22422- return Synchronized::sample(); /*312:synchronized*/
22738+ return Synchronized::sample(); /*316:synchronized*/
2242322739 }
2242422740
2242522741 /**
@@ -22495,7 +22811,7 @@ class TopLevel {
2249522811 * @return System|float|null
2249622812 */
2249722813 public static function sampleSystem(): System|float|null {
22498- return System::sample(); /*313:system*/
22814+ return System::sample(); /*317:system*/
2249922815 }
2250022816
2250122817 /**
@@ -22571,7 +22887,7 @@ class TopLevel {
2257122887 * @return Template|float|null
2257222888 */
2257322889 public static function sampleTemplate(): Template|float|null {
22574- return Template::sample(); /*314:template*/
22890+ return Template::sample(); /*318:template*/
2257522891 }
2257622892
2257722893 /**
@@ -22647,7 +22963,7 @@ class TopLevel {
2264722963 * @return Then|float|null
2264822964 */
2264922965 public static function sampleThen(): Then|float|null {
22650- return Then::sample(); /*315:then*/
22966+ return Then::sample(); /*319:then*/
2265122967 }
2265222968
2265322969 /**
@@ -22723,7 +23039,7 @@ class TopLevel {
2272323039 * @return This|float|null
2272423040 */
2272523041 public static function sampleTopLevelThis(): This|float|null {
22726- return This::sample(); /*316:topLevelThis*/
23042+ return This::sample(); /*320:topLevelThis*/
2272723043 }
2272823044
2272923045 /**
@@ -22799,7 +23115,7 @@ class TopLevel {
2279923115 * @return ThreadLocal|float|null
2280023116 */
2280123117 public static function sampleThreadLocal(): ThreadLocal|float|null {
22802- return ThreadLocal::sample(); /*317:threadLocal*/
23118+ return ThreadLocal::sample(); /*321:threadLocal*/
2280323119 }
2280423120
2280523121 /**
@@ -22875,7 +23191,7 @@ class TopLevel {
2287523191 * @return ThrowClass|float|null
2287623192 */
2287723193 public static function sampleThrow(): ThrowClass|float|null {
22878- return ThrowClass::sample(); /*318:throw*/
23194+ return ThrowClass::sample(); /*322:throw*/
2287923195 }
2288023196
2288123197 /**
@@ -22951,7 +23267,7 @@ class TopLevel {
2295123267 * @return Throws|float|null
2295223268 */
2295323269 public static function sampleThrows(): Throws|float|null {
22954- return Throws::sample(); /*319:throws*/
23270+ return Throws::sample(); /*323:throws*/
2295523271 }
2295623272
2295723273 /**
@@ -23027,7 +23343,7 @@ class TopLevel {
2302723343 * @return TimeOnly|float|null
2302823344 */
2302923345 public static function sampleTimeOnly(): TimeOnly|float|null {
23030- return TimeOnly::sample(); /*320:timeOnly*/
23346+ return TimeOnly::sample(); /*324:timeOnly*/
2303123347 }
2303223348
2303323349 /**
@@ -23103,7 +23419,7 @@ class TopLevel {
2310323419 * @return TimeOnlyConverter|float|null
2310423420 */
2310523421 public static function sampleTimeOnlyConverter(): TimeOnlyConverter|float|null {
23106- return TimeOnlyConverter::sample(); /*321:timeOnlyConverter*/
23422+ return TimeOnlyConverter::sample(); /*325:timeOnlyConverter*/
2310723423 }
2310823424
2310923425 /**
@@ -23179,7 +23495,7 @@ class TopLevel {
2317923495 * @return TimeZone|float|null
2318023496 */
2318123497 public static function sampleTimeZone(): TimeZone|float|null {
23182- return TimeZone::sample(); /*322:timeZone*/
23498+ return TimeZone::sample(); /*326:timeZone*/
2318323499 }
2318423500
2318523501 /**
@@ -23255,7 +23571,7 @@ class TopLevel {
2325523571 * @return ToJSON|float|null
2325623572 */
2325723573 public static function sampleToJSON(): ToJSON|float|null {
23258- return ToJSON::sample(); /*323:toJSON*/
23574+ return ToJSON::sample(); /*327:toJSON*/
2325923575 }
2326023576
2326123577 /**
@@ -23331,7 +23647,7 @@ class TopLevel {
2333123647 * @return TopLevelClass|float|null
2333223648 */
2333323649 public static function sampleTopLevel(): TopLevelClass|float|null {
23334- return TopLevelClass::sample(); /*324:topLevel*/
23650+ return TopLevelClass::sample(); /*328:topLevel*/
2333523651 }
2333623652
2333723653 /**
@@ -23407,7 +23723,7 @@ class TopLevel {
2340723723 * @return ToString|float|null
2340823724 */
2340923725 public static function sampleToString(): ToString|float|null {
23410- return ToString::sample(); /*325:toString*/
23726+ return ToString::sample(); /*329:toString*/
2341123727 }
2341223728
2341323729 /**
@@ -23483,7 +23799,7 @@ class TopLevel {
2348323799 * @return Transient|float|null
2348423800 */
2348523801 public static function sampleTransient(): Transient|float|null {
23486- return Transient::sample(); /*326:transient*/
23802+ return Transient::sample(); /*330:transient*/
2348723803 }
2348823804
2348923805 /**
@@ -23559,7 +23875,7 @@ class TopLevel {
2355923875 * @return TrueClass|float|null
2356023876 */
2356123877 public static function sampleTrue(): TrueClass|float|null {
23562- return TrueClass::sample(); /*327:true*/
23878+ return TrueClass::sample(); /*331:true*/
2356323879 }
2356423880
2356523881 /**
@@ -23635,7 +23951,7 @@ class TopLevel {
2363523951 * @return UnionTrueTrue|float|null
2363623952 */
2363723953 public static function sampleTopLevelTrue(): UnionTrueTrue|float|null {
23638- return UnionTrueTrue::sample(); /*328:topLevelTrue*/
23954+ return UnionTrueTrue::sample(); /*332:topLevelTrue*/
2363923955 }
2364023956
2364123957 /**
@@ -23711,7 +24027,7 @@ class TopLevel {
2371124027 * @return TryClass|float|null
2371224028 */
2371324029 public static function sampleTry(): TryClass|float|null {
23714- return TryClass::sample(); /*329:try*/
24030+ return TryClass::sample(); /*333:try*/
2371524031 }
2371624032
2371724033 /**
@@ -23787,7 +24103,7 @@ class TopLevel {
2378724103 * @return Type|float|null
2378824104 */
2378924105 public static function sampleType(): Type|float|null {
23790- return Type::sample(); /*330:type*/
24106+ return Type::sample(); /*334:type*/
2379124107 }
2379224108
2379324109 /**
@@ -23863,7 +24179,7 @@ class TopLevel {
2386324179 * @return TypeClass|float|null
2386424180 */
2386524181 public static function sampleTopLevelType(): TypeClass|float|null {
23866- return TypeClass::sample(); /*331:topLevelType*/
24182+ return TypeClass::sample(); /*335:topLevelType*/
2386724183 }
2386824184
2386924185 /**
@@ -23939,7 +24255,7 @@ class TopLevel {
2393924255 * @return Typealias|float|null
2394024256 */
2394124257 public static function sampleTypealias(): Typealias|float|null {
23942- return Typealias::sample(); /*332:typealias*/
24258+ return Typealias::sample(); /*336:typealias*/
2394324259 }
2394424260
2394524261 /**
@@ -24015,7 +24331,7 @@ class TopLevel {
2401524331 * @return Typedef|float|null
2401624332 */
2401724333 public static function sampleTypedef(): Typedef|float|null {
24018- return Typedef::sample(); /*333:typedef*/
24334+ return Typedef::sample(); /*337:typedef*/
2401924335 }
2402024336
2402124337 /**
@@ -24091,7 +24407,7 @@ class TopLevel {
2409124407 * @return Typeid|float|null
2409224408 */
2409324409 public static function sampleTypeid(): Typeid|float|null {
24094- return Typeid::sample(); /*334:typeid*/
24410+ return Typeid::sample(); /*338:typeid*/
2409524411 }
2409624412
2409724413 /**
@@ -24167,7 +24483,7 @@ class TopLevel {
2416724483 * @return Typename|float|null
2416824484 */
2416924485 public static function sampleTypename(): Typename|float|null {
24170- return Typename::sample(); /*335:typename*/
24486+ return Typename::sample(); /*339:typename*/
2417124487 }
2417224488
2417324489 /**
@@ -24243,7 +24559,7 @@ class TopLevel {
2424324559 * @return Typeof|float|null
2424424560 */
2424524561 public static function sampleTypeof(): Typeof|float|null {
24246- return Typeof::sample(); /*336:typeof*/
24562+ return Typeof::sample(); /*340:typeof*/
2424724563 }
2424824564
2424924565 /**
@@ -24319,7 +24635,7 @@ class TopLevel {
2431924635 * @return Uint|float|null
2432024636 */
2432124637 public static function sampleUint(): Uint|float|null {
24322- return Uint::sample(); /*337:uint*/
24638+ return Uint::sample(); /*341:uint*/
2432324639 }
2432424640
2432524641 /**
@@ -24395,7 +24711,7 @@ class TopLevel {
2439524711 * @return Ulong|float|null
2439624712 */
2439724713 public static function sampleUlong(): Ulong|float|null {
24398- return Ulong::sample(); /*338:ulong*/
24714+ return Ulong::sample(); /*342:ulong*/
2439924715 }
2440024716
2440124717 /**
@@ -24471,7 +24787,7 @@ class TopLevel {
2447124787 * @return Unchecked|float|null
2447224788 */
2447324789 public static function sampleUnchecked(): Unchecked|float|null {
24474- return Unchecked::sample(); /*339:unchecked*/
24790+ return Unchecked::sample(); /*343:unchecked*/
2447524791 }
2447624792
2447724793 /**
@@ -24547,7 +24863,7 @@ class TopLevel {
2454724863 * @return Undefined|float|null
2454824864 */
2454924865 public static function sampleUndefined(): Undefined|float|null {
24550- return Undefined::sample(); /*340:undefined*/
24866+ return Undefined::sample(); /*344:undefined*/
2455124867 }
2455224868
2455324869 /**
@@ -24623,7 +24939,7 @@ class TopLevel {
2462324939 * @return UnionClass|float|null
2462424940 */
2462524941 public static function sampleUnion(): UnionClass|float|null {
24626- return UnionClass::sample(); /*341:union*/
24942+ return UnionClass::sample(); /*345:union*/
2462724943 }
2462824944
2462924945 /**
@@ -24699,7 +25015,7 @@ class TopLevel {
2469925015 * @return Unowned|float|null
2470025016 */
2470125017 public static function sampleUnowned(): Unowned|float|null {
24702- return Unowned::sample(); /*342:unowned*/
25018+ return Unowned::sample(); /*346:unowned*/
2470325019 }
2470425020
2470525021 /**
@@ -24775,7 +25091,7 @@ class TopLevel {
2477525091 * @return Unsafe|float|null
2477625092 */
2477725093 public static function sampleUnsafe(): Unsafe|float|null {
24778- return Unsafe::sample(); /*343:unsafe*/
25094+ return Unsafe::sample(); /*347:unsafe*/
2477925095 }
2478025096
2478125097 /**
@@ -24851,7 +25167,7 @@ class TopLevel {
2485125167 * @return Unsigned|float|null
2485225168 */
2485325169 public static function sampleUnsigned(): Unsigned|float|null {
24854- return Unsigned::sample(); /*344:unsigned*/
25170+ return Unsigned::sample(); /*348:unsigned*/
2485525171 }
2485625172
2485725173 /**
@@ -24927,7 +25243,7 @@ class TopLevel {
2492725243 * @return Ushort|float|null
2492825244 */
2492925245 public static function sampleUshort(): Ushort|float|null {
24930- return Ushort::sample(); /*345:ushort*/
25246+ return Ushort::sample(); /*349:ushort*/
2493125247 }
2493225248
2493325249 /**
@@ -25003,7 +25319,7 @@ class TopLevel {
2500325319 * @return Using|float|null
2500425320 */
2500525321 public static function sampleUsing(): Using|float|null {
25006- return Using::sample(); /*346:using*/
25322+ return Using::sample(); /*350:using*/
2500725323 }
2500825324
2500925325 /**
@@ -25079,7 +25395,7 @@ class TopLevel {
2507925395 * @return Utf8JSONReader|float|null
2508025396 */
2508125397 public static function sampleUtf8JSONReader(): Utf8JSONReader|float|null {
25082- return Utf8JSONReader::sample(); /*347:utf8JSONReader*/
25398+ return Utf8JSONReader::sample(); /*351:utf8JSONReader*/
2508325399 }
2508425400
2508525401 /**
@@ -25155,7 +25471,7 @@ class TopLevel {
2515525471 * @return Utf8JSONWriter|float|null
2515625472 */
2515725473 public static function sampleUtf8JSONWriter(): Utf8JSONWriter|float|null {
25158- return Utf8JSONWriter::sample(); /*348:utf8JSONWriter*/
25474+ return Utf8JSONWriter::sample(); /*352:utf8JSONWriter*/
2515925475 }
2516025476
2516125477 /**
@@ -25231,7 +25547,7 @@ class TopLevel {
2523125547 * @return UUID|float|null
2523225548 */
2523325549 public static function sampleUUID(): UUID|float|null {
25234- return UUID::sample(); /*349:uuid*/
25550+ return UUID::sample(); /*353:uuid*/
2523525551 }
2523625552
2523725553 /**
@@ -25307,7 +25623,7 @@ class TopLevel {
2530725623 * @return VarClass|float|null
2530825624 */
2530925625 public static function sampleVar(): VarClass|float|null {
25310- return VarClass::sample(); /*350:var*/
25626+ return VarClass::sample(); /*354:var*/
2531125627 }
2531225628
2531325629 /**
@@ -25383,7 +25699,7 @@ class TopLevel {
2538325699 * @return Virtual|float|null
2538425700 */
2538525701 public static function sampleVirtual(): Virtual|float|null {
25386- return Virtual::sample(); /*351:virtual*/
25702+ return Virtual::sample(); /*355:virtual*/
2538725703 }
2538825704
2538925705 /**
@@ -25459,7 +25775,7 @@ class TopLevel {
2545925775 * @return VoidClass|float|null
2546025776 */
2546125777 public static function sampleVoid(): VoidClass|float|null {
25462- return VoidClass::sample(); /*352:void*/
25778+ return VoidClass::sample(); /*356:void*/
2546325779 }
2546425780
2546525781 /**
@@ -25535,7 +25851,7 @@ class TopLevel {
2553525851 * @return Volatile|float|null
2553625852 */
2553725853 public static function sampleVolatile(): Volatile|float|null {
25538- return Volatile::sample(); /*353:volatile*/
25854+ return Volatile::sample(); /*357:volatile*/
2553925855 }
2554025856
2554125857 /**
@@ -25611,7 +25927,7 @@ class TopLevel {
2561125927 * @return WcharT|float|null
2561225928 */
2561325929 public static function sampleWcharT(): WcharT|float|null {
25614- return WcharT::sample(); /*354:wcharT*/
25930+ return WcharT::sample(); /*358:wcharT*/
2561525931 }
2561625932
2561725933 /**
@@ -25687,7 +26003,7 @@ class TopLevel {
2568726003 * @return Weak|float|null
2568826004 */
2568926005 public static function sampleWeak(): Weak|float|null {
25690- return Weak::sample(); /*355:weak*/
26006+ return Weak::sample(); /*359:weak*/
2569126007 }
2569226008
2569326009 /**
@@ -25763,7 +26079,7 @@ class TopLevel {
2576326079 * @return Where|float|null
2576426080 */
2576526081 public static function sampleWhere(): Where|float|null {
25766- return Where::sample(); /*356:where*/
26082+ return Where::sample(); /*360:where*/
2576726083 }
2576826084
2576926085 /**
@@ -25839,7 +26155,7 @@ class TopLevel {
2583926155 * @return WhileClass|float|null
2584026156 */
2584126157 public static function sampleWhile(): WhileClass|float|null {
25842- return WhileClass::sample(); /*357:while*/
26158+ return WhileClass::sample(); /*361:while*/
2584326159 }
2584426160
2584526161 /**
@@ -25915,7 +26231,7 @@ class TopLevel {
2591526231 * @return WillSet|float|null
2591626232 */
2591726233 public static function sampleWillSet(): WillSet|float|null {
25918- return WillSet::sample(); /*358:willSet*/
26234+ return WillSet::sample(); /*362:willSet*/
2591926235 }
2592026236
2592126237 /**
@@ -25991,7 +26307,7 @@ class TopLevel {
2599126307 * @return With|float|null
2599226308 */
2599326309 public static function sampleWith(): With|float|null {
25994- return With::sample(); /*359:with*/
26310+ return With::sample(); /*363:with*/
2599526311 }
2599626312
2599726313 /**
@@ -26067,7 +26383,7 @@ class TopLevel {
2606726383 * @return XorClass|float|null
2606826384 */
2606926385 public static function sampleXor(): XorClass|float|null {
26070- return XorClass::sample(); /*360:xor*/
26386+ return XorClass::sample(); /*364:xor*/
2607126387 }
2607226388
2607326389 /**
@@ -26143,7 +26459,7 @@ class TopLevel {
2614326459 * @return XorEq|float|null
2614426460 */
2614526461 public static function sampleXorEq(): XorEq|float|null {
26146- return XorEq::sample(); /*361:xorEq*/
26462+ return XorEq::sample(); /*365:xorEq*/
2614726463 }
2614826464
2614926465 /**
@@ -26219,7 +26535,7 @@ class TopLevel {
2621926535 * @return Yes|float|null
2622026536 */
2622126537 public static function sampleYes(): Yes|float|null {
26222- return Yes::sample(); /*362:yes*/
26538+ return Yes::sample(); /*366:yes*/
2622326539 }
2622426540
2622526541 /**
@@ -26295,7 +26611,7 @@ class TopLevel {
2629526611 * @return YieldClass|float|null
2629626612 */
2629726613 public static function sampleYield(): YieldClass|float|null {
26298- return YieldClass::sample(); /*363:yield*/
26614+ return YieldClass::sample(); /*367:yield*/
2629926615 }
2630026616
2630126617 /**
@@ -26387,6 +26703,7 @@ class TopLevel {
2638726703 || TopLevel::validateDel($this->del)
2638826704 || TopLevel::validateDelegate($this->delegate)
2638926705 || TopLevel::validateDelete($this->delete)
26706+ || TopLevel::validateDeserializationFeature($this->deserializationFeature)
2639026707 || TopLevel::validateDict($this->dict)
2639126708 || TopLevel::validateDictionary($this->dictionary)
2639226709 || TopLevel::validateDidSet($this->didSet)
@@ -26513,6 +26830,8 @@ class TopLevel {
2651326830 || TopLevel::validateNumber($this->number)
2651426831 || TopLevel::validateObject($this->object)
2651526832 || TopLevel::validateObjectMapper($this->objectMapper)
26833+ || TopLevel::validateObjectReader($this->objectReader)
26834+ || TopLevel::validateObjectWriter($this->objectWriter)
2651626835 || TopLevel::validateOf($this->of)
2651726836 || TopLevel::validateOneway($this->oneway)
2651826837 || TopLevel::validateOpen($this->open)
@@ -26563,6 +26882,7 @@ class TopLevel {
2656326882 || TopLevel::validateSelf($this->self)
2656426883 || TopLevel::validateTopLevelSelf($this->topLevelSelf)
2656526884 || TopLevel::validateSendable($this->sendable)
26885+ || TopLevel::validateSerializationFeature($this->serializationFeature)
2656626886 || TopLevel::validateSerialize($this->serialize)
2656726887 || TopLevel::validateSerializerProvider($this->serializerProvider)
2656826888 || TopLevel::validateSet($this->set)
@@ -26728,6 +27048,7 @@ class TopLevel {
2672827048 $out->{'del'} = $this->toDel();
2672927049 $out->{'delegate'} = $this->toDelegate();
2673027050 $out->{'delete'} = $this->toDelete();
27051+ $out->{'DeserializationFeature'} = $this->toDeserializationFeature();
2673127052 $out->{'dict'} = $this->toDict();
2673227053 $out->{'dictionary'} = $this->toDictionary();
2673327054 $out->{'didSet'} = $this->toDidSet();
@@ -26854,6 +27175,8 @@ class TopLevel {
2685427175 $out->{'number'} = $this->toNumber();
2685527176 $out->{'object'} = $this->toObject();
2685627177 $out->{'ObjectMapper'} = $this->toObjectMapper();
27178+ $out->{'ObjectReader'} = $this->toObjectReader();
27179+ $out->{'ObjectWriter'} = $this->toObjectWriter();
2685727180 $out->{'of'} = $this->toOf();
2685827181 $out->{'oneway'} = $this->toOneway();
2685927182 $out->{'open'} = $this->toOpen();
@@ -26904,6 +27227,7 @@ class TopLevel {
2690427227 $out->{'Self'} = $this->toSelf();
2690527228 $out->{'self'} = $this->toTopLevelSelf();
2690627229 $out->{'Sendable'} = $this->toSendable();
27230+ $out->{'SerializationFeature'} = $this->toSerializationFeature();
2690727231 $out->{'serialize'} = $this->toSerialize();
2690827232 $out->{'SerializerProvider'} = $this->toSerializerProvider();
2690927233 $out->{'set'} = $this->toSet();
@@ -27071,6 +27395,7 @@ class TopLevel {
2707127395 ,TopLevel::fromDel($obj->{'del'})
2707227396 ,TopLevel::fromDelegate($obj->{'delegate'})
2707327397 ,TopLevel::fromDelete($obj->{'delete'})
27398+ ,TopLevel::fromDeserializationFeature($obj->{'DeserializationFeature'})
2707427399 ,TopLevel::fromDict($obj->{'dict'})
2707527400 ,TopLevel::fromDictionary($obj->{'dictionary'})
2707627401 ,TopLevel::fromDidSet($obj->{'didSet'})
@@ -27197,6 +27522,8 @@ class TopLevel {
2719727522 ,TopLevel::fromNumber($obj->{'number'})
2719827523 ,TopLevel::fromObject($obj->{'object'})
2719927524 ,TopLevel::fromObjectMapper($obj->{'ObjectMapper'})
27525+ ,TopLevel::fromObjectReader($obj->{'ObjectReader'})
27526+ ,TopLevel::fromObjectWriter($obj->{'ObjectWriter'})
2720027527 ,TopLevel::fromOf($obj->{'of'})
2720127528 ,TopLevel::fromOneway($obj->{'oneway'})
2720227529 ,TopLevel::fromOpen($obj->{'open'})
@@ -27247,6 +27574,7 @@ class TopLevel {
2724727574 ,TopLevel::fromSelf($obj->{'Self'})
2724827575 ,TopLevel::fromTopLevelSelf($obj->{'self'})
2724927576 ,TopLevel::fromSendable($obj->{'Sendable'})
27577+ ,TopLevel::fromSerializationFeature($obj->{'SerializationFeature'})
2725027578 ,TopLevel::fromSerialize($obj->{'serialize'})
2725127579 ,TopLevel::fromSerializerProvider($obj->{'SerializerProvider'})
2725227580 ,TopLevel::fromSet($obj->{'set'})
@@ -27412,6 +27740,7 @@ class TopLevel {
2741227740 ,TopLevel::sampleDel()
2741327741 ,TopLevel::sampleDelegate()
2741427742 ,TopLevel::sampleDelete()
27743+ ,TopLevel::sampleDeserializationFeature()
2741527744 ,TopLevel::sampleDict()
2741627745 ,TopLevel::sampleDictionary()
2741727746 ,TopLevel::sampleDidSet()
@@ -27538,6 +27867,8 @@ class TopLevel {
2753827867 ,TopLevel::sampleNumber()
2753927868 ,TopLevel::sampleObject()
2754027869 ,TopLevel::sampleObjectMapper()
27870+ ,TopLevel::sampleObjectReader()
27871+ ,TopLevel::sampleObjectWriter()
2754127872 ,TopLevel::sampleOf()
2754227873 ,TopLevel::sampleOneway()
2754327874 ,TopLevel::sampleOpen()
@@ -27588,6 +27919,7 @@ class TopLevel {
2758827919 ,TopLevel::sampleSelf()
2758927920 ,TopLevel::sampleTopLevelSelf()
2759027921 ,TopLevel::sampleSendable()
27922+ ,TopLevel::sampleSerializationFeature()
2759127923 ,TopLevel::sampleSerialize()
2759227924 ,TopLevel::sampleSerializerProvider()
2759327925 ,TopLevel::sampleSet()
@@ -31175,6 +31507,51 @@ class Delete {
3117531507 }
3117631508 }
3117731509
31510+// This is an autogenerated file:DeserializationFeature
31511+
31512+class DeserializationFeature {
31513+
31514+ /**
31515+ */
31516+ public function __construct() {
31517+ }
31518+
31519+ /**
31520+ * @throws Exception
31521+ * @return bool
31522+ */
31523+ public function validate(): bool {
31524+ return true;
31525+ }
31526+
31527+ /**
31528+ * @return stdClass
31529+ * @throws Exception
31530+ */
31531+ public function to(): stdClass {
31532+ $out = new stdClass();
31533+ return $out;
31534+ }
31535+
31536+ /**
31537+ * @param stdClass $obj
31538+ * @return DeserializationFeature
31539+ * @throws Exception
31540+ */
31541+ public static function from(stdClass $obj): DeserializationFeature {
31542+ return new DeserializationFeature(
31543+ );
31544+ }
31545+
31546+ /**
31547+ * @return DeserializationFeature
31548+ */
31549+ public static function sample(): DeserializationFeature {
31550+ return new DeserializationFeature(
31551+ );
31552+ }
31553+}
31554+
3117831555 // This is an autogenerated file:Dict
3117931556
3118031557 class Dict {
@@ -36755,6 +37132,96 @@ class ObjectMapper {
3675537132 }
3675637133 }
3675737134
37135+// This is an autogenerated file:ObjectReader
37136+
37137+class ObjectReader {
37138+
37139+ /**
37140+ */
37141+ public function __construct() {
37142+ }
37143+
37144+ /**
37145+ * @throws Exception
37146+ * @return bool
37147+ */
37148+ public function validate(): bool {
37149+ return true;
37150+ }
37151+
37152+ /**
37153+ * @return stdClass
37154+ * @throws Exception
37155+ */
37156+ public function to(): stdClass {
37157+ $out = new stdClass();
37158+ return $out;
37159+ }
37160+
37161+ /**
37162+ * @param stdClass $obj
37163+ * @return ObjectReader
37164+ * @throws Exception
37165+ */
37166+ public static function from(stdClass $obj): ObjectReader {
37167+ return new ObjectReader(
37168+ );
37169+ }
37170+
37171+ /**
37172+ * @return ObjectReader
37173+ */
37174+ public static function sample(): ObjectReader {
37175+ return new ObjectReader(
37176+ );
37177+ }
37178+}
37179+
37180+// This is an autogenerated file:ObjectWriter
37181+
37182+class ObjectWriter {
37183+
37184+ /**
37185+ */
37186+ public function __construct() {
37187+ }
37188+
37189+ /**
37190+ * @throws Exception
37191+ * @return bool
37192+ */
37193+ public function validate(): bool {
37194+ return true;
37195+ }
37196+
37197+ /**
37198+ * @return stdClass
37199+ * @throws Exception
37200+ */
37201+ public function to(): stdClass {
37202+ $out = new stdClass();
37203+ return $out;
37204+ }
37205+
37206+ /**
37207+ * @param stdClass $obj
37208+ * @return ObjectWriter
37209+ * @throws Exception
37210+ */
37211+ public static function from(stdClass $obj): ObjectWriter {
37212+ return new ObjectWriter(
37213+ );
37214+ }
37215+
37216+ /**
37217+ * @return ObjectWriter
37218+ */
37219+ public static function sample(): ObjectWriter {
37220+ return new ObjectWriter(
37221+ );
37222+ }
37223+}
37224+
3675837225 // This is an autogenerated file:Of
3675937226
3676037227 class Of {
@@ -38960,6 +39427,51 @@ class Sendable {
3896039427 }
3896139428 }
3896239429
39430+// This is an autogenerated file:SerializationFeature
39431+
39432+class SerializationFeature {
39433+
39434+ /**
39435+ */
39436+ public function __construct() {
39437+ }
39438+
39439+ /**
39440+ * @throws Exception
39441+ * @return bool
39442+ */
39443+ public function validate(): bool {
39444+ return true;
39445+ }
39446+
39447+ /**
39448+ * @return stdClass
39449+ * @throws Exception
39450+ */
39451+ public function to(): stdClass {
39452+ $out = new stdClass();
39453+ return $out;
39454+ }
39455+
39456+ /**
39457+ * @param stdClass $obj
39458+ * @return SerializationFeature
39459+ * @throws Exception
39460+ */
39461+ public static function from(stdClass $obj): SerializationFeature {
39462+ return new SerializationFeature(
39463+ );
39464+ }
39465+
39466+ /**
39467+ * @return SerializationFeature
39468+ */
39469+ public static function sample(): SerializationFeature {
39470+ return new SerializationFeature(
39471+ );
39472+ }
39473+}
39474+
3896339475 // This is an autogenerated file:Serialize
3896439476
3896539477 class Serialize {
Mschema-pikedefault / TopLevel.pmod+104 −0
@@ -97,6 +97,7 @@ class TopLevel {
9797 UnionDel del; // json: "del"
9898 UnionDelegate delegate; // json: "delegate"
9999 UnionDelete delete; // json: "delete"
100+ UnionDeserializationFeature deserialization_feature; // json: "DeserializationFeature"
100101 UnionDict dict; // json: "dict"
101102 UnionDictionary dictionary; // json: "dictionary"
102103 UnionDidSet did_set; // json: "didSet"
@@ -223,6 +224,8 @@ class TopLevel {
223224 UnionNumber number; // json: "number"
224225 UnionObject top_level_object; // json: "object"
225226 UnionObjectMapper object_mapper; // json: "ObjectMapper"
227+ UnionObjectReader object_reader; // json: "ObjectReader"
228+ UnionObjectWriter object_writer; // json: "ObjectWriter"
226229 UnionOf of; // json: "of"
227230 UnionOneway oneway; // json: "oneway"
228231 UnionOpen open; // json: "open"
@@ -273,6 +276,7 @@ class TopLevel {
273276 UnionSelf self; // json: "Self"
274277 UnionSelfUnion top_level_self; // json: "self"
275278 UnionSendable sendable; // json: "Sendable"
279+ UnionSerializationFeature serialization_feature; // json: "SerializationFeature"
276280 UnionSerialize serialize; // json: "serialize"
277281 UnionSerializerProvider serializer_provider; // json: "SerializerProvider"
278282 UnionSet set; // json: "set"
@@ -433,6 +437,7 @@ class TopLevel {
433437 "del" : del,
434438 "delegate" : delegate,
435439 "delete" : delete,
440+ "DeserializationFeature" : deserialization_feature,
436441 "dict" : dict,
437442 "dictionary" : dictionary,
438443 "didSet" : did_set,
@@ -559,6 +564,8 @@ class TopLevel {
559564 "number" : number,
560565 "object" : top_level_object,
561566 "ObjectMapper" : object_mapper,
567+ "ObjectReader" : object_reader,
568+ "ObjectWriter" : object_writer,
562569 "of" : of,
563570 "oneway" : oneway,
564571 "open" : open,
@@ -609,6 +616,7 @@ class TopLevel {
609616 "Self" : self,
610617 "self" : top_level_self,
611618 "Sendable" : sendable,
619+ "SerializationFeature" : serialization_feature,
612620 "serialize" : serialize,
613621 "SerializerProvider" : serializer_provider,
614622 "set" : set,
@@ -859,6 +867,8 @@ TopLevel TopLevel_from_JSON(mixed json) {
859867 retval.delegate = json["delegate"];
860868 if (arrayp(json["delete"])) error("Unexpected array");
861869 retval.delete = json["delete"];
870+ if (arrayp(json["DeserializationFeature"])) error("Unexpected array");
871+ retval.deserialization_feature = json["DeserializationFeature"];
862872 if (arrayp(json["dict"])) error("Unexpected array");
863873 retval.dict = json["dict"];
864874 if (arrayp(json["dictionary"])) error("Unexpected array");
@@ -1110,6 +1120,10 @@ TopLevel TopLevel_from_JSON(mixed json) {
11101120 retval.top_level_object = json["object"];
11111121 if (arrayp(json["ObjectMapper"])) error("Unexpected array");
11121122 retval.object_mapper = json["ObjectMapper"];
1123+ if (arrayp(json["ObjectReader"])) error("Unexpected array");
1124+ retval.object_reader = json["ObjectReader"];
1125+ if (arrayp(json["ObjectWriter"])) error("Unexpected array");
1126+ retval.object_writer = json["ObjectWriter"];
11131127 if (arrayp(json["of"])) error("Unexpected array");
11141128 retval.of = json["of"];
11151129 if (arrayp(json["oneway"])) error("Unexpected array");
@@ -1210,6 +1224,8 @@ TopLevel TopLevel_from_JSON(mixed json) {
12101224 retval.top_level_self = json["self"];
12111225 if (arrayp(json["Sendable"])) error("Unexpected array");
12121226 retval.sendable = json["Sendable"];
1227+ if (arrayp(json["SerializationFeature"])) error("Unexpected array");
1228+ retval.serialization_feature = json["SerializationFeature"];
12131229 if (arrayp(json["serialize"])) error("Unexpected array");
12141230 retval.serialize = json["serialize"];
12151231 if (arrayp(json["SerializerProvider"])) error("Unexpected array");
@@ -2878,6 +2894,28 @@ Delete Delete_from_JSON(mixed json) {
28782894 return retval;
28792895 }
28802896
2897+typedef DeserializationFeature|float UnionDeserializationFeature;
2898+
2899+UnionDeserializationFeature UnionDeserializationFeature_from_JSON(mixed json) {
2900+ return json;
2901+}
2902+
2903+class DeserializationFeature {
2904+
2905+ string encode_json() {
2906+ mapping(string:mixed) json = ([
2907+ ]);
2908+
2909+ return Standards.JSON.encode(json);
2910+ }
2911+}
2912+
2913+DeserializationFeature DeserializationFeature_from_JSON(mixed json) {
2914+ DeserializationFeature retval = DeserializationFeature();
2915+
2916+ return retval;
2917+}
2918+
28812919 typedef Dict|float UnionDict;
28822920
28832921 UnionDict UnionDict_from_JSON(mixed json) {
@@ -5254,6 +5292,50 @@ ObjectMapper ObjectMapper_from_JSON(mixed json) {
52545292 return retval;
52555293 }
52565294
5295+typedef float|ObjectReader UnionObjectReader;
5296+
5297+UnionObjectReader UnionObjectReader_from_JSON(mixed json) {
5298+ return json;
5299+}
5300+
5301+class ObjectReader {
5302+
5303+ string encode_json() {
5304+ mapping(string:mixed) json = ([
5305+ ]);
5306+
5307+ return Standards.JSON.encode(json);
5308+ }
5309+}
5310+
5311+ObjectReader ObjectReader_from_JSON(mixed json) {
5312+ ObjectReader retval = ObjectReader();
5313+
5314+ return retval;
5315+}
5316+
5317+typedef float|ObjectWriter UnionObjectWriter;
5318+
5319+UnionObjectWriter UnionObjectWriter_from_JSON(mixed json) {
5320+ return json;
5321+}
5322+
5323+class ObjectWriter {
5324+
5325+ string encode_json() {
5326+ mapping(string:mixed) json = ([
5327+ ]);
5328+
5329+ return Standards.JSON.encode(json);
5330+ }
5331+}
5332+
5333+ObjectWriter ObjectWriter_from_JSON(mixed json) {
5334+ ObjectWriter retval = ObjectWriter();
5335+
5336+ return retval;
5337+}
5338+
52575339 typedef float|Of UnionOf;
52585340
52595341 UnionOf UnionOf_from_JSON(mixed json) {
@@ -6244,6 +6326,28 @@ Sendable Sendable_from_JSON(mixed json) {
62446326 return retval;
62456327 }
62466328
6329+typedef float|SerializationFeature UnionSerializationFeature;
6330+
6331+UnionSerializationFeature UnionSerializationFeature_from_JSON(mixed json) {
6332+ return json;
6333+}
6334+
6335+class SerializationFeature {
6336+
6337+ string encode_json() {
6338+ mapping(string:mixed) json = ([
6339+ ]);
6340+
6341+ return Standards.JSON.encode(json);
6342+ }
6343+}
6344+
6345+SerializationFeature SerializationFeature_from_JSON(mixed json) {
6346+ SerializationFeature retval = SerializationFeature();
6347+
6348+ return retval;
6349+}
6350+
62476351 typedef float|Serialize UnionSerialize;
62486352
62496353 UnionSerialize UnionSerialize_from_JSON(mixed json) {
Mschema-pythondefault / quicktype.py+73 −1
@@ -972,6 +972,20 @@ class Delete:
972972 return result
973973
974974
975+@dataclass
976+class DeserializationFeature:
977+ pass
978+
979+ @staticmethod
980+ def from_dict(obj: Any) -> 'DeserializationFeature':
981+ assert isinstance(obj, dict)
982+ return DeserializationFeature()
983+
984+ def to_dict(self) -> dict:
985+ result: dict = {}
986+ return result
987+
988+
975989 @dataclass
976990 class Dictionary:
977991 pass
@@ -2484,6 +2498,34 @@ class ObjectMapper:
24842498 return result
24852499
24862500
2501+@dataclass
2502+class ObjectReader:
2503+ pass
2504+
2505+ @staticmethod
2506+ def from_dict(obj: Any) -> 'ObjectReader':
2507+ assert isinstance(obj, dict)
2508+ return ObjectReader()
2509+
2510+ def to_dict(self) -> dict:
2511+ result: dict = {}
2512+ return result
2513+
2514+
2515+@dataclass
2516+class ObjectWriter:
2517+ pass
2518+
2519+ @staticmethod
2520+ def from_dict(obj: Any) -> 'ObjectWriter':
2521+ assert isinstance(obj, dict)
2522+ return ObjectWriter()
2523+
2524+ def to_dict(self) -> dict:
2525+ result: dict = {}
2526+ return result
2527+
2528+
24872529 @dataclass
24882530 class Of:
24892531 pass
@@ -3114,6 +3156,20 @@ class Sendable:
31143156 return result
31153157
31163158
3159+@dataclass
3160+class SerializationFeature:
3161+ pass
3162+
3163+ @staticmethod
3164+ def from_dict(obj: Any) -> 'SerializationFeature':
3165+ assert isinstance(obj, dict)
3166+ return SerializationFeature()
3167+
3168+ def to_dict(self) -> dict:
3169+ result: dict = {}
3170+ return result
3171+
3172+
31173173 @dataclass
31183174 class Serialize:
31193175 pass
@@ -4768,6 +4824,7 @@ class TopLevel:
47684824 top_level_del: float | Del | None = None
47694825 delegate: float | Delegate | None = None
47704826 delete: float | Delete | None = None
4827+ deserialization_feature: float | DeserializationFeature | None = None
47714828 top_level_dict: float | DictClass | None = None
47724829 dictionary: float | Dictionary | None = None
47734830 did_set: float | DidSet | None = None
@@ -4894,6 +4951,8 @@ class TopLevel:
48944951 number: float | Number | None = None
48954952 object: float | Object | None = None
48964953 object_mapper: float | ObjectMapper | None = None
4954+ object_reader: float | ObjectReader | None = None
4955+ object_writer: float | ObjectWriter | None = None
48974956 of: float | Of | None = None
48984957 oneway: float | Oneway | None = None
48994958 open: float | Open | None = None
@@ -4944,6 +5003,7 @@ class TopLevel:
49445003 top_level_self: float | Self | None = None
49455004 purple_self: float | SelfClass | None = None
49465005 sendable: float | Sendable | None = None
5006+ serialization_feature: float | SerializationFeature | None = None
49475007 serialize: float | Serialize | None = None
49485008 serializer_provider: float | SerializerProvider | None = None
49495009 set: float | Set | None = None
@@ -5105,6 +5165,7 @@ class TopLevel:
51055165 top_level_del = from_union([from_float, Del.from_dict, from_none], obj.get("del"))
51065166 delegate = from_union([from_float, Delegate.from_dict, from_none], obj.get("delegate"))
51075167 delete = from_union([from_float, Delete.from_dict, from_none], obj.get("delete"))
5168+ deserialization_feature = from_union([from_float, DeserializationFeature.from_dict, from_none], obj.get("DeserializationFeature"))
51085169 top_level_dict = from_union([from_float, DictClass.from_dict, from_none], obj.get("dict"))
51095170 dictionary = from_union([from_float, Dictionary.from_dict, from_none], obj.get("dictionary"))
51105171 did_set = from_union([from_float, DidSet.from_dict, from_none], obj.get("didSet"))
@@ -5231,6 +5292,8 @@ class TopLevel:
52315292 number = from_union([from_float, Number.from_dict, from_none], obj.get("number"))
52325293 object = from_union([from_float, Object.from_dict, from_none], obj.get("object"))
52335294 object_mapper = from_union([from_float, ObjectMapper.from_dict, from_none], obj.get("ObjectMapper"))
5295+ object_reader = from_union([from_float, ObjectReader.from_dict, from_none], obj.get("ObjectReader"))
5296+ object_writer = from_union([from_float, ObjectWriter.from_dict, from_none], obj.get("ObjectWriter"))
52345297 of = from_union([from_float, Of.from_dict, from_none], obj.get("of"))
52355298 oneway = from_union([from_float, Oneway.from_dict, from_none], obj.get("oneway"))
52365299 open = from_union([from_float, Open.from_dict, from_none], obj.get("open"))
@@ -5281,6 +5344,7 @@ class TopLevel:
52815344 top_level_self = from_union([from_float, Self.from_dict, from_none], obj.get("Self"))
52825345 purple_self = from_union([from_float, SelfClass.from_dict, from_none], obj.get("self"))
52835346 sendable = from_union([from_float, Sendable.from_dict, from_none], obj.get("Sendable"))
5347+ serialization_feature = from_union([from_float, SerializationFeature.from_dict, from_none], obj.get("SerializationFeature"))
52845348 serialize = from_union([from_float, Serialize.from_dict, from_none], obj.get("serialize"))
52855349 serializer_provider = from_union([from_float, SerializerProvider.from_dict, from_none], obj.get("SerializerProvider"))
52865350 set = from_union([from_float, Set.from_dict, from_none], obj.get("set"))
@@ -5354,7 +5418,7 @@ class TopLevel:
53545418 xor_eq = from_union([from_float, XorEq.from_dict, from_none], obj.get("xor_eq"))
53555419 yes = from_union([from_float, Yes.from_dict, from_none], obj.get("YES"))
53565420 top_level_yield = from_union([from_float, Yield.from_dict, from_none], obj.get("yield"))
5357- return TopLevel(empty, purple_bool, complex, imaginery, abstract, alignas, alignof, top_level_and, and_eq, top_level_any, any, array, top_level_as, asm, top_level_assert, associatedtype, associativity, top_level_async, atomic, atomic_cancel, atomic_commit, atomic_noexcept, auto, top_level_await, base, bitand, bitor, top_level_bool, fluffy_bool, boolean, top_level_break, bycopy, byref, byte, calendar, case, catch, chan, char, char16_t, char32_t, checked, purple_class, top_level_class, clone, co_await, co_return, co_yield, codable, coding_key, coding_keys, compl, concept, console, const, const_cast, constexpr, constructor, top_level_continue, convenience, convert, converter, culture_info, date, date_parse_handling, date_formatter, date_only, date_only_converter, date_time, date_time_styles, debugger, decimal, declare, decltype, decode_string, decoder, decoding_error, top_level_def, default, defer, deinit, top_level_del, delegate, delete, top_level_dict, dictionary, did_set, do, double, dummy, dynamic, dynamic_cast, top_level_elif, top_level_else, encode_quick_type, encoder, enum, enum_values, equality_contract, equatable, event, top_level_except, exception, explicit, export, exposing, extends, extension, extern, fallthrough, top_level_false, false, fileprivate, final, top_level_finally, fixed, top_level_float, top_level_for, foreach, format_exception, friend, top_level_from, from_json, func, function, get, top_level_global, go, goto, guard, hashable, hash_code, hasher, has_own_property, id, top_level_if, imp, implements, implicit, top_level_import, top_level_in, indirect, infix, init, inline, inout, instanceof, top_level_int, interface, internal, top_level_is, iso_date_time_offset_converter, iterable, jdec, jenc, jpipe, json, json_converter, json_serializer, json_token, json_writer, json_any, json_coding_key, json_decoder, json_encoder, json_exception, json_generator, json_node, json_null, json_parser, json_reader, json_token_type, top_level_lambda, lazy, left, let, list, locale, lock, long, map, map_entry, metadata_property_handling, module, mutable, mutating, namespace, native, new, newtonsoft, nil, no, noexcept, nonatomic, top_level_none, none, top_level_nonlocal, nonmutating, no_such_method, top_level_not, not_eq, ns_error, ns_object, ns_string, null, top_level_null, nullptr, number, object, object_mapper, of, oneway, open, operator, optional, top_level_or, or_eq, out, override, package, params, top_level_pass, port, postfix, precedence, prefix, top_level_print, printf, print_members, private, protected, protocol, top_level_protocol, public, quicktype, top_level_raise, range, readonly, ref, reg_exp, register, reinterpret_cast, repeat, require, required, requires, restrict, retain, rethrows, top_level_return, right, runtime_type, s, sbyte, sealed, sel, select, top_level_self, purple_self, sendable, serialize, serializer_provider, set, short, signed, simple_module, sizeof, stackalloc, standards, static, static_assert, static_cast, std_deserializer, std_serializer, strictfp, string, struct, subscript, super, switch, symbol, synchronized, system, template, then, this, thread_local, throw, throws, time_only, time_only_converter, time_zone, to_json, top_level, to_string, transient, true, top_level_true, top_level_try, type, top_level_type, typealias, typedef, typeid, typename, typeof, uint, ulong, unchecked, undefined, union, unowned, unsafe, unsigned, ushort, using, utf8_json_reader, utf8_json_writer, uuid, var, virtual, void, volatile, wchar_t, weak, where, top_level_while, will_set, top_level_with, xor, xor_eq, yes, top_level_yield)
5421+ return TopLevel(empty, purple_bool, complex, imaginery, abstract, alignas, alignof, top_level_and, and_eq, top_level_any, any, array, top_level_as, asm, top_level_assert, associatedtype, associativity, top_level_async, atomic, atomic_cancel, atomic_commit, atomic_noexcept, auto, top_level_await, base, bitand, bitor, top_level_bool, fluffy_bool, boolean, top_level_break, bycopy, byref, byte, calendar, case, catch, chan, char, char16_t, char32_t, checked, purple_class, top_level_class, clone, co_await, co_return, co_yield, codable, coding_key, coding_keys, compl, concept, console, const, const_cast, constexpr, constructor, top_level_continue, convenience, convert, converter, culture_info, date, date_parse_handling, date_formatter, date_only, date_only_converter, date_time, date_time_styles, debugger, decimal, declare, decltype, decode_string, decoder, decoding_error, top_level_def, default, defer, deinit, top_level_del, delegate, delete, deserialization_feature, top_level_dict, dictionary, did_set, do, double, dummy, dynamic, dynamic_cast, top_level_elif, top_level_else, encode_quick_type, encoder, enum, enum_values, equality_contract, equatable, event, top_level_except, exception, explicit, export, exposing, extends, extension, extern, fallthrough, top_level_false, false, fileprivate, final, top_level_finally, fixed, top_level_float, top_level_for, foreach, format_exception, friend, top_level_from, from_json, func, function, get, top_level_global, go, goto, guard, hashable, hash_code, hasher, has_own_property, id, top_level_if, imp, implements, implicit, top_level_import, top_level_in, indirect, infix, init, inline, inout, instanceof, top_level_int, interface, internal, top_level_is, iso_date_time_offset_converter, iterable, jdec, jenc, jpipe, json, json_converter, json_serializer, json_token, json_writer, json_any, json_coding_key, json_decoder, json_encoder, json_exception, json_generator, json_node, json_null, json_parser, json_reader, json_token_type, top_level_lambda, lazy, left, let, list, locale, lock, long, map, map_entry, metadata_property_handling, module, mutable, mutating, namespace, native, new, newtonsoft, nil, no, noexcept, nonatomic, top_level_none, none, top_level_nonlocal, nonmutating, no_such_method, top_level_not, not_eq, ns_error, ns_object, ns_string, null, top_level_null, nullptr, number, object, object_mapper, object_reader, object_writer, of, oneway, open, operator, optional, top_level_or, or_eq, out, override, package, params, top_level_pass, port, postfix, precedence, prefix, top_level_print, printf, print_members, private, protected, protocol, top_level_protocol, public, quicktype, top_level_raise, range, readonly, ref, reg_exp, register, reinterpret_cast, repeat, require, required, requires, restrict, retain, rethrows, top_level_return, right, runtime_type, s, sbyte, sealed, sel, select, top_level_self, purple_self, sendable, serialization_feature, serialize, serializer_provider, set, short, signed, simple_module, sizeof, stackalloc, standards, static, static_assert, static_cast, std_deserializer, std_serializer, strictfp, string, struct, subscript, super, switch, symbol, synchronized, system, template, then, this, thread_local, throw, throws, time_only, time_only_converter, time_zone, to_json, top_level, to_string, transient, true, top_level_true, top_level_try, type, top_level_type, typealias, typedef, typeid, typename, typeof, uint, ulong, unchecked, undefined, union, unowned, unsafe, unsigned, ushort, using, utf8_json_reader, utf8_json_writer, uuid, var, virtual, void, volatile, wchar_t, weak, where, top_level_while, will_set, top_level_with, xor, xor_eq, yes, top_level_yield)
53585422
53595423 def to_dict(self) -> dict:
53605424 result: dict = {}
@@ -5526,6 +5590,8 @@ class TopLevel:
55265590 result["delegate"] = from_union([to_float, lambda x: to_class(Delegate, x), from_none], self.delegate)
55275591 if self.delete is not None:
55285592 result["delete"] = from_union([to_float, lambda x: to_class(Delete, x), from_none], self.delete)
5593+ if self.deserialization_feature is not None:
5594+ result["DeserializationFeature"] = from_union([to_float, lambda x: to_class(DeserializationFeature, x), from_none], self.deserialization_feature)
55295595 if self.top_level_dict is not None:
55305596 result["dict"] = from_union([to_float, lambda x: to_class(DictClass, x), from_none], self.top_level_dict)
55315597 if self.dictionary is not None:
@@ -5778,6 +5844,10 @@ class TopLevel:
57785844 result["object"] = from_union([to_float, lambda x: to_class(Object, x), from_none], self.object)
57795845 if self.object_mapper is not None:
57805846 result["ObjectMapper"] = from_union([to_float, lambda x: to_class(ObjectMapper, x), from_none], self.object_mapper)
5847+ if self.object_reader is not None:
5848+ result["ObjectReader"] = from_union([to_float, lambda x: to_class(ObjectReader, x), from_none], self.object_reader)
5849+ if self.object_writer is not None:
5850+ result["ObjectWriter"] = from_union([to_float, lambda x: to_class(ObjectWriter, x), from_none], self.object_writer)
57815851 if self.of is not None:
57825852 result["of"] = from_union([to_float, lambda x: to_class(Of, x), from_none], self.of)
57835853 if self.oneway is not None:
@@ -5878,6 +5948,8 @@ class TopLevel:
58785948 result["self"] = from_union([to_float, lambda x: to_class(SelfClass, x), from_none], self.purple_self)
58795949 if self.sendable is not None:
58805950 result["Sendable"] = from_union([to_float, lambda x: to_class(Sendable, x), from_none], self.sendable)
5951+ if self.serialization_feature is not None:
5952+ result["SerializationFeature"] = from_union([to_float, lambda x: to_class(SerializationFeature, x), from_none], self.serialization_feature)
58815953 if self.serialize is not None:
58825954 result["serialize"] = from_union([to_float, lambda x: to_class(Serialize, x), from_none], self.serialize)
58835955 if self.serializer_provider is not None:
Mschema-ruby-syntaxdefault / TopLevel.rb+240 −0
@@ -4066,6 +4066,63 @@ class UnionDelete < Dry::Struct
40664066 end
40674067 end
40684068
4069+class DeserializationFeature < Dry::Struct
4070+
4071+ def self.from_dynamic!(d)
4072+ d = Types::Hash[d]
4073+ new(
4074+ )
4075+ end
4076+
4077+ def self.from_json!(json)
4078+ from_dynamic!(JSON.parse(json))
4079+ end
4080+
4081+ def to_dynamic
4082+ {
4083+ }
4084+ end
4085+
4086+ def to_json(options = nil)
4087+ JSON.generate(to_dynamic, options)
4088+ end
4089+end
4090+
4091+class UnionDeserializationFeature < Dry::Struct
4092+ attribute :deserialization_feature, DeserializationFeature.optional
4093+ attribute :double, Types::Double.optional
4094+
4095+ def self.from_dynamic!(d)
4096+ begin
4097+ value = DeserializationFeature.from_dynamic!(d)
4098+ if schema.key(:deserialization_feature).type.right.valid? value
4099+ return new(deserialization_feature: value, double: nil)
4100+ end
4101+ rescue
4102+ end
4103+ if schema.key(:double).type.right.valid? d
4104+ return new(double: d, deserialization_feature: nil)
4105+ end
4106+ raise "Invalid union"
4107+ end
4108+
4109+ def self.from_json!(json)
4110+ from_dynamic!(JSON.parse(json))
4111+ end
4112+
4113+ def to_dynamic
4114+ if deserialization_feature != nil
4115+ deserialization_feature.to_dynamic
4116+ elsif double != nil
4117+ double
4118+ end
4119+ end
4120+
4121+ def to_json(options = nil)
4122+ JSON.generate(to_dynamic, options)
4123+ end
4124+end
4125+
40694126 class Dict < Dry::Struct
40704127
40714128 def self.from_dynamic!(d)
@@ -10507,6 +10564,120 @@ class UnionObjectMapper < Dry::Struct
1050710564 end
1050810565 end
1050910566
10567+class ObjectReader < Dry::Struct
10568+
10569+ def self.from_dynamic!(d)
10570+ d = Types::Hash[d]
10571+ new(
10572+ )
10573+ end
10574+
10575+ def self.from_json!(json)
10576+ from_dynamic!(JSON.parse(json))
10577+ end
10578+
10579+ def to_dynamic
10580+ {
10581+ }
10582+ end
10583+
10584+ def to_json(options = nil)
10585+ JSON.generate(to_dynamic, options)
10586+ end
10587+end
10588+
10589+class UnionObjectReader < Dry::Struct
10590+ attribute :double, Types::Double.optional
10591+ attribute :object_reader, ObjectReader.optional
10592+
10593+ def self.from_dynamic!(d)
10594+ if schema.key(:double).type.right.valid? d
10595+ return new(double: d, object_reader: nil)
10596+ end
10597+ begin
10598+ value = ObjectReader.from_dynamic!(d)
10599+ if schema.key(:object_reader).type.right.valid? value
10600+ return new(object_reader: value, double: nil)
10601+ end
10602+ rescue
10603+ end
10604+ raise "Invalid union"
10605+ end
10606+
10607+ def self.from_json!(json)
10608+ from_dynamic!(JSON.parse(json))
10609+ end
10610+
10611+ def to_dynamic
10612+ if double != nil
10613+ double
10614+ elsif object_reader != nil
10615+ object_reader.to_dynamic
10616+ end
10617+ end
10618+
10619+ def to_json(options = nil)
10620+ JSON.generate(to_dynamic, options)
10621+ end
10622+end
10623+
10624+class ObjectWriter < Dry::Struct
10625+
10626+ def self.from_dynamic!(d)
10627+ d = Types::Hash[d]
10628+ new(
10629+ )
10630+ end
10631+
10632+ def self.from_json!(json)
10633+ from_dynamic!(JSON.parse(json))
10634+ end
10635+
10636+ def to_dynamic
10637+ {
10638+ }
10639+ end
10640+
10641+ def to_json(options = nil)
10642+ JSON.generate(to_dynamic, options)
10643+ end
10644+end
10645+
10646+class UnionObjectWriter < Dry::Struct
10647+ attribute :double, Types::Double.optional
10648+ attribute :object_writer, ObjectWriter.optional
10649+
10650+ def self.from_dynamic!(d)
10651+ if schema.key(:double).type.right.valid? d
10652+ return new(double: d, object_writer: nil)
10653+ end
10654+ begin
10655+ value = ObjectWriter.from_dynamic!(d)
10656+ if schema.key(:object_writer).type.right.valid? value
10657+ return new(object_writer: value, double: nil)
10658+ end
10659+ rescue
10660+ end
10661+ raise "Invalid union"
10662+ end
10663+
10664+ def self.from_json!(json)
10665+ from_dynamic!(JSON.parse(json))
10666+ end
10667+
10668+ def to_dynamic
10669+ if double != nil
10670+ double
10671+ elsif object_writer != nil
10672+ object_writer.to_dynamic
10673+ end
10674+ end
10675+
10676+ def to_json(options = nil)
10677+ JSON.generate(to_dynamic, options)
10678+ end
10679+end
10680+
1051010681 class Of < Dry::Struct
1051110682
1051210683 def self.from_dynamic!(d)
@@ -12730,6 +12901,63 @@ class UnionSendable < Dry::Struct
1273012901 end
1273112902 end
1273212903
12904+class SerializationFeature < Dry::Struct
12905+
12906+ def self.from_dynamic!(d)
12907+ d = Types::Hash[d]
12908+ new(
12909+ )
12910+ end
12911+
12912+ def self.from_json!(json)
12913+ from_dynamic!(JSON.parse(json))
12914+ end
12915+
12916+ def to_dynamic
12917+ {
12918+ }
12919+ end
12920+
12921+ def to_json(options = nil)
12922+ JSON.generate(to_dynamic, options)
12923+ end
12924+end
12925+
12926+class UnionSerializationFeature < Dry::Struct
12927+ attribute :double, Types::Double.optional
12928+ attribute :serialization_feature, SerializationFeature.optional
12929+
12930+ def self.from_dynamic!(d)
12931+ if schema.key(:double).type.right.valid? d
12932+ return new(double: d, serialization_feature: nil)
12933+ end
12934+ begin
12935+ value = SerializationFeature.from_dynamic!(d)
12936+ if schema.key(:serialization_feature).type.right.valid? value
12937+ return new(serialization_feature: value, double: nil)
12938+ end
12939+ rescue
12940+ end
12941+ raise "Invalid union"
12942+ end
12943+
12944+ def self.from_json!(json)
12945+ from_dynamic!(JSON.parse(json))
12946+ end
12947+
12948+ def to_dynamic
12949+ if double != nil
12950+ double
12951+ elsif serialization_feature != nil
12952+ serialization_feature.to_dynamic
12953+ end
12954+ end
12955+
12956+ def to_json(options = nil)
12957+ JSON.generate(to_dynamic, options)
12958+ end
12959+end
12960+
1273312961 class Serialize < Dry::Struct
1273412962
1273512963 def self.from_dynamic!(d)
@@ -19028,6 +19256,7 @@ class TopLevel < Dry::Struct
1902819256 attribute :del, Types.Instance(UnionDel).optional
1902919257 attribute :delegate, Types.Instance(UnionDelegate).optional
1903019258 attribute :delete, Types.Instance(UnionDelete).optional
19259+ attribute :deserialization_feature, Types.Instance(UnionDeserializationFeature).optional
1903119260 attribute :dict, Types.Instance(UnionDict).optional
1903219261 attribute :dictionary, Types.Instance(UnionDictionary).optional
1903319262 attribute :did_set, Types.Instance(UnionDidSet).optional
@@ -19154,6 +19383,8 @@ class TopLevel < Dry::Struct
1915419383 attribute :number, Types.Instance(UnionNumber).optional
1915519384 attribute :object, Types.Instance(UnionObject).optional
1915619385 attribute :object_mapper, Types.Instance(UnionObjectMapper).optional
19386+ attribute :object_reader, Types.Instance(UnionObjectReader).optional
19387+ attribute :object_writer, Types.Instance(UnionObjectWriter).optional
1915719388 attribute :of, Types.Instance(UnionOf).optional
1915819389 attribute :oneway, Types.Instance(UnionOneway).optional
1915919390 attribute :top_level_open, Types.Instance(UnionOpen).optional
@@ -19204,6 +19435,7 @@ class TopLevel < Dry::Struct
1920419435 attribute :top_level_self, Types.Instance(UnionSelf).optional
1920519436 attribute :self_1, Types.Instance(UnionSelfUnion).optional
1920619437 attribute :sendable, Types.Instance(UnionSendable).optional
19438+ attribute :serialization_feature, Types.Instance(UnionSerializationFeature).optional
1920719439 attribute :serialize, Types.Instance(UnionSerialize).optional
1920819440 attribute :serializer_provider, Types.Instance(UnionSerializerProvider).optional
1920919441 attribute :set, Types.Instance(UnionSet).optional
@@ -19365,6 +19597,7 @@ class TopLevel < Dry::Struct
1936519597 del: d.key?("del") ? UnionDel.from_dynamic!(d["del"]) : nil,
1936619598 delegate: d.key?("delegate") ? UnionDelegate.from_dynamic!(d["delegate"]) : nil,
1936719599 delete: d.key?("delete") ? UnionDelete.from_dynamic!(d["delete"]) : nil,
19600+ deserialization_feature: d.key?("DeserializationFeature") ? UnionDeserializationFeature.from_dynamic!(d["DeserializationFeature"]) : nil,
1936819601 dict: d.key?("dict") ? UnionDict.from_dynamic!(d["dict"]) : nil,
1936919602 dictionary: d.key?("dictionary") ? UnionDictionary.from_dynamic!(d["dictionary"]) : nil,
1937019603 did_set: d.key?("didSet") ? UnionDidSet.from_dynamic!(d["didSet"]) : nil,
@@ -19491,6 +19724,8 @@ class TopLevel < Dry::Struct
1949119724 number: d.key?("number") ? UnionNumber.from_dynamic!(d["number"]) : nil,
1949219725 object: d.key?("object") ? UnionObject.from_dynamic!(d["object"]) : nil,
1949319726 object_mapper: d.key?("ObjectMapper") ? UnionObjectMapper.from_dynamic!(d["ObjectMapper"]) : nil,
19727+ object_reader: d.key?("ObjectReader") ? UnionObjectReader.from_dynamic!(d["ObjectReader"]) : nil,
19728+ object_writer: d.key?("ObjectWriter") ? UnionObjectWriter.from_dynamic!(d["ObjectWriter"]) : nil,
1949419729 of: d.key?("of") ? UnionOf.from_dynamic!(d["of"]) : nil,
1949519730 oneway: d.key?("oneway") ? UnionOneway.from_dynamic!(d["oneway"]) : nil,
1949619731 top_level_open: d.key?("open") ? UnionOpen.from_dynamic!(d["open"]) : nil,
@@ -19541,6 +19776,7 @@ class TopLevel < Dry::Struct
1954119776 top_level_self: d.key?("Self") ? UnionSelf.from_dynamic!(d["Self"]) : nil,
1954219777 self_1: d.key?("self") ? UnionSelfUnion.from_dynamic!(d["self"]) : nil,
1954319778 sendable: d.key?("Sendable") ? UnionSendable.from_dynamic!(d["Sendable"]) : nil,
19779+ serialization_feature: d.key?("SerializationFeature") ? UnionSerializationFeature.from_dynamic!(d["SerializationFeature"]) : nil,
1954419780 serialize: d.key?("serialize") ? UnionSerialize.from_dynamic!(d["serialize"]) : nil,
1954519781 serializer_provider: d.key?("SerializerProvider") ? UnionSerializerProvider.from_dynamic!(d["SerializerProvider"]) : nil,
1954619782 set: d.key?("set") ? UnionSet.from_dynamic!(d["set"]) : nil,
@@ -19707,6 +19943,7 @@ class TopLevel < Dry::Struct
1970719943 "del" => del&.to_dynamic,
1970819944 "delegate" => delegate&.to_dynamic,
1970919945 "delete" => delete&.to_dynamic,
19946+ "DeserializationFeature" => deserialization_feature&.to_dynamic,
1971019947 "dict" => dict&.to_dynamic,
1971119948 "dictionary" => dictionary&.to_dynamic,
1971219949 "didSet" => did_set&.to_dynamic,
@@ -19833,6 +20070,8 @@ class TopLevel < Dry::Struct
1983320070 "number" => number&.to_dynamic,
1983420071 "object" => object&.to_dynamic,
1983520072 "ObjectMapper" => object_mapper&.to_dynamic,
20073+ "ObjectReader" => object_reader&.to_dynamic,
20074+ "ObjectWriter" => object_writer&.to_dynamic,
1983620075 "of" => of&.to_dynamic,
1983720076 "oneway" => oneway&.to_dynamic,
1983820077 "open" => top_level_open&.to_dynamic,
@@ -19883,6 +20122,7 @@ class TopLevel < Dry::Struct
1988320122 "Self" => top_level_self&.to_dynamic,
1988420123 "self" => self_1&.to_dynamic,
1988520124 "Sendable" => sendable&.to_dynamic,
20125+ "SerializationFeature" => serialization_feature&.to_dynamic,
1988620126 "serialize" => serialize&.to_dynamic,
1988720127 "SerializerProvider" => serializer_provider&.to_dynamic,
1988820128 "set" => set&.to_dynamic,
Mschema-rubydefault / TopLevel.rb+240 −0
@@ -4066,6 +4066,63 @@ class UnionDelete < Dry::Struct
40664066 end
40674067 end
40684068
4069+class DeserializationFeature < Dry::Struct
4070+
4071+ def self.from_dynamic!(d)
4072+ d = Types::Hash[d]
4073+ new(
4074+ )
4075+ end
4076+
4077+ def self.from_json!(json)
4078+ from_dynamic!(JSON.parse(json))
4079+ end
4080+
4081+ def to_dynamic
4082+ {
4083+ }
4084+ end
4085+
4086+ def to_json(options = nil)
4087+ JSON.generate(to_dynamic, options)
4088+ end
4089+end
4090+
4091+class UnionDeserializationFeature < Dry::Struct
4092+ attribute :deserialization_feature, DeserializationFeature.optional
4093+ attribute :double, Types::Double.optional
4094+
4095+ def self.from_dynamic!(d)
4096+ begin
4097+ value = DeserializationFeature.from_dynamic!(d)
4098+ if schema.key(:deserialization_feature).type.right.valid? value
4099+ return new(deserialization_feature: value, double: nil)
4100+ end
4101+ rescue
4102+ end
4103+ if schema.key(:double).type.right.valid? d
4104+ return new(double: d, deserialization_feature: nil)
4105+ end
4106+ raise "Invalid union"
4107+ end
4108+
4109+ def self.from_json!(json)
4110+ from_dynamic!(JSON.parse(json))
4111+ end
4112+
4113+ def to_dynamic
4114+ if deserialization_feature != nil
4115+ deserialization_feature.to_dynamic
4116+ elsif double != nil
4117+ double
4118+ end
4119+ end
4120+
4121+ def to_json(options = nil)
4122+ JSON.generate(to_dynamic, options)
4123+ end
4124+end
4125+
40694126 class Dict < Dry::Struct
40704127
40714128 def self.from_dynamic!(d)
@@ -10507,6 +10564,120 @@ class UnionObjectMapper < Dry::Struct
1050710564 end
1050810565 end
1050910566
10567+class ObjectReader < Dry::Struct
10568+
10569+ def self.from_dynamic!(d)
10570+ d = Types::Hash[d]
10571+ new(
10572+ )
10573+ end
10574+
10575+ def self.from_json!(json)
10576+ from_dynamic!(JSON.parse(json))
10577+ end
10578+
10579+ def to_dynamic
10580+ {
10581+ }
10582+ end
10583+
10584+ def to_json(options = nil)
10585+ JSON.generate(to_dynamic, options)
10586+ end
10587+end
10588+
10589+class UnionObjectReader < Dry::Struct
10590+ attribute :double, Types::Double.optional
10591+ attribute :object_reader, ObjectReader.optional
10592+
10593+ def self.from_dynamic!(d)
10594+ if schema.key(:double).type.right.valid? d
10595+ return new(double: d, object_reader: nil)
10596+ end
10597+ begin
10598+ value = ObjectReader.from_dynamic!(d)
10599+ if schema.key(:object_reader).type.right.valid? value
10600+ return new(object_reader: value, double: nil)
10601+ end
10602+ rescue
10603+ end
10604+ raise "Invalid union"
10605+ end
10606+
10607+ def self.from_json!(json)
10608+ from_dynamic!(JSON.parse(json))
10609+ end
10610+
10611+ def to_dynamic
10612+ if double != nil
10613+ double
10614+ elsif object_reader != nil
10615+ object_reader.to_dynamic
10616+ end
10617+ end
10618+
10619+ def to_json(options = nil)
10620+ JSON.generate(to_dynamic, options)
10621+ end
10622+end
10623+
10624+class ObjectWriter < Dry::Struct
10625+
10626+ def self.from_dynamic!(d)
10627+ d = Types::Hash[d]
10628+ new(
10629+ )
10630+ end
10631+
10632+ def self.from_json!(json)
10633+ from_dynamic!(JSON.parse(json))
10634+ end
10635+
10636+ def to_dynamic
10637+ {
10638+ }
10639+ end
10640+
10641+ def to_json(options = nil)
10642+ JSON.generate(to_dynamic, options)
10643+ end
10644+end
10645+
10646+class UnionObjectWriter < Dry::Struct
10647+ attribute :double, Types::Double.optional
10648+ attribute :object_writer, ObjectWriter.optional
10649+
10650+ def self.from_dynamic!(d)
10651+ if schema.key(:double).type.right.valid? d
10652+ return new(double: d, object_writer: nil)
10653+ end
10654+ begin
10655+ value = ObjectWriter.from_dynamic!(d)
10656+ if schema.key(:object_writer).type.right.valid? value
10657+ return new(object_writer: value, double: nil)
10658+ end
10659+ rescue
10660+ end
10661+ raise "Invalid union"
10662+ end
10663+
10664+ def self.from_json!(json)
10665+ from_dynamic!(JSON.parse(json))
10666+ end
10667+
10668+ def to_dynamic
10669+ if double != nil
10670+ double
10671+ elsif object_writer != nil
10672+ object_writer.to_dynamic
10673+ end
10674+ end
10675+
10676+ def to_json(options = nil)
10677+ JSON.generate(to_dynamic, options)
10678+ end
10679+end
10680+
1051010681 class Of < Dry::Struct
1051110682
1051210683 def self.from_dynamic!(d)
@@ -12730,6 +12901,63 @@ class UnionSendable < Dry::Struct
1273012901 end
1273112902 end
1273212903
12904+class SerializationFeature < Dry::Struct
12905+
12906+ def self.from_dynamic!(d)
12907+ d = Types::Hash[d]
12908+ new(
12909+ )
12910+ end
12911+
12912+ def self.from_json!(json)
12913+ from_dynamic!(JSON.parse(json))
12914+ end
12915+
12916+ def to_dynamic
12917+ {
12918+ }
12919+ end
12920+
12921+ def to_json(options = nil)
12922+ JSON.generate(to_dynamic, options)
12923+ end
12924+end
12925+
12926+class UnionSerializationFeature < Dry::Struct
12927+ attribute :double, Types::Double.optional
12928+ attribute :serialization_feature, SerializationFeature.optional
12929+
12930+ def self.from_dynamic!(d)
12931+ if schema.key(:double).type.right.valid? d
12932+ return new(double: d, serialization_feature: nil)
12933+ end
12934+ begin
12935+ value = SerializationFeature.from_dynamic!(d)
12936+ if schema.key(:serialization_feature).type.right.valid? value
12937+ return new(serialization_feature: value, double: nil)
12938+ end
12939+ rescue
12940+ end
12941+ raise "Invalid union"
12942+ end
12943+
12944+ def self.from_json!(json)
12945+ from_dynamic!(JSON.parse(json))
12946+ end
12947+
12948+ def to_dynamic
12949+ if double != nil
12950+ double
12951+ elsif serialization_feature != nil
12952+ serialization_feature.to_dynamic
12953+ end
12954+ end
12955+
12956+ def to_json(options = nil)
12957+ JSON.generate(to_dynamic, options)
12958+ end
12959+end
12960+
1273312961 class Serialize < Dry::Struct
1273412962
1273512963 def self.from_dynamic!(d)
@@ -19028,6 +19256,7 @@ class TopLevel < Dry::Struct
1902819256 attribute :del, Types.Instance(UnionDel).optional
1902919257 attribute :delegate, Types.Instance(UnionDelegate).optional
1903019258 attribute :delete, Types.Instance(UnionDelete).optional
19259+ attribute :deserialization_feature, Types.Instance(UnionDeserializationFeature).optional
1903119260 attribute :dict, Types.Instance(UnionDict).optional
1903219261 attribute :dictionary, Types.Instance(UnionDictionary).optional
1903319262 attribute :did_set, Types.Instance(UnionDidSet).optional
@@ -19154,6 +19383,8 @@ class TopLevel < Dry::Struct
1915419383 attribute :number, Types.Instance(UnionNumber).optional
1915519384 attribute :object, Types.Instance(UnionObject).optional
1915619385 attribute :object_mapper, Types.Instance(UnionObjectMapper).optional
19386+ attribute :object_reader, Types.Instance(UnionObjectReader).optional
19387+ attribute :object_writer, Types.Instance(UnionObjectWriter).optional
1915719388 attribute :of, Types.Instance(UnionOf).optional
1915819389 attribute :oneway, Types.Instance(UnionOneway).optional
1915919390 attribute :top_level_open, Types.Instance(UnionOpen).optional
@@ -19204,6 +19435,7 @@ class TopLevel < Dry::Struct
1920419435 attribute :top_level_self, Types.Instance(UnionSelf).optional
1920519436 attribute :self_1, Types.Instance(UnionSelfUnion).optional
1920619437 attribute :sendable, Types.Instance(UnionSendable).optional
19438+ attribute :serialization_feature, Types.Instance(UnionSerializationFeature).optional
1920719439 attribute :serialize, Types.Instance(UnionSerialize).optional
1920819440 attribute :serializer_provider, Types.Instance(UnionSerializerProvider).optional
1920919441 attribute :set, Types.Instance(UnionSet).optional
@@ -19365,6 +19597,7 @@ class TopLevel < Dry::Struct
1936519597 del: d.key?("del") ? UnionDel.from_dynamic!(d["del"]) : nil,
1936619598 delegate: d.key?("delegate") ? UnionDelegate.from_dynamic!(d["delegate"]) : nil,
1936719599 delete: d.key?("delete") ? UnionDelete.from_dynamic!(d["delete"]) : nil,
19600+ deserialization_feature: d.key?("DeserializationFeature") ? UnionDeserializationFeature.from_dynamic!(d["DeserializationFeature"]) : nil,
1936819601 dict: d.key?("dict") ? UnionDict.from_dynamic!(d["dict"]) : nil,
1936919602 dictionary: d.key?("dictionary") ? UnionDictionary.from_dynamic!(d["dictionary"]) : nil,
1937019603 did_set: d.key?("didSet") ? UnionDidSet.from_dynamic!(d["didSet"]) : nil,
@@ -19491,6 +19724,8 @@ class TopLevel < Dry::Struct
1949119724 number: d.key?("number") ? UnionNumber.from_dynamic!(d["number"]) : nil,
1949219725 object: d.key?("object") ? UnionObject.from_dynamic!(d["object"]) : nil,
1949319726 object_mapper: d.key?("ObjectMapper") ? UnionObjectMapper.from_dynamic!(d["ObjectMapper"]) : nil,
19727+ object_reader: d.key?("ObjectReader") ? UnionObjectReader.from_dynamic!(d["ObjectReader"]) : nil,
19728+ object_writer: d.key?("ObjectWriter") ? UnionObjectWriter.from_dynamic!(d["ObjectWriter"]) : nil,
1949419729 of: d.key?("of") ? UnionOf.from_dynamic!(d["of"]) : nil,
1949519730 oneway: d.key?("oneway") ? UnionOneway.from_dynamic!(d["oneway"]) : nil,
1949619731 top_level_open: d.key?("open") ? UnionOpen.from_dynamic!(d["open"]) : nil,
@@ -19541,6 +19776,7 @@ class TopLevel < Dry::Struct
1954119776 top_level_self: d.key?("Self") ? UnionSelf.from_dynamic!(d["Self"]) : nil,
1954219777 self_1: d.key?("self") ? UnionSelfUnion.from_dynamic!(d["self"]) : nil,
1954319778 sendable: d.key?("Sendable") ? UnionSendable.from_dynamic!(d["Sendable"]) : nil,
19779+ serialization_feature: d.key?("SerializationFeature") ? UnionSerializationFeature.from_dynamic!(d["SerializationFeature"]) : nil,
1954419780 serialize: d.key?("serialize") ? UnionSerialize.from_dynamic!(d["serialize"]) : nil,
1954519781 serializer_provider: d.key?("SerializerProvider") ? UnionSerializerProvider.from_dynamic!(d["SerializerProvider"]) : nil,
1954619782 set: d.key?("set") ? UnionSet.from_dynamic!(d["set"]) : nil,
@@ -19707,6 +19943,7 @@ class TopLevel < Dry::Struct
1970719943 "del" => del&.to_dynamic,
1970819944 "delegate" => delegate&.to_dynamic,
1970919945 "delete" => delete&.to_dynamic,
19946+ "DeserializationFeature" => deserialization_feature&.to_dynamic,
1971019947 "dict" => dict&.to_dynamic,
1971119948 "dictionary" => dictionary&.to_dynamic,
1971219949 "didSet" => did_set&.to_dynamic,
@@ -19833,6 +20070,8 @@ class TopLevel < Dry::Struct
1983320070 "number" => number&.to_dynamic,
1983420071 "object" => object&.to_dynamic,
1983520072 "ObjectMapper" => object_mapper&.to_dynamic,
20073+ "ObjectReader" => object_reader&.to_dynamic,
20074+ "ObjectWriter" => object_writer&.to_dynamic,
1983620075 "of" => of&.to_dynamic,
1983720076 "oneway" => oneway&.to_dynamic,
1983820077 "open" => top_level_open&.to_dynamic,
@@ -19883,6 +20122,7 @@ class TopLevel < Dry::Struct
1988320122 "Self" => top_level_self&.to_dynamic,
1988420123 "self" => self_1&.to_dynamic,
1988520124 "Sendable" => sendable&.to_dynamic,
20125+ "SerializationFeature" => serialization_feature&.to_dynamic,
1988620126 "serialize" => serialize&.to_dynamic,
1988720127 "SerializerProvider" => serializer_provider&.to_dynamic,
1988820128 "set" => set&.to_dynamic,
Mschema-rustdefault / module_under_test.rs+60 −0
@@ -214,6 +214,9 @@ pub struct TopLevel {
214214
215215 pub delete: Option<UnionDelete>,
216216
217+ #[serde(rename = "DeserializationFeature")]
218+ pub deserialization_feature: Option<UnionDeserializationFeature>,
219+
217220 pub dict: Option<UnionDict>,
218221
219222 pub dictionary: Option<UnionDictionary>,
@@ -512,6 +515,12 @@ pub struct TopLevel {
512515 #[serde(rename = "ObjectMapper")]
513516 pub object_mapper: Option<UnionObjectMapper>,
514517
518+ #[serde(rename = "ObjectReader")]
519+ pub object_reader: Option<UnionObjectReader>,
520+
521+ #[serde(rename = "ObjectWriter")]
522+ pub object_writer: Option<UnionObjectWriter>,
523+
515524 pub of: Option<UnionOf>,
516525
517526 pub oneway: Option<UnionOneway>,
@@ -624,6 +633,9 @@ pub struct TopLevel {
624633 #[serde(rename = "Sendable")]
625634 pub sendable: Option<UnionSendable>,
626635
636+ #[serde(rename = "SerializationFeature")]
637+ pub serialization_feature: Option<UnionSerializationFeature>,
638+
627639 pub serialize: Option<UnionSerialize>,
628640
629641 #[serde(rename = "SerializerProvider")]
@@ -1628,6 +1640,18 @@ pub enum UnionDelete {
16281640 pub struct Delete {
16291641 }
16301642
1643+#[derive(Debug, Clone, Serialize, Deserialize)]
1644+#[serde(untagged)]
1645+pub enum UnionDeserializationFeature {
1646+ DeserializationFeature(DeserializationFeature),
1647+
1648+ Double(f64),
1649+}
1650+
1651+#[derive(Debug, Clone, Serialize, Deserialize)]
1652+pub struct DeserializationFeature {
1653+}
1654+
16311655 #[derive(Debug, Clone, Serialize, Deserialize)]
16321656 #[serde(untagged)]
16331657 pub enum UnionDict {
@@ -2996,6 +3020,30 @@ pub enum UnionObjectMapper {
29963020 pub struct ObjectMapper {
29973021 }
29983022
3023+#[derive(Debug, Clone, Serialize, Deserialize)]
3024+#[serde(untagged)]
3025+pub enum UnionObjectReader {
3026+ Double(f64),
3027+
3028+ ObjectReader(ObjectReader),
3029+}
3030+
3031+#[derive(Debug, Clone, Serialize, Deserialize)]
3032+pub struct ObjectReader {
3033+}
3034+
3035+#[derive(Debug, Clone, Serialize, Deserialize)]
3036+#[serde(untagged)]
3037+pub enum UnionObjectWriter {
3038+ Double(f64),
3039+
3040+ ObjectWriter(ObjectWriter),
3041+}
3042+
3043+#[derive(Debug, Clone, Serialize, Deserialize)]
3044+pub struct ObjectWriter {
3045+}
3046+
29993047 #[derive(Debug, Clone, Serialize, Deserialize)]
30003048 #[serde(untagged)]
30013049 pub enum UnionOf {
@@ -3584,6 +3632,18 @@ pub enum UnionSendable {
35843632 pub struct Sendable {
35853633 }
35863634
3635+#[derive(Debug, Clone, Serialize, Deserialize)]
3636+#[serde(untagged)]
3637+pub enum UnionSerializationFeature {
3638+ Double(f64),
3639+
3640+ SerializationFeature(SerializationFeature),
3641+}
3642+
3643+#[derive(Debug, Clone, Serialize, Deserialize)]
3644+pub struct SerializationFeature {
3645+}
3646+
35873647 #[derive(Debug, Clone, Serialize, Deserialize)]
35883648 #[serde(untagged)]
35893649 pub enum UnionSerialize {
Mschema-schemadefault / TopLevel.schema+76 −0
@@ -258,6 +258,9 @@
258258 "delete": {
259259 "$ref": "#/definitions/UnionDelete"
260260 },
261+ "DeserializationFeature": {
262+ "$ref": "#/definitions/UnionDeserializationFeature"
263+ },
261264 "dict": {
262265 "$ref": "#/definitions/UnionDict"
263266 },
@@ -636,6 +639,12 @@
636639 "ObjectMapper": {
637640 "$ref": "#/definitions/UnionObjectMapper"
638641 },
642+ "ObjectReader": {
643+ "$ref": "#/definitions/UnionObjectReader"
644+ },
645+ "ObjectWriter": {
646+ "$ref": "#/definitions/UnionObjectWriter"
647+ },
639648 "of": {
640649 "$ref": "#/definitions/UnionOf"
641650 },
@@ -786,6 +795,9 @@
786795 "Sendable": {
787796 "$ref": "#/definitions/UnionSendable"
788797 },
798+ "SerializationFeature": {
799+ "$ref": "#/definitions/UnionSerializationFeature"
800+ },
789801 "serialize": {
790802 "$ref": "#/definitions/UnionSerialize"
791803 },
@@ -1084,6 +1096,11 @@
10841096 "additionalProperties": false,
10851097 "title": "DecodingError"
10861098 },
1099+ "DeserializationFeature": {
1100+ "type": "object",
1101+ "additionalProperties": false,
1102+ "title": "DeserializationFeature"
1103+ },
10871104 "Encoder": {
10881105 "type": "object",
10891106 "additionalProperties": false,
@@ -1229,6 +1246,16 @@
12291246 "additionalProperties": false,
12301247 "title": "ObjectMapper"
12311248 },
1249+ "ObjectReader": {
1250+ "type": "object",
1251+ "additionalProperties": false,
1252+ "title": "ObjectReader"
1253+ },
1254+ "ObjectWriter": {
1255+ "type": "object",
1256+ "additionalProperties": false,
1257+ "title": "ObjectWriter"
1258+ },
12321259 "Protocol": {
12331260 "type": "object",
12341261 "additionalProperties": false,
@@ -1254,6 +1281,11 @@
12541281 "additionalProperties": false,
12551282 "title": "Sendable"
12561283 },
1284+ "SerializationFeature": {
1285+ "type": "object",
1286+ "additionalProperties": false,
1287+ "title": "SerializationFeature"
1288+ },
12571289 "SerializerProvider": {
12581290 "type": "object",
12591291 "additionalProperties": false,
@@ -2834,6 +2866,17 @@
28342866 ],
28352867 "title": "UnionDecodingError"
28362868 },
2869+ "UnionDeserializationFeature": {
2870+ "anyOf": [
2871+ {
2872+ "$ref": "#/definitions/DeserializationFeature"
2873+ },
2874+ {
2875+ "type": "number"
2876+ }
2877+ ],
2878+ "title": "UnionDeserializationFeature"
2879+ },
28372880 "UnionEncoder": {
28382881 "anyOf": [
28392882 {
@@ -3153,6 +3196,28 @@
31533196 ],
31543197 "title": "UnionObjectMapper"
31553198 },
3199+ "UnionObjectReader": {
3200+ "anyOf": [
3201+ {
3202+ "$ref": "#/definitions/ObjectReader"
3203+ },
3204+ {
3205+ "type": "number"
3206+ }
3207+ ],
3208+ "title": "UnionObjectReader"
3209+ },
3210+ "UnionObjectWriter": {
3211+ "anyOf": [
3212+ {
3213+ "$ref": "#/definitions/ObjectWriter"
3214+ },
3215+ {
3216+ "type": "number"
3217+ }
3218+ ],
3219+ "title": "UnionObjectWriter"
3220+ },
31563221 "UnionProtocol": {
31573222 "anyOf": [
31583223 {
@@ -3208,6 +3273,17 @@
32083273 ],
32093274 "title": "UnionSendable"
32103275 },
3276+ "UnionSerializationFeature": {
3277+ "anyOf": [
3278+ {
3279+ "$ref": "#/definitions/SerializationFeature"
3280+ },
3281+ {
3282+ "type": "number"
3283+ }
3284+ ],
3285+ "title": "UnionSerializationFeature"
3286+ },
32113287 "UnionSerializerProvider": {
32123288 "anyOf": [
32133289 {
Mschema-swiftdefault / quicktype.swift+300 −0
@@ -91,6 +91,7 @@ struct TopLevel: Codable {
9191 let del: UnionDel?
9292 let delegate: UnionDelegate?
9393 let delete: UnionDelete?
94+ let deserializationFeature: UnionDeserializationFeature?
9495 let dict: UnionDict?
9596 let dictionary: UnionDictionary?
9697 let topLevelDidSet: UnionDidSet?
@@ -217,6 +218,8 @@ struct TopLevel: Codable {
217218 let number: UnionNumber?
218219 let object: UnionObject?
219220 let objectMapper: UnionObjectMapper?
221+ let objectReader: UnionObjectReader?
222+ let objectWriter: UnionObjectWriter?
220223 let of: UnionOf?
221224 let oneway: UnionOneway?
222225 let topLevelOpen: UnionOpen?
@@ -267,6 +270,7 @@ struct TopLevel: Codable {
267270 let topLevelSelf: UnionSelf?
268271 let purpleSelf: UnionSelfUnion?
269272 let sendable: UnionSendable?
273+ let serializationFeature: UnionSerializationFeature?
270274 let serialize: UnionSerialize?
271275 let serializerProvider: UnionSerializerProvider?
272276 let topLevelSet: UnionSet?
@@ -426,6 +430,7 @@ struct TopLevel: Codable {
426430 case del = "del"
427431 case delegate = "delegate"
428432 case delete = "delete"
433+ case deserializationFeature = "DeserializationFeature"
429434 case dict = "dict"
430435 case dictionary = "dictionary"
431436 case topLevelDidSet = "didSet"
@@ -552,6 +557,8 @@ struct TopLevel: Codable {
552557 case number = "number"
553558 case object = "object"
554559 case objectMapper = "ObjectMapper"
560+ case objectReader = "ObjectReader"
561+ case objectWriter = "ObjectWriter"
555562 case of = "of"
556563 case oneway = "oneway"
557564 case topLevelOpen = "open"
@@ -602,6 +609,7 @@ struct TopLevel: Codable {
602609 case topLevelSelf = "Self"
603610 case purpleSelf = "self"
604611 case sendable = "Sendable"
612+ case serializationFeature = "SerializationFeature"
605613 case serialize = "serialize"
606614 case serializerProvider = "SerializerProvider"
607615 case topLevelSet = "set"
@@ -781,6 +789,7 @@ extension TopLevel {
781789 del: UnionDel?? = nil,
782790 delegate: UnionDelegate?? = nil,
783791 delete: UnionDelete?? = nil,
792+ deserializationFeature: UnionDeserializationFeature?? = nil,
784793 dict: UnionDict?? = nil,
785794 dictionary: UnionDictionary?? = nil,
786795 topLevelDidSet: UnionDidSet?? = nil,
@@ -907,6 +916,8 @@ extension TopLevel {
907916 number: UnionNumber?? = nil,
908917 object: UnionObject?? = nil,
909918 objectMapper: UnionObjectMapper?? = nil,
919+ objectReader: UnionObjectReader?? = nil,
920+ objectWriter: UnionObjectWriter?? = nil,
910921 of: UnionOf?? = nil,
911922 oneway: UnionOneway?? = nil,
912923 topLevelOpen: UnionOpen?? = nil,
@@ -957,6 +968,7 @@ extension TopLevel {
957968 topLevelSelf: UnionSelf?? = nil,
958969 purpleSelf: UnionSelfUnion?? = nil,
959970 sendable: UnionSendable?? = nil,
971+ serializationFeature: UnionSerializationFeature?? = nil,
960972 serialize: UnionSerialize?? = nil,
961973 serializerProvider: UnionSerializerProvider?? = nil,
962974 topLevelSet: UnionSet?? = nil,
@@ -1116,6 +1128,7 @@ extension TopLevel {
11161128 del: del ?? self.del,
11171129 delegate: delegate ?? self.delegate,
11181130 delete: delete ?? self.delete,
1131+ deserializationFeature: deserializationFeature ?? self.deserializationFeature,
11191132 dict: dict ?? self.dict,
11201133 dictionary: dictionary ?? self.dictionary,
11211134 topLevelDidSet: topLevelDidSet ?? self.topLevelDidSet,
@@ -1242,6 +1255,8 @@ extension TopLevel {
12421255 number: number ?? self.number,
12431256 object: object ?? self.object,
12441257 objectMapper: objectMapper ?? self.objectMapper,
1258+ objectReader: objectReader ?? self.objectReader,
1259+ objectWriter: objectWriter ?? self.objectWriter,
12451260 of: of ?? self.of,
12461261 oneway: oneway ?? self.oneway,
12471262 topLevelOpen: topLevelOpen ?? self.topLevelOpen,
@@ -1292,6 +1307,7 @@ extension TopLevel {
12921307 topLevelSelf: topLevelSelf ?? self.topLevelSelf,
12931308 purpleSelf: purpleSelf ?? self.purpleSelf,
12941309 sendable: sendable ?? self.sendable,
1310+ serializationFeature: serializationFeature ?? self.serializationFeature,
12951311 serialize: serialize ?? self.serialize,
12961312 serializerProvider: serializerProvider ?? self.serializerProvider,
12971313 topLevelSet: topLevelSet ?? self.topLevelSet,
@@ -5992,6 +6008,77 @@ extension Delete {
59926008 }
59936009 }
59946010
6011+enum UnionDeserializationFeature: Codable {
6012+ case deserializationFeature(DeserializationFeature)
6013+ case double(Double)
6014+
6015+ init(from decoder: Decoder) throws {
6016+ let container = try decoder.singleValueContainer()
6017+ if let x = try? container.decode(Double.self) {
6018+ self = .double(x)
6019+ return
6020+ }
6021+ if let x = try? container.decode(DeserializationFeature.self) {
6022+ self = .deserializationFeature(x)
6023+ return
6024+ }
6025+ throw DecodingError.typeMismatch(UnionDeserializationFeature.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for UnionDeserializationFeature"))
6026+ }
6027+
6028+ func encode(to encoder: Encoder) throws {
6029+ var container = encoder.singleValueContainer()
6030+ switch self {
6031+ case .deserializationFeature(let x):
6032+ try container.encode(x)
6033+ case .double(let x):
6034+ try container.encode(x)
6035+ }
6036+ }
6037+}
6038+
6039+// MARK: - DeserializationFeature
6040+struct DeserializationFeature: Codable {
6041+ private enum K: String, CodingKey { case unused }
6042+ init(from decoder: Decoder) throws {
6043+ _ = try decoder.container(keyedBy: K.self)
6044+ }
6045+ init() {
6046+ }
6047+}
6048+
6049+// MARK: DeserializationFeature convenience initializers and mutators
6050+
6051+extension DeserializationFeature {
6052+ init(data: Data) throws {
6053+ self = try newJSONDecoder().decode(DeserializationFeature.self, from: data)
6054+ }
6055+
6056+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
6057+ guard let data = json.data(using: encoding) else {
6058+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
6059+ }
6060+ try self.init(data: data)
6061+ }
6062+
6063+ init(fromURL url: URL) throws {
6064+ try self.init(data: try Data(contentsOf: url))
6065+ }
6066+
6067+ func with(
6068+ ) -> DeserializationFeature {
6069+ return DeserializationFeature(
6070+ )
6071+ }
6072+
6073+ func jsonData() throws -> Data {
6074+ return try newJSONEncoder().encode(self)
6075+ }
6076+
6077+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
6078+ return String(data: try self.jsonData(), encoding: encoding)
6079+ }
6080+}
6081+
59956082 enum UnionDict: Codable {
59966083 case dict(Dict)
59976084 case double(Double)
@@ -12666,6 +12753,148 @@ extension ObjectMapper {
1266612753 }
1266712754 }
1266812755
12756+enum UnionObjectReader: Codable {
12757+ case double(Double)
12758+ case objectReader(ObjectReader)
12759+
12760+ init(from decoder: Decoder) throws {
12761+ let container = try decoder.singleValueContainer()
12762+ if let x = try? container.decode(Double.self) {
12763+ self = .double(x)
12764+ return
12765+ }
12766+ if let x = try? container.decode(ObjectReader.self) {
12767+ self = .objectReader(x)
12768+ return
12769+ }
12770+ throw DecodingError.typeMismatch(UnionObjectReader.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for UnionObjectReader"))
12771+ }
12772+
12773+ func encode(to encoder: Encoder) throws {
12774+ var container = encoder.singleValueContainer()
12775+ switch self {
12776+ case .double(let x):
12777+ try container.encode(x)
12778+ case .objectReader(let x):
12779+ try container.encode(x)
12780+ }
12781+ }
12782+}
12783+
12784+// MARK: - ObjectReader
12785+struct ObjectReader: Codable {
12786+ private enum K: String, CodingKey { case unused }
12787+ init(from decoder: Decoder) throws {
12788+ _ = try decoder.container(keyedBy: K.self)
12789+ }
12790+ init() {
12791+ }
12792+}
12793+
12794+// MARK: ObjectReader convenience initializers and mutators
12795+
12796+extension ObjectReader {
12797+ init(data: Data) throws {
12798+ self = try newJSONDecoder().decode(ObjectReader.self, from: data)
12799+ }
12800+
12801+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12802+ guard let data = json.data(using: encoding) else {
12803+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12804+ }
12805+ try self.init(data: data)
12806+ }
12807+
12808+ init(fromURL url: URL) throws {
12809+ try self.init(data: try Data(contentsOf: url))
12810+ }
12811+
12812+ func with(
12813+ ) -> ObjectReader {
12814+ return ObjectReader(
12815+ )
12816+ }
12817+
12818+ func jsonData() throws -> Data {
12819+ return try newJSONEncoder().encode(self)
12820+ }
12821+
12822+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12823+ return String(data: try self.jsonData(), encoding: encoding)
12824+ }
12825+}
12826+
12827+enum UnionObjectWriter: Codable {
12828+ case double(Double)
12829+ case objectWriter(ObjectWriter)
12830+
12831+ init(from decoder: Decoder) throws {
12832+ let container = try decoder.singleValueContainer()
12833+ if let x = try? container.decode(Double.self) {
12834+ self = .double(x)
12835+ return
12836+ }
12837+ if let x = try? container.decode(ObjectWriter.self) {
12838+ self = .objectWriter(x)
12839+ return
12840+ }
12841+ throw DecodingError.typeMismatch(UnionObjectWriter.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for UnionObjectWriter"))
12842+ }
12843+
12844+ func encode(to encoder: Encoder) throws {
12845+ var container = encoder.singleValueContainer()
12846+ switch self {
12847+ case .double(let x):
12848+ try container.encode(x)
12849+ case .objectWriter(let x):
12850+ try container.encode(x)
12851+ }
12852+ }
12853+}
12854+
12855+// MARK: - ObjectWriter
12856+struct ObjectWriter: Codable {
12857+ private enum K: String, CodingKey { case unused }
12858+ init(from decoder: Decoder) throws {
12859+ _ = try decoder.container(keyedBy: K.self)
12860+ }
12861+ init() {
12862+ }
12863+}
12864+
12865+// MARK: ObjectWriter convenience initializers and mutators
12866+
12867+extension ObjectWriter {
12868+ init(data: Data) throws {
12869+ self = try newJSONDecoder().decode(ObjectWriter.self, from: data)
12870+ }
12871+
12872+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
12873+ guard let data = json.data(using: encoding) else {
12874+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
12875+ }
12876+ try self.init(data: data)
12877+ }
12878+
12879+ init(fromURL url: URL) throws {
12880+ try self.init(data: try Data(contentsOf: url))
12881+ }
12882+
12883+ func with(
12884+ ) -> ObjectWriter {
12885+ return ObjectWriter(
12886+ )
12887+ }
12888+
12889+ func jsonData() throws -> Data {
12890+ return try newJSONEncoder().encode(self)
12891+ }
12892+
12893+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
12894+ return String(data: try self.jsonData(), encoding: encoding)
12895+ }
12896+}
12897+
1266912898 enum UnionOf: Codable {
1267012899 case double(Double)
1267112900 case of(Of)
@@ -15364,6 +15593,77 @@ extension Sendable {
1536415593 }
1536515594 }
1536615595
15596+enum UnionSerializationFeature: Codable {
15597+ case double(Double)
15598+ case serializationFeature(SerializationFeature)
15599+
15600+ init(from decoder: Decoder) throws {
15601+ let container = try decoder.singleValueContainer()
15602+ if let x = try? container.decode(Double.self) {
15603+ self = .double(x)
15604+ return
15605+ }
15606+ if let x = try? container.decode(SerializationFeature.self) {
15607+ self = .serializationFeature(x)
15608+ return
15609+ }
15610+ throw DecodingError.typeMismatch(UnionSerializationFeature.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for UnionSerializationFeature"))
15611+ }
15612+
15613+ func encode(to encoder: Encoder) throws {
15614+ var container = encoder.singleValueContainer()
15615+ switch self {
15616+ case .double(let x):
15617+ try container.encode(x)
15618+ case .serializationFeature(let x):
15619+ try container.encode(x)
15620+ }
15621+ }
15622+}
15623+
15624+// MARK: - SerializationFeature
15625+struct SerializationFeature: Codable {
15626+ private enum K: String, CodingKey { case unused }
15627+ init(from decoder: Decoder) throws {
15628+ _ = try decoder.container(keyedBy: K.self)
15629+ }
15630+ init() {
15631+ }
15632+}
15633+
15634+// MARK: SerializationFeature convenience initializers and mutators
15635+
15636+extension SerializationFeature {
15637+ init(data: Data) throws {
15638+ self = try newJSONDecoder().decode(SerializationFeature.self, from: data)
15639+ }
15640+
15641+ init(_ json: String, using encoding: String.Encoding = .utf8) throws {
15642+ guard let data = json.data(using: encoding) else {
15643+ throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)
15644+ }
15645+ try self.init(data: data)
15646+ }
15647+
15648+ init(fromURL url: URL) throws {
15649+ try self.init(data: try Data(contentsOf: url))
15650+ }
15651+
15652+ func with(
15653+ ) -> SerializationFeature {
15654+ return SerializationFeature(
15655+ )
15656+ }
15657+
15658+ func jsonData() throws -> Data {
15659+ return try newJSONEncoder().encode(self)
15660+ }
15661+
15662+ func jsonString(encoding: String.Encoding = .utf8) throws -> String? {
15663+ return String(data: try self.jsonData(), encoding: encoding)
15664+ }
15665+}
15666+
1536715667 enum UnionSerialize: Codable {
1536815668 case double(Double)
1536915669 case serialize(Serialize)
Mschema-typescript-effect-schemadefault / TopLevel.ts+16 −0
@@ -244,6 +244,9 @@ export class SerializerProvider extends S.Class<SerializerProvider>("SerializerP
244244 export class Serialize extends S.Class<Serialize>("Serialize")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
245245 ) {}
246246
247+export class SerializationFeature extends S.Class<SerializationFeature>("SerializationFeature")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
248+) {}
249+
247250 export class Sendable extends S.Class<Sendable>("Sendable")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
248251 ) {}
249252
@@ -391,6 +394,12 @@ export class Oneway extends S.Class<Oneway>("Oneway")(S.Struct({}).pipe(S.filter
391394 export class Of extends S.Class<Of>("Of")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
392395 ) {}
393396
397+export class ObjectWriter extends S.Class<ObjectWriter>("ObjectWriter")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
398+) {}
399+
400+export class ObjectReader extends S.Class<ObjectReader>("ObjectReader")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
401+) {}
402+
394403 export class ObjectMapper extends S.Class<ObjectMapper>("ObjectMapper")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
395404 ) {}
396405
@@ -763,6 +772,9 @@ export class Dictionary extends S.Class<Dictionary>("Dictionary")(S.Struct({}).p
763772 export class Dict extends S.Class<Dict>("Dict")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
764773 ) {}
765774
775+export class DeserializationFeature extends S.Class<DeserializationFeature>("DeserializationFeature")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
776+) {}
777+
766778 export class Delete extends S.Class<Delete>("Delete")(S.Struct({}).pipe(S.filter(value => typeof value === "object" && value !== null && !Array.isArray(value)))
767779 ) {}
768780
@@ -1082,6 +1094,7 @@ export class TopLevel extends S.Class<TopLevel>("TopLevel")({
10821094 "del": S.optional(S.Union(S.Number, Del)),
10831095 "delegate": S.optional(S.Union(S.Number, Delegate)),
10841096 "delete": S.optional(S.Union(S.Number, Delete)),
1097+ "DeserializationFeature": S.optional(S.Union(S.Number, DeserializationFeature)),
10851098 "dict": S.optional(S.Union(S.Number, Dict)),
10861099 "dictionary": S.optional(S.Union(S.Number, Dictionary)),
10871100 "didSet": S.optional(S.Union(S.Number, DidSet)),
@@ -1208,6 +1221,8 @@ export class TopLevel extends S.Class<TopLevel>("TopLevel")({
12081221 "number": S.optional(S.Union(S.Number, Number)),
12091222 "object": S.optional(S.Union(S.Number, ObjectClass)),
12101223 "ObjectMapper": S.optional(S.Union(S.Number, ObjectMapper)),
1224+ "ObjectReader": S.optional(S.Union(S.Number, ObjectReader)),
1225+ "ObjectWriter": S.optional(S.Union(S.Number, ObjectWriter)),
12111226 "of": S.optional(S.Union(S.Number, Of)),
12121227 "oneway": S.optional(S.Union(S.Number, Oneway)),
12131228 "open": S.optional(S.Union(S.Number, Open)),
@@ -1258,6 +1273,7 @@ export class TopLevel extends S.Class<TopLevel>("TopLevel")({
12581273 "Self": S.optional(S.Union(S.Number, Self)),
12591274 "self": S.optional(S.Union(S.Number, SelfClass)),
12601275 "Sendable": S.optional(S.Union(S.Number, Sendable)),
1276+ "SerializationFeature": S.optional(S.Union(S.Number, SerializationFeature)),
12611277 "serialize": S.optional(S.Union(S.Number, Serialize)),
12621278 "SerializerProvider": S.optional(S.Union(S.Number, SerializerProvider)),
12631279 "set": S.optional(S.Union(S.Number, Set)),
Mschema-typescript-zoddefault / TopLevel.ts+20 −0
@@ -313,6 +313,10 @@ export const DeleteSchema = z.object({
313313 });
314314 export type Delete = z.infer<typeof DeleteSchema>;
315315
316+export const DeserializationFeatureSchema = z.object({
317+});
318+export type DeserializationFeature = z.infer<typeof DeserializationFeatureSchema>;
319+
316320 export const DictSchema = z.object({
317321 });
318322 export type Dict = z.infer<typeof DictSchema>;
@@ -809,6 +813,14 @@ export const ObjectMapperSchema = z.object({
809813 });
810814 export type ObjectMapper = z.infer<typeof ObjectMapperSchema>;
811815
816+export const ObjectReaderSchema = z.object({
817+});
818+export type ObjectReader = z.infer<typeof ObjectReaderSchema>;
819+
820+export const ObjectWriterSchema = z.object({
821+});
822+export type ObjectWriter = z.infer<typeof ObjectWriterSchema>;
823+
812824 export const OfSchema = z.object({
813825 });
814826 export type Of = z.infer<typeof OfSchema>;
@@ -1005,6 +1017,10 @@ export const SendableSchema = z.object({
10051017 });
10061018 export type Sendable = z.infer<typeof SendableSchema>;
10071019
1020+export const SerializationFeatureSchema = z.object({
1021+});
1022+export type SerializationFeature = z.infer<typeof SerializationFeatureSchema>;
1023+
10081024 export const SerializeSchema = z.object({
10091025 });
10101026 export type Serialize = z.infer<typeof SerializeSchema>;
@@ -1414,6 +1430,7 @@ export const TopLevelSchema = z.preprocess(value => typeof value === "object" &&
14141430 "del": z.union([DelSchema, z.number()]).optional(),
14151431 "delegate": z.union([DelegateSchema, z.number()]).optional(),
14161432 "delete": z.union([DeleteSchema, z.number()]).optional(),
1433+ "DeserializationFeature": z.union([DeserializationFeatureSchema, z.number()]).optional(),
14171434 "dict": z.union([DictSchema, z.number()]).optional(),
14181435 "dictionary": z.union([DictionarySchema, z.number()]).optional(),
14191436 "didSet": z.union([DidSetSchema, z.number()]).optional(),
@@ -1540,6 +1557,8 @@ export const TopLevelSchema = z.preprocess(value => typeof value === "object" &&
15401557 "number": z.union([NumberSchema, z.number()]).optional(),
15411558 "object": z.union([ObjectClassSchema, z.number()]).optional(),
15421559 "ObjectMapper": z.union([ObjectMapperSchema, z.number()]).optional(),
1560+ "ObjectReader": z.union([ObjectReaderSchema, z.number()]).optional(),
1561+ "ObjectWriter": z.union([ObjectWriterSchema, z.number()]).optional(),
15431562 "of": z.union([OfSchema, z.number()]).optional(),
15441563 "oneway": z.union([OnewaySchema, z.number()]).optional(),
15451564 "open": z.union([OpenSchema, z.number()]).optional(),
@@ -1590,6 +1609,7 @@ export const TopLevelSchema = z.preprocess(value => typeof value === "object" &&
15901609 "Self": z.union([SelfSchema, z.number()]).optional(),
15911610 "self": z.union([SelfClassSchema, z.number()]).optional(),
15921611 "Sendable": z.union([SendableSchema, z.number()]).optional(),
1612+ "SerializationFeature": z.union([SerializationFeatureSchema, z.number()]).optional(),
15931613 "serialize": z.union([SerializeSchema, z.number()]).optional(),
15941614 "SerializerProvider": z.union([SerializerProviderSchema, z.number()]).optional(),
15951615 "set": z.union([SetSchema, z.number()]).optional(),
Mschema-typescriptdefault / TopLevel.ts+16 −0
@@ -92,6 +92,7 @@ export interface TopLevel {
9292 del?: UnionDel;
9393 delegate?: UnionDelegate;
9494 delete?: UnionDelete;
95+ DeserializationFeature?: UnionDeserializationFeature;
9596 dict?: UnionDict;
9697 dictionary?: UnionDictionary;
9798 didSet?: UnionDidSet;
@@ -218,6 +219,8 @@ export interface TopLevel {
218219 number?: UnionNumber;
219220 object?: UnionObject;
220221 ObjectMapper?: UnionObjectMapper;
222+ ObjectReader?: UnionObjectReader;
223+ ObjectWriter?: UnionObjectWriter;
221224 of?: UnionOf;
222225 oneway?: UnionOneway;
223226 open?: UnionOpen;
@@ -268,6 +271,7 @@ export interface TopLevel {
268271 Self?: UnionSelf;
269272 self?: UnionSelfUnion;
270273 Sendable?: UnionSendable;
274+ SerializationFeature?: UnionSerializationFeature;
271275 serialize?: UnionSerialize;
272276 SerializerProvider?: UnionSerializerProvider;
273277 set?: UnionSet;
@@ -374,6 +378,8 @@ export type UnionDecoder = object | number;
374378
375379 export type UnionDecodingError = object | number;
376380
381+export type UnionDeserializationFeature = object | number;
382+
377383 export type UnionEncoder = object | number;
378384
379385 export type UnionEnumValues = object | number;
@@ -432,6 +438,10 @@ export type UnionNone = object | number;
432438
433439 export type UnionObjectMapper = object | number;
434440
441+export type UnionObjectReader = object | number;
442+
443+export type UnionObjectWriter = object | number;
444+
435445 export type UnionProtocol = object | number;
436446
437447 export type UnionRegExp = object | number;
@@ -442,6 +452,8 @@ export type UnionSelf = object | number;
442452
443453 export type UnionSendable = object | number;
444454
455+export type UnionSerializationFeature = object | number;
456+
445457 export type UnionSerializerProvider = object | number;
446458
447459 export type UnionSimpleModule = object | number;
@@ -1280,6 +1292,7 @@ const typeMap: any = {
12801292 { json: "del", js: "del", typ: u(undefined, u(m("any"), 3.14)) },
12811293 { json: "delegate", js: "delegate", typ: u(undefined, u(m("any"), 3.14)) },
12821294 { json: "delete", js: "delete", typ: u(undefined, u(m("any"), 3.14)) },
1295+ { json: "DeserializationFeature", js: "DeserializationFeature", typ: u(undefined, u(m("any"), 3.14)) },
12831296 { json: "dict", js: "dict", typ: u(undefined, u(m("any"), 3.14)) },
12841297 { json: "dictionary", js: "dictionary", typ: u(undefined, u(m("any"), 3.14)) },
12851298 { json: "didSet", js: "didSet", typ: u(undefined, u(m("any"), 3.14)) },
@@ -1406,6 +1419,8 @@ const typeMap: any = {
14061419 { json: "number", js: "number", typ: u(undefined, u(m("any"), 3.14)) },
14071420 { json: "object", js: "object", typ: u(undefined, u(m("any"), 3.14)) },
14081421 { json: "ObjectMapper", js: "ObjectMapper", typ: u(undefined, u(m("any"), 3.14)) },
1422+ { json: "ObjectReader", js: "ObjectReader", typ: u(undefined, u(m("any"), 3.14)) },
1423+ { json: "ObjectWriter", js: "ObjectWriter", typ: u(undefined, u(m("any"), 3.14)) },
14091424 { json: "of", js: "of", typ: u(undefined, u(m("any"), 3.14)) },
14101425 { json: "oneway", js: "oneway", typ: u(undefined, u(m("any"), 3.14)) },
14111426 { json: "open", js: "open", typ: u(undefined, u(m("any"), 3.14)) },
@@ -1456,6 +1471,7 @@ const typeMap: any = {
14561471 { json: "Self", js: "Self", typ: u(undefined, u(m("any"), 3.14)) },
14571472 { json: "self", js: "self", typ: u(undefined, u(m("any"), 3.14)) },
14581473 { json: "Sendable", js: "Sendable", typ: u(undefined, u(m("any"), 3.14)) },
1474+ { json: "SerializationFeature", js: "SerializationFeature", typ: u(undefined, u(m("any"), 3.14)) },
14591475 { json: "serialize", js: "serialize", typ: u(undefined, u(m("any"), 3.14)) },
14601476 { json: "SerializerProvider", js: "SerializerProvider", typ: u(undefined, u(m("any"), 3.14)) },
14611477 { json: "set", js: "set", typ: u(undefined, u(m("any"), 3.14)) },
No generated files match these filters.