[Request] Can hex values in some keys be quoted/converted in the JSON response? #5

Open
opened 2021-03-24 22:40:35 -05:00 by oneohthree · 1 comment
oneohthree commented 2021-03-24 22:40:35 -05:00 (Migrated from github.com)

Can hex values in bits, length, transferred, length_total and transferred_total keys be quoted or converted to integers in the JSON response?

I would like to parse with tools like jq or in a Python script using json from stdlib.

Regards

Can hex values in `bits`, `length`, `transferred`, `length_total` and `transferred_total` keys be quoted or converted to integers in the JSON response? I would like to parse with tools like jq or in a Python script using json from stdlib. Regards
Gkiokan commented 2022-01-09 17:15:52 -06:00 (Migrated from github.com)

Yea use JSON5 to parse json with hex values.

Yea use JSON5 to parse json with hex values.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-flatz/ps4_remote_pkg_installer#5
No description provided.