[YANGTOOLS-277] {Binding,NormalizedNode}StreamEventWriter lack IO error reporting Created: 22/Aug/14  Updated: 10/Apr/22  Resolved: 25/Aug/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 1605

 Description   

While implementing JSON serializer, we have realized that the codec infrastructure has two major flaws:

  • the API methods do not allow an implementation to report an IOException, which is common to anything Writer-based (like GSON's JsonWriter)
  • the API lacks a flush() method which would ensure consistency

Given this APIs are expected to remain stable after Helium release and be widely used to interact with outside world, we need to fix them before the release.



 Comments   
Comment by Robert Varga [ 25/Aug/14 ]

https://git.opendaylight.org/gerrit/#/c/10188/
https://git.opendaylight.org/gerrit/#/c/10189/

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