Open CasualSuperman opened 10 years ago
@CasualSuperman Better support for nested types is next on my list of things to do. Currently megajson has fairly simple type checking but with some fixes to the generator I think I can support most types (e.g. primitives, structs, pointers, slices, slices of pointers, slices of pointers to pointers, etc...).
I'd like to see support for maps. I'm trying to parse some third-party json that uses essentially a map[string]struct{...} as the root, so I'm unable to use megajson for it (or at least it's not generating a parser for it).