Skip to content

how to convert json object to a simple list #2355

Answered by stemuser027
stemuser027 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you so much for your response.

This is an example of the json file

http://statsapi.mlb.com/api/v1/schedule?hydrate=game(content(editorial(recap))),decisions&date=2018-06-10&sportId=1

I just want to be able to parse the file, display the contents and use the up,down,left and right arrows on the key board to scroll through the formatted list.

I truly appreciate you taking the time to do this.

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nlohmann
Comment options

Answer selected by nlohmann
Comment options

You must be logged in to vote
1 reply
@nlohmann
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nlohmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2355 on August 16, 2020 04:03.