[CONTROLLER-795] JSON Stream codec does not escape double quotes properly. Created: 09/Sep/14 Updated: 25/Jul/23 Resolved: 11/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tony Tkacik | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| External issue ID: | 1766 |
| Description |
|
JSON Stream codec does not escape double quotes properly, 1. Required is sal-test-model loaded in controller. PUT http://localhost:8080/restconf/config/opendaylight-mdsal-list-test:top <top xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:list"> GET http://localhost:8080/restconf/config/opendaylight-mdsal-list-test:top Returns {{"top":{"top-level-list":[{"name":"bug-json","nested-list":[ {"name":"0","type":"""}]}]}} Field type should read "\"". Which is invalid JSON |
| Comments |
| Comment by Robert Varga [ 09/Sep/14 ] |