swiftlang / swiftlang/swift-java

Use-case: We should be able to deserialize a Java type using Jackson etc.

Open
#186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
1.2k
Forks
123
Avg merge
1d 7h
Merged PRs (30d)
16

Description

This is one of those "pushing the limits of what's possible" tickets.

It would be interesting to see what we would have to do to be able to invoke an API relying on generics to decode some Java types using a Java serializaiton library. Since we can't use Codable with Java types, we would do so with some Java decoder.

There's plenty issues here: generics, annotations, reflection etc.

This task primarily is to explore what the problems are and then figure out how/if to solve them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating how Swift could invoke a Java generic API and use a Java serialization library such as Jackson, noting the roles of generics, annotations, and reflection. Done means documenting the key problems and determining whether a viable solution can be designed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, swift
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.