Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-935

Allow codecs to be instantiated without a SchemaPath

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 2.0.17, 2.1.9
    • None
    • codecs
    • None

      Current API design, which requires a SchemaContext and a SchemaPath is not completely sufficient to disambiguate references and furthermore forces a lookup which can be avoided if the caller has the matching SchemaNode available.

      Make sure JSONNormalizedNodeStreamWriter and XMLStreamNormalizedNodeStreamWriter can be instantiated by providing a combination of SchemaContext and DataNodeContainer.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: