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
Because of the lack of a usable UML editor for Typescript I've used IntelliJ's Java-Uml. Typescript .d.ts are close to Java classes, so the diagram helps me to get the big picture.
2
+
I investigated mainly the classes in org/hisrc/jsonix/Jsonix/Model to draw it.
3
+
4
+
This typescript definitions are the first draft and the work is in progress. It's a base to discuss about.
5
+
The aims of this branch are:
6
+
7
+
Defining the public interfaces from the Context (marshaller, unmarshaller)
8
+
Defining the internal data types (TypeInfo, PropertyInfo, Mapping)
9
+
10
+
... a fully migration to TS?
11
+
12
+
I started with the data types because I need them for my current project
13
+
14
+
There are still no tests, my suggestion is to use existing ones (and migrating later carefully to TS) but first we have to clear the working process.
15
+
E.g.
16
+
- Jsonix (sometimes) uses prototype (multiple) inheritance and there is a discussion how to handle this in TS
17
+
- how to implement generics (witch would be very usefull)
18
+
like createUnmarshaller<T>(type: T): Unmarshaller<T> (doesn't work without changing th jsonix code)
0 commit comments