summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/databinding-json/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/databinding-json/src')
-rw-r--r--java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java3
-rw-r--r--java/sca/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding2
2 files changed, 2 insertions, 3 deletions
diff --git a/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java b/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java
index 4bda838b18..28cadc6666 100644
--- a/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java
+++ b/java/sca/modules/databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSONDataBinding.java
@@ -35,13 +35,12 @@ import org.codehaus.jettison.json.JSONObject;
*/
public class JSONDataBinding extends BaseDataBinding {
public static final String NAME = "JSON";
- public static final String[] ALIASES = new String[] {"json"};
public static final String ROOT_NAMESPACE = "http://tuscany.apache.org/xmlns/sca/databinding/json/1.0";
public static final QName ROOT_ELEMENT = new QName(ROOT_NAMESPACE, "root");
public JSONDataBinding() {
- super(NAME, ALIASES, org.json.JSONObject.class);
+ super(NAME, org.json.JSONObject.class);
}
@Override
diff --git a/java/sca/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding b/java/sca/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding
index b0baaeb398..400507296f 100644
--- a/java/sca/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding
+++ b/java/sca/modules/databinding-json/src/main/resources/META-INF/services/org.apache.tuscany.sca.databinding.DataBinding
@@ -16,4 +16,4 @@
# under the License.
# implementation classes for the databindings
-org.apache.tuscany.sca.databinding.json.JSONDataBinding;type=JSON,name=json \ No newline at end of file
+org.apache.tuscany.sca.databinding.json.JSONDataBinding;name=JSON