B
B
beduin012017-02-11 20:44:04
Database
beduin01, 2017-02-11 20:44:04

How to render JSON without brakes?

Suppose I need to select from a 10MB JSON database and render it. JSON is an array of points. If you make a call to the database and wait for the entire JSON to arrive, then it can take a very long time. Is there a way to somehow get it in pieces or how is it done in the mind?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2017-02-11
@Rsa97

Make a series of requests. You accept the first set, with it the continuation marker, request the next one, draw the received one, and so on until you get the end marker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question