2
|
1 |
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
|
2 |
// Use of this source code is governed by a BSD-style license that can be
|
|
3 |
// found in the LICENSE file.
|
|
4 |
|
|
5 |
package org.chromium.sdk.internal.protocolparser;
|
|
6 |
|
|
7 |
import org.json.simple.JSONArray;
|
|
8 |
|
|
9 |
/**
|
|
10 |
* Optional base interface for JSON type interface. Underlying object becomes available
|
|
11 |
* to user this way. The JSON type instance may be created from any supported object
|
|
12 |
* (e.g. from {@link JSONArray}), but may take advantage of this liberty only if it has no fields.
|
|
13 |
*/
|
|
14 |
public interface AnyObjectBased {
|
|
15 |
Object getUnderlyingObject();
|
|
16 |
}
|