Skip to content

Commit 9bdd84e

Browse files
committed
README is now in english
digram.svg new generated
1 parent 525f412 commit 9bdd84e

File tree

2 files changed

+1648
-1402
lines changed

2 files changed

+1648
-1402
lines changed

typescript/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
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)
19+
20+
21+

0 commit comments

Comments
 (0)