[NETCONF-471] ListenerAdapter needs to serialize JSON directly Created: 13/Sep/17  Updated: 23/Feb/21  Resolved: 23/Feb/21

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: 1.13.0

Type: Bug Priority: Medium
Reporter: Stephen Kitt Assignee: Tomas Cere
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks ODLPARENT-36 Reduce the usage of org.json Resolved
Relates
relates to NETCONF-213 Replace use of org.json library with ... Resolved
relates to NETCONF-743 Regression in SSE Notification test Resolved
External issue ID: 9154

 Description   

Currently, when producing JSON, ListenerAdapter serialises to XML, and then converts that to JSON using org.json. It should instead serialise directly to JSON using the YANG codecs.



 Comments   
Comment by Robert Varga [ 28/Aug/18 ]

skitt any progress on this one?

Comment by Jamo Luhrsen [ 20/May/20 ]

There is a WIP patch that is working towards this, but it's older now and probably needs
some TLC. Moving this down from 'highest' priority since I believe it's more of an
internal optimization (skip the part of needing to produce XML first then convert to
JSON, and just convert JSON directly) and not a limitation for an end user...

please correct me if I'm wrong.

Generated at Wed Feb 07 20:15:07 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.