Synchronous JSON

Job ID: 32190913

Budget: $30 – $250 USD

I need a javascript code, which uses JSON in an synchronous mode. Of couse, i don't want to use "async=false", because this feature is deprecated. I neede another solution.
Purpose: I want to be able to access a database through JSON, but in a synchronous mode, i.e. the code must contain a feature which wait until the AJAX call is completed.