forked from google/jsonapi
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support nested object attributes with json anntns
Prior to release 1.4.0, nested object attributes could be annotated with `json` tags. To maintain compatibility, this change adds a detection during marshaling to check for the presence of `jsonapi` annotations before trying recursively marshal those nested objects.
- Loading branch information
Showing
1 changed file
with
57 additions
and
20 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