- 16 Sep, 2018 1 commit
-
-
Kenton Varda authored
-
- 26 Aug, 2018 1 commit
-
-
Kenton Varda authored
-
- 15 Aug, 2018 10 commits
-
-
Kenton Varda authored
In particular, it should not be necessary to specify a void union member's value explicitly. The discriminator should be sufficient. It should also be permitted to omit default values as long as the descriminator specifies the variant.
-
Kenton Varda authored
(Also make sure that external struct-unions are tested.)
-
Kenton Varda authored
The code was init()ing the union field when the discriminant was seen, but this only works if the field type is a struct or group. Instead we store the field schema and initialize it when we see the value later.
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
-
Kenton Varda authored
This avoids the need for a weird struct-as-namespace pattern inside json.capnp.
-
Kenton Varda authored
Features: - Rename any field or enum value for JSON purposes. - Flatten structs/groups into their parent object, possibly with a prefix. - Assign a special discriminant field for unions, so that union members can be flattened without ambiguity.
-