Automatically calculate attribute list
By default, I think most users would want to serialize all fields on the input data, rather than none. Is it possible to change this default behaviour? This is a duplicate of #27, but that got closed a long time ago.
@TMiguelT So I have been going around looking those who are struggling to find a proper JSONAPI serializer.
Over the past few days I've designed a resource-recursive, typescript/javascript library for serializing the entire JSON:API spec. Our API is far more fluent (and obvious) than the one here (and every other serializer I have seen/used). If this serializer doesn't fit your need, you might want to check it out :) Development is active.
If you are in particular struggling with issues such as links, resource relationships, and deep recursion (essentially any of the complicated parts of the JSON:API spec), I strongly recommend moving to our library.
{TS:JAPI}: https://github.com/jun-sheaf/ts-japi