Merge lp:~wallyworld/lazr.json/deserialisation-sometimes-fails-987043 into lp:lazr.json
Proposed by
Ian Booth
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ian Booth | ||||
Approved revision: | 5 | ||||
Merged at revision: | 4 | ||||
Proposed branch: | lp:~wallyworld/lazr.json/deserialisation-sometimes-fails-987043 | ||||
Merge into: | lp:lazr.json | ||||
Diff against target: |
140 lines (+35/-13) 4 files modified
src/lazr/json/NEWS.txt (+5/-0) src/lazr/json/README.txt (+18/-7) src/lazr/json/_serialisation.py (+11/-5) src/lazr/json/version.txt (+1/-1) |
||||
To merge this branch: | bzr merge lp:~wallyworld/lazr.json/deserialisation-sometimes-fails-987043 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Booth (community) | Approve | ||
Review via email: mp+103033@code.launchpad.net |
Commit message
Ensure single value dicts are properly deserialised.
Description of the change
== Implementation ==
Tweak to deccoder to ensure that single value dicts are decoded properly. Previously, a single value dict would always be interpreted as an encoded object and attempts to deserialise it would result in failure.
== Tests ==
Add extra doc tests to README.txt
== Lint ==
Lint free apart from false positives.
To post a comment you must log in.
Minor change, self reviewed.