Skip to content

Instantly share code, notes, and snippets.

@maxjing
Created October 29, 2018 20:35
Show Gist options
  • Save maxjing/cebc135f50a2ec15d4b5a26f2ed9cae6 to your computer and use it in GitHub Desktop.
Save maxjing/cebc135f50a2ec15d4b5a26f2ed9cae6 to your computer and use it in GitHub Desktop.
JSONObject jsonObject = new JSONObject(String.format("{\"lower\":%d, \"upper\":%d}", lower, upper));
String ratingFilterInput = Util.encodeValue(jsonObject.toString());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment