Debian Codegraph @

src/main/org/h2/util/json/JSONNull.java

raw
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 null.
10 */
11 public final class JSONNull extends JSONValue {
12
13 /**
14 * {@code null} value.
15 */
16 public static final JSONNull NULL = new JSONNull();
17
18 private JSONNull() {
19 }
20
21 @Override
22 public void addTo(JSONTarget<?> target) {
23 target.valueNull();
24 }
25
26 }