Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Conversation

skimata
Copy link

@skimata skimata commented Jul 26, 2017

This work is on top of PR #100. That one should get reviewed first for clarity.
Since I had an opportunity, and was already deep into some jsonapi work, I implemented support for struct fields of custom types.

In order to get support for custom types, it must implement the json.Marshaler/json.Unmarshaler interfaces. I included 2 examples custom types that I think could be useful to a wide audience (also might want to use it later to refactor the time.Time value support). This feature should also technically supports these issues: #49 and #74. Those "structs" in those examples are (custom) types declarations.

@aren55555 aren55555 changed the base branch from master to feature/embeded-structs July 27, 2017 18:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant