emfjson / emfjson-jackson

JSON Binding for Eclipse Modeling Framework
https://emfjson.github.io
Other
80 stars 23 forks source link

Add support for EStringToStringMapEntry #23

Closed ghillairet closed 11 years ago

ghillairet commented 11 years ago

Add support for Map entries.

A model class such as:

class ObjectWithMap {
  val ecore.EStringToStringMapEntry[*] entries;
}

should have its instances serialized as this:

{
    "entries": {
        "key1":"v1",
         "key2":"v2"
    }
}