public class JSONNull extends Object implements Serializable
null,与Javascript中null相对应null值在js中表示为undefined。| 构造器和说明 |
|---|
JSONNull() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
clone()
There is only intended to be a single instance of the NULL object, so the clone method returns
itself.
|
boolean |
equals(Object object)
A Null object is equal to the null value and to itself.
|
int |
hashCode() |
String |
toString()
Get the "null" string value.
|
public static final JSONNull NULL
NULL 对象用于减少歧义来表示Java 中的null NULL.equals(null) 返回 true. NULL.toString() 返回 "null".Copyright © 2023. All rights reserved.