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
Copy file name to clipboardExpand all lines: README.md
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,28 @@ Jsonix advantages:
10
10
* Type-safe.
11
11
* (Optionally) XML Schema-driven.
12
12
13
+
Jsonix features:
14
+
15
+
* Runs in almost any modern browser
16
+
* Runs in [Node.js](http://nodejs.org/)
17
+
* Implements *marshalling* (serializing the JavaScript object into XML)
18
+
* Supports *string* data and *DOM* nodes as result
19
+
* Implements *unmarshalling* (parsing a JavaScript object from XML)
20
+
* Supports *string* data, *DOM** nodes, *URLs* or *files* (with Node.js) as source
21
+
* Driven by *declarative** XML/JS *mappings* which control how JavaScript object is converted into XML or vice versa
22
+
**Mappings* can be *automatically generated* based on the *XML Schema*
23
+
**Strongly-structured* - XML/object mappings describe structures of JavaScript objects
24
+
**Strongly-typed* - Conversion between string content on XML side and values on the JavaScript side is controlled by declared property types
25
+
* Provides *extensible type system*
26
+
* Supports most XML Schema simple types (inlcuding QNames)
27
+
* Supports enumerations, list and union simple types
28
+
* Allows adding own simple types
29
+
* Supports complex types consisting of several properties
30
+
* Supports deriving complex types by extension
31
+
* Provides *advanced property system*
32
+
* Value, attribute, element, element reference properties for string processing of XML content
33
+
* Any attribute, any element properties for "lax" processing for XML content
34
+
13
35
## Example
14
36
15
37
Here's a working example for the [purchase order schema](http://www.w3.org/TR/xmlschema-0/#po.xsd) (try it [online in JSFiddle](http://jsfiddle.net/lexi/LP3DC/)).
*See the [User Guide](http://confluence.highsource.org/display/JSNX/User+Guide) for the extensive documentation ([PDF](https://github.com/highsource/jsonix/raw/master/docs/Jsonix.pdf))
0 commit comments