You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hello!
I am wondering if it's possible to update the Part interface, as well as the DataPart/FilePart/TextPart implementations in io.a2a.spec, in line with the A2A specification of Part?
The main problem I am having with the current implementation is that I am having trouble doing JSON serialization/deserialization with the Part interface. Jackson/fastjson are unable to processes it.
Describe the solution you'd like
Remove the Part interface, and DataPart/FilePart/TextPart classes.
Add a single Part class, with text, raw, url, data, metadata, filename, mediaType fields as described in the spec.
Hello, sorry for the very late reply. Pull request #700 is not what I have in mind.
I was thinking if we can get rid of the Part interface. It would be easier to use, but I guess it would reduce extensibility.
Currently,Part is very difficult to perform JSON deserialization to Objects.
Activity
ehsavoie commentedon Mar 5, 2026
Could you check if #700 fixes your problem ?
yuyu123-yuyu commentedon Apr 29, 2026
Hello, sorry for the very late reply. Pull request #700 is not what I have in mind.
I was thinking if we can get rid of the Part interface. It would be easier to use, but I guess it would reduce extensibility.
Currently,Part is very difficult to perform JSON deserialization to Objects.