Class JsonNodeConverter

  • All Implemented Interfaces:
    NodeConverter

    @Deprecated(forRemoval=true)
    public class JsonNodeConverter
    extends Object
    implements NodeConverter
    Deprecated, for removal: This API element is subject to removal in a future version.
    This class is moved to lighty-codecs-util.
    The implementation of NodeConverter which serializes and deserializes binding independent representation into/from JSON representation.
    See Also:
    XmlNodeConverter
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonNodeConverter​(org.opendaylight.yangtools.yang.model.api.EffectiveModelContext effectiveModelContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      The only available constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> deserialize​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, Reader inputData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Deserializes the given JSON representation into NormalizedNodes.
      Writer serializeData​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizedNode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method serializes the provided NormalizedNode into its JSON representation.
      Writer serializeRpc​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizedNode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method serializes the NormalizedNode which represents the input or output of an RPC.