先导入GSON的jar包
public class TestEntity {
private String businessId;
private Office office;
private String a;
}
String businessId = "[{"businessId":"1"},{"businessId":"2"}]";
List<TestEntity> testEntities = new Gson().fromJson(businessId, new TypeToken<List<TestEntity>>(){}.getType());