Java tutorial
//package com.java2s; public class Main { public static boolean isJson(String json) { if (json != null && !json.equals("[]") && !json.trim().equals("")) { return true; } return false; } }