@lena (I just realized you had use UnmarshalJSON(). Please ignore my previous posts ๐ )
> I'd rather not make a duplicate of the struct with that field removed, as it causes quite a bit of code duplication, and it's pretty chaotic.
Such duplication is good to involve from my perspective. It is okay, and maybe common, for data to have different presentation between codebase and exposed APIs.
@lena (I just realized you had use UnmarshalJSON(). Please ignore my previous posts ๐ )
> I'd rather not make a duplicate of the struct with that field removed, as it causes quite a bit of code duplication, and it's pretty chaotic.
Such duplication is good to involve from my perspective. It is okay, and maybe common, for data to have different presentation between codebase and exposed APIs.