Parse JSON using python, multiple entries from STDOUTParse JSON using Python?jq parse json log fileParse JSON...
Should I use the words "pyromancy" and "necromancy" even if they don't mean what people think they do?
Why nature prefers simultaneous events?
Is there an in-universe explanation given to the senior Imperial Navy Officers as to why Darth Vader serves Emperor Palpatine?
Fantasy Macro Economics: What would Merfolk trade for?
How to export an email from Mail application?
Group riding etiquette
What checks exist against overuse of presidential pardons in the USA?
Why can't you say don't instead of won't?
Term used to describe a person who predicts future outcomes
How do I portray irrational anger in first person?
Was the six engine Boeing-747 ever thought about?
How do you say "half the time …, the other half …" in German?
Why is 3/4 a simple meter while 6/8 is a compound meter?
Is this password scheme legit?
Can I lend a small amount of my own money to a bank at the federal funds rate?
If the UK Gov. has authority to cancel article 50 notification, why do they have to agree an extension with the EU
In Endgame, wouldn't Stark have remembered Hulk busting out of the stairwell?
Heat output from a 200W electric radiator?
Why does glibc's strlen need to be so complicated to run quickly?
How to deal with anxiety caused by dangerous riding conditions stemming from poor lane design and inconsiderate fellow road users?
How is std::optional never "valueless by exception"?
How to handle inventory and story of a player leaving
What is Soda Fountain Etiquette?
What's the point of fighting monsters in Zelda BotW?
Parse JSON using python, multiple entries from STDOUT
Parse JSON using Python?jq parse json log fileParse JSON for specific valuesHow to parse json data using jq?how to parse specific values from multiple JSON objects into csv using jqparse JSON and malipulate its object valuesUsing sed to extract number from json
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have an app that I want to parse using JSON, it outputs data in the following format for each frame of a video...
root@nvidia-desktop:/home/nvidia# cat test.json
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":57,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":667,"y":435},{"x":718,"y":433},{"x":718,"y":447},{"x":668,"y":449}],"vehicle_region":{"x":614,"y":336,"width":158,"height":158},"candidates":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0},{"plate":"CRK290","confidence":71.4766616821289,"matches_template":0},{"plate":"RK290","confidence":69.619705200195312,"matches_template":0},{"plate":"ERK290","confidence":67.774589538574219,"matches_template":0},{"plate":"NRK290","confidence":67.747268676757812,"matches_template":0},{"plate":"QRK290","confidence":67.733123779296875,"matches_template":0},{"plate":"MRK290","confidence":67.732582092285156,"matches_template":0},{"plate":"ARK290","confidence":67.731903076171875,"matches_template":0},{"plate":"URK290","confidence":67.73187255859375,"matches_template":0},{"plate":"HRK290","confidence":67.7306137084961,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":60,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":674,"y":439},{"x":724,"y":440},{"x":725,"y":457},{"x":675,"y":457}],"vehicle_region":{"x":600,"y":315,"width":199,"height":199},"candidates":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0},{"plate":"LRK290","confidence":70.1683120727539,"matches_template":0},{"plate":"LRK29","confidence":65.916587829589844,"matches_template":0},{"plate":"LRK292","confidence":65.307365417480469,"matches_template":0},{"plate":"LRK293","confidence":65.293647766113281,"matches_template":0},{"plate":"LRK299","confidence":65.292098999023438,"matches_template":0},{"plate":"LRK29Q","confidence":65.289726257324219,"matches_template":0},{"plate":"LR298","confidence":61.362815856933594,"matches_template":0},{"plate":"RK298","confidence":60.530429840087891,"matches_template":0},{"plate":"LK298","confidence":60.528419494628906,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0,"plate_index":0,"region":"nz-can","region_confidence":34,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":687,"y":444},{"x":735,"y":443},{"x":737,"y":462},{"x":688,"y":463}],"vehicle_region":{"x":604,"y":310,"width":215,"height":215},"candidates":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0},{"plate":"LRK290","confidence":73.113128662109375,"matches_template":0},{"plate":"LRK29","confidence":70.9032211303711,"matches_template":0},{"plate":"LRK292","confidence":70.755508422851562,"matches_template":0},{"plate":"LRK293","confidence":70.6309814453125,"matches_template":0},{"plate":"LRK299","confidence":70.598648071289062,"matches_template":0},{"plate":"RK298","confidence":69.2212905883789,"matches_template":0},{"plate":"LR298","confidence":68.384689331054688,"matches_template":0},{"plate":"CRK298","confidence":68.189926147460938,"matches_template":0},{"plate":"NRK298","confidence":68.101593017578125,"matches_template":0}]}]}
Here is is working with a single entry in test.json
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
LRK290
root@nvidia-desktop:/home/nvidia#
But it fails with multiple entries (which is what I'm wanting)
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/json/__init__.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 2 column 1 - line 5 column 1 (char 1306 - 3924)
root@nvidia-desktop:/home/nvidia#
python json
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have an app that I want to parse using JSON, it outputs data in the following format for each frame of a video...
root@nvidia-desktop:/home/nvidia# cat test.json
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":57,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":667,"y":435},{"x":718,"y":433},{"x":718,"y":447},{"x":668,"y":449}],"vehicle_region":{"x":614,"y":336,"width":158,"height":158},"candidates":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0},{"plate":"CRK290","confidence":71.4766616821289,"matches_template":0},{"plate":"RK290","confidence":69.619705200195312,"matches_template":0},{"plate":"ERK290","confidence":67.774589538574219,"matches_template":0},{"plate":"NRK290","confidence":67.747268676757812,"matches_template":0},{"plate":"QRK290","confidence":67.733123779296875,"matches_template":0},{"plate":"MRK290","confidence":67.732582092285156,"matches_template":0},{"plate":"ARK290","confidence":67.731903076171875,"matches_template":0},{"plate":"URK290","confidence":67.73187255859375,"matches_template":0},{"plate":"HRK290","confidence":67.7306137084961,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":60,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":674,"y":439},{"x":724,"y":440},{"x":725,"y":457},{"x":675,"y":457}],"vehicle_region":{"x":600,"y":315,"width":199,"height":199},"candidates":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0},{"plate":"LRK290","confidence":70.1683120727539,"matches_template":0},{"plate":"LRK29","confidence":65.916587829589844,"matches_template":0},{"plate":"LRK292","confidence":65.307365417480469,"matches_template":0},{"plate":"LRK293","confidence":65.293647766113281,"matches_template":0},{"plate":"LRK299","confidence":65.292098999023438,"matches_template":0},{"plate":"LRK29Q","confidence":65.289726257324219,"matches_template":0},{"plate":"LR298","confidence":61.362815856933594,"matches_template":0},{"plate":"RK298","confidence":60.530429840087891,"matches_template":0},{"plate":"LK298","confidence":60.528419494628906,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0,"plate_index":0,"region":"nz-can","region_confidence":34,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":687,"y":444},{"x":735,"y":443},{"x":737,"y":462},{"x":688,"y":463}],"vehicle_region":{"x":604,"y":310,"width":215,"height":215},"candidates":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0},{"plate":"LRK290","confidence":73.113128662109375,"matches_template":0},{"plate":"LRK29","confidence":70.9032211303711,"matches_template":0},{"plate":"LRK292","confidence":70.755508422851562,"matches_template":0},{"plate":"LRK293","confidence":70.6309814453125,"matches_template":0},{"plate":"LRK299","confidence":70.598648071289062,"matches_template":0},{"plate":"RK298","confidence":69.2212905883789,"matches_template":0},{"plate":"LR298","confidence":68.384689331054688,"matches_template":0},{"plate":"CRK298","confidence":68.189926147460938,"matches_template":0},{"plate":"NRK298","confidence":68.101593017578125,"matches_template":0}]}]}
Here is is working with a single entry in test.json
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
LRK290
root@nvidia-desktop:/home/nvidia#
But it fails with multiple entries (which is what I'm wanting)
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/json/__init__.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 2 column 1 - line 5 column 1 (char 1306 - 3924)
root@nvidia-desktop:/home/nvidia#
python json
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have an app that I want to parse using JSON, it outputs data in the following format for each frame of a video...
root@nvidia-desktop:/home/nvidia# cat test.json
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":57,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":667,"y":435},{"x":718,"y":433},{"x":718,"y":447},{"x":668,"y":449}],"vehicle_region":{"x":614,"y":336,"width":158,"height":158},"candidates":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0},{"plate":"CRK290","confidence":71.4766616821289,"matches_template":0},{"plate":"RK290","confidence":69.619705200195312,"matches_template":0},{"plate":"ERK290","confidence":67.774589538574219,"matches_template":0},{"plate":"NRK290","confidence":67.747268676757812,"matches_template":0},{"plate":"QRK290","confidence":67.733123779296875,"matches_template":0},{"plate":"MRK290","confidence":67.732582092285156,"matches_template":0},{"plate":"ARK290","confidence":67.731903076171875,"matches_template":0},{"plate":"URK290","confidence":67.73187255859375,"matches_template":0},{"plate":"HRK290","confidence":67.7306137084961,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":60,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":674,"y":439},{"x":724,"y":440},{"x":725,"y":457},{"x":675,"y":457}],"vehicle_region":{"x":600,"y":315,"width":199,"height":199},"candidates":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0},{"plate":"LRK290","confidence":70.1683120727539,"matches_template":0},{"plate":"LRK29","confidence":65.916587829589844,"matches_template":0},{"plate":"LRK292","confidence":65.307365417480469,"matches_template":0},{"plate":"LRK293","confidence":65.293647766113281,"matches_template":0},{"plate":"LRK299","confidence":65.292098999023438,"matches_template":0},{"plate":"LRK29Q","confidence":65.289726257324219,"matches_template":0},{"plate":"LR298","confidence":61.362815856933594,"matches_template":0},{"plate":"RK298","confidence":60.530429840087891,"matches_template":0},{"plate":"LK298","confidence":60.528419494628906,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0,"plate_index":0,"region":"nz-can","region_confidence":34,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":687,"y":444},{"x":735,"y":443},{"x":737,"y":462},{"x":688,"y":463}],"vehicle_region":{"x":604,"y":310,"width":215,"height":215},"candidates":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0},{"plate":"LRK290","confidence":73.113128662109375,"matches_template":0},{"plate":"LRK29","confidence":70.9032211303711,"matches_template":0},{"plate":"LRK292","confidence":70.755508422851562,"matches_template":0},{"plate":"LRK293","confidence":70.6309814453125,"matches_template":0},{"plate":"LRK299","confidence":70.598648071289062,"matches_template":0},{"plate":"RK298","confidence":69.2212905883789,"matches_template":0},{"plate":"LR298","confidence":68.384689331054688,"matches_template":0},{"plate":"CRK298","confidence":68.189926147460938,"matches_template":0},{"plate":"NRK298","confidence":68.101593017578125,"matches_template":0}]}]}
Here is is working with a single entry in test.json
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
LRK290
root@nvidia-desktop:/home/nvidia#
But it fails with multiple entries (which is what I'm wanting)
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/json/__init__.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 2 column 1 - line 5 column 1 (char 1306 - 3924)
root@nvidia-desktop:/home/nvidia#
python json
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have an app that I want to parse using JSON, it outputs data in the following format for each frame of a video...
root@nvidia-desktop:/home/nvidia# cat test.json
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":57,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":667,"y":435},{"x":718,"y":433},{"x":718,"y":447},{"x":668,"y":449}],"vehicle_region":{"x":614,"y":336,"width":158,"height":158},"candidates":[{"plate":"LRK290","confidence":77.8797607421875,"matches_template":0},{"plate":"CRK290","confidence":71.4766616821289,"matches_template":0},{"plate":"RK290","confidence":69.619705200195312,"matches_template":0},{"plate":"ERK290","confidence":67.774589538574219,"matches_template":0},{"plate":"NRK290","confidence":67.747268676757812,"matches_template":0},{"plate":"QRK290","confidence":67.733123779296875,"matches_template":0},{"plate":"MRK290","confidence":67.732582092285156,"matches_template":0},{"plate":"ARK290","confidence":67.731903076171875,"matches_template":0},{"plate":"URK290","confidence":67.73187255859375,"matches_template":0},{"plate":"HRK290","confidence":67.7306137084961,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0,"plate_index":0,"region":"nz-auk","region_confidence":60,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":674,"y":439},{"x":724,"y":440},{"x":725,"y":457},{"x":675,"y":457}],"vehicle_region":{"x":600,"y":315,"width":199,"height":199},"candidates":[{"plate":"LRK298","confidence":73.848838806152344,"matches_template":0},{"plate":"LRK290","confidence":70.1683120727539,"matches_template":0},{"plate":"LRK29","confidence":65.916587829589844,"matches_template":0},{"plate":"LRK292","confidence":65.307365417480469,"matches_template":0},{"plate":"LRK293","confidence":65.293647766113281,"matches_template":0},{"plate":"LRK299","confidence":65.292098999023438,"matches_template":0},{"plate":"LRK29Q","confidence":65.289726257324219,"matches_template":0},{"plate":"LR298","confidence":61.362815856933594,"matches_template":0},{"plate":"RK298","confidence":60.530429840087891,"matches_template":0},{"plate":"LK298","confidence":60.528419494628906,"matches_template":0}]}]}
{"version":2,"data_type":"alpr_results","epoch_time":1567039688133,"img_width":1920,"img_height":1080,"processing_time_ms":133.36436462402344,"uuid":"","error":false,"regions_of_interest":[{"x":0,"y":0,"width":1920,"height":1080}],"results":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0,"plate_index":0,"region":"nz-can","region_confidence":34,"processing_time_ms":73.737274169921875,"requested_topn":10,"coordinates":[{"x":687,"y":444},{"x":735,"y":443},{"x":737,"y":462},{"x":688,"y":463}],"vehicle_region":{"x":604,"y":310,"width":215,"height":215},"candidates":[{"plate":"LRK298","confidence":82.452705383300781,"matches_template":0},{"plate":"LRK290","confidence":73.113128662109375,"matches_template":0},{"plate":"LRK29","confidence":70.9032211303711,"matches_template":0},{"plate":"LRK292","confidence":70.755508422851562,"matches_template":0},{"plate":"LRK293","confidence":70.6309814453125,"matches_template":0},{"plate":"LRK299","confidence":70.598648071289062,"matches_template":0},{"plate":"RK298","confidence":69.2212905883789,"matches_template":0},{"plate":"LR298","confidence":68.384689331054688,"matches_template":0},{"plate":"CRK298","confidence":68.189926147460938,"matches_template":0},{"plate":"NRK298","confidence":68.101593017578125,"matches_template":0}]}]}
Here is is working with a single entry in test.json
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
LRK290
root@nvidia-desktop:/home/nvidia#
But it fails with multiple entries (which is what I'm wanting)
root@nvidia-desktop:/home/nvidia# cat test.json | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["results"][0]["plate"]'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/json/__init__.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 2 column 1 - line 5 column 1 (char 1306 - 3924)
root@nvidia-desktop:/home/nvidia#
python json
python json
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 27 mins ago
Barry MurphyBarry Murphy
1
1
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Barry Murphy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Barry Murphy is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f537980%2fparse-json-using-python-multiple-entries-from-stdout%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Barry Murphy is a new contributor. Be nice, and check out our Code of Conduct.
Barry Murphy is a new contributor. Be nice, and check out our Code of Conduct.
Barry Murphy is a new contributor. Be nice, and check out our Code of Conduct.
Barry Murphy is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f537980%2fparse-json-using-python-multiple-entries-from-stdout%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown