Open TheDevelolper opened 4 years ago
You'll have to wire that up by hand. It's not too hard.
On Fri, May 29, 2020 at 1:18 AM ISimplifyComplexity < notifications@github.com> wrote:
Hi there,
I wondered if this library has support for root level arrays? What happens if your JSON http endpoint returns a collection of objects?
I've been struggling to serialise these so if you have any examples I'd really appreciate it.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/json_serializable/issues/648, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEFCS64WRC6P3OM7O2N3DRT5VWLANCNFSM4NN2PWDQ .
@kevmoo Thank you.
You'll have to wire that up by hand. It's not too hard.
so that means that the library doesn't support root level arrays?
so that means that the library doesn't support root level arrays?
Not – yet. I'm actually working on this now. I'll reopen this issue to track my work.
No promises on timeline, though.
@kevmoo Whats your concept to implement this? Automatic detection via types or configuration in annotations? Any updates - just asking for a friend ;-)
It's...tricky. Not high priority for me now.
On Mon, Jul 5, 2021 at 5:37 AM Mats Pfeiffer @.***> wrote:
@kevmoo https://github.com/kevmoo Whats your concept to implement this? Automatic detection via types or configuration in annotations? Any updates
- just asking for friend ;-)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/json_serializable.dart/issues/648#issuecomment-874079844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEFCQVBEJSV7Z5PU6Z5DLTWGRQZANCNFSM4NN2PWDQ .
Hi there,
I wondered if this library has support for root level arrays? What happens if your JSON http endpoint returns a collection of objects?
I've been struggling to serialise these so if you have any examples I'd really appreciate it.