c# - Dealing with large chunks of data via REST (JSON) API -


i writing wrapper around api takes in couple of inputs , supplies nested json data.

before showing on ui, have order data property "price" decimal (from high low).

i trying understand

  1. what performant way of dealing ordering. ui consumes same json object comes api.

so if order data high "price" low

a. convert api output strongly-typed list of "item" objects, b. perform ordering on "price" property c. convert list of "items" json ui can use it.

this seems overkill retain in-memory representation of json perform ordering.

  1. if have large set of data, how stop running out of memory. again ties answer/solution used in question 1.

how approach

thanks


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -