|
Nyx Node
|
JSON null object. More...


Public Member Functions | |
| __init__ (self, typing.Any value, int|None ptr=None) | |
| Allocates a new JSON null object or wraps one. | |
| None | value (self) |
| Gets the value of this JSON null object. | |
| bool | value (self, typing.Any value) |
| Sets the value of this JSON null object. | |
| Public Member Functions inherited from nyx.obj.NyxObject | |
| __init__ (self, int ptr) | |
| Wraps a C JSON object pointer. | |
| typing.Callable | on (self, typing.Callable callback) |
| Registers a callback triggered when clients modify this object. | |
| bool | notify (self) |
| Notifies this Nyx / INDI object to the clients. | |
| str | to_string (self, bool json_string=True) |
| Returns a string representing this JSON object. | |
| NyxXMLDoc | to_xmldoc (self) |
| Converts this JSON Nyx / INDI command to the XML one. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from nyx.obj.NyxObject | |
| NyxObject | from_string (str string) |
| Parses a JSON object from a string. | |
JSON null object.
Definition at line 17 of file json_null.py.
| nyx.json.json_null.NyxNull.__init__ | ( | self, | |
| typing.Any | value, | ||
| int | None | ptr = None ) |
Allocates a new JSON null object or wraps one.
| value | Optional default value. |
| ptr | Optional JSON null object pointer. |
Definition at line 24 of file json_null.py.
| None nyx.json.json_null.NyxNull.value | ( | self | ) |
Gets the value of this JSON null object.
Definition at line 55 of file json_null.py.
| bool nyx.json.json_null.NyxNull.value | ( | self, | |
| typing.Any | value ) |
Sets the value of this JSON null object.
True if the value was modified, False otherwise. Definition at line 68 of file json_null.py.