View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000165 | file | General | public | 2020-05-22 21:08 | 2020-06-07 19:03 |
Reporter | pls | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.38 | ||||
Fixed in Version | 5.39 | ||||
Summary | 0000165: Valid JSON incorrectly identified as ASCII text | ||||
Description | The following examples are all valid JSON, but fail to be identified as JSON as per `file [JSON FILE]` and are identified as ASCII text: 1. Empty object: {} 2. Object with values that are empty objects: {"foo": {}} . Similar problems occur with greater nesting. 3. Empty array: [] 4. Array with one element: ["foo"] 5. Object with values that are empty arrays: {"foo": []} . Like 2.), similar problems occur with greater nesting. Interestingly, {"foo": ["bar"]} is validated as JSON though. 6. Arrays containing empty objects: ["foo", "bar", {}] | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-22 21:08 | pls | New Issue | |
2020-06-07 18:49 | christos | Assigned To | => christos |
2020-06-07 18:49 | christos | Status | new => assigned |
2020-06-07 18:49 | christos | Status | assigned => resolved |
2020-06-07 18:49 | christos | Resolution | open => fixed |
2020-06-07 18:49 | christos | Fixed in Version | => 5.39 |
2020-06-07 18:49 | christos | Note Added: 0003425 | |
2020-06-07 19:03 | christos | Assigned To | christos => |
2020-06-07 19:03 | christos | Assigned To | => christos |