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
- 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.
- if have large set of data, how stop running out of memory. again ties answer/solution used in question 1.
how approach
thanks
Comments
Post a Comment