How to create a dynamic web page for JSON text doc viewing?
up vote
0
down vote
favorite
I have a large JSON file (>5 Gb) filled with text.
I parse this file in Python and store in a dictionnary.
I would like to know how can I produce an HTML page (or something dynamic) where I can browse my json content (thousands of text documents) and view one json document at a time.
I am aware of json2html but it produces one html at a time. Is it possible to combine it with another web tech?
I haven't found any answers related to this, likely my knowledge of web technologies is thin.
python html json dictionary json2html
add a comment |
up vote
0
down vote
favorite
I have a large JSON file (>5 Gb) filled with text.
I parse this file in Python and store in a dictionnary.
I would like to know how can I produce an HTML page (or something dynamic) where I can browse my json content (thousands of text documents) and view one json document at a time.
I am aware of json2html but it produces one html at a time. Is it possible to combine it with another web tech?
I haven't found any answers related to this, likely my knowledge of web technologies is thin.
python html json dictionary json2html
you could write a web page which can make AJAX calls (i.e. an in-browser HTTP request, without refreshing the page) to the server to fetch the content of each JSON document and display it. The page would initially display a list of all documents (or provide a way to search the list (again via AJAX calls to a server script maybe) and clicking on one would cause the JSON itself to be fetched from the server and displayed. So for this you would need some JavaScript (browser-side) and some server-side language (e.g. python or PHP) to receive requests and fetch data from the store.
– ADyson
Nov 8 at 12:20
thank you for the concept
– Mathias Dail
Nov 8 at 12:23
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a large JSON file (>5 Gb) filled with text.
I parse this file in Python and store in a dictionnary.
I would like to know how can I produce an HTML page (or something dynamic) where I can browse my json content (thousands of text documents) and view one json document at a time.
I am aware of json2html but it produces one html at a time. Is it possible to combine it with another web tech?
I haven't found any answers related to this, likely my knowledge of web technologies is thin.
python html json dictionary json2html
I have a large JSON file (>5 Gb) filled with text.
I parse this file in Python and store in a dictionnary.
I would like to know how can I produce an HTML page (or something dynamic) where I can browse my json content (thousands of text documents) and view one json document at a time.
I am aware of json2html but it produces one html at a time. Is it possible to combine it with another web tech?
I haven't found any answers related to this, likely my knowledge of web technologies is thin.
python html json dictionary json2html
python html json dictionary json2html
asked Nov 8 at 11:31
Mathias Dail
11
11
you could write a web page which can make AJAX calls (i.e. an in-browser HTTP request, without refreshing the page) to the server to fetch the content of each JSON document and display it. The page would initially display a list of all documents (or provide a way to search the list (again via AJAX calls to a server script maybe) and clicking on one would cause the JSON itself to be fetched from the server and displayed. So for this you would need some JavaScript (browser-side) and some server-side language (e.g. python or PHP) to receive requests and fetch data from the store.
– ADyson
Nov 8 at 12:20
thank you for the concept
– Mathias Dail
Nov 8 at 12:23
add a comment |
you could write a web page which can make AJAX calls (i.e. an in-browser HTTP request, without refreshing the page) to the server to fetch the content of each JSON document and display it. The page would initially display a list of all documents (or provide a way to search the list (again via AJAX calls to a server script maybe) and clicking on one would cause the JSON itself to be fetched from the server and displayed. So for this you would need some JavaScript (browser-side) and some server-side language (e.g. python or PHP) to receive requests and fetch data from the store.
– ADyson
Nov 8 at 12:20
thank you for the concept
– Mathias Dail
Nov 8 at 12:23
you could write a web page which can make AJAX calls (i.e. an in-browser HTTP request, without refreshing the page) to the server to fetch the content of each JSON document and display it. The page would initially display a list of all documents (or provide a way to search the list (again via AJAX calls to a server script maybe) and clicking on one would cause the JSON itself to be fetched from the server and displayed. So for this you would need some JavaScript (browser-side) and some server-side language (e.g. python or PHP) to receive requests and fetch data from the store.
– ADyson
Nov 8 at 12:20
you could write a web page which can make AJAX calls (i.e. an in-browser HTTP request, without refreshing the page) to the server to fetch the content of each JSON document and display it. The page would initially display a list of all documents (or provide a way to search the list (again via AJAX calls to a server script maybe) and clicking on one would cause the JSON itself to be fetched from the server and displayed. So for this you would need some JavaScript (browser-side) and some server-side language (e.g. python or PHP) to receive requests and fetch data from the store.
– ADyson
Nov 8 at 12:20
thank you for the concept
– Mathias Dail
Nov 8 at 12:23
thank you for the concept
– Mathias Dail
Nov 8 at 12:23
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2fstackoverflow.com%2fquestions%2f53206883%2fhow-to-create-a-dynamic-web-page-for-json-text-doc-viewing%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
you could write a web page which can make AJAX calls (i.e. an in-browser HTTP request, without refreshing the page) to the server to fetch the content of each JSON document and display it. The page would initially display a list of all documents (or provide a way to search the list (again via AJAX calls to a server script maybe) and clicking on one would cause the JSON itself to be fetched from the server and displayed. So for this you would need some JavaScript (browser-side) and some server-side language (e.g. python or PHP) to receive requests and fetch data from the store.
– ADyson
Nov 8 at 12:20
thank you for the concept
– Mathias Dail
Nov 8 at 12:23