Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Iterables produced by Guava functional constructs fail to serialize correctly #60

Closed
cowtowncoder opened this issue Dec 30, 2014 · 2 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

(moved from FasterXML/jackson-databind#665 by @prb)

This issue is an old one apparently:

https://jira.codehaus.org/browse/JACKSON-876

Here's a minimal reproduction:

Iterables.transform(ImmutableList.of("mr", "bo", "jangles"),
                    new Function<String, String>() {
                      @Override
                      public String apply(@Nullable String input) {
                        return new StringBuffer(input).reverse().toString();
                      }
                    })
@prb
Copy link
Member

prb commented Dec 30, 2014

The serialization is {"empty":false}.

@cowtowncoder cowtowncoder added this to the 2.4.2 milestone Dec 30, 2014
@cowtowncoder
Copy link
Member Author

I think this is same as #46, fixed in 2.4.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants