Platforms to show: All Mac Windows Linux Cross-Platform
Back to JSONMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For objects returns number of keys.
Same as Count property.
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please move to newer iterator functions instead.
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is true.
Set to false to get formatted output.
Or call ToString method with parameter.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For objects returns number of keys.
Same as ArraySize property.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It is possible to have two Xojo objects with the same handle pointing to the same JSON node.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 21.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is kTypeArray.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 21.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is kTypeTrue or kTypeFalse.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Whether a string, array or object is empty and has no content.
Boolean or numerical values are not empty.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if
- it is type number
- it is in the range for int32.
- it is not with decimal digits after the dot.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 19.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if
- it is type number
- it is in the range for int64.
- it is not with decimal digits after the dot.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 21.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is kTypeNull.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 21.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is int64, uint64, half or double.
If type is string, we check semantic tag and return true for big decimal, big int, big float ot float 128bit, so this is a numeric type.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 21.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is kTypeObject.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if
- it is type number
- it is in the range for uint32.
- it is not with decimal digits after the dot.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if
- it is type number
- it is in the range for uint64.
- it is not with decimal digits after the dot.
JSONMBS.LastChildNode as JSONMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Some examples using this property:
JSONMBS.LastRowIndex as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Same as Count-1.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please move to newer iterator functions instead.
(Read only property)
JSONMBS.PreviousNode as JSONMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please move to newer iterator functions instead.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The root node owns the references to all children.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This can give a value as more detailed meaning on the usage.
e.g. we often have strings to hold numbers to preserve all digits.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 14.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns "" on any error. Lasterror is set.
(Read only property)
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This property was added for debugging so you can see type in debugger.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 16.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The handle is not zero and there are no error nodes in JSON tree.
Returns true if valid, else false.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Converts value to variant.
(Read only property)
See also:
JSONMBS.ValueBoolean as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 17.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true if type is kTypeTrue, false if kTypeFalse or true if ValueInteger <> 0.
(Read only property)
Some examples using this property:
JSONMBS.ValueByteString as MemoryBlock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil if type is not kTypeByteString.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the node is an Int64, we return it.
Otherwise we try to convert it.
May raise exception if value can't be converted.
(Read only property)
Some examples using this property:
JSONMBS.ValueInteger as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the node is an integer, we return it.
Otherwise we try to convert it.
May raise exception if value can't be converted.
(Read only property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | JavaScript Object Notation | MBS Util Plugin | 23.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If the node is an UInt64, we return it.
Otherwise we try to convert it.
May raise exception if value can't be converted.
(Read only property)
Some examples using this property:
The items on this page are in the following plugins: MBS Util Plugin.