org.chromium.sdk/src/org/chromium/sdk/internal/protocolparser/JsonObjectBased.java
equal
deleted
inserted
replaced
|
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 import org.json.simple.JSONObject; |
|
9 |
|
10 /** |
|
11 * Optional base interface for JSON type interface. Underlying JSON object becomes available |
|
12 * to user this way. The JSON type instance may be created from {@link JSONObject} only |
|
13 * (not from {@link JSONArray} or whatever). |
|
14 */ |
|
15 public interface JsonObjectBased extends AnyObjectBased { |
|
16 JSONObject getUnderlyingObject(); |
|
17 } |