-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std.json: move field_aliases to struct decl
- this patch moves field_aliases from an `ParseOptions` field to a public decl of T. this makes the aliases available at comptime and only apply to T. now the aliases won't apply to matching fields in child json objects. - interpret `pub const __field_aliases` decl as a `std.enums.EnumFieldStruct`
- Loading branch information
1 parent
94ebda6
commit ec6c3ee
Showing
1 changed file
with
36 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters