[CONTROLLER-786] Boolean values in JSON. Created: 08/Sep/14  Updated: 11/Sep/14  Resolved: 11/Sep/14

Status: Verified
Project: controller
Component/s: restconf
Affects Version/s: Helium
Fix Version/s: None

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

Operating System: Linux
Platform: PC


External issue ID: 1745

 Description   

Recent builds enclose boolean values in quotes, such as

{"uptodate: "true"}

.

http://tools.ietf.org/html/rfc7159#section-7 prescribes quotes for strings, but http://tools.ietf.org/html/rfc7159#section-3 does NOT prescribe quotes for boolean values.
Therefore, the correct encoding is without quotes, such as

{"update": true}

.



 Comments   
Comment by Robert Varga [ 09/Sep/14 ]

https://git.opendaylight.org/gerrit/10936

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