From: msunal Date: Thu, 14 Nov 2013 13:50:51 +0000 (+0100) Subject: Added Json to CompositeNode translation X-Git-Tag: jenkins-controller-bulk-release-prepare-only-2-1~404^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=1c2a0d378926c94951387932f5b98fc35b22fa66;hp=1c2a0d378926c94951387932f5b98fc35b22fa66 Added Json to CompositeNode translation - added JsonReader.java to provide translation from Json (InputStream) to CompositeNode - Json has to be in one of these two formats: {"foo":{....}} for Container foo {"foo":[{....}]} for List foo - added preconditions to translation from Node to Json: Data of Container and List has to be represented as CompositeNode Data of LeafList and Leaf has to be represented as SimpleNode - request for unexisting data has response - not found 404 Change-Id: I9f2a07a0d333b09803606e0e4275bdf39d2cdce5 Signed-off-by: Martin Sunal ---