| 1 |
/* |
| 2 |
* Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 3 |
* and the EPL 1.0 (https://h2database.com/html/license.html). |
| 4 |
* Initial Developer: H2 Group |
| 5 |
*/ |
| 6 |
package org.h2.util.json; |
| 7 |
|
| 8 |
/** |
| 9 |
* JSON validation target. |
| 10 |
*/ |
| 11 |
public abstract class JSONValidationTarget extends JSONTarget<JSONItemType> { |
| 12 |
|
| 13 |
/** |
| 14 |
* @return JSON item type of the top-level item, may not return |
| 15 |
* {@link JSONItemType#VALUE} |
| 16 |
*/ |
| 17 |
@Override |
| 18 |
public abstract JSONItemType getResult(); |
| 19 |
|
| 20 |
} |