Thursday 4 May 2017

Sort JSON objects based on zipcode

I currently have a list of JSON objects and they all have a field detailing the zipcode associated with the object. Each user using the web application also has a zip code associated with them. What is the best way to sort the JSON objects based on the distance between the user's zipcode and the JSON object's zipcode.



via learner561

No comments:

Post a Comment