jsonapi icon indicating copy to clipboard operation
jsonapi copied to clipboard

Serialize List value camelize not working

Open opodartho opened this issue 5 years ago • 1 comments

List value ins't serialize

{ "data": { "attributes": { “foo”: [ 752895340, 501008 ], “Bar”: [ "600043", “FOO_BAR” ] }, "id": “1, "links": { "self": "http://localhost/posts/1” }, "relationships": {}, "type": “posts” }, "included": [], "links": { "self": "http://localhost/posts/1” } }

expand_fields(%{"foo-bar" => ["foo-bar", "foo-baz"]}, &camelize/1) %{"fooBar" => ["fooBar", "fooBaz"]}

opodartho avatar Oct 22 '20 16:10 opodartho

This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet. If this issue still relevant, please leave any comment if you have any new additional information that helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you with that.

github-actions[bot] avatar Jun 28 '24 02:06 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you!

github-actions[bot] avatar Jul 14 '24 02:07 github-actions[bot]