[YANGTOOLS-978] Add support for opaque AnydataNodes Created: 27/Mar/19 Updated: 21/May/19 Resolved: 21/May/19 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | data-impl |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.1 |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Anydata Support | ||||||||
| Description |
|
In order to transcode anydata nodes we need an extension to NormalizedNodeStreamWriter, which will be provided by the receiver. As part of the design we need to think about how the individual data formats we know about (XML, JSON, NormalizedNode) will interact on both sides. |
| Comments |
| Comment by Robert Varga [ 16/May/19 ] |
|
So the way this will need to work to be semi-sane is that AnydataNode is going to have a specialization for each object model and have specific extensions for each. While this is not "perfect", we really expect two object models (Opaque and Normalized), with Opaque having two modes of operation. All others can easily be retrofitted as extensions/decorators as needed, so that will give us
|