EMFJSON is a JSON mapper for EMF
See wiki
- Update Site:
- http://ghillairet.github.com/p2/emfjson/releases/0.5.0 or
- http://ghillairet.github.com/p2 (composite site with Jackson 1.9.5)
- Eclipse Marketplace: http://marketplace.eclipse.org/content/emfjs
- Downloads section: https://github.com/ghillairet/emfjson/downloads
- Update Site: http://ghillairet.github.com/p2/emfjson/snapshots
Provide a JSON syntax and associated tools for EMF Models.
- JSON Syntax,
- Support for JSON object referencing,
- EMF Resource implementation,
- Support for CouchDB
See wiki
{
"eClass" : "library.ecore#//Library",
"name" : "SciFi Library",
"writers" : [
{
"eClass" : "library.ecore#//Writer",
"name" : "Isaac Asimov",
"books" : [
{"$ref" : "//@books.0"},
{"$ref" : "//@books.1"}
]
}
],
"books" : [
{
"eClass" : "library.ecore#//Book",
"title" : "Prelude to Foundation",
"pages" : 505,
"category" : "ScienceFiction",
"author" : {"$ref" : "//@writers.0"}
},
{
"eClass" : "library.ecore#//Book",
"title" : "Forward the Foundation",
"pages" : 464,
"category" : "ScienceFiction",
"author" : {"$ref" : "//@writers.0"}
}
]
}
- EMF 2.7.0 or later
- Jackson 1.6.0 or later
This software is distributed under the terms of the Eclipse Public License 1.0 - http://www.eclipse.org/legal/epl-v10.html.