Project

General

Profile

Actions

Bug #37390

closed

c-v inventory returns invalid JSON

Added by Sebastian Wagner over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

print() uses single-quotes by default, which is invalid JSON.

Actions #1

Updated by Noah Watkins over 5 years ago

encountered this as well with the the Python 3 JSON parser being strict about this. in addition to single quotes, I also see unquoted True/False which won't parse correctly either.

Actions #3

Updated by Alfredo Deza over 4 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF